From 3a30fddd892cbcc9310e9757a3eff5667e11598f Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 14 Apr 2026 19:06:00 +0000 Subject: [PATCH 1/2] feat: add UserProvidedDataSettings resource and GetUserProvidedDataSettings RPC to Google Analytics chore: update resource name fields to use IDENTIFIER field behavior across Google Analytics resources chore: add plural and singular names to google.api.resource definitions for Google Analytics resources chore: mark page_size and page_token fields as OPTIONAL in Google Analytics list request messages chore: update OAuth scopes for GetUserProvidedDataSettings and GetSubpropertySyncConfig in Google Analytics docs: update documentation for GetReportingIdentitySettings to correctly describe it as returning reporting identity settings in Google Analytics docs: update copyright year to 2026 in Google Analytics proto files PiperOrigin-RevId: 899639582 Source-Link: https://github.com/googleapis/googleapis/commit/fc968708d27f9aeb9f1c50a3e32d53810df843fd Source-Link: https://github.com/googleapis/googleapis-gen/commit/a4aa3a09be8b07588de5591432d9131726d3909a Copy-Tag: eyJwIjoiQW5hbHl0aWNzQWRtaW4vLk93bEJvdC55YW1sIiwiaCI6ImE0YWEzYTA5YmU4YjA3NTg4ZGU1NTkxNDMyZDkxMzE3MjZkMzkwOWEifQ== --- .../Analytics/Admin/V1Alpha/AccessReport.php | 24 + .../Admin/V1Alpha/AnalyticsAdmin.php | 38 + .../Analytics/Admin/V1Alpha/Audience.php | 28 + .../Analytics/Admin/V1Alpha/ChannelGroup.php | 26 + .../Admin/V1Alpha/EventCreateAndEdit.php | 26 + .../Admin/V1Alpha/ExpandedDataSet.php | 27 + .../Analytics/Admin/V1Alpha/Resources.php | 33 + .../Admin/V1Alpha/SubpropertyEventFilter.php | 26 + .../Admin/V1alpha/AccessBetweenFilter.php | 121 + .../Analytics/Admin/V1alpha/AccessBinding.php | 198 + .../Admin/V1alpha/AccessDateRange.php | 125 + .../Admin/V1alpha/AccessDimension.php | 81 + .../Admin/V1alpha/AccessDimensionHeader.php | 70 + .../Admin/V1alpha/AccessDimensionValue.php | 71 + .../Analytics/Admin/V1alpha/AccessFilter.php | 208 + .../Admin/V1alpha/AccessFilterExpression.php | 178 + .../V1alpha/AccessFilterExpressionList.php | 67 + .../Admin/V1alpha/AccessInListFilter.php | 101 + .../Analytics/Admin/V1alpha/AccessMetric.php | 80 + .../Admin/V1alpha/AccessMetricHeader.php | 70 + .../Admin/V1alpha/AccessMetricValue.php | 67 + .../Admin/V1alpha/AccessNumericFilter.php | 111 + .../V1alpha/AccessNumericFilter/Operation.php | 82 + .../Analytics/Admin/V1alpha/AccessOrderBy.php | 148 + .../AccessOrderBy/DimensionOrderBy.php | 101 + .../DimensionOrderBy/OrderType.php | 73 + .../V1alpha/AccessOrderBy/MetricOrderBy.php | 67 + .../Analytics/Admin/V1alpha/AccessQuota.php | 283 + .../Admin/V1alpha/AccessQuotaStatus.php | 101 + .../Analytics/Admin/V1alpha/AccessRow.php | 109 + .../Admin/V1alpha/AccessStringFilter.php | 135 + .../V1alpha/AccessStringFilter/MatchType.php | 89 + .../Analytics/Admin/V1alpha/Account.php | 311 + .../Admin/V1alpha/AccountSummary.php | 186 + .../AcknowledgeUserDataCollectionRequest.php | 125 + .../AcknowledgeUserDataCollectionResponse.php | 33 + .../Analytics/Admin/V1alpha/ActionType.php | 68 + .../Analytics/Admin/V1alpha/ActorType.php | 69 + .../Analytics/Admin/V1alpha/AdSenseLink.php | 114 + ...yVideo360AdvertiserLinkProposalRequest.php | 71 + ...Video360AdvertiserLinkProposalResponse.php | 81 + .../Admin/V1alpha/ArchiveAudienceRequest.php | 67 + .../V1alpha/ArchiveCustomDimensionRequest.php | 86 + .../V1alpha/ArchiveCustomMetricRequest.php | 86 + .../Admin/V1alpha/AttributionSettings.php | 240 + ...quisitionConversionEventLookbackWindow.php | 63 + .../AdsWebConversionDataExportScope.php | 74 + .../OtherConversionEventLookbackWindow.php | 70 + .../ReportingAttributionModel.php | 77 + .../Analytics/Admin/V1alpha/Audience.php | 387 + .../AudienceExclusionDurationMode.php | 63 + .../AudienceDimensionOrMetricFilter.php | 350 + .../BetweenFilter.php | 122 + .../InListFilter.php | 109 + .../NumericFilter.php | 111 + .../NumericFilter/Operation.php | 68 + .../NumericValue.php | 108 + .../StringFilter.php | 139 + .../StringFilter/MatchType.php | 82 + .../Admin/V1alpha/AudienceEventFilter.php | 137 + .../Admin/V1alpha/AudienceEventTrigger.php | 101 + .../AudienceEventTrigger/LogCondition.php | 62 + .../Admin/V1alpha/AudienceFilterClause.php | 148 + .../AudienceClauseType.php | 65 + .../V1alpha/AudienceFilterExpression.php | 228 + .../V1alpha/AudienceFilterExpressionList.php | 67 + .../Admin/V1alpha/AudienceFilterScope.php | 71 + .../Admin/V1alpha/AudienceSequenceFilter.php | 150 + .../AudienceSequenceStep.php | 222 + .../Admin/V1alpha/AudienceSimpleFilter.php | 116 + .../BatchCreateAccessBindingsRequest.php | 121 + .../BatchCreateAccessBindingsResponse.php | 67 + .../BatchDeleteAccessBindingsRequest.php | 121 + .../V1alpha/BatchGetAccessBindingsRequest.php | 133 + .../BatchGetAccessBindingsResponse.php | 67 + .../BatchUpdateAccessBindingsRequest.php | 125 + .../BatchUpdateAccessBindingsResponse.php | 67 + .../Analytics/Admin/V1alpha/BigQueryLink.php | 435 + .../Admin/V1alpha/CalculatedMetric.php | 361 + .../V1alpha/CalculatedMetric/MetricUnit.php | 117 + .../CalculatedMetric/RestrictedMetricType.php | 62 + ...yVideo360AdvertiserLinkProposalRequest.php | 71 + .../Admin/V1alpha/ChangeHistoryChange.php | 197 + .../ChangeHistoryResource.php | 1042 ++ .../Admin/V1alpha/ChangeHistoryEvent.php | 266 + .../V1alpha/ChangeHistoryResourceType.php | 257 + .../Analytics/Admin/V1alpha/ChannelGroup.php | 269 + .../Admin/V1alpha/ChannelGroupFilter.php | 145 + .../ChannelGroupFilter/InListFilter.php | 72 + .../ChannelGroupFilter/StringFilter.php | 101 + .../StringFilter/MatchType.php | 89 + .../V1alpha/ChannelGroupFilterExpression.php | 192 + .../ChannelGroupFilterExpressionList.php | 67 + .../Analytics/Admin/V1alpha/CoarseValue.php | 71 + .../Admin/V1alpha/ConversionEvent.php | 331 + .../ConversionCountingMethod.php | 63 + .../DefaultConversionValue.php | 138 + .../Admin/V1alpha/ConversionValues.php | 254 + .../V1alpha/CreateAccessBindingRequest.php | 137 + .../V1alpha/CreateAdSenseLinkRequest.php | 137 + .../Admin/V1alpha/CreateAudienceRequest.php | 127 + .../V1alpha/CreateBigQueryLinkRequest.php | 127 + .../V1alpha/CreateCalculatedMetricRequest.php | 199 + .../V1alpha/CreateChannelGroupRequest.php | 132 + .../V1alpha/CreateConversionEventRequest.php | 132 + .../V1alpha/CreateCustomDimensionRequest.php | 127 + .../V1alpha/CreateCustomMetricRequest.php | 127 + .../Admin/V1alpha/CreateDataStreamRequest.php | 127 + ...yVideo360AdvertiserLinkProposalRequest.php | 127 + ...teDisplayVideo360AdvertiserLinkRequest.php | 127 + .../V1alpha/CreateEventCreateRuleRequest.php | 127 + .../V1alpha/CreateEventEditRuleRequest.php | 127 + .../V1alpha/CreateExpandedDataSetRequest.php | 127 + .../V1alpha/CreateFirebaseLinkRequest.php | 133 + .../V1alpha/CreateGoogleAdsLinkRequest.php | 127 + .../Admin/V1alpha/CreateKeyEventRequest.php | 132 + ...CreateMeasurementProtocolSecretRequest.php | 132 + .../Admin/V1alpha/CreatePropertyRequest.php | 95 + .../CreateReportingDataAnnotationRequest.php | 137 + .../V1alpha/CreateRollupPropertyRequest.php | 115 + .../V1alpha/CreateRollupPropertyResponse.php | 111 + .../CreateRollupPropertySourceLinkRequest.php | 132 + ...KAdNetworkConversionValueSchemaRequest.php | 132 + .../V1alpha/CreateSearchAds360LinkRequest.php | 127 + .../CreateSubpropertyEventFilterRequest.php | 132 + .../Admin/V1alpha/CustomDimension.php | 301 + .../CustomDimension/DimensionScope.php | 68 + .../Analytics/Admin/V1alpha/CustomMetric.php | 319 + .../V1alpha/CustomMetric/MeasurementUnit.php | 119 + .../V1alpha/CustomMetric/MetricScope.php | 54 + .../CustomMetric/RestrictedMetricType.php | 62 + .../Admin/V1alpha/DataRedactionSettings.php | 210 + .../Admin/V1alpha/DataRetentionSettings.php | 177 + .../RetentionDuration.php | 85 + .../Admin/V1alpha/DataSharingSettings.php | 329 + .../Analytics/Admin/V1alpha/DataStream.php | 356 + .../DataStream/AndroidAppStreamData.php | 109 + .../V1alpha/DataStream/DataStreamType.php | 68 + .../V1alpha/DataStream/IosAppStreamData.php | 109 + .../V1alpha/DataStream/WebStreamData.php | 147 + .../V1alpha/DeleteAccessBindingRequest.php | 91 + .../Admin/V1alpha/DeleteAccountRequest.php | 91 + .../V1alpha/DeleteAdSenseLinkRequest.php | 91 + .../V1alpha/DeleteBigQueryLinkRequest.php | 86 + .../V1alpha/DeleteCalculatedMetricRequest.php | 91 + .../V1alpha/DeleteChannelGroupRequest.php | 86 + .../V1alpha/DeleteConversionEventRequest.php | 91 + .../Admin/V1alpha/DeleteDataStreamRequest.php | 86 + ...yVideo360AdvertiserLinkProposalRequest.php | 86 + ...teDisplayVideo360AdvertiserLinkRequest.php | 86 + .../V1alpha/DeleteEventCreateRuleRequest.php | 86 + .../V1alpha/DeleteEventEditRuleRequest.php | 81 + .../V1alpha/DeleteExpandedDataSetRequest.php | 81 + .../V1alpha/DeleteFirebaseLinkRequest.php | 87 + .../V1alpha/DeleteGoogleAdsLinkRequest.php | 81 + .../Admin/V1alpha/DeleteKeyEventRequest.php | 91 + ...DeleteMeasurementProtocolSecretRequest.php | 91 + .../Admin/V1alpha/DeletePropertyRequest.php | 91 + .../DeleteReportingDataAnnotationRequest.php | 96 + .../DeleteRollupPropertySourceLinkRequest.php | 91 + ...KAdNetworkConversionValueSchemaRequest.php | 91 + .../V1alpha/DeleteSearchAds360LinkRequest.php | 86 + .../DeleteSubpropertyEventFilterRequest.php | 96 + .../V1alpha/DisplayVideo360AdvertiserLink.php | 409 + .../DisplayVideo360AdvertiserLinkProposal.php | 490 + .../V1alpha/EnhancedMeasurementSettings.php | 472 + .../Admin/V1alpha/EventCreateRule.php | 257 + .../Analytics/Admin/V1alpha/EventEditRule.php | 245 + .../Analytics/Admin/V1alpha/EventMapping.php | 279 + .../Admin/V1alpha/ExpandedDataSet.php | 339 + .../Admin/V1alpha/ExpandedDataSetFilter.php | 145 + .../ExpandedDataSetFilter/InListFilter.php | 113 + .../ExpandedDataSetFilter/StringFilter.php | 147 + .../StringFilter/MatchType.php | 61 + .../ExpandedDataSetFilterExpression.php | 159 + .../ExpandedDataSetFilterExpressionList.php | 67 + .../Analytics/Admin/V1alpha/FirebaseLink.php | 165 + .../Admin/V1alpha/GetAccessBindingRequest.php | 96 + .../Admin/V1alpha/GetAccountRequest.php | 91 + .../Admin/V1alpha/GetAdSenseLinkRequest.php | 91 + .../V1alpha/GetAttributionSettingsRequest.php | 86 + .../Admin/V1alpha/GetAudienceRequest.php | 86 + .../Admin/V1alpha/GetBigQueryLinkRequest.php | 91 + .../V1alpha/GetCalculatedMetricRequest.php | 91 + .../Admin/V1alpha/GetChannelGroupRequest.php | 86 + .../V1alpha/GetConversionEventRequest.php | 91 + .../V1alpha/GetCustomDimensionRequest.php | 86 + .../Admin/V1alpha/GetCustomMetricRequest.php | 86 + .../GetDataRedactionSettingsRequest.php | 96 + .../GetDataRetentionSettingsRequest.php | 96 + .../V1alpha/GetDataSharingSettingsRequest.php | 92 + .../Admin/V1alpha/GetDataStreamRequest.php | 86 + ...yVideo360AdvertiserLinkProposalRequest.php | 86 + ...etDisplayVideo360AdvertiserLinkRequest.php | 86 + .../GetEnhancedMeasurementSettingsRequest.php | 96 + .../V1alpha/GetEventCreateRuleRequest.php | 86 + .../Admin/V1alpha/GetEventEditRuleRequest.php | 86 + .../V1alpha/GetExpandedDataSetRequest.php | 86 + .../Admin/V1alpha/GetGlobalSiteTagRequest.php | 97 + .../GetGoogleSignalsSettingsRequest.php | 86 + .../Admin/V1alpha/GetKeyEventRequest.php | 91 + .../GetMeasurementProtocolSecretRequest.php | 91 + .../Admin/V1alpha/GetPropertyRequest.php | 91 + .../GetReportingDataAnnotationRequest.php | 96 + .../GetReportingIdentitySettingsRequest.php | 96 + .../GetRollupPropertySourceLinkRequest.php | 96 + ...KAdNetworkConversionValueSchemaRequest.php | 91 + .../V1alpha/GetSearchAds360LinkRequest.php | 86 + .../GetSubpropertyEventFilterRequest.php | 96 + .../GetSubpropertySyncConfigRequest.php | 96 + .../GetUserProvidedDataSettingsRequest.php | 86 + .../Analytics/Admin/V1alpha/GlobalSiteTag.php | 114 + .../Analytics/Admin/V1alpha/GoogleAdsLink.php | 358 + .../Admin/V1alpha/GoogleSignalsConsent.php | 63 + .../Admin/V1alpha/GoogleSignalsSettings.php | 143 + .../Admin/V1alpha/GoogleSignalsState.php | 62 + .../Analytics/Admin/V1alpha/GroupingRule.php | 111 + .../Admin/V1alpha/IndustryCategory.php | 229 + .../Analytics/Admin/V1alpha/KeyEvent.php | 323 + .../Admin/V1alpha/KeyEvent/CountingMethod.php | 63 + .../Admin/V1alpha/KeyEvent/DefaultValue.php | 121 + .../V1alpha/LinkProposalInitiatingProduct.php | 62 + .../Admin/V1alpha/LinkProposalState.php | 97 + .../V1alpha/LinkProposalStatusDetails.php | 135 + .../V1alpha/ListAccessBindingsRequest.php | 183 + .../V1alpha/ListAccessBindingsResponse.php | 109 + .../V1alpha/ListAccountSummariesRequest.php | 125 + .../V1alpha/ListAccountSummariesResponse.php | 105 + .../Admin/V1alpha/ListAccountsRequest.php | 167 + .../Admin/V1alpha/ListAccountsResponse.php | 105 + .../Admin/V1alpha/ListAdSenseLinksRequest.php | 179 + .../V1alpha/ListAdSenseLinksResponse.php | 105 + .../Admin/V1alpha/ListAudiencesRequest.php | 169 + .../Admin/V1alpha/ListAudiencesResponse.php | 105 + .../V1alpha/ListBigQueryLinksRequest.php | 183 + .../V1alpha/ListBigQueryLinksResponse.php | 105 + .../V1alpha/ListCalculatedMetricsRequest.php | 169 + .../V1alpha/ListCalculatedMetricsResponse.php | 105 + .../V1alpha/ListChannelGroupsRequest.php | 174 + .../V1alpha/ListChannelGroupsResponse.php | 109 + .../V1alpha/ListConversionEventsRequest.php | 174 + .../V1alpha/ListConversionEventsResponse.php | 105 + .../V1alpha/ListCustomDimensionsRequest.php | 169 + .../V1alpha/ListCustomDimensionsResponse.php | 105 + .../V1alpha/ListCustomMetricsRequest.php | 169 + .../V1alpha/ListCustomMetricsResponse.php | 105 + .../Admin/V1alpha/ListDataStreamsRequest.php | 169 + .../Admin/V1alpha/ListDataStreamsResponse.php | 105 + ...Video360AdvertiserLinkProposalsRequest.php | 177 + ...ideo360AdvertiserLinkProposalsResponse.php | 105 + ...tDisplayVideo360AdvertiserLinksRequest.php | 173 + ...DisplayVideo360AdvertiserLinksResponse.php | 105 + .../V1alpha/ListEventCreateRulesRequest.php | 169 + .../V1alpha/ListEventCreateRulesResponse.php | 109 + .../V1alpha/ListEventEditRulesRequest.php | 169 + .../V1alpha/ListEventEditRulesResponse.php | 109 + .../V1alpha/ListExpandedDataSetsRequest.php | 169 + .../V1alpha/ListExpandedDataSetsResponse.php | 109 + .../V1alpha/ListFirebaseLinksRequest.php | 179 + .../V1alpha/ListFirebaseLinksResponse.php | 113 + .../V1alpha/ListGoogleAdsLinksRequest.php | 169 + .../V1alpha/ListGoogleAdsLinksResponse.php | 105 + .../Admin/V1alpha/ListKeyEventsRequest.php | 174 + .../Admin/V1alpha/ListKeyEventsResponse.php | 105 + .../ListMeasurementProtocolSecretsRequest.php | 183 + ...ListMeasurementProtocolSecretsResponse.php | 105 + .../Admin/V1alpha/ListPropertiesRequest.php | 257 + .../Admin/V1alpha/ListPropertiesResponse.php | 105 + .../ListReportingDataAnnotationsRequest.php | 361 + .../ListReportingDataAnnotationsResponse.php | 105 + .../ListRollupPropertySourceLinksRequest.php | 182 + .../ListRollupPropertySourceLinksResponse.php | 105 + ...AdNetworkConversionValueSchemasRequest.php | 192 + ...dNetworkConversionValueSchemasResponse.php | 121 + .../V1alpha/ListSearchAds360LinksRequest.php | 173 + .../V1alpha/ListSearchAds360LinksResponse.php | 105 + .../ListSubpropertyEventFiltersRequest.php | 187 + .../ListSubpropertyEventFiltersResponse.php | 105 + .../ListSubpropertySyncConfigsRequest.php | 187 + .../ListSubpropertySyncConfigsResponse.php | 105 + .../Admin/V1alpha/MatchingCondition.php | 202 + .../MatchingCondition/ComparisonType.php | 145 + .../V1alpha/MeasurementProtocolSecret.php | 151 + .../Analytics/Admin/V1alpha/NumericValue.php | 108 + .../Admin/V1alpha/ParameterMutation.php | 145 + .../Admin/V1alpha/PostbackWindow.php | 137 + .../Analytics/Admin/V1alpha/Property.php | 607 + .../Admin/V1alpha/PropertySummary.php | 189 + .../Analytics/Admin/V1alpha/PropertyType.php | 68 + .../V1alpha/ProvisionAccountTicketRequest.php | 115 + .../ProvisionAccountTicketResponse.php | 67 + .../V1alpha/ProvisionSubpropertyRequest.php | 159 + .../V1alpha/ProvisionSubpropertyResponse.php | 121 + .../V1alpha/ReorderEventEditRulesRequest.php | 109 + .../Admin/V1alpha/ReportingDataAnnotation.php | 304 + .../V1alpha/ReportingDataAnnotation/Color.php | 96 + .../ReportingDataAnnotation/DateRange.php | 138 + .../V1alpha/ReportingIdentitySettings.php | 113 + .../ReportingIdentity.php | 68 + .../V1alpha/RollupPropertySourceLink.php | 121 + .../Admin/V1alpha/RunAccessReportRequest.php | 679 + .../Admin/V1alpha/RunAccessReportResponse.php | 257 + .../SKAdNetworkConversionValueSchema.php | 309 + .../Admin/V1alpha/SearchAds360Link.php | 489 + .../SearchChangeHistoryEventsRequest.php | 435 + .../SearchChangeHistoryEventsResponse.php | 105 + .../Analytics/Admin/V1alpha/ServiceLevel.php | 61 + .../V1alpha/SubmitUserDeletionRequest.php | 258 + .../V1alpha/SubmitUserDeletionResponse.php | 85 + .../Admin/V1alpha/SubpropertyEventFilter.php | 161 + .../V1alpha/SubpropertyEventFilterClause.php | 118 + .../FilterClauseType.php | 66 + .../SubpropertyEventFilterCondition.php | 142 + .../StringFilter.php | 139 + .../StringFilter/MatchType.php | 89 + .../SubpropertyEventFilterExpression.php | 153 + .../SubpropertyEventFilterExpressionList.php | 67 + .../Admin/V1alpha/SubpropertySyncConfig.php | 181 + .../SynchronizationMode.php | 64 + .../V1alpha/UpdateAccessBindingRequest.php | 90 + .../Admin/V1alpha/UpdateAccountRequest.php | 156 + .../UpdateAttributionSettingsRequest.php | 156 + .../Admin/V1alpha/UpdateAudienceRequest.php | 156 + .../V1alpha/UpdateBigQueryLinkRequest.php | 156 + .../V1alpha/UpdateCalculatedMetricRequest.php | 146 + .../V1alpha/UpdateChannelGroupRequest.php | 161 + .../V1alpha/UpdateConversionEventRequest.php | 156 + .../V1alpha/UpdateCustomDimensionRequest.php | 146 + .../V1alpha/UpdateCustomMetricRequest.php | 146 + .../UpdateDataRedactionSettingsRequest.php | 156 + .../UpdateDataRetentionSettingsRequest.php | 156 + .../Admin/V1alpha/UpdateDataStreamRequest.php | 146 + ...teDisplayVideo360AdvertiserLinkRequest.php | 146 + ...dateEnhancedMeasurementSettingsRequest.php | 156 + .../V1alpha/UpdateEventCreateRuleRequest.php | 161 + .../V1alpha/UpdateEventEditRuleRequest.php | 161 + .../V1alpha/UpdateExpandedDataSetRequest.php | 161 + .../V1alpha/UpdateGoogleAdsLinkRequest.php | 151 + .../UpdateGoogleSignalsSettingsRequest.php | 156 + .../Admin/V1alpha/UpdateKeyEventRequest.php | 156 + ...UpdateMeasurementProtocolSecretRequest.php | 141 + .../Admin/V1alpha/UpdatePropertyRequest.php | 161 + .../UpdateReportingDataAnnotationRequest.php | 151 + ...KAdNetworkConversionValueSchemaRequest.php | 141 + .../V1alpha/UpdateSearchAds360LinkRequest.php | 146 + .../UpdateSubpropertyEventFilterRequest.php | 151 + .../UpdateSubpropertySyncConfigRequest.php | 151 + .../V1alpha/UserProvidedDataSettings.php | 152 + .../acknowledge_user_data_collection.php | 87 + ...play_video360_advertiser_link_proposal.php | 77 + .../archive_audience.php | 69 + .../archive_custom_dimension.php | 73 + .../archive_custom_metric.php | 70 + .../batch_create_access_bindings.php | 94 + .../batch_delete_access_bindings.php | 88 + .../batch_get_access_bindings.php | 89 + .../batch_update_access_bindings.php | 84 + ...play_video360_advertiser_link_proposal.php | 79 + .../create_access_binding.php | 75 + .../create_ad_sense_link.php | 75 + .../create_audience.php | 102 + .../create_big_query_link.php | 80 + .../create_calculated_metric.php | 112 + .../create_channel_group.php | 95 + .../create_conversion_event.php | 75 + .../create_custom_dimension.php | 107 + .../create_custom_metric.php | 108 + .../create_data_stream.php | 77 + ...reate_display_video360_advertiser_link.php | 77 + ...play_video360_advertiser_link_proposal.php | 73 + .../create_event_create_rule.php | 113 + .../create_event_edit_rule.php | 134 + .../create_expanded_data_set.php | 79 + .../create_firebase_link.php | 77 + .../create_google_ads_link.php | 73 + .../create_key_event.php | 79 + .../create_measurement_protocol_secret.php | 79 + .../create_property.php | 86 + .../create_reporting_data_annotation.php | 97 + .../create_rollup_property.php | 88 + .../create_rollup_property_source_link.php | 76 + .../create_search_ads360_link.php | 73 + ..._sk_ad_network_conversion_value_schema.php | 77 + .../create_subproperty_event_filter.php | 90 + .../delete_access_binding.php | 71 + .../delete_account.php | 81 + .../delete_ad_sense_link.php | 71 + .../delete_big_query_link.php | 70 + .../delete_calculated_metric.php | 74 + .../delete_channel_group.php | 70 + .../delete_conversion_event.php | 75 + .../delete_data_stream.php | 70 + ...elete_display_video360_advertiser_link.php | 73 + ...play_video360_advertiser_link_proposal.php | 74 + .../delete_event_create_rule.php | 74 + .../delete_event_edit_rule.php | 73 + .../delete_expanded_data_set.php | 72 + .../delete_firebase_link.php | 71 + .../delete_google_ads_link.php | 69 + .../delete_key_event.php | 71 + .../delete_measurement_protocol_secret.php | 75 + .../delete_property.php | 83 + .../delete_reporting_data_annotation.php | 75 + .../delete_rollup_property_source_link.php | 76 + .../delete_search_ads360_link.php | 73 + ..._sk_ad_network_conversion_value_schema.php | 75 + .../delete_subproperty_event_filter.php | 75 + .../get_access_binding.php | 74 + .../get_account.php | 73 + .../get_ad_sense_link.php | 73 + .../get_attribution_settings.php | 72 + .../get_audience.php | 74 + .../get_big_query_link.php | 73 + .../get_calculated_metric.php | 76 + .../get_channel_group.php | 72 + .../get_conversion_event.php | 77 + .../get_custom_dimension.php | 75 + .../get_custom_metric.php | 72 + .../get_data_redaction_settings.php | 77 + .../get_data_retention_settings.php | 74 + .../get_data_sharing_settings.php | 75 + .../get_data_stream.php | 72 + .../get_display_video360_advertiser_link.php | 75 + ...play_video360_advertiser_link_proposal.php | 75 + .../get_enhanced_measurement_settings.php | 79 + .../get_event_create_rule.php | 76 + .../get_event_edit_rule.php | 76 + .../get_expanded_data_set.php | 75 + .../get_global_site_tag.php | 76 + .../get_google_signals_settings.php | 72 + .../get_key_event.php | 73 + .../get_measurement_protocol_secret.php | 77 + .../get_property.php | 73 + .../get_reporting_data_annotation.php | 77 + .../get_reporting_identity_settings.php | 74 + .../get_rollup_property_source_link.php | 79 + .../get_search_ads360_link.php | 75 + ..._sk_ad_network_conversion_value_schema.php | 77 + .../get_subproperty_event_filter.php | 77 + .../get_subproperty_sync_config.php | 77 + .../get_user_provided_data_settings.php | 72 + .../list_access_bindings.php | 78 + .../list_account_summaries.php | 62 + .../list_accounts.php | 66 + .../list_ad_sense_links.php | 78 + .../list_audiences.php | 78 + .../list_big_query_links.php | 78 + .../list_calculated_metrics.php | 76 + .../list_channel_groups.php | 77 + .../list_conversion_events.php | 80 + .../list_custom_dimensions.php | 76 + .../list_custom_metrics.php | 76 + .../list_data_streams.php | 76 + ...lay_video360_advertiser_link_proposals.php | 76 + ...list_display_video360_advertiser_links.php | 76 + .../list_event_create_rules.php | 76 + .../list_event_edit_rules.php | 76 + .../list_expanded_data_sets.php | 76 + .../list_firebase_links.php | 79 + .../list_google_ads_links.php | 76 + .../list_key_events.php | 78 + .../list_measurement_protocol_secrets.php | 79 + .../list_properties.php | 94 + .../list_reporting_data_annotations.php | 78 + .../list_rollup_property_source_links.php | 79 + .../list_search_ads360_links.php | 76 + ...sk_ad_network_conversion_value_schemas.php | 80 + .../list_subproperty_event_filters.php | 78 + .../list_subproperty_sync_configs.php | 78 + .../provision_account_ticket.php | 57 + .../provision_subproperty.php | 89 + .../reorder_event_edit_rules.php | 77 + .../run_access_report.php | 76 + .../search_change_history_events.php | 83 + .../submit_user_deletion.php | 71 + .../update_access_binding.php | 59 + .../update_account.php | 75 + .../update_attribution_settings.php | 107 + .../update_audience.php | 99 + .../update_big_query_link.php | 77 + .../update_calculated_metric.php | 96 + .../update_channel_group.php | 88 + .../update_conversion_event.php | 63 + .../update_custom_dimension.php | 60 + .../update_custom_metric.php | 60 + .../update_data_redaction_settings.php | 62 + .../update_data_retention_settings.php | 84 + .../update_data_stream.php | 60 + ...pdate_display_video360_advertiser_link.php | 60 + .../update_enhanced_measurement_settings.php | 79 + .../update_event_create_rule.php | 110 + .../update_event_edit_rule.php | 131 + .../update_expanded_data_set.php | 76 + .../update_google_ads_link.php | 60 + .../update_google_signals_settings.php | 62 + .../update_key_event.php | 77 + .../update_measurement_protocol_secret.php | 76 + .../update_property.php | 88 + .../update_reporting_data_annotation.php | 89 + .../update_search_ads360_link.php | 60 + ..._sk_ad_network_conversion_value_schema.php | 65 + .../update_subproperty_event_filter.php | 84 + .../update_subproperty_sync_config.php | 84 + .../Client/AnalyticsAdminServiceClient.php | 5889 ++++++++ .../v1alpha/src/V1alpha/gapic_metadata.json | 793 ++ ...analytics_admin_service_client_config.json | 820 ++ ...lytics_admin_service_descriptor_config.php | 2133 +++ ...ytics_admin_service_rest_client_config.php | 1929 +++ .../AnalyticsAdminServiceClientTest.php | 11424 ++++++++++++++++ .../Analytics/Admin/V1Beta/AccessReport.php | 24 + .../Analytics/Admin/V1Beta/AnalyticsAdmin.php | 33 + .../Analytics/Admin/V1Beta/Resources.php | 28 + .../Admin/V1beta/AccessBetweenFilter.php | 121 + .../Admin/V1beta/AccessDateRange.php | 125 + .../Admin/V1beta/AccessDimension.php | 81 + .../Admin/V1beta/AccessDimensionHeader.php | 70 + .../Admin/V1beta/AccessDimensionValue.php | 71 + .../Analytics/Admin/V1beta/AccessFilter.php | 208 + .../Admin/V1beta/AccessFilterExpression.php | 178 + .../V1beta/AccessFilterExpressionList.php | 67 + .../Admin/V1beta/AccessInListFilter.php | 101 + .../Analytics/Admin/V1beta/AccessMetric.php | 80 + .../Admin/V1beta/AccessMetricHeader.php | 70 + .../Admin/V1beta/AccessMetricValue.php | 67 + .../Admin/V1beta/AccessNumericFilter.php | 111 + .../V1beta/AccessNumericFilter/Operation.php | 82 + .../Analytics/Admin/V1beta/AccessOrderBy.php | 148 + .../V1beta/AccessOrderBy/DimensionOrderBy.php | 101 + .../DimensionOrderBy/OrderType.php | 73 + .../V1beta/AccessOrderBy/MetricOrderBy.php | 67 + .../Analytics/Admin/V1beta/AccessQuota.php | 283 + .../Admin/V1beta/AccessQuotaStatus.php | 101 + .../Analytics/Admin/V1beta/AccessRow.php | 109 + .../Admin/V1beta/AccessStringFilter.php | 135 + .../V1beta/AccessStringFilter/MatchType.php | 89 + .../Google/Analytics/Admin/V1beta/Account.php | 311 + .../Analytics/Admin/V1beta/AccountSummary.php | 186 + .../AcknowledgeUserDataCollectionRequest.php | 125 + .../AcknowledgeUserDataCollectionResponse.php | 33 + .../Analytics/Admin/V1beta/ActionType.php | 68 + .../Analytics/Admin/V1beta/ActorType.php | 69 + .../V1beta/ArchiveCustomDimensionRequest.php | 86 + .../V1beta/ArchiveCustomMetricRequest.php | 86 + .../Admin/V1beta/ChangeHistoryChange.php | 197 + .../ChangeHistoryResource.php | 307 + .../Admin/V1beta/ChangeHistoryEvent.php | 266 + .../V1beta/ChangeHistoryResourceType.php | 145 + .../Admin/V1beta/ConversionEvent.php | 331 + .../ConversionCountingMethod.php | 63 + .../DefaultConversionValue.php | 138 + .../V1beta/CreateConversionEventRequest.php | 132 + .../V1beta/CreateCustomDimensionRequest.php | 127 + .../V1beta/CreateCustomMetricRequest.php | 127 + .../Admin/V1beta/CreateDataStreamRequest.php | 127 + .../V1beta/CreateFirebaseLinkRequest.php | 133 + .../V1beta/CreateGoogleAdsLinkRequest.php | 127 + .../Admin/V1beta/CreateKeyEventRequest.php | 132 + ...CreateMeasurementProtocolSecretRequest.php | 132 + .../Admin/V1beta/CreatePropertyRequest.php | 95 + .../Admin/V1beta/CustomDimension.php | 301 + .../V1beta/CustomDimension/DimensionScope.php | 68 + .../Analytics/Admin/V1beta/CustomMetric.php | 319 + .../V1beta/CustomMetric/MeasurementUnit.php | 119 + .../Admin/V1beta/CustomMetric/MetricScope.php | 54 + .../CustomMetric/RestrictedMetricType.php | 62 + .../Admin/V1beta/DataRetentionSettings.php | 177 + .../RetentionDuration.php | 85 + .../Admin/V1beta/DataSharingSettings.php | 262 + .../Analytics/Admin/V1beta/DataStream.php | 356 + .../DataStream/AndroidAppStreamData.php | 109 + .../V1beta/DataStream/DataStreamType.php | 68 + .../V1beta/DataStream/IosAppStreamData.php | 109 + .../Admin/V1beta/DataStream/WebStreamData.php | 147 + .../Admin/V1beta/DeleteAccountRequest.php | 91 + .../V1beta/DeleteConversionEventRequest.php | 91 + .../Admin/V1beta/DeleteDataStreamRequest.php | 86 + .../V1beta/DeleteFirebaseLinkRequest.php | 87 + .../V1beta/DeleteGoogleAdsLinkRequest.php | 81 + .../Admin/V1beta/DeleteKeyEventRequest.php | 91 + ...DeleteMeasurementProtocolSecretRequest.php | 91 + .../Admin/V1beta/DeletePropertyRequest.php | 91 + .../Analytics/Admin/V1beta/FirebaseLink.php | 165 + .../Admin/V1beta/GetAccountRequest.php | 91 + .../V1beta/GetConversionEventRequest.php | 91 + .../V1beta/GetCustomDimensionRequest.php | 86 + .../Admin/V1beta/GetCustomMetricRequest.php | 86 + .../GetDataRetentionSettingsRequest.php | 96 + .../V1beta/GetDataSharingSettingsRequest.php | 92 + .../Admin/V1beta/GetDataStreamRequest.php | 86 + .../Admin/V1beta/GetKeyEventRequest.php | 91 + .../GetMeasurementProtocolSecretRequest.php | 91 + .../Admin/V1beta/GetPropertyRequest.php | 91 + .../Analytics/Admin/V1beta/GoogleAdsLink.php | 358 + .../Admin/V1beta/IndustryCategory.php | 229 + .../Analytics/Admin/V1beta/KeyEvent.php | 323 + .../Admin/V1beta/KeyEvent/CountingMethod.php | 63 + .../Admin/V1beta/KeyEvent/DefaultValue.php | 121 + .../V1beta/ListAccountSummariesRequest.php | 125 + .../V1beta/ListAccountSummariesResponse.php | 105 + .../Admin/V1beta/ListAccountsRequest.php | 167 + .../Admin/V1beta/ListAccountsResponse.php | 105 + .../V1beta/ListConversionEventsRequest.php | 174 + .../V1beta/ListConversionEventsResponse.php | 105 + .../V1beta/ListCustomDimensionsRequest.php | 169 + .../V1beta/ListCustomDimensionsResponse.php | 105 + .../Admin/V1beta/ListCustomMetricsRequest.php | 169 + .../V1beta/ListCustomMetricsResponse.php | 105 + .../Admin/V1beta/ListDataStreamsRequest.php | 169 + .../Admin/V1beta/ListDataStreamsResponse.php | 105 + .../Admin/V1beta/ListFirebaseLinksRequest.php | 179 + .../V1beta/ListFirebaseLinksResponse.php | 113 + .../V1beta/ListGoogleAdsLinksRequest.php | 169 + .../V1beta/ListGoogleAdsLinksResponse.php | 105 + .../Admin/V1beta/ListKeyEventsRequest.php | 174 + .../Admin/V1beta/ListKeyEventsResponse.php | 105 + .../ListMeasurementProtocolSecretsRequest.php | 179 + ...ListMeasurementProtocolSecretsResponse.php | 105 + .../Admin/V1beta/ListPropertiesRequest.php | 257 + .../Admin/V1beta/ListPropertiesResponse.php | 105 + .../V1beta/MeasurementProtocolSecret.php | 151 + .../Analytics/Admin/V1beta/NumericValue.php | 108 + .../Analytics/Admin/V1beta/Property.php | 607 + .../Admin/V1beta/PropertySummary.php | 189 + .../Analytics/Admin/V1beta/PropertyType.php | 68 + .../V1beta/ProvisionAccountTicketRequest.php | 115 + .../V1beta/ProvisionAccountTicketResponse.php | 67 + .../Admin/V1beta/RunAccessReportRequest.php | 679 + .../Admin/V1beta/RunAccessReportResponse.php | 257 + .../SearchChangeHistoryEventsRequest.php | 435 + .../SearchChangeHistoryEventsResponse.php | 105 + .../Analytics/Admin/V1beta/ServiceLevel.php | 61 + .../Admin/V1beta/UpdateAccountRequest.php | 156 + .../V1beta/UpdateConversionEventRequest.php | 156 + .../V1beta/UpdateCustomDimensionRequest.php | 146 + .../V1beta/UpdateCustomMetricRequest.php | 146 + .../UpdateDataRetentionSettingsRequest.php | 156 + .../Admin/V1beta/UpdateDataStreamRequest.php | 146 + .../V1beta/UpdateGoogleAdsLinkRequest.php | 151 + .../Admin/V1beta/UpdateKeyEventRequest.php | 156 + ...UpdateMeasurementProtocolSecretRequest.php | 141 + .../Admin/V1beta/UpdatePropertyRequest.php | 161 + .../acknowledge_user_data_collection.php | 87 + .../archive_custom_dimension.php | 73 + .../archive_custom_metric.php | 70 + .../create_conversion_event.php | 75 + .../create_custom_dimension.php | 107 + .../create_custom_metric.php | 108 + .../create_data_stream.php | 77 + .../create_firebase_link.php | 77 + .../create_google_ads_link.php | 73 + .../create_key_event.php | 79 + .../create_measurement_protocol_secret.php | 79 + .../create_property.php | 86 + .../delete_account.php | 81 + .../delete_conversion_event.php | 75 + .../delete_data_stream.php | 70 + .../delete_firebase_link.php | 71 + .../delete_google_ads_link.php | 69 + .../delete_key_event.php | 71 + .../delete_measurement_protocol_secret.php | 75 + .../delete_property.php | 83 + .../get_account.php | 73 + .../get_conversion_event.php | 77 + .../get_custom_dimension.php | 75 + .../get_custom_metric.php | 72 + .../get_data_retention_settings.php | 74 + .../get_data_sharing_settings.php | 75 + .../get_data_stream.php | 72 + .../get_key_event.php | 73 + .../get_measurement_protocol_secret.php | 77 + .../get_property.php | 73 + .../list_account_summaries.php | 62 + .../list_accounts.php | 66 + .../list_conversion_events.php | 80 + .../list_custom_dimensions.php | 76 + .../list_custom_metrics.php | 76 + .../list_data_streams.php | 76 + .../list_firebase_links.php | 79 + .../list_google_ads_links.php | 76 + .../list_key_events.php | 78 + .../list_measurement_protocol_secrets.php | 79 + .../list_properties.php | 94 + .../provision_account_ticket.php | 57 + .../run_access_report.php | 76 + .../search_change_history_events.php | 83 + .../update_account.php | 75 + .../update_conversion_event.php | 63 + .../update_custom_dimension.php | 60 + .../update_custom_metric.php | 60 + .../update_data_retention_settings.php | 84 + .../update_data_stream.php | 60 + .../update_google_ads_link.php | 60 + .../update_key_event.php | 77 + .../update_measurement_protocol_secret.php | 76 + .../update_property.php | 88 + .../Client/AnalyticsAdminServiceClient.php | 2203 +++ .../v1beta/src/V1beta/gapic_metadata.json | 288 + ...analytics_admin_service_client_config.json | 305 + ...lytics_admin_service_descriptor_config.php | 757 + ...ytics_admin_service_rest_client_config.php | 663 + .../AnalyticsAdminServiceClientTest.php | 4019 ++++++ 701 files changed, 115016 insertions(+) create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AccessReport.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AnalyticsAdmin.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Audience.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ChannelGroup.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/EventCreateAndEdit.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ExpandedDataSet.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Resources.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/SubpropertyEventFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBetweenFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBinding.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDateRange.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimension.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionHeader.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionValue.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpression.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpressionList.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessInListFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricHeader.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricValue.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter/Operation.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy/OrderType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/MetricOrderBy.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuota.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuotaStatus.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessRow.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter/MatchType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Account.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccountSummary.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActionType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActorType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AdSenseLink.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveAudienceRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomDimensionRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomMetricRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AcquisitionConversionEventLookbackWindow.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AdsWebConversionDataExportScope.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/OtherConversionEventLookbackWindow.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/ReportingAttributionModel.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience/AudienceExclusionDurationMode.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/BetweenFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/InListFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter/Operation.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericValue.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter/MatchType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger/LogCondition.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause/AudienceClauseType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpression.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpressionList.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterScope.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSimpleFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchDeleteAccessBindingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BigQueryLink.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/MetricUnit.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/RestrictedMetricType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryEvent.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryResourceType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroup.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/InListFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter/MatchType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpression.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpressionList.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CoarseValue.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/ConversionCountingMethod.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/DefaultConversionValue.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionValues.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAccessBindingRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAdSenseLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAudienceRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateBigQueryLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCalculatedMetricRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateChannelGroupRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateConversionEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomDimensionRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomMetricRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDataStreamRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventCreateRuleRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventEditRuleRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateExpandedDataSetRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateFirebaseLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateGoogleAdsLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateKeyEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateMeasurementProtocolSecretRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreatePropertyRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateReportingDataAnnotationRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertySourceLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSKAdNetworkConversionValueSchemaRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSearchAds360LinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSubpropertyEventFilterRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension/DimensionScope.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MeasurementUnit.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MetricScope.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/RestrictedMetricType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRedactionSettings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings/RetentionDuration.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataSharingSettings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/AndroidAppStreamData.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/DataStreamType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/IosAppStreamData.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/WebStreamData.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccessBindingRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccountRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAdSenseLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteBigQueryLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteCalculatedMetricRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteChannelGroupRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteConversionEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDataStreamRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventCreateRuleRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventEditRuleRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteExpandedDataSetRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteFirebaseLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteGoogleAdsLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteKeyEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteMeasurementProtocolSecretRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeletePropertyRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteReportingDataAnnotationRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteRollupPropertySourceLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSearchAds360LinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSubpropertyEventFilterRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLink.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLinkProposal.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EnhancedMeasurementSettings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventCreateRule.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventEditRule.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventMapping.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSet.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/InListFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter/MatchType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilterExpression.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilterExpressionList.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/FirebaseLink.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccessBindingRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccountRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAdSenseLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAttributionSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAudienceRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetBigQueryLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCalculatedMetricRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetChannelGroupRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetConversionEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomDimensionRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomMetricRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRedactionSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRetentionSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataSharingSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataStreamRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEnhancedMeasurementSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventCreateRuleRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventEditRuleRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetExpandedDataSetRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGlobalSiteTagRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGoogleSignalsSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetKeyEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetMeasurementProtocolSecretRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetPropertyRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingDataAnnotationRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingIdentitySettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetRollupPropertySourceLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSKAdNetworkConversionValueSchemaRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSearchAds360LinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertyEventFilterRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertySyncConfigRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetUserProvidedDataSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GlobalSiteTag.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleAdsLink.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsConsent.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsSettings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsState.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GroupingRule.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/IndustryCategory.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/CountingMethod.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/DefaultValue.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalInitiatingProduct.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalState.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalStatusDetails.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition/ComparisonType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MeasurementProtocolSecret.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/NumericValue.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ParameterMutation.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PostbackWindow.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Property.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertySummary.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertyType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReorderEventEditRulesRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/Color.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/DateRange.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings/ReportingIdentity.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RollupPropertySourceLink.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SKAdNetworkConversionValueSchema.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchAds360Link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ServiceLevel.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause/FilterClauseType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter/MatchType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpression.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpressionList.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig/SynchronizationMode.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccessBindingRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccountRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAttributionSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAudienceRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateBigQueryLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCalculatedMetricRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateChannelGroupRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateConversionEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomDimensionRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomMetricRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRedactionSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRetentionSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataStreamRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEnhancedMeasurementSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventCreateRuleRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventEditRuleRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateExpandedDataSetRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleAdsLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleSignalsSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateKeyEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateMeasurementProtocolSecretRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdatePropertyRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateReportingDataAnnotationRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSearchAds360LinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertyEventFilterRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertySyncConfigRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UserProvidedDataSettings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/approve_display_video360_advertiser_link_proposal.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_audience.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_dimension.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_metric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_access_bindings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_delete_access_bindings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_get_access_bindings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_update_access_bindings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/cancel_display_video360_advertiser_link_proposal.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_access_binding.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_ad_sense_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_audience.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_big_query_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_calculated_metric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_channel_group.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_conversion_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_dimension.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_metric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_data_stream.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link_proposal.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_create_rule.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_edit_rule.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_expanded_data_set.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_firebase_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_google_ads_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_key_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_property.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_reporting_data_annotation.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property_source_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_search_ads360_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_sk_ad_network_conversion_value_schema.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty_event_filter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_access_binding.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_account.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_ad_sense_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_big_query_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_calculated_metric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_channel_group.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_conversion_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_data_stream.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link_proposal.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_create_rule.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_edit_rule.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_expanded_data_set.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_firebase_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_google_ads_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_key_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_reporting_data_annotation.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_rollup_property_source_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_search_ads360_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_sk_ad_network_conversion_value_schema.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_subproperty_event_filter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_access_binding.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_account.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_ad_sense_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_attribution_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_audience.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_big_query_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_calculated_metric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_channel_group.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_conversion_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_dimension.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_metric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_redaction_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_retention_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_sharing_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_stream.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link_proposal.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_enhanced_measurement_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_create_rule.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_edit_rule.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_expanded_data_set.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_global_site_tag.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_google_signals_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_key_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_property.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_data_annotation.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_identity_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_rollup_property_source_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_search_ads360_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_sk_ad_network_conversion_value_schema.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_event_filter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_sync_config.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_user_provided_data_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_access_bindings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_account_summaries.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_accounts.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_ad_sense_links.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_audiences.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_big_query_links.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_calculated_metrics.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_channel_groups.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_conversion_events.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_dimensions.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_metrics.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_data_streams.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_link_proposals.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_links.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_create_rules.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_edit_rules.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_expanded_data_sets.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_firebase_links.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_google_ads_links.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_key_events.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_properties.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_reporting_data_annotations.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_rollup_property_source_links.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_search_ads360_links.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_sk_ad_network_conversion_value_schemas.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_event_filters.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_sync_configs.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_account_ticket.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_subproperty.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/reorder_event_edit_rules.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/run_access_report.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/submit_user_deletion.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_access_binding.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_account.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_attribution_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_audience.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_big_query_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_calculated_metric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_channel_group.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_conversion_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_dimension.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_metric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_redaction_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_retention_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_stream.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_display_video360_advertiser_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_enhanced_measurement_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_create_rule.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_edit_rule.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_expanded_data_set.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_ads_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_signals_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_key_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_property.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_reporting_data_annotation.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_search_ads360_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_sk_ad_network_conversion_value_schema.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_event_filter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_sync_config.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/Client/AnalyticsAdminServiceClient.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/gapic_metadata.json create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_client_config.json create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_descriptor_config.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_rest_client_config.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/tests/Unit/V1alpha/Client/AnalyticsAdminServiceClientTest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AccessReport.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AnalyticsAdmin.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/Resources.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessBetweenFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDateRange.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimension.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionHeader.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionValue.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpression.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpressionList.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessInListFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricHeader.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricValue.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter/Operation.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy/OrderType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/MetricOrderBy.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuota.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuotaStatus.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessRow.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter/MatchType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Account.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccountSummary.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActionType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActorType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomDimensionRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomMetricRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange/ChangeHistoryResource.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryEvent.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryResourceType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/ConversionCountingMethod.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/DefaultConversionValue.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateConversionEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomDimensionRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomMetricRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateDataStreamRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateFirebaseLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateGoogleAdsLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateKeyEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateMeasurementProtocolSecretRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreatePropertyRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension/DimensionScope.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MeasurementUnit.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MetricScope.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/RestrictedMetricType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings/RetentionDuration.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataSharingSettings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/AndroidAppStreamData.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/DataStreamType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/IosAppStreamData.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/WebStreamData.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteAccountRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteConversionEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteDataStreamRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteFirebaseLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteGoogleAdsLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteKeyEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteMeasurementProtocolSecretRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeletePropertyRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/FirebaseLink.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetAccountRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetConversionEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomDimensionRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomMetricRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataRetentionSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataSharingSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataStreamRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetKeyEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetMeasurementProtocolSecretRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetPropertyRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GoogleAdsLink.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/IndustryCategory.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/CountingMethod.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/DefaultValue.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/MeasurementProtocolSecret.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/NumericValue.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Property.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertySummary.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertyType.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsResponse.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ServiceLevel.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateAccountRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateConversionEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomDimensionRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomMetricRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataRetentionSettingsRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataStreamRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateGoogleAdsLinkRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateKeyEventRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateMeasurementProtocolSecretRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdatePropertyRequest.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_dimension.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_metric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_conversion_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_dimension.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_metric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_data_stream.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_firebase_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_google_ads_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_key_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_property.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_account.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_conversion_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_data_stream.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_firebase_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_google_ads_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_key_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_property.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_account.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_conversion_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_dimension.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_metric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_retention_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_sharing_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_stream.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_key_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_property.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_account_summaries.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_accounts.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_conversion_events.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_dimensions.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_metrics.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_data_streams.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_firebase_links.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_google_ads_links.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_key_events.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_properties.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/provision_account_ticket.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/run_access_report.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/search_change_history_events.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_account.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_conversion_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_dimension.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_metric.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_retention_settings.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_stream.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_google_ads_link.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_key_event.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_property.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/Client/AnalyticsAdminServiceClient.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/gapic_metadata.json create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_client_config.json create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_descriptor_config.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_rest_client_config.php create mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/tests/Unit/V1beta/Client/AnalyticsAdminServiceClientTest.php diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AccessReport.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AccessReport.php new file mode 100644 index 000000000000..d012f3f2ebde --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AccessReport.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xB0\x1A\x0A2google/analytics/admin/v1alpha/access_report.proto\x12\x1Egoogle.analytics.admin.v1alpha\")\x0A\x0FAccessDimension\x12\x16\x0A\x0Edimension_name\x18\x01 \x01(\x09\"#\x0A\x0CAccessMetric\x12\x13\x0A\x0Bmetric_name\x18\x01 \x01(\x09\"7\x0A\x0FAccessDateRange\x12\x12\x0A\x0Astart_date\x18\x01 \x01(\x09\x12\x10\x0A\x08end_date\x18\x02 \x01(\x09\"\xE4\x02\x0A\x16AccessFilterExpression\x12O\x0A\x09and_group\x18\x01 \x01(\x0B2:.google.analytics.admin.v1alpha.AccessFilterExpressionListH\x00\x12N\x0A\x08or_group\x18\x02 \x01(\x0B2:.google.analytics.admin.v1alpha.AccessFilterExpressionListH\x00\x12P\x0A\x0Enot_expression\x18\x03 \x01(\x0B26.google.analytics.admin.v1alpha.AccessFilterExpressionH\x00\x12E\x0A\x0Daccess_filter\x18\x04 \x01(\x0B2,.google.analytics.admin.v1alpha.AccessFilterH\x00B\x10\x0A\x0Eone_expression\"i\x0A\x1AAccessFilterExpressionList\x12K\x0A\x0Bexpressions\x18\x01 \x03(\x0B26.google.analytics.admin.v1alpha.AccessFilterExpression\"\xE9\x02\x0A\x0CAccessFilter\x12K\x0A\x0Dstring_filter\x18\x02 \x01(\x0B22.google.analytics.admin.v1alpha.AccessStringFilterH\x00\x12L\x0A\x0Ein_list_filter\x18\x03 \x01(\x0B22.google.analytics.admin.v1alpha.AccessInListFilterH\x00\x12M\x0A\x0Enumeric_filter\x18\x04 \x01(\x0B23.google.analytics.admin.v1alpha.AccessNumericFilterH\x00\x12M\x0A\x0Ebetween_filter\x18\x05 \x01(\x0B23.google.analytics.admin.v1alpha.AccessBetweenFilterH\x00\x12\x12\x0A\x0Afield_name\x18\x01 \x01(\x09B\x0C\x0A\x0Aone_filter\"\x95\x02\x0A\x12AccessStringFilter\x12P\x0A\x0Amatch_type\x18\x01 \x01(\x0E2<.google.analytics.admin.v1alpha.AccessStringFilter.MatchType\x12\x0D\x0A\x05value\x18\x02 \x01(\x09\x12\x16\x0A\x0Ecase_sensitive\x18\x03 \x01(\x08\"\x85\x01\x0A\x09MatchType\x12\x1A\x0A\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EXACT\x10\x01\x12\x0F\x0A\x0BBEGINS_WITH\x10\x02\x12\x0D\x0A\x09ENDS_WITH\x10\x03\x12\x0C\x0A\x08CONTAINS\x10\x04\x12\x0F\x0A\x0BFULL_REGEXP\x10\x05\x12\x12\x0A\x0EPARTIAL_REGEXP\x10\x06\"<\x0A\x12AccessInListFilter\x12\x0E\x0A\x06values\x18\x01 \x03(\x09\x12\x16\x0A\x0Ecase_sensitive\x18\x02 \x01(\x08\"\xAC\x02\x0A\x13AccessNumericFilter\x12P\x0A\x09operation\x18\x01 \x01(\x0E2=.google.analytics.admin.v1alpha.AccessNumericFilter.Operation\x12;\x0A\x05value\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.NumericValue\"\x85\x01\x0A\x09Operation\x12\x19\x0A\x15OPERATION_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EQUAL\x10\x01\x12\x0D\x0A\x09LESS_THAN\x10\x02\x12\x16\x0A\x12LESS_THAN_OR_EQUAL\x10\x03\x12\x10\x0A\x0CGREATER_THAN\x10\x04\x12\x19\x0A\x15GREATER_THAN_OR_EQUAL\x10\x05\"\x97\x01\x0A\x13AccessBetweenFilter\x12@\x0A\x0Afrom_value\x18\x01 \x01(\x0B2,.google.analytics.admin.v1alpha.NumericValue\x12>\x0A\x08to_value\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.NumericValue\"J\x0A\x0CNumericValue\x12\x15\x0A\x0Bint64_value\x18\x01 \x01(\x03H\x00\x12\x16\x0A\x0Cdouble_value\x18\x02 \x01(\x01H\x00B\x0B\x0A\x09one_value\"\xED\x03\x0A\x0DAccessOrderBy\x12M\x0A\x06metric\x18\x01 \x01(\x0B2;.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByH\x00\x12S\x0A\x09dimension\x18\x02 \x01(\x0B2>.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByH\x00\x12\x0C\x0A\x04desc\x18\x03 \x01(\x08\x1A\$\x0A\x0DMetricOrderBy\x12\x13\x0A\x0Bmetric_name\x18\x01 \x01(\x09\x1A\xF3\x01\x0A\x10DimensionOrderBy\x12\x16\x0A\x0Edimension_name\x18\x01 \x01(\x09\x12\\\x0A\x0Aorder_type\x18\x02 \x01(\x0E2H.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType\"i\x0A\x09OrderType\x12\x1A\x0A\x16ORDER_TYPE_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CALPHANUMERIC\x10\x01\x12!\x0A\x1DCASE_INSENSITIVE_ALPHANUMERIC\x10\x02\x12\x0B\x0A\x07NUMERIC\x10\x03B\x0E\x0A\x0Cone_order_by\"/\x0A\x15AccessDimensionHeader\x12\x16\x0A\x0Edimension_name\x18\x01 \x01(\x09\")\x0A\x12AccessMetricHeader\x12\x13\x0A\x0Bmetric_name\x18\x01 \x01(\x09\"\xA5\x01\x0A\x09AccessRow\x12N\x0A\x10dimension_values\x18\x01 \x03(\x0B24.google.analytics.admin.v1alpha.AccessDimensionValue\x12H\x0A\x0Dmetric_values\x18\x02 \x03(\x0B21.google.analytics.admin.v1alpha.AccessMetricValue\"%\x0A\x14AccessDimensionValue\x12\x0D\x0A\x05value\x18\x01 \x01(\x09\"\"\x0A\x11AccessMetricValue\x12\x0D\x0A\x05value\x18\x01 \x01(\x09\"\xAB\x03\x0A\x0BAccessQuota\x12I\x0A\x0Etokens_per_day\x18\x01 \x01(\x0B21.google.analytics.admin.v1alpha.AccessQuotaStatus\x12J\x0A\x0Ftokens_per_hour\x18\x02 \x01(\x0B21.google.analytics.admin.v1alpha.AccessQuotaStatus\x12N\x0A\x13concurrent_requests\x18\x03 \x01(\x0B21.google.analytics.admin.v1alpha.AccessQuotaStatus\x12]\x0A\"server_errors_per_project_per_hour\x18\x04 \x01(\x0B21.google.analytics.admin.v1alpha.AccessQuotaStatus\x12V\x0A\x1Btokens_per_project_per_hour\x18\x05 \x01(\x0B21.google.analytics.admin.v1alpha.AccessQuotaStatus\"8\x0A\x11AccessQuotaStatus\x12\x10\x0A\x08consumed\x18\x01 \x01(\x05\x12\x11\x0A\x09remaining\x18\x02 \x01(\x05By\x0A\"com.google.analytics.admin.v1alphaB\x11AccessReportProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AnalyticsAdmin.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AnalyticsAdmin.php new file mode 100644 index 000000000000..31f58032e9c1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AnalyticsAdmin.php @@ -0,0 +1,38 @@ +internalAddGeneratedFile( + "\x0A\x9F\xFD\x03\x0A4google/analytics/admin/v1alpha/analytics_admin.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A-google/analytics/admin/v1alpha/audience.proto\x1A2google/analytics/admin/v1alpha/channel_group.proto\x1A:google/analytics/admin/v1alpha/event_create_and_edit.proto\x1A6google/analytics/admin/v1alpha/expanded_data_set.proto\x1A.google/analytics/admin/v1alpha/resources.proto\x1A=google/analytics/admin/v1alpha/subproperty_event_filter.proto\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xE0\x04\x0A\x16RunAccessReportRequest\x12\x0E\x0A\x06entity\x18\x01 \x01(\x09\x12C\x0A\x0Adimensions\x18\x02 \x03(\x0B2/.google.analytics.admin.v1alpha.AccessDimension\x12=\x0A\x07metrics\x18\x03 \x03(\x0B2,.google.analytics.admin.v1alpha.AccessMetric\x12D\x0A\x0Bdate_ranges\x18\x04 \x03(\x0B2/.google.analytics.admin.v1alpha.AccessDateRange\x12P\x0A\x10dimension_filter\x18\x05 \x01(\x0B26.google.analytics.admin.v1alpha.AccessFilterExpression\x12M\x0A\x0Dmetric_filter\x18\x06 \x01(\x0B26.google.analytics.admin.v1alpha.AccessFilterExpression\x12\x0E\x0A\x06offset\x18\x07 \x01(\x03\x12\x0D\x0A\x05limit\x18\x08 \x01(\x03\x12\x11\x0A\x09time_zone\x18\x09 \x01(\x09\x12@\x0A\x09order_bys\x18\x0A \x03(\x0B2-.google.analytics.admin.v1alpha.AccessOrderBy\x12\x1B\x0A\x13return_entity_quota\x18\x0B \x01(\x08\x12\x1E\x0A\x11include_all_users\x18\x0C \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dexpand_groups\x18\x0D \x01(\x08B\x03\xE0A\x01\"\xBF\x02\x0A\x17RunAccessReportResponse\x12P\x0A\x11dimension_headers\x18\x01 \x03(\x0B25.google.analytics.admin.v1alpha.AccessDimensionHeader\x12J\x0A\x0Emetric_headers\x18\x02 \x03(\x0B22.google.analytics.admin.v1alpha.AccessMetricHeader\x127\x0A\x04rows\x18\x03 \x03(\x0B2).google.analytics.admin.v1alpha.AccessRow\x12\x11\x0A\x09row_count\x18\x04 \x01(\x05\x12:\x0A\x05quota\x18\x05 \x01(\x0B2+.google.analytics.admin.v1alpha.AccessQuota\"P\x0A\x11GetAccountRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\"\\\x0A\x13ListAccountsRequest\x12\x16\x0A\x09page_size\x18\x01 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x14\x0A\x0Cshow_deleted\x18\x03 \x01(\x08\"j\x0A\x14ListAccountsResponse\x129\x0A\x08accounts\x18\x01 \x03(\x0B2'.google.analytics.admin.v1alpha.Account\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"S\x0A\x14DeleteAccountRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\"\x8B\x01\x0A\x14UpdateAccountRequest\x12=\x0A\x07account\x18\x01 \x01(\x0B2'.google.analytics.admin.v1alpha.AccountB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"o\x0A\x1DProvisionAccountTicketRequest\x128\x0A\x07account\x18\x01 \x01(\x0B2'.google.analytics.admin.v1alpha.Account\x12\x14\x0A\x0Credirect_uri\x18\x02 \x01(\x09\";\x0A\x1EProvisionAccountTicketResponse\x12\x19\x0A\x11account_ticket_id\x18\x01 \x01(\x09\"R\x0A\x12GetPropertyRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\"s\x0A\x15ListPropertiesRequest\x12\x13\x0A\x06filter\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x14\x0A\x0Cshow_deleted\x18\x04 \x01(\x08\"o\x0A\x16ListPropertiesResponse\x12<\x0A\x0Aproperties\x18\x01 \x03(\x0B2(.google.analytics.admin.v1alpha.Property\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x8E\x01\x0A\x15UpdatePropertyRequest\x12?\x0A\x08property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"X\x0A\x15CreatePropertyRequest\x12?\x0A\x08property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\"U\x0A\x15DeletePropertyRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\"\xA9\x01\x0A\x19CreateFirebaseLinkRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/FirebaseLink\x12H\x0A\x0Dfirebase_link\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.FirebaseLinkB\x03\xE0A\x02\"]\x0A\x19DeleteFirebaseLinkRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/FirebaseLink\"\x8F\x01\x0A\x18ListFirebaseLinksRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/FirebaseLink\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"z\x0A\x19ListFirebaseLinksResponse\x12D\x0A\x0Efirebase_links\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.FirebaseLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\\\x0A\x17GetGlobalSiteTagRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/GlobalSiteTag\"\xAE\x01\x0A\x1ACreateGoogleAdsLinkRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/GoogleAdsLink\x12K\x0A\x0Fgoogle_ads_link\x18\x02 \x01(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLinkB\x03\xE0A\x02\"\x9A\x01\x0A\x1AUpdateGoogleAdsLinkRequest\x12F\x0A\x0Fgoogle_ads_link\x18\x01 \x01(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLink\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"_\x0A\x1ADeleteGoogleAdsLinkRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/GoogleAdsLink\"\x91\x01\x0A\x19ListGoogleAdsLinksRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/GoogleAdsLink\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"~\x0A\x1AListGoogleAdsLinksResponse\x12G\x0A\x10google_ads_links\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"h\x0A\x1DGetDataSharingSettingsRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1analyticsadmin.googleapis.com/DataSharingSettings\"N\x0A\x1BListAccountSummariesRequest\x12\x16\x0A\x09page_size\x18\x01 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x02 \x01(\x09B\x03\xE0A\x01\"\x82\x01\x0A\x1CListAccountSummariesResponse\x12I\x0A\x11account_summaries\x18\x01 \x03(\x0B2..google.analytics.admin.v1alpha.AccountSummary\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x86\x01\x0A\$AcknowledgeUserDataCollectionRequest\x12@\x0A\x08property\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12\x1C\x0A\x0Facknowledgement\x18\x02 \x01(\x09B\x03\xE0A\x02\"'\x0A%AcknowledgeUserDataCollectionResponse\"\x83\x04\x0A SearchChangeHistoryEventsRequest\x12>\x0A\x07account\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\x12@\x0A\x08property\x18\x02 \x01(\x09B.\xE0A\x01\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12U\x0A\x0Dresource_type\x18\x03 \x03(\x0E29.google.analytics.admin.v1alpha.ChangeHistoryResourceTypeB\x03\xE0A\x01\x12?\x0A\x06action\x18\x04 \x03(\x0E2*.google.analytics.admin.v1alpha.ActionTypeB\x03\xE0A\x01\x12\x18\x0A\x0Bactor_email\x18\x05 \x03(\x09B\x03\xE0A\x01\x12=\x0A\x14earliest_change_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12;\x0A\x12latest_change_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x08 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x09 \x01(\x09B\x03\xE0A\x01\"\x8F\x01\x0A!SearchChangeHistoryEventsResponse\x12Q\x0A\x15change_history_events\x18\x01 \x03(\x0B22.google.analytics.admin.v1alpha.ChangeHistoryEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"t\x0A#GetMeasurementProtocolSecretRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\"\xDE\x01\x0A&CreateMeasurementProtocolSecretRequest\x12O\x0A\x06parent\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x127analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12c\x0A\x1Bmeasurement_protocol_secret\x18\x02 \x01(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecretB\x03\xE0A\x02\"w\x0A&DeleteMeasurementProtocolSecretRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\"\xC3\x01\x0A&UpdateMeasurementProtocolSecretRequest\x12c\x0A\x1Bmeasurement_protocol_secret\x18\x01 \x01(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecretB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xA9\x01\x0A%ListMeasurementProtocolSecretsRequest\x12O\x0A\x06parent\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x127analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xA2\x01\x0A&ListMeasurementProtocolSecretsResponse\x12_\x0A\x1Cmeasurement_protocol_secrets\x18\x01 \x03(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecret\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x82\x01\x0A*GetSKAdNetworkConversionValueSchemaRequest\x12T\x0A\x04name\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x0A>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\"\xFB\x01\x0A-CreateSKAdNetworkConversionValueSchemaRequest\x12V\x0A\x06parent\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x12>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\x12r\x0A#skadnetwork_conversion_value_schema\x18\x02 \x01(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaB\x03\xE0A\x02\"\x85\x01\x0A-DeleteSKAdNetworkConversionValueSchemaRequest\x12T\x0A\x04name\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x0A>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\"\xD9\x01\x0A-UpdateSKAdNetworkConversionValueSchemaRequest\x12r\x0A#skadnetwork_conversion_value_schema\x18\x01 \x01(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xB7\x01\x0A,ListSKAdNetworkConversionValueSchemasRequest\x12V\x0A\x06parent\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x12>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xB8\x01\x0A-ListSKAdNetworkConversionValueSchemasResponse\x12n\x0A\$skadnetwork_conversion_value_schemas\x18\x01 \x03(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"l\x0A\x1FGetGoogleSignalsSettingsRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/GoogleSignalsSettings\"\xB7\x01\x0A\"UpdateGoogleSignalsSettingsRequest\x12[\x0A\x17google_signals_settings\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.GoogleSignalsSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xB5\x01\x0A\x1CCreateConversionEventRequest\x12N\x0A\x10conversion_event\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.ConversionEventB\x03\xE0A\x02\x12E\x0A\x06parent\x18\x02 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ConversionEvent\"\xA4\x01\x0A\x1CUpdateConversionEventRequest\x12N\x0A\x10conversion_event\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.ConversionEventB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"`\x0A\x19GetConversionEventRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ConversionEvent\"c\x0A\x1CDeleteConversionEventRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ConversionEvent\"\x95\x01\x0A\x1BListConversionEventsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ConversionEvent\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x83\x01\x0A\x1CListConversionEventsResponse\x12J\x0A\x11conversion_events\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.ConversionEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x99\x01\x0A\x15CreateKeyEventRequest\x12@\x0A\x09key_event\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.KeyEventB\x03\xE0A\x02\x12>\x0A\x06parent\x18\x02 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/KeyEvent\"\x8F\x01\x0A\x15UpdateKeyEventRequest\x12@\x0A\x09key_event\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.KeyEventB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"R\x0A\x12GetKeyEventRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/KeyEvent\"U\x0A\x15DeleteKeyEventRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/KeyEvent\"\x87\x01\x0A\x14ListKeyEventsRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/KeyEvent\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"n\x0A\x15ListKeyEventsResponse\x12<\x0A\x0Akey_events\x18\x01 \x03(\x0B2(.google.analytics.admin.v1alpha.KeyEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"|\x0A'GetDisplayVideo360AdvertiserLinkRequest\x12Q\x0A\x04name\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x0A;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\"\xA7\x01\x0A)ListDisplayVideo360AdvertiserLinksRequest\x12S\x0A\x06parent\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x12;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\xB0\x01\x0A*ListDisplayVideo360AdvertiserLinksResponse\x12i\x0A\"display_video_360_advertiser_links\x18\x01 \x03(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xF0\x01\x0A*CreateDisplayVideo360AdvertiserLinkRequest\x12S\x0A\x06parent\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x12;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\x12m\x0A!display_video_360_advertiser_link\x18\x02 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkB\x03\xE0A\x02\"\x7F\x0A*DeleteDisplayVideo360AdvertiserLinkRequest\x12Q\x0A\x04name\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x0A;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\"\xCC\x01\x0A*UpdateDisplayVideo360AdvertiserLinkRequest\x12h\x0A!display_video_360_advertiser_link\x18\x01 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x8C\x01\x0A/GetDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\xB7\x01\x0A1ListDisplayVideo360AdvertiserLinkProposalsRequest\x12[\x0A\x06parent\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x12Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\xC9\x01\x0A2ListDisplayVideo360AdvertiserLinkProposalsResponse\x12z\x0A+display_video_360_advertiser_link_proposals\x18\x01 \x03(\x0B2E.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x91\x02\x0A2CreateDisplayVideo360AdvertiserLinkProposalRequest\x12[\x0A\x06parent\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x12Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\x12~\x0A*display_video_360_advertiser_link_proposal\x18\x02 \x01(\x0B2E.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalB\x03\xE0A\x02\"\x8F\x01\x0A2DeleteDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\x90\x01\x0A3ApproveDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\xA0\x01\x0A4ApproveDisplayVideo360AdvertiserLinkProposalResponse\x12h\x0A!display_video_360_advertiser_link\x18\x01 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"\x8F\x01\x0A2CancelDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"b\x0A\x1AGetSearchAds360LinkRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/SearchAds360Link\"\x8D\x01\x0A\x1CListSearchAds360LinksRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/SearchAds360Link\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x88\x01\x0A\x1DListSearchAds360LinksResponse\x12N\x0A\x14search_ads_360_links\x18\x01 \x03(\x0B20.google.analytics.admin.v1alpha.SearchAds360Link\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xBB\x01\x0A\x1DCreateSearchAds360LinkRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/SearchAds360Link\x12R\x0A\x13search_ads_360_link\x18\x02 \x01(\x0B20.google.analytics.admin.v1alpha.SearchAds360LinkB\x03\xE0A\x02\"e\x0A\x1DDeleteSearchAds360LinkRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/SearchAds360Link\"\xA4\x01\x0A\x1DUpdateSearchAds360LinkRequest\x12M\x0A\x13search_ads_360_link\x18\x01 \x01(\x0B20.google.analytics.admin.v1alpha.SearchAds360Link\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xB5\x01\x0A\x1CCreateCustomDimensionRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/CustomDimension\x12N\x0A\x10custom_dimension\x18\x02 \x01(\x0B2/.google.analytics.admin.v1alpha.CustomDimensionB\x03\xE0A\x02\"\x9F\x01\x0A\x1CUpdateCustomDimensionRequest\x12I\x0A\x10custom_dimension\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.CustomDimension\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x95\x01\x0A\x1BListCustomDimensionsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/CustomDimension\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x83\x01\x0A\x1CListCustomDimensionsResponse\x12J\x0A\x11custom_dimensions\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.CustomDimension\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"d\x0A\x1DArchiveCustomDimensionRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/CustomDimension\"`\x0A\x19GetCustomDimensionRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/CustomDimension\"\xA9\x01\x0A\x19CreateCustomMetricRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/CustomMetric\x12H\x0A\x0Dcustom_metric\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.CustomMetricB\x03\xE0A\x02\"\x96\x01\x0A\x19UpdateCustomMetricRequest\x12C\x0A\x0Dcustom_metric\x18\x01 \x01(\x0B2,.google.analytics.admin.v1alpha.CustomMetric\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x85\x01\x0A\x18ListCustomMetricsRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/CustomMetric\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"z\x0A\x19ListCustomMetricsResponse\x12D\x0A\x0Ecustom_metrics\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.CustomMetric\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"^\x0A\x1AArchiveCustomMetricRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/CustomMetric\"Z\x0A\x16GetCustomMetricRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/CustomMetric\"\xDC\x01\x0A\x1DCreateCalculatedMetricRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/CalculatedMetric\x12!\x0A\x14calculated_metric_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12P\x0A\x11calculated_metric\x18\x03 \x01(\x0B20.google.analytics.admin.v1alpha.CalculatedMetricB\x03\xE0A\x02\"\xA7\x01\x0A\x1DUpdateCalculatedMetricRequest\x12P\x0A\x11calculated_metric\x18\x01 \x01(\x0B20.google.analytics.admin.v1alpha.CalculatedMetricB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"e\x0A\x1DDeleteCalculatedMetricRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/CalculatedMetric\"\x97\x01\x0A\x1CListCalculatedMetricsRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/CalculatedMetric\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x86\x01\x0A\x1DListCalculatedMetricsResponse\x12L\x0A\x12calculated_metrics\x18\x01 \x03(\x0B20.google.analytics.admin.v1alpha.CalculatedMetric\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"b\x0A\x1AGetCalculatedMetricRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/CalculatedMetric\"l\x0A\x1FGetDataRetentionSettingsRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/DataRetentionSettings\"\xB7\x01\x0A\"UpdateDataRetentionSettingsRequest\x12[\x0A\x17data_retention_settings\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.DataRetentionSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xA1\x01\x0A\x17CreateDataStreamRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(analyticsadmin.googleapis.com/DataStream\x12D\x0A\x0Bdata_stream\x18\x02 \x01(\x0B2*.google.analytics.admin.v1alpha.DataStreamB\x03\xE0A\x02\"Y\x0A\x17DeleteDataStreamRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(analyticsadmin.googleapis.com/DataStream\"\x90\x01\x0A\x17UpdateDataStreamRequest\x12?\x0A\x0Bdata_stream\x18\x01 \x01(\x0B2*.google.analytics.admin.v1alpha.DataStream\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x81\x01\x0A\x16ListDataStreamsRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(analyticsadmin.googleapis.com/DataStream\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"t\x0A\x17ListDataStreamsResponse\x12@\x0A\x0Cdata_streams\x18\x01 \x03(\x0B2*.google.analytics.admin.v1alpha.DataStream\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"V\x0A\x14GetDataStreamRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(analyticsadmin.googleapis.com/DataStream\"R\x0A\x12GetAudienceRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Audience\"}\x0A\x14ListAudiencesRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/Audience\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"m\x0A\x15ListAudiencesResponse\x12;\x0A\x09audiences\x18\x01 \x03(\x0B2(.google.analytics.admin.v1alpha.Audience\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x98\x01\x0A\x15CreateAudienceRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/Audience\x12?\x0A\x08audience\x18\x02 \x01(\x0B2(.google.analytics.admin.v1alpha.AudienceB\x03\xE0A\x02\"\x8E\x01\x0A\x15UpdateAudienceRequest\x12?\x0A\x08audience\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.AudienceB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"V\x0A\x16ArchiveAudienceRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/Audience\"h\x0A\x1DGetAttributionSettingsRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1analyticsadmin.googleapis.com/AttributionSettings\"\xB0\x01\x0A UpdateAttributionSettingsRequest\x12V\x0A\x14attribution_settings\x18\x01 \x01(\x0B23.google.analytics.admin.v1alpha.AttributionSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\\\x0A\x17GetAccessBindingRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/AccessBinding\"\xA8\x01\x0A\x1DBatchGetAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12B\x0A\x05names\x18\x02 \x03(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/AccessBinding\"h\x0A\x1EBatchGetAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\"\x87\x01\x0A\x19ListAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"}\x0A\x1AListAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xAD\x01\x0A\x1ACreateAccessBindingRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12J\x0A\x0Eaccess_binding\x18\x02 \x01(\x0B2-.google.analytics.admin.v1alpha.AccessBindingB\x03\xE0A\x02\"\xBA\x01\x0A BatchCreateAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12Q\x0A\x08requests\x18\x03 \x03(\x0B2:.google.analytics.admin.v1alpha.CreateAccessBindingRequestB\x03\xE0A\x02\"k\x0A!BatchCreateAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\"h\x0A\x1AUpdateAccessBindingRequest\x12J\x0A\x0Eaccess_binding\x18\x01 \x01(\x0B2-.google.analytics.admin.v1alpha.AccessBindingB\x03\xE0A\x02\"\xBA\x01\x0A BatchUpdateAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12Q\x0A\x08requests\x18\x02 \x03(\x0B2:.google.analytics.admin.v1alpha.UpdateAccessBindingRequestB\x03\xE0A\x02\"k\x0A!BatchUpdateAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\"_\x0A\x1ADeleteAccessBindingRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/AccessBinding\"\xBA\x01\x0A BatchDeleteAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12Q\x0A\x08requests\x18\x02 \x03(\x0B2:.google.analytics.admin.v1alpha.DeleteAccessBindingRequestB\x03\xE0A\x02\"\xB6\x01\x0A\x1CCreateExpandedDataSetRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ExpandedDataSet\x12O\x0A\x11expanded_data_set\x18\x02 \x01(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSetB\x03\xE0A\x02\"\xA5\x01\x0A\x1CUpdateExpandedDataSetRequest\x12O\x0A\x11expanded_data_set\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSetB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"c\x0A\x1CDeleteExpandedDataSetRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ExpandedDataSet\"`\x0A\x19GetExpandedDataSetRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ExpandedDataSet\"\x8B\x01\x0A\x1BListExpandedDataSetsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ExpandedDataSet\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x84\x01\x0A\x1CListExpandedDataSetsResponse\x12K\x0A\x12expanded_data_sets\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSet\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA9\x01\x0A\x19CreateChannelGroupRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/ChannelGroup\x12H\x0A\x0Dchannel_group\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.ChannelGroupB\x03\xE0A\x02\"\x9B\x01\x0A\x19UpdateChannelGroupRequest\x12H\x0A\x0Dchannel_group\x18\x01 \x01(\x0B2,.google.analytics.admin.v1alpha.ChannelGroupB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"]\x0A\x19DeleteChannelGroupRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/ChannelGroup\"Z\x0A\x16GetChannelGroupRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/ChannelGroup\"\x85\x01\x0A\x18ListChannelGroupsRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/ChannelGroup\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"z\x0A\x19ListChannelGroupsResponse\x12D\x0A\x0Echannel_groups\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.ChannelGroup\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA9\x01\x0A\x19CreateBigQueryLinkRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/BigQueryLink\x12H\x0A\x0Dbigquery_link\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.BigQueryLinkB\x03\xE0A\x02\"Z\x0A\x16GetBigQueryLinkRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/BigQueryLink\"\x85\x01\x0A\x18ListBigQueryLinksRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/BigQueryLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"z\x0A\x19ListBigQueryLinksResponse\x12D\x0A\x0Ebigquery_links\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.BigQueryLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x9B\x01\x0A\x19UpdateBigQueryLinkRequest\x12H\x0A\x0Dbigquery_link\x18\x01 \x01(\x0B2,.google.analytics.admin.v1alpha.BigQueryLinkB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"]\x0A\x19DeleteBigQueryLinkRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/BigQueryLink\"x\x0A%GetEnhancedMeasurementSettingsRequest\x12O\x0A\x04name\x18\x01 \x01(\x09BA\xE0A\x02\xFAA;\x0A9analyticsadmin.googleapis.com/EnhancedMeasurementSettings\"\xC9\x01\x0A(UpdateEnhancedMeasurementSettingsRequest\x12g\x0A\x1Denhanced_measurement_settings\x18\x01 \x01(\x0B2;.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"l\x0A\x1FGetDataRedactionSettingsRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/DataRedactionSettings\"\xB7\x01\x0A\"UpdateDataRedactionSettingsRequest\x12[\x0A\x17data_redaction_settings\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.DataRedactionSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xA5\x01\x0A\x18CreateAdSenseLinkRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x12)analyticsadmin.googleapis.com/AdSenseLink\x12F\x0A\x0Cadsense_link\x18\x02 \x01(\x0B2+.google.analytics.admin.v1alpha.AdSenseLinkB\x03\xE0A\x02\"X\x0A\x15GetAdSenseLinkRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)analyticsadmin.googleapis.com/AdSenseLink\"[\x0A\x18DeleteAdSenseLinkRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)analyticsadmin.googleapis.com/AdSenseLink\"\x83\x01\x0A\x17ListAdSenseLinksRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x12)analyticsadmin.googleapis.com/AdSenseLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"w\x0A\x18ListAdSenseLinksResponse\x12B\x0A\x0Dadsense_links\x18\x01 \x03(\x0B2+.google.analytics.admin.v1alpha.AdSenseLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB6\x01\x0A\x1CCreateEventCreateRuleRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/EventCreateRule\x12O\x0A\x11event_create_rule\x18\x02 \x01(\x0B2/.google.analytics.admin.v1alpha.EventCreateRuleB\x03\xE0A\x02\"\xA5\x01\x0A\x1CUpdateEventCreateRuleRequest\x12O\x0A\x11event_create_rule\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.EventCreateRuleB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"c\x0A\x1CDeleteEventCreateRuleRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/EventCreateRule\"`\x0A\x19GetEventCreateRuleRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/EventCreateRule\"\x8B\x01\x0A\x1BListEventCreateRulesRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/EventCreateRule\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x84\x01\x0A\x1CListEventCreateRulesResponse\x12K\x0A\x12event_create_rules\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.EventCreateRule\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xAE\x01\x0A\x1ACreateEventEditRuleRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/EventEditRule\x12K\x0A\x0Fevent_edit_rule\x18\x02 \x01(\x0B2-.google.analytics.admin.v1alpha.EventEditRuleB\x03\xE0A\x02\"\x9F\x01\x0A\x1AUpdateEventEditRuleRequest\x12K\x0A\x0Fevent_edit_rule\x18\x01 \x01(\x0B2-.google.analytics.admin.v1alpha.EventEditRuleB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"_\x0A\x1ADeleteEventEditRuleRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/EventEditRule\"\\\x0A\x17GetEventEditRuleRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/EventEditRule\"\x91\x01\x0A\x19ListEventEditRulesRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/EventEditRule\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"~\x0A\x1AListEventEditRulesResponse\x12G\x0A\x10event_edit_rules\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.EventEditRule\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x82\x01\x0A\x1CReorderEventEditRulesRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/EventEditRule\x12\x1D\x0A\x10event_edit_rules\x18\x02 \x03(\x09B\x03\xE0A\x02\"\x85\x01\x0A\x1BCreateRollupPropertyRequest\x12F\x0A\x0Frollup_property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\x12\x1E\x0A\x11source_properties\x18\x02 \x03(\x09B\x03\xE0A\x01\"\xC1\x01\x0A\x1CCreateRollupPropertyResponse\x12A\x0A\x0Frollup_property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.Property\x12^\x0A\x1Crollup_property_source_links\x18\x02 \x03(\x0B28.google.analytics.admin.v1alpha.RollupPropertySourceLink\"r\x0A\"GetRollupPropertySourceLinkRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6analyticsadmin.googleapis.com/RollupPropertySourceLink\"\xA7\x01\x0A\$ListRollupPropertySourceLinksRequest\x12N\x0A\x06parent\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x126analyticsadmin.googleapis.com/RollupPropertySourceLink\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xA0\x01\x0A%ListRollupPropertySourceLinksResponse\x12^\x0A\x1Crollup_property_source_links\x18\x01 \x03(\x0B28.google.analytics.admin.v1alpha.RollupPropertySourceLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xDB\x01\x0A%CreateRollupPropertySourceLinkRequest\x12N\x0A\x06parent\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x126analyticsadmin.googleapis.com/RollupPropertySourceLink\x12b\x0A\x1Brollup_property_source_link\x18\x02 \x01(\x0B28.google.analytics.admin.v1alpha.RollupPropertySourceLinkB\x03\xE0A\x02\"u\x0A%DeleteRollupPropertySourceLinkRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6analyticsadmin.googleapis.com/RollupPropertySourceLink\"\xCB\x02\x0A\x1BProvisionSubpropertyRequest\x12B\x0A\x0Bsubproperty\x18\x02 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\x12]\x0A\x18subproperty_event_filter\x18\x03 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilterB\x03\xE0A\x01\x12\x88\x01\x0A0custom_dimension_and_metric_synchronization_mode\x18\x04 \x01(\x0E2I.google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationModeB\x03\xE0A\x01\"\xB7\x01\x0A\x1CProvisionSubpropertyResponse\x12=\x0A\x0Bsubproperty\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.Property\x12X\x0A\x18subproperty_event_filter\x18\x02 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilter\"\xD2\x01\x0A#CreateSubpropertyEventFilterRequest\x12L\x0A\x06parent\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x124analyticsadmin.googleapis.com/SubpropertyEventFilter\x12]\x0A\x18subproperty_event_filter\x18\x02 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilterB\x03\xE0A\x02\"n\x0A GetSubpropertyEventFilterRequest\x12J\x0A\x04name\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x0A4analyticsadmin.googleapis.com/SubpropertyEventFilter\"\xA3\x01\x0A\"ListSubpropertyEventFiltersRequest\x12L\x0A\x06parent\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x124analyticsadmin.googleapis.com/SubpropertyEventFilter\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x99\x01\x0A#ListSubpropertyEventFiltersResponse\x12Y\x0A\x19subproperty_event_filters\x18\x01 \x03(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilter\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xBA\x01\x0A#UpdateSubpropertyEventFilterRequest\x12]\x0A\x18subproperty_event_filter\x18\x01 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilterB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"q\x0A#DeleteSubpropertyEventFilterRequest\x12J\x0A\x04name\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x0A4analyticsadmin.googleapis.com/SubpropertyEventFilter\"\xD6\x01\x0A\$CreateReportingDataAnnotationRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125analyticsadmin.googleapis.com/ReportingDataAnnotation\x12_\x0A\x19reporting_data_annotation\x18\x02 \x01(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotationB\x03\xE0A\x02\"p\x0A!GetReportingDataAnnotationRequest\x12K\x0A\x04name\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x0A5analyticsadmin.googleapis.com/ReportingDataAnnotation\"\xBA\x01\x0A#ListReportingDataAnnotationsRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125analyticsadmin.googleapis.com/ReportingDataAnnotation\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\"\x9C\x01\x0A\$ListReportingDataAnnotationsResponse\x12[\x0A\x1Areporting_data_annotations\x18\x01 \x03(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotation\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xBD\x01\x0A\$UpdateReportingDataAnnotationRequest\x12_\x0A\x19reporting_data_annotation\x18\x01 \x01(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotationB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"s\x0A\$DeleteReportingDataAnnotationRequest\x12K\x0A\x04name\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x0A5analyticsadmin.googleapis.com/ReportingDataAnnotation\"\xC2\x01\x0A\x19SubmitUserDeletionRequest\x12\x11\x0A\x07user_id\x18\x02 \x01(\x09H\x00\x12\x13\x0A\x09client_id\x18\x03 \x01(\x09H\x00\x12\x19\x0A\x0Fapp_instance_id\x18\x04 \x01(\x09H\x00\x12\x1C\x0A\x12user_provided_data\x18\x05 \x01(\x09H\x00\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/PropertyB\x06\x0A\x04user\"W\x0A\x1ASubmitUserDeletionResponse\x129\x0A\x15deletion_request_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\"l\x0A\x1FGetSubpropertySyncConfigRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/SubpropertySyncConfig\"\xA1\x01\x0A!ListSubpropertySyncConfigsRequest\x12K\x0A\x06parent\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x123analyticsadmin.googleapis.com/SubpropertySyncConfig\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x96\x01\x0A\"ListSubpropertySyncConfigsResponse\x12W\x0A\x18subproperty_sync_configs\x18\x01 \x03(\x0B25.google.analytics.admin.v1alpha.SubpropertySyncConfig\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB7\x01\x0A\"UpdateSubpropertySyncConfigRequest\x12[\x0A\x17subproperty_sync_config\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.SubpropertySyncConfigB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"t\x0A#GetReportingIdentitySettingsRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/ReportingIdentitySettings\"r\x0A\"GetUserProvidedDataSettingsRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6analyticsadmin.googleapis.com/UserProvidedDataSettings2\x88\x99\x02\x0A\x15AnalyticsAdminService\x12\x93\x01\x0A\x0AGetAccount\x121.google.analytics.admin.v1alpha.GetAccountRequest\x1A'.google.analytics.admin.v1alpha.Account\")\xDAA\x04name\x82\xD3\xE4\x93\x02\x1C\x12\x1A/v1alpha/{name=accounts/*}\x12\x94\x01\x0A\x0CListAccounts\x123.google.analytics.admin.v1alpha.ListAccountsRequest\x1A4.google.analytics.admin.v1alpha.ListAccountsResponse\"\x19\x82\xD3\xE4\x93\x02\x13\x12\x11/v1alpha/accounts\x12\x88\x01\x0A\x0DDeleteAccount\x124.google.analytics.admin.v1alpha.DeleteAccountRequest\x1A\x16.google.protobuf.Empty\")\xDAA\x04name\x82\xD3\xE4\x93\x02\x1C*\x1A/v1alpha/{name=accounts/*}\x12\xB9\x01\x0A\x0DUpdateAccount\x124.google.analytics.admin.v1alpha.UpdateAccountRequest\x1A'.google.analytics.admin.v1alpha.Account\"I\xDAA\x13account,update_mask\x82\xD3\xE4\x93\x02-2\"/v1alpha/{account.name=accounts/*}:\x07account\x12\xCC\x01\x0A\x16ProvisionAccountTicket\x12=.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest\x1A>.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse\"3\x82\xD3\xE4\x93\x02-\"(/v1alpha/accounts:provisionAccountTicket:\x01*\x12\xB4\x01\x0A\x14ListAccountSummaries\x12;.google.analytics.admin.v1alpha.ListAccountSummariesRequest\x1A<.google.analytics.admin.v1alpha.ListAccountSummariesResponse\"!\x82\xD3\xE4\x93\x02\x1B\x12\x19/v1alpha/accountSummaries\x12\x98\x01\x0A\x0BGetProperty\x122.google.analytics.admin.v1alpha.GetPropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"+\xDAA\x04name\x82\xD3\xE4\x93\x02\x1E\x12\x1C/v1alpha/{name=properties/*}\x12\x9C\x01\x0A\x0EListProperties\x125.google.analytics.admin.v1alpha.ListPropertiesRequest\x1A6.google.analytics.admin.v1alpha.ListPropertiesResponse\"\x1B\x82\xD3\xE4\x93\x02\x15\x12\x13/v1alpha/properties\x12\xA3\x01\x0A\x0ECreateProperty\x125.google.analytics.admin.v1alpha.CreatePropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"0\xDAA\x08property\x82\xD3\xE4\x93\x02\x1F\"\x13/v1alpha/properties:\x08property\x12\x9E\x01\x0A\x0EDeleteProperty\x125.google.analytics.admin.v1alpha.DeletePropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"+\xDAA\x04name\x82\xD3\xE4\x93\x02\x1E*\x1C/v1alpha/{name=properties/*}\x12\xC1\x01\x0A\x0EUpdateProperty\x125.google.analytics.admin.v1alpha.UpdatePropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"N\xDAA\x14property,update_mask\x82\xD3\xE4\x93\x0212%/v1alpha/{property.name=properties/*}:\x08property\x12\xD9\x01\x0A\x12CreateFirebaseLink\x129.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest\x1A,.google.analytics.admin.v1alpha.FirebaseLink\"Z\xDAA\x14parent,firebase_link\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/firebaseLinks:\x0Dfirebase_link\x12\xA4\x01\x0A\x12DeleteFirebaseLink\x129.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest\x1A\x16.google.protobuf.Empty\";\xDAA\x04name\x82\xD3\xE4\x93\x02.*,/v1alpha/{name=properties/*/firebaseLinks/*}\x12\xC7\x01\x0A\x11ListFirebaseLinks\x128.google.analytics.admin.v1alpha.ListFirebaseLinksRequest\x1A9.google.analytics.admin.v1alpha.ListFirebaseLinksResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/firebaseLinks\x12\xC3\x01\x0A\x10GetGlobalSiteTag\x127.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest\x1A-.google.analytics.admin.v1alpha.GlobalSiteTag\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\x128/v1alpha/{name=properties/*/dataStreams/*/globalSiteTag}\x12\xE1\x01\x0A\x13CreateGoogleAdsLink\x12:.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest\x1A-.google.analytics.admin.v1alpha.GoogleAdsLink\"_\xDAA\x16parent,google_ads_link\x82\xD3\xE4\x93\x02@\"-/v1alpha/{parent=properties/*}/googleAdsLinks:\x0Fgoogle_ads_link\x12\xF6\x01\x0A\x13UpdateGoogleAdsLink\x12:.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest\x1A-.google.analytics.admin.v1alpha.GoogleAdsLink\"t\xDAA\x1Bgoogle_ads_link,update_mask\x82\xD3\xE4\x93\x02P2=/v1alpha/{google_ads_link.name=properties/*/googleAdsLinks/*}:\x0Fgoogle_ads_link\x12\xA7\x01\x0A\x13DeleteGoogleAdsLink\x12:.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest\x1A\x16.google.protobuf.Empty\"<\xDAA\x04name\x82\xD3\xE4\x93\x02/*-/v1alpha/{name=properties/*/googleAdsLinks/*}\x12\xCB\x01\x0A\x12ListGoogleAdsLinks\x129.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest\x1A:.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse\">\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1alpha/{parent=properties/*}/googleAdsLinks\x12\xCB\x01\x0A\x16GetDataSharingSettings\x12=.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest\x1A3.google.analytics.admin.v1alpha.DataSharingSettings\"=\xDAA\x04name\x82\xD3\xE4\x93\x020\x12./v1alpha/{name=accounts/*/dataSharingSettings}\x12\xF6\x01\x0A\x1CGetMeasurementProtocolSecret\x12C.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest\x1A9.google.analytics.admin.v1alpha.MeasurementProtocolSecret\"V\xDAA\x04name\x82\xD3\xE4\x93\x02I\x12G/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}\x12\x89\x02\x0A\x1EListMeasurementProtocolSecrets\x12E.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest\x1AF.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse\"X\xDAA\x06parent\x82\xD3\xE4\x93\x02I\x12G/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets\x12\xB8\x02\x0A\x1FCreateMeasurementProtocolSecret\x12F.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest\x1A9.google.analytics.admin.v1alpha.MeasurementProtocolSecret\"\x91\x01\xDAA\"parent,measurement_protocol_secret\x82\xD3\xE4\x93\x02f\"G/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets:\x1Bmeasurement_protocol_secret\x12\xD9\x01\x0A\x1FDeleteMeasurementProtocolSecret\x12F.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest\x1A\x16.google.protobuf.Empty\"V\xDAA\x04name\x82\xD3\xE4\x93\x02I*G/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}\x12\xDA\x02\x0A\x1FUpdateMeasurementProtocolSecret\x12F.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest\x1A9.google.analytics.admin.v1alpha.MeasurementProtocolSecret\"\xB3\x01\xDAA'measurement_protocol_secret,update_mask\x82\xD3\xE4\x93\x02\x82\x012c/v1alpha/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}:\x1Bmeasurement_protocol_secret\x12\xF7\x01\x0A\x1DAcknowledgeUserDataCollection\x12D.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest\x1AE.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse\"I\x82\xD3\xE4\x93\x02C\">/v1alpha/{property=properties/*}:acknowledgeUserDataCollection:\x01*\x12\x91\x02\x0A#GetSKAdNetworkConversionValueSchema\x12J.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest\x1A@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\"\\\xDAA\x04name\x82\xD3\xE4\x93\x02O\x12M/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}\x12\xE3\x02\x0A&CreateSKAdNetworkConversionValueSchema\x12M.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest\x1A@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\"\xA7\x01\xDAA*parent,skadnetwork_conversion_value_schema\x82\xD3\xE4\x93\x02t\"M/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema:#skadnetwork_conversion_value_schema\x12\xED\x01\x0A&DeleteSKAdNetworkConversionValueSchema\x12M.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest\x1A\x16.google.protobuf.Empty\"\\\xDAA\x04name\x82\xD3\xE4\x93\x02O*M/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}\x12\x8D\x03\x0A&UpdateSKAdNetworkConversionValueSchema\x12M.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest\x1A@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\"\xD1\x01\xDAA/skadnetwork_conversion_value_schema,update_mask\x82\xD3\xE4\x93\x02\x98\x012q/v1alpha/{skadnetwork_conversion_value_schema.name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}:#skadnetwork_conversion_value_schema\x12\xA4\x02\x0A%ListSKAdNetworkConversionValueSchemas\x12L.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest\x1AM.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse\"^\xDAA\x06parent\x82\xD3\xE4\x93\x02O\x12M/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema\x12\xE4\x01\x0A\x19SearchChangeHistoryEvents\x12@.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest\x1AA.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse\"B\x82\xD3\xE4\x93\x02<\"7/v1alpha/{account=accounts/*}:searchChangeHistoryEvents:\x01*\x12\xD5\x01\x0A\x18GetGoogleSignalsSettings\x12?.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest\x1A5.google.analytics.admin.v1alpha.GoogleSignalsSettings\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\x122/v1alpha/{name=properties/*/googleSignalsSettings}\x12\xAC\x02\x0A\x1BUpdateGoogleSignalsSettings\x12B.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest\x1A5.google.analytics.admin.v1alpha.GoogleSignalsSettings\"\x91\x01\xDAA#google_signals_settings,update_mask\x82\xD3\xE4\x93\x02e2J/v1alpha/{google_signals_settings.name=properties/*/googleSignalsSettings}:\x17google_signals_settings\x12\xEE\x01\x0A\x15CreateConversionEvent\x12<.google.analytics.admin.v1alpha.CreateConversionEventRequest\x1A/.google.analytics.admin.v1alpha.ConversionEvent\"f\x88\x02\x01\xDAA\x17parent,conversion_event\x82\xD3\xE4\x93\x02C\"//v1alpha/{parent=properties/*}/conversionEvents:\x10conversion_event\x12\x84\x02\x0A\x15UpdateConversionEvent\x12<.google.analytics.admin.v1alpha.UpdateConversionEventRequest\x1A/.google.analytics.admin.v1alpha.ConversionEvent\"|\x88\x02\x01\xDAA\x1Cconversion_event,update_mask\x82\xD3\xE4\x93\x02T2@/v1alpha/{conversion_event.name=properties/*/conversionEvents/*}:\x10conversion_event\x12\xC3\x01\x0A\x12GetConversionEvent\x129.google.analytics.admin.v1alpha.GetConversionEventRequest\x1A/.google.analytics.admin.v1alpha.ConversionEvent\"A\x88\x02\x01\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1alpha/{name=properties/*/conversionEvents/*}\x12\xB0\x01\x0A\x15DeleteConversionEvent\x12<.google.analytics.admin.v1alpha.DeleteConversionEventRequest\x1A\x16.google.protobuf.Empty\"A\x88\x02\x01\xDAA\x04name\x82\xD3\xE4\x93\x021*//v1alpha/{name=properties/*/conversionEvents/*}\x12\xD6\x01\x0A\x14ListConversionEvents\x12;.google.analytics.admin.v1alpha.ListConversionEventsRequest\x1A<.google.analytics.admin.v1alpha.ListConversionEventsResponse\"C\x88\x02\x01\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1alpha/{parent=properties/*}/conversionEvents\x12\xC1\x01\x0A\x0ECreateKeyEvent\x125.google.analytics.admin.v1alpha.CreateKeyEventRequest\x1A(.google.analytics.admin.v1alpha.KeyEvent\"N\xDAA\x10parent,key_event\x82\xD3\xE4\x93\x025\"(/v1alpha/{parent=properties/*}/keyEvents:\x09key_event\x12\xD0\x01\x0A\x0EUpdateKeyEvent\x125.google.analytics.admin.v1alpha.UpdateKeyEventRequest\x1A(.google.analytics.admin.v1alpha.KeyEvent\"]\xDAA\x15key_event,update_mask\x82\xD3\xE4\x93\x02?22/v1alpha/{key_event.name=properties/*/keyEvents/*}:\x09key_event\x12\xA4\x01\x0A\x0BGetKeyEvent\x122.google.analytics.admin.v1alpha.GetKeyEventRequest\x1A(.google.analytics.admin.v1alpha.KeyEvent\"7\xDAA\x04name\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{name=properties/*/keyEvents/*}\x12\x98\x01\x0A\x0EDeleteKeyEvent\x125.google.analytics.admin.v1alpha.DeleteKeyEventRequest\x1A\x16.google.protobuf.Empty\"7\xDAA\x04name\x82\xD3\xE4\x93\x02**(/v1alpha/{name=properties/*/keyEvents/*}\x12\xB7\x01\x0A\x0DListKeyEvents\x124.google.analytics.admin.v1alpha.ListKeyEventsRequest\x1A5.google.analytics.admin.v1alpha.ListKeyEventsResponse\"9\xDAA\x06parent\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{parent=properties/*}/keyEvents\x12\xF8\x01\x0A GetDisplayVideo360AdvertiserLink\x12G.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest\x1A=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}\x12\x8B\x02\x0A\"ListDisplayVideo360AdvertiserLinks\x12I.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest\x1AJ.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse\"N\xDAA\x06parent\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks\x12\xC6\x02\x0A#CreateDisplayVideo360AdvertiserLink\x12J.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest\x1A=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"\x93\x01\xDAA(parent,display_video_360_advertiser_link\x82\xD3\xE4\x93\x02b\"=/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks:!display_video_360_advertiser_link\x12\xD7\x01\x0A#DeleteDisplayVideo360AdvertiserLink\x12J.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest\x1A\x16.google.protobuf.Empty\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?*=/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}\x12\xEE\x02\x0A#UpdateDisplayVideo360AdvertiserLink\x12J.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest\x1A=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"\xBB\x01\xDAA-display_video_360_advertiser_link,update_mask\x82\xD3\xE4\x93\x02\x84\x012_/v1alpha/{display_video_360_advertiser_link.name=properties/*/displayVideo360AdvertiserLinks/*}:!display_video_360_advertiser_link\x12\x98\x02\x0A(GetDisplayVideo360AdvertiserLinkProposal\x12O.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest\x1AE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\"T\xDAA\x04name\x82\xD3\xE4\x93\x02G\x12E/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}\x12\xAB\x02\x0A*ListDisplayVideo360AdvertiserLinkProposals\x12Q.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest\x1AR.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse\"V\xDAA\x06parent\x82\xD3\xE4\x93\x02G\x12E/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals\x12\xF8\x02\x0A+CreateDisplayVideo360AdvertiserLinkProposal\x12R.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest\x1AE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\"\xAD\x01\xDAA1parent,display_video_360_advertiser_link_proposal\x82\xD3\xE4\x93\x02s\"E/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals:*display_video_360_advertiser_link_proposal\x12\xEF\x01\x0A+DeleteDisplayVideo360AdvertiserLinkProposal\x12R.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest\x1A\x16.google.protobuf.Empty\"T\xDAA\x04name\x82\xD3\xE4\x93\x02G*E/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}\x12\xB3\x02\x0A,ApproveDisplayVideo360AdvertiserLinkProposal\x12S.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest\x1AT.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse\"X\x82\xD3\xE4\x93\x02R\"M/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve:\x01*\x12\xA1\x02\x0A+CancelDisplayVideo360AdvertiserLinkProposal\x12R.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest\x1AE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\"W\x82\xD3\xE4\x93\x02Q\"L/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:cancel:\x01*\x12\xEB\x01\x0A\x15CreateCustomDimension\x12<.google.analytics.admin.v1alpha.CreateCustomDimensionRequest\x1A/.google.analytics.admin.v1alpha.CustomDimension\"c\xDAA\x17parent,custom_dimension\x82\xD3\xE4\x93\x02C\"//v1alpha/{parent=properties/*}/customDimensions:\x10custom_dimension\x12\x81\x02\x0A\x15UpdateCustomDimension\x12<.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest\x1A/.google.analytics.admin.v1alpha.CustomDimension\"y\xDAA\x1Ccustom_dimension,update_mask\x82\xD3\xE4\x93\x02T2@/v1alpha/{custom_dimension.name=properties/*/customDimensions/*}:\x10custom_dimension\x12\xD3\x01\x0A\x14ListCustomDimensions\x12;.google.analytics.admin.v1alpha.ListCustomDimensionsRequest\x1A<.google.analytics.admin.v1alpha.ListCustomDimensionsResponse\"@\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1alpha/{parent=properties/*}/customDimensions\x12\xBA\x01\x0A\x16ArchiveCustomDimension\x12=.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest\x1A\x16.google.protobuf.Empty\"I\xDAA\x04name\x82\xD3\xE4\x93\x02<\"7/v1alpha/{name=properties/*/customDimensions/*}:archive:\x01*\x12\xC0\x01\x0A\x12GetCustomDimension\x129.google.analytics.admin.v1alpha.GetCustomDimensionRequest\x1A/.google.analytics.admin.v1alpha.CustomDimension\">\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1alpha/{name=properties/*/customDimensions/*}\x12\xD9\x01\x0A\x12CreateCustomMetric\x129.google.analytics.admin.v1alpha.CreateCustomMetricRequest\x1A,.google.analytics.admin.v1alpha.CustomMetric\"Z\xDAA\x14parent,custom_metric\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/customMetrics:\x0Dcustom_metric\x12\xEC\x01\x0A\x12UpdateCustomMetric\x129.google.analytics.admin.v1alpha.UpdateCustomMetricRequest\x1A,.google.analytics.admin.v1alpha.CustomMetric\"m\xDAA\x19custom_metric,update_mask\x82\xD3\xE4\x93\x02K2:/v1alpha/{custom_metric.name=properties/*/customMetrics/*}:\x0Dcustom_metric\x12\xC7\x01\x0A\x11ListCustomMetrics\x128.google.analytics.admin.v1alpha.ListCustomMetricsRequest\x1A9.google.analytics.admin.v1alpha.ListCustomMetricsResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/customMetrics\x12\xB1\x01\x0A\x13ArchiveCustomMetric\x12:.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest\x1A\x16.google.protobuf.Empty\"F\xDAA\x04name\x82\xD3\xE4\x93\x029\"4/v1alpha/{name=properties/*/customMetrics/*}:archive:\x01*\x12\xB4\x01\x0A\x0FGetCustomMetric\x126.google.analytics.admin.v1alpha.GetCustomMetricRequest\x1A,.google.analytics.admin.v1alpha.CustomMetric\";\xDAA\x04name\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{name=properties/*/customMetrics/*}\x12\xD5\x01\x0A\x18GetDataRetentionSettings\x12?.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRetentionSettings\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\x122/v1alpha/{name=properties/*/dataRetentionSettings}\x12\xAC\x02\x0A\x1BUpdateDataRetentionSettings\x12B.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRetentionSettings\"\x91\x01\xDAA#data_retention_settings,update_mask\x82\xD3\xE4\x93\x02e2J/v1alpha/{data_retention_settings.name=properties/*/dataRetentionSettings}:\x17data_retention_settings\x12\xCD\x01\x0A\x10CreateDataStream\x127.google.analytics.admin.v1alpha.CreateDataStreamRequest\x1A*.google.analytics.admin.v1alpha.DataStream\"T\xDAA\x12parent,data_stream\x82\xD3\xE4\x93\x029\"*/v1alpha/{parent=properties/*}/dataStreams:\x0Bdata_stream\x12\x9E\x01\x0A\x10DeleteDataStream\x127.google.analytics.admin.v1alpha.DeleteDataStreamRequest\x1A\x16.google.protobuf.Empty\"9\xDAA\x04name\x82\xD3\xE4\x93\x02,**/v1alpha/{name=properties/*/dataStreams/*}\x12\xDE\x01\x0A\x10UpdateDataStream\x127.google.analytics.admin.v1alpha.UpdateDataStreamRequest\x1A*.google.analytics.admin.v1alpha.DataStream\"e\xDAA\x17data_stream,update_mask\x82\xD3\xE4\x93\x02E26/v1alpha/{data_stream.name=properties/*/dataStreams/*}:\x0Bdata_stream\x12\xBF\x01\x0A\x0FListDataStreams\x126.google.analytics.admin.v1alpha.ListDataStreamsRequest\x1A7.google.analytics.admin.v1alpha.ListDataStreamsResponse\";\xDAA\x06parent\x82\xD3\xE4\x93\x02,\x12*/v1alpha/{parent=properties/*}/dataStreams\x12\xAC\x01\x0A\x0DGetDataStream\x124.google.analytics.admin.v1alpha.GetDataStreamRequest\x1A*.google.analytics.admin.v1alpha.DataStream\"9\xDAA\x04name\x82\xD3\xE4\x93\x02,\x12*/v1alpha/{name=properties/*/dataStreams/*}\x12\xA4\x01\x0A\x0BGetAudience\x122.google.analytics.admin.v1alpha.GetAudienceRequest\x1A(.google.analytics.admin.v1alpha.Audience\"7\xDAA\x04name\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{name=properties/*/audiences/*}\x12\xB7\x01\x0A\x0DListAudiences\x124.google.analytics.admin.v1alpha.ListAudiencesRequest\x1A5.google.analytics.admin.v1alpha.ListAudiencesResponse\"9\xDAA\x06parent\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{parent=properties/*}/audiences\x12\xBF\x01\x0A\x0ECreateAudience\x125.google.analytics.admin.v1alpha.CreateAudienceRequest\x1A(.google.analytics.admin.v1alpha.Audience\"L\xDAA\x0Fparent,audience\x82\xD3\xE4\x93\x024\"(/v1alpha/{parent=properties/*}/audiences:\x08audience\x12\xCD\x01\x0A\x0EUpdateAudience\x125.google.analytics.admin.v1alpha.UpdateAudienceRequest\x1A(.google.analytics.admin.v1alpha.Audience\"Z\xDAA\x14audience,update_mask\x82\xD3\xE4\x93\x02=21/v1alpha/{audience.name=properties/*/audiences/*}:\x08audience\x12\x9E\x01\x0A\x0FArchiveAudience\x126.google.analytics.admin.v1alpha.ArchiveAudienceRequest\x1A\x16.google.protobuf.Empty\";\x82\xD3\xE4\x93\x025\"0/v1alpha/{name=properties/*/audiences/*}:archive:\x01*\x12\xC4\x01\x0A\x13GetSearchAds360Link\x12:.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest\x1A0.google.analytics.admin.v1alpha.SearchAds360Link\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1alpha/{name=properties/*/searchAds360Links/*}\x12\xD7\x01\x0A\x15ListSearchAds360Links\x12<.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest\x1A=.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse\"A\xDAA\x06parent\x82\xD3\xE4\x93\x022\x120/v1alpha/{parent=properties/*}/searchAds360Links\x12\xF5\x01\x0A\x16CreateSearchAds360Link\x12=.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest\x1A0.google.analytics.admin.v1alpha.SearchAds360Link\"j\xDAA\x1Aparent,search_ads_360_link\x82\xD3\xE4\x93\x02G\"0/v1alpha/{parent=properties/*}/searchAds360Links:\x13search_ads_360_link\x12\xB0\x01\x0A\x16DeleteSearchAds360Link\x12=.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest\x1A\x16.google.protobuf.Empty\"?\xDAA\x04name\x82\xD3\xE4\x93\x022*0/v1alpha/{name=properties/*/searchAds360Links/*}\x12\x8F\x02\x0A\x16UpdateSearchAds360Link\x12=.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest\x1A0.google.analytics.admin.v1alpha.SearchAds360Link\"\x83\x01\xDAA\x1Fsearch_ads_360_link,update_mask\x82\xD3\xE4\x93\x02[2D/v1alpha/{search_ads_360_link.name=properties/*/searchAds360Links/*}:\x13search_ads_360_link\x12\xCD\x01\x0A\x16GetAttributionSettings\x12=.google.analytics.admin.v1alpha.GetAttributionSettingsRequest\x1A3.google.analytics.admin.v1alpha.AttributionSettings\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1alpha/{name=properties/*/attributionSettings}\x12\x9B\x02\x0A\x19UpdateAttributionSettings\x12@.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest\x1A3.google.analytics.admin.v1alpha.AttributionSettings\"\x86\x01\xDAA attribution_settings,update_mask\x82\xD3\xE4\x93\x02]2E/v1alpha/{attribution_settings.name=properties/*/attributionSettings}:\x14attribution_settings\x12\xF0\x01\x0A\x0FRunAccessReport\x126.google.analytics.admin.v1alpha.RunAccessReportRequest\x1A7.google.analytics.admin.v1alpha.RunAccessReportResponse\"l\x82\xD3\xE4\x93\x02f\"./v1alpha/{entity=properties/*}:runAccessReport:\x01*Z1\",/v1alpha/{entity=accounts/*}:runAccessReport:\x01*\x12\x9F\x02\x0A\x13CreateAccessBinding\x12:.google.analytics.admin.v1alpha.CreateAccessBindingRequest\x1A-.google.analytics.admin.v1alpha.AccessBinding\"\x9C\x01\xDAA\x15parent,access_binding\x82\xD3\xE4\x93\x02~\"+/v1alpha/{parent=accounts/*}/accessBindings:\x0Eaccess_bindingZ?\"-/v1alpha/{parent=properties/*}/accessBindings:\x0Eaccess_binding\x12\xE7\x01\x0A\x10GetAccessBinding\x127.google.analytics.admin.v1alpha.GetAccessBindingRequest\x1A-.google.analytics.admin.v1alpha.AccessBinding\"k\xDAA\x04name\x82\xD3\xE4\x93\x02^\x12+/v1alpha/{name=accounts/*/accessBindings/*}Z/\x12-/v1alpha/{name=properties/*/accessBindings/*}\x12\xB7\x02\x0A\x13UpdateAccessBinding\x12:.google.analytics.admin.v1alpha.UpdateAccessBindingRequest\x1A-.google.analytics.admin.v1alpha.AccessBinding\"\xB4\x01\xDAA\x0Eaccess_binding\x82\xD3\xE4\x93\x02\x9C\x012:/v1alpha/{access_binding.name=accounts/*/accessBindings/*}:\x0Eaccess_bindingZN2\"9/v1alpha/{parent=properties/*}/accessBindings:batchCreate:\x01*\x12\x8F\x02\x0A\x16BatchGetAccessBindings\x12=.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest\x1A>.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse\"v\x82\xD3\xE4\x93\x02p\x124/v1alpha/{parent=accounts/*}/accessBindings:batchGetZ8\x126/v1alpha/{parent=properties/*}/accessBindings:batchGet\x12\xA5\x02\x0A\x19BatchUpdateAccessBindings\x12@.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest\x1AA.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse\"\x82\x01\x82\xD3\xE4\x93\x02|\"7/v1alpha/{parent=accounts/*}/accessBindings:batchUpdate:\x01*Z>\"9/v1alpha/{parent=properties/*}/accessBindings:batchUpdate:\x01*\x12\xFA\x01\x0A\x19BatchDeleteAccessBindings\x12@.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest\x1A\x16.google.protobuf.Empty\"\x82\x01\x82\xD3\xE4\x93\x02|\"7/v1alpha/{parent=accounts/*}/accessBindings:batchDelete:\x01*Z>\"9/v1alpha/{parent=properties/*}/accessBindings:batchDelete:\x01*\x12\xC0\x01\x0A\x12GetExpandedDataSet\x129.google.analytics.admin.v1alpha.GetExpandedDataSetRequest\x1A/.google.analytics.admin.v1alpha.ExpandedDataSet\">\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1alpha/{name=properties/*/expandedDataSets/*}\x12\xD3\x01\x0A\x14ListExpandedDataSets\x12;.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest\x1A<.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse\"@\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1alpha/{parent=properties/*}/expandedDataSets\x12\xED\x01\x0A\x15CreateExpandedDataSet\x12<.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest\x1A/.google.analytics.admin.v1alpha.ExpandedDataSet\"e\xDAA\x18parent,expanded_data_set\x82\xD3\xE4\x93\x02D\"//v1alpha/{parent=properties/*}/expandedDataSets:\x11expanded_data_set\x12\x84\x02\x0A\x15UpdateExpandedDataSet\x12<.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest\x1A/.google.analytics.admin.v1alpha.ExpandedDataSet\"|\xDAA\x1Dexpanded_data_set,update_mask\x82\xD3\xE4\x93\x02V2A/v1alpha/{expanded_data_set.name=properties/*/expandedDataSets/*}:\x11expanded_data_set\x12\xAD\x01\x0A\x15DeleteExpandedDataSet\x12<.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest\x1A\x16.google.protobuf.Empty\">\xDAA\x04name\x82\xD3\xE4\x93\x021*//v1alpha/{name=properties/*/expandedDataSets/*}\x12\xB4\x01\x0A\x0FGetChannelGroup\x126.google.analytics.admin.v1alpha.GetChannelGroupRequest\x1A,.google.analytics.admin.v1alpha.ChannelGroup\";\xDAA\x04name\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{name=properties/*/channelGroups/*}\x12\xC7\x01\x0A\x11ListChannelGroups\x128.google.analytics.admin.v1alpha.ListChannelGroupsRequest\x1A9.google.analytics.admin.v1alpha.ListChannelGroupsResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/channelGroups\x12\xD9\x01\x0A\x12CreateChannelGroup\x129.google.analytics.admin.v1alpha.CreateChannelGroupRequest\x1A,.google.analytics.admin.v1alpha.ChannelGroup\"Z\xDAA\x14parent,channel_group\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/channelGroups:\x0Dchannel_group\x12\xEC\x01\x0A\x12UpdateChannelGroup\x129.google.analytics.admin.v1alpha.UpdateChannelGroupRequest\x1A,.google.analytics.admin.v1alpha.ChannelGroup\"m\xDAA\x19channel_group,update_mask\x82\xD3\xE4\x93\x02K2:/v1alpha/{channel_group.name=properties/*/channelGroups/*}:\x0Dchannel_group\x12\xA4\x01\x0A\x12DeleteChannelGroup\x129.google.analytics.admin.v1alpha.DeleteChannelGroupRequest\x1A\x16.google.protobuf.Empty\";\xDAA\x04name\x82\xD3\xE4\x93\x02.*,/v1alpha/{name=properties/*/channelGroups/*}\x12\xD9\x01\x0A\x12CreateBigQueryLink\x129.google.analytics.admin.v1alpha.CreateBigQueryLinkRequest\x1A,.google.analytics.admin.v1alpha.BigQueryLink\"Z\xDAA\x14parent,bigquery_link\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/bigQueryLinks:\x0Dbigquery_link\x12\xB4\x01\x0A\x0FGetBigQueryLink\x126.google.analytics.admin.v1alpha.GetBigQueryLinkRequest\x1A,.google.analytics.admin.v1alpha.BigQueryLink\";\xDAA\x04name\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{name=properties/*/bigQueryLinks/*}\x12\xC7\x01\x0A\x11ListBigQueryLinks\x128.google.analytics.admin.v1alpha.ListBigQueryLinksRequest\x1A9.google.analytics.admin.v1alpha.ListBigQueryLinksResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/bigQueryLinks\x12\xA4\x01\x0A\x12DeleteBigQueryLink\x129.google.analytics.admin.v1alpha.DeleteBigQueryLinkRequest\x1A\x16.google.protobuf.Empty\";\xDAA\x04name\x82\xD3\xE4\x93\x02.*,/v1alpha/{name=properties/*/bigQueryLinks/*}\x12\xEC\x01\x0A\x12UpdateBigQueryLink\x129.google.analytics.admin.v1alpha.UpdateBigQueryLinkRequest\x1A,.google.analytics.admin.v1alpha.BigQueryLink\"m\xDAA\x19bigquery_link,update_mask\x82\xD3\xE4\x93\x02K2:/v1alpha/{bigquery_link.name=properties/*/bigQueryLinks/*}:\x0Dbigquery_link\x12\xFB\x01\x0A\x1EGetEnhancedMeasurementSettings\x12E.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest\x1A;.google.analytics.admin.v1alpha.EnhancedMeasurementSettings\"U\xDAA\x04name\x82\xD3\xE4\x93\x02H\x12F/v1alpha/{name=properties/*/dataStreams/*/enhancedMeasurementSettings}\x12\xE5\x02\x0A!UpdateEnhancedMeasurementSettings\x12H.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest\x1A;.google.analytics.admin.v1alpha.EnhancedMeasurementSettings\"\xB8\x01\xDAA)enhanced_measurement_settings,update_mask\x82\xD3\xE4\x93\x02\x85\x012d/v1alpha/{enhanced_measurement_settings.name=properties/*/dataStreams/*/enhancedMeasurementSettings}:\x1Denhanced_measurement_settings\x12\xB0\x01\x0A\x0EGetAdSenseLink\x125.google.analytics.admin.v1alpha.GetAdSenseLinkRequest\x1A+.google.analytics.admin.v1alpha.AdSenseLink\":\xDAA\x04name\x82\xD3\xE4\x93\x02-\x12+/v1alpha/{name=properties/*/adSenseLinks/*}\x12\xD3\x01\x0A\x11CreateAdSenseLink\x128.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest\x1A+.google.analytics.admin.v1alpha.AdSenseLink\"W\xDAA\x13parent,adsense_link\x82\xD3\xE4\x93\x02;\"+/v1alpha/{parent=properties/*}/adSenseLinks:\x0Cadsense_link\x12\xA1\x01\x0A\x11DeleteAdSenseLink\x128.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest\x1A\x16.google.protobuf.Empty\":\xDAA\x04name\x82\xD3\xE4\x93\x02-*+/v1alpha/{name=properties/*/adSenseLinks/*}\x12\xC3\x01\x0A\x10ListAdSenseLinks\x127.google.analytics.admin.v1alpha.ListAdSenseLinksRequest\x1A8.google.analytics.admin.v1alpha.ListAdSenseLinksResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1alpha/{parent=properties/*}/adSenseLinks\x12\xCE\x01\x0A\x12GetEventCreateRule\x129.google.analytics.admin.v1alpha.GetEventCreateRuleRequest\x1A/.google.analytics.admin.v1alpha.EventCreateRule\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}\x12\xE1\x01\x0A\x14ListEventCreateRules\x12;.google.analytics.admin.v1alpha.ListEventCreateRulesRequest\x1A<.google.analytics.admin.v1alpha.ListEventCreateRulesResponse\"N\xDAA\x06parent\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules\x12\xFB\x01\x0A\x15CreateEventCreateRule\x12<.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest\x1A/.google.analytics.admin.v1alpha.EventCreateRule\"s\xDAA\x18parent,event_create_rule\x82\xD3\xE4\x93\x02R\"=/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules:\x11event_create_rule\x12\x93\x02\x0A\x15UpdateEventCreateRule\x12<.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest\x1A/.google.analytics.admin.v1alpha.EventCreateRule\"\x8A\x01\xDAA\x1Devent_create_rule,update_mask\x82\xD3\xE4\x93\x02d2O/v1alpha/{event_create_rule.name=properties/*/dataStreams/*/eventCreateRules/*}:\x11event_create_rule\x12\xBB\x01\x0A\x15DeleteEventCreateRule\x12<.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest\x1A\x16.google.protobuf.Empty\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?*=/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}\x12\xC6\x01\x0A\x10GetEventEditRule\x127.google.analytics.admin.v1alpha.GetEventEditRuleRequest\x1A-.google.analytics.admin.v1alpha.EventEditRule\"J\xDAA\x04name\x82\xD3\xE4\x93\x02=\x12;/v1alpha/{name=properties/*/dataStreams/*/eventEditRules/*}\x12\xD9\x01\x0A\x12ListEventEditRules\x129.google.analytics.admin.v1alpha.ListEventEditRulesRequest\x1A:.google.analytics.admin.v1alpha.ListEventEditRulesResponse\"L\xDAA\x06parent\x82\xD3\xE4\x93\x02=\x12;/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules\x12\xEF\x01\x0A\x13CreateEventEditRule\x12:.google.analytics.admin.v1alpha.CreateEventEditRuleRequest\x1A-.google.analytics.admin.v1alpha.EventEditRule\"m\xDAA\x16parent,event_edit_rule\x82\xD3\xE4\x93\x02N\";/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules:\x0Fevent_edit_rule\x12\x85\x02\x0A\x13UpdateEventEditRule\x12:.google.analytics.admin.v1alpha.UpdateEventEditRuleRequest\x1A-.google.analytics.admin.v1alpha.EventEditRule\"\x82\x01\xDAA\x1Bevent_edit_rule,update_mask\x82\xD3\xE4\x93\x02^2K/v1alpha/{event_edit_rule.name=properties/*/dataStreams/*/eventEditRules/*}:\x0Fevent_edit_rule\x12\xB5\x01\x0A\x13DeleteEventEditRule\x12:.google.analytics.admin.v1alpha.DeleteEventEditRuleRequest\x1A\x16.google.protobuf.Empty\"J\xDAA\x04name\x82\xD3\xE4\x93\x02=*;/v1alpha/{name=properties/*/dataStreams/*/eventEditRules/*}\x12\xBD\x01\x0A\x15ReorderEventEditRules\x12<.google.analytics.admin.v1alpha.ReorderEventEditRulesRequest\x1A\x16.google.protobuf.Empty\"N\x82\xD3\xE4\x93\x02H\"C/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules:reorder:\x01*\x12\xBA\x02\x0A\x1BUpdateDataRedactionSettings\x12B.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRedactionSettings\"\x9F\x01\xDAA#data_redaction_settings,update_mask\x82\xD3\xE4\x93\x02s2X/v1alpha/{data_redaction_settings.name=properties/*/dataStreams/*/dataRedactionSettings}:\x17data_redaction_settings\x12\xE3\x01\x0A\x18GetDataRedactionSettings\x12?.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRedactionSettings\"O\xDAA\x04name\x82\xD3\xE4\x93\x02B\x12@/v1alpha/{name=properties/*/dataStreams/*/dataRedactionSettings}\x12\xC4\x01\x0A\x13GetCalculatedMetric\x12:.google.analytics.admin.v1alpha.GetCalculatedMetricRequest\x1A0.google.analytics.admin.v1alpha.CalculatedMetric\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1alpha/{name=properties/*/calculatedMetrics/*}\x12\x86\x02\x0A\x16CreateCalculatedMetric\x12=.google.analytics.admin.v1alpha.CreateCalculatedMetricRequest\x1A0.google.analytics.admin.v1alpha.CalculatedMetric\"{\xDAA-parent,calculated_metric,calculated_metric_id\x82\xD3\xE4\x93\x02E\"0/v1alpha/{parent=properties/*}/calculatedMetrics:\x11calculated_metric\x12\xD7\x01\x0A\x15ListCalculatedMetrics\x12<.google.analytics.admin.v1alpha.ListCalculatedMetricsRequest\x1A=.google.analytics.admin.v1alpha.ListCalculatedMetricsResponse\"A\xDAA\x06parent\x82\xD3\xE4\x93\x022\x120/v1alpha/{parent=properties/*}/calculatedMetrics\x12\x88\x02\x0A\x16UpdateCalculatedMetric\x12=.google.analytics.admin.v1alpha.UpdateCalculatedMetricRequest\x1A0.google.analytics.admin.v1alpha.CalculatedMetric\"}\xDAA\x1Dcalculated_metric,update_mask\x82\xD3\xE4\x93\x02W2B/v1alpha/{calculated_metric.name=properties/*/calculatedMetrics/*}:\x11calculated_metric\x12\xB0\x01\x0A\x16DeleteCalculatedMetric\x12=.google.analytics.admin.v1alpha.DeleteCalculatedMetricRequest\x1A\x16.google.protobuf.Empty\"?\xDAA\x04name\x82\xD3\xE4\x93\x022*0/v1alpha/{name=properties/*/calculatedMetrics/*}\x12\xC6\x01\x0A\x14CreateRollupProperty\x12;.google.analytics.admin.v1alpha.CreateRollupPropertyRequest\x1A<.google.analytics.admin.v1alpha.CreateRollupPropertyResponse\"3\x82\xD3\xE4\x93\x02-\"(/v1alpha/properties:createRollupProperty:\x01*\x12\xE4\x01\x0A\x1BGetRollupPropertySourceLink\x12B.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest\x1A8.google.analytics.admin.v1alpha.RollupPropertySourceLink\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\x128/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}\x12\xF7\x01\x0A\x1DListRollupPropertySourceLinks\x12D.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest\x1AE.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse\"I\xDAA\x06parent\x82\xD3\xE4\x93\x02:\x128/v1alpha/{parent=properties/*}/rollupPropertySourceLinks\x12\xA6\x02\x0A\x1ECreateRollupPropertySourceLink\x12E.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest\x1A8.google.analytics.admin.v1alpha.RollupPropertySourceLink\"\x82\x01\xDAA\"parent,rollup_property_source_link\x82\xD3\xE4\x93\x02W\"8/v1alpha/{parent=properties/*}/rollupPropertySourceLinks:\x1Brollup_property_source_link\x12\xC8\x01\x0A\x1EDeleteRollupPropertySourceLink\x12E.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest\x1A\x16.google.protobuf.Empty\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:*8/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}\x12\xC6\x01\x0A\x14ProvisionSubproperty\x12;.google.analytics.admin.v1alpha.ProvisionSubpropertyRequest\x1A<.google.analytics.admin.v1alpha.ProvisionSubpropertyResponse\"3\x82\xD3\xE4\x93\x02-\"(/v1alpha/properties:provisionSubproperty:\x01*\x12\x97\x02\x0A\x1CCreateSubpropertyEventFilter\x12C.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest\x1A6.google.analytics.admin.v1alpha.SubpropertyEventFilter\"z\xDAA\x1Fparent,subproperty_event_filter\x82\xD3\xE4\x93\x02R\"6/v1alpha/{parent=properties/*}/subpropertyEventFilters:\x18subproperty_event_filter\x12\xDC\x01\x0A\x19GetSubpropertyEventFilter\x12@.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest\x1A6.google.analytics.admin.v1alpha.SubpropertyEventFilter\"E\xDAA\x04name\x82\xD3\xE4\x93\x028\x126/v1alpha/{name=properties/*/subpropertyEventFilters/*}\x12\xEF\x01\x0A\x1BListSubpropertyEventFilters\x12B.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest\x1AC.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse\"G\xDAA\x06parent\x82\xD3\xE4\x93\x028\x126/v1alpha/{parent=properties/*}/subpropertyEventFilters\x12\xB6\x02\x0A\x1CUpdateSubpropertyEventFilter\x12C.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest\x1A6.google.analytics.admin.v1alpha.SubpropertyEventFilter\"\x98\x01\xDAA\$subproperty_event_filter,update_mask\x82\xD3\xE4\x93\x02k2O/v1alpha/{subproperty_event_filter.name=properties/*/subpropertyEventFilters/*}:\x18subproperty_event_filter\x12\xC2\x01\x0A\x1CDeleteSubpropertyEventFilter\x12C.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest\x1A\x16.google.protobuf.Empty\"E\xDAA\x04name\x82\xD3\xE4\x93\x028*6/v1alpha/{name=properties/*/subpropertyEventFilters/*}\x12\x9D\x02\x0A\x1DCreateReportingDataAnnotation\x12D.google.analytics.admin.v1alpha.CreateReportingDataAnnotationRequest\x1A7.google.analytics.admin.v1alpha.ReportingDataAnnotation\"}\xDAA parent,reporting_data_annotation\x82\xD3\xE4\x93\x02T\"7/v1alpha/{parent=properties/*}/reportingDataAnnotations:\x19reporting_data_annotation\x12\xE0\x01\x0A\x1AGetReportingDataAnnotation\x12A.google.analytics.admin.v1alpha.GetReportingDataAnnotationRequest\x1A7.google.analytics.admin.v1alpha.ReportingDataAnnotation\"F\xDAA\x04name\x82\xD3\xE4\x93\x029\x127/v1alpha/{name=properties/*/reportingDataAnnotations/*}\x12\xF3\x01\x0A\x1CListReportingDataAnnotations\x12C.google.analytics.admin.v1alpha.ListReportingDataAnnotationsRequest\x1AD.google.analytics.admin.v1alpha.ListReportingDataAnnotationsResponse\"H\xDAA\x06parent\x82\xD3\xE4\x93\x029\x127/v1alpha/{parent=properties/*}/reportingDataAnnotations\x12\xBD\x02\x0A\x1DUpdateReportingDataAnnotation\x12D.google.analytics.admin.v1alpha.UpdateReportingDataAnnotationRequest\x1A7.google.analytics.admin.v1alpha.ReportingDataAnnotation\"\x9C\x01\xDAA%reporting_data_annotation,update_mask\x82\xD3\xE4\x93\x02n2Q/v1alpha/{reporting_data_annotation.name=properties/*/reportingDataAnnotations/*}:\x19reporting_data_annotation\x12\xC5\x01\x0A\x1DDeleteReportingDataAnnotation\x12D.google.analytics.admin.v1alpha.DeleteReportingDataAnnotationRequest\x1A\x16.google.protobuf.Empty\"F\xDAA\x04name\x82\xD3\xE4\x93\x029*7/v1alpha/{name=properties/*/reportingDataAnnotations/*}\x12\xCE\x01\x0A\x12SubmitUserDeletion\x129.google.analytics.admin.v1alpha.SubmitUserDeletionRequest\x1A:.google.analytics.admin.v1alpha.SubmitUserDeletionResponse\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\"//v1alpha/{name=properties/*}:submitUserDeletion:\x01*\x12\xEB\x01\x0A\x1AListSubpropertySyncConfigs\x12A.google.analytics.admin.v1alpha.ListSubpropertySyncConfigsRequest\x1AB.google.analytics.admin.v1alpha.ListSubpropertySyncConfigsResponse\"F\xDAA\x06parent\x82\xD3\xE4\x93\x027\x125/v1alpha/{parent=properties/*}/subpropertySyncConfigs\x12\xAF\x02\x0A\x1BUpdateSubpropertySyncConfig\x12B.google.analytics.admin.v1alpha.UpdateSubpropertySyncConfigRequest\x1A5.google.analytics.admin.v1alpha.SubpropertySyncConfig\"\x94\x01\xDAA#subproperty_sync_config,update_mask\x82\xD3\xE4\x93\x02h2M/v1alpha/{subproperty_sync_config.name=properties/*/subpropertySyncConfigs/*}:\x17subproperty_sync_config\x12\xD8\x01\x0A\x18GetSubpropertySyncConfig\x12?.google.analytics.admin.v1alpha.GetSubpropertySyncConfigRequest\x1A5.google.analytics.admin.v1alpha.SubpropertySyncConfig\"D\xDAA\x04name\x82\xD3\xE4\x93\x027\x125/v1alpha/{name=properties/*/subpropertySyncConfigs/*}\x12\xE5\x01\x0A\x1CGetReportingIdentitySettings\x12C.google.analytics.admin.v1alpha.GetReportingIdentitySettingsRequest\x1A9.google.analytics.admin.v1alpha.ReportingIdentitySettings\"E\xDAA\x04name\x82\xD3\xE4\x93\x028\x126/v1alpha/{name=properties/*/reportingIdentitySettings}\x12\xE1\x01\x0A\x1BGetUserProvidedDataSettings\x12B.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest\x1A8.google.analytics.admin.v1alpha.UserProvidedDataSettings\"D\xDAA\x04name\x82\xD3\xE4\x93\x027\x125/v1alpha/{name=properties/*/userProvidedDataSettings}\x1A\xFC\x01\xCAA\x1Danalyticsadmin.googleapis.com\xD2A\xD8\x01https://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{\x0A\"com.google.analytics.admin.v1alphaB\x13AnalyticsAdminProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Audience.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Audience.php new file mode 100644 index 000000000000..2844feaf04f6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Audience.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\x9B&\x0A-google/analytics/admin/v1alpha/audience.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A\x19google/api/resource.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xFC\x0B\x0A\x1FAudienceDimensionOrMetricFilter\x12e\x0A\x0Dstring_filter\x18\x02 \x01(\x0B2L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterH\x00\x12f\x0A\x0Ein_list_filter\x18\x03 \x01(\x0B2L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterH\x00\x12g\x0A\x0Enumeric_filter\x18\x04 \x01(\x0B2M.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterH\x00\x12g\x0A\x0Ebetween_filter\x18\x05 \x01(\x0B2M.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterH\x00\x12\x1A\x0A\x0Afield_name\x18\x01 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12!\x0A\x14at_any_point_in_time\x18\x06 \x01(\x08B\x03\xE0A\x01\x12 \x0A\x13in_any_n_day_period\x18\x07 \x01(\x05B\x03\xE0A\x01\x1A\xA3\x02\x0A\x0CStringFilter\x12o\x0A\x0Amatch_type\x18\x01 \x01(\x0E2V.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchTypeB\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x1B\x0A\x0Ecase_sensitive\x18\x03 \x01(\x08B\x03\xE0A\x01\"q\x0A\x09MatchType\x12\x1A\x0A\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EXACT\x10\x01\x12\x0F\x0A\x0BBEGINS_WITH\x10\x02\x12\x0D\x0A\x09ENDS_WITH\x10\x03\x12\x0C\x0A\x08CONTAINS\x10\x04\x12\x0F\x0A\x0BFULL_REGEXP\x10\x05\x1A@\x0A\x0CInListFilter\x12\x13\x0A\x06values\x18\x01 \x03(\x09B\x03\xE0A\x02\x12\x1B\x0A\x0Ecase_sensitive\x18\x02 \x01(\x08B\x03\xE0A\x01\x1AJ\x0A\x0CNumericValue\x12\x15\x0A\x0Bint64_value\x18\x01 \x01(\x03H\x00\x12\x16\x0A\x0Cdouble_value\x18\x02 \x01(\x01H\x00B\x0B\x0A\x09one_value\x1A\xB6\x02\x0A\x0DNumericFilter\x12o\x0A\x09operation\x18\x01 \x01(\x0E2W.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.OperationB\x03\xE0A\x02\x12`\x0A\x05value\x18\x02 \x01(\x0B2L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueB\x03\xE0A\x02\"R\x0A\x09Operation\x12\x19\x0A\x15OPERATION_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EQUAL\x10\x01\x12\x0D\x0A\x09LESS_THAN\x10\x02\x12\x10\x0A\x0CGREATER_THAN\x10\x04\x1A\xDB\x01\x0A\x0DBetweenFilter\x12e\x0A\x0Afrom_value\x18\x01 \x01(\x0B2L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueB\x03\xE0A\x02\x12c\x0A\x08to_value\x18\x02 \x01(\x0B2L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueB\x03\xE0A\x02B\x0C\x0A\x0Aone_filter\"\x9B\x01\x0A\x13AudienceEventFilter\x12\x1A\x0A\x0Aevent_name\x18\x01 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12h\x0A!event_parameter_filter_expression\x18\x02 \x01(\x0B28.google.analytics.admin.v1alpha.AudienceFilterExpressionB\x03\xE0A\x01\"\xCF\x03\x0A\x18AudienceFilterExpression\x12Q\x0A\x09and_group\x18\x01 \x01(\x0B2<.google.analytics.admin.v1alpha.AudienceFilterExpressionListH\x00\x12P\x0A\x08or_group\x18\x02 \x01(\x0B2<.google.analytics.admin.v1alpha.AudienceFilterExpressionListH\x00\x12R\x0A\x0Enot_expression\x18\x03 \x01(\x0B28.google.analytics.admin.v1alpha.AudienceFilterExpressionH\x00\x12e\x0A\x1Adimension_or_metric_filter\x18\x04 \x01(\x0B2?.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterH\x00\x12K\x0A\x0Cevent_filter\x18\x05 \x01(\x0B23.google.analytics.admin.v1alpha.AudienceEventFilterH\x00B\x06\x0A\x04expr\"t\x0A\x1CAudienceFilterExpressionList\x12T\x0A\x12filter_expressions\x18\x01 \x03(\x0B28.google.analytics.admin.v1alpha.AudienceFilterExpression\"\xBF\x01\x0A\x14AudienceSimpleFilter\x12J\x0A\x05scope\x18\x01 \x01(\x0E23.google.analytics.admin.v1alpha.AudienceFilterScopeB\x06\xE0A\x02\xE0A\x05\x12[\x0A\x11filter_expression\x18\x02 \x01(\x0B28.google.analytics.admin.v1alpha.AudienceFilterExpressionB\x06\xE0A\x02\xE0A\x05\"\xB2\x04\x0A\x16AudienceSequenceFilter\x12J\x0A\x05scope\x18\x01 \x01(\x0E23.google.analytics.admin.v1alpha.AudienceFilterScopeB\x06\xE0A\x02\xE0A\x05\x12A\x0A\x19sequence_maximum_duration\x18\x02 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01\x12h\x0A\x0Esequence_steps\x18\x03 \x03(\x0B2K.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepB\x03\xE0A\x02\x1A\x9E\x02\x0A\x14AudienceSequenceStep\x12J\x0A\x05scope\x18\x01 \x01(\x0E23.google.analytics.admin.v1alpha.AudienceFilterScopeB\x06\xE0A\x02\xE0A\x05\x12 \x0A\x13immediately_follows\x18\x02 \x01(\x08B\x03\xE0A\x01\x12;\x0A\x13constraint_duration\x18\x03 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01\x12[\x0A\x11filter_expression\x18\x04 \x01(\x0B28.google.analytics.admin.v1alpha.AudienceFilterExpressionB\x06\xE0A\x02\xE0A\x05\"\xFB\x02\x0A\x14AudienceFilterClause\x12M\x0A\x0Dsimple_filter\x18\x02 \x01(\x0B24.google.analytics.admin.v1alpha.AudienceSimpleFilterH\x00\x12Q\x0A\x0Fsequence_filter\x18\x03 \x01(\x0B26.google.analytics.admin.v1alpha.AudienceSequenceFilterH\x00\x12a\x0A\x0Bclause_type\x18\x01 \x01(\x0E2G.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseTypeB\x03\xE0A\x02\"T\x0A\x12AudienceClauseType\x12\$\x0A AUDIENCE_CLAUSE_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07INCLUDE\x10\x01\x12\x0B\x0A\x07EXCLUDE\x10\x02B\x08\x0A\x06filter\"\xF3\x01\x0A\x14AudienceEventTrigger\x12\x17\x0A\x0Aevent_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12]\x0A\x0Dlog_condition\x18\x02 \x01(\x0E2A.google.analytics.admin.v1alpha.AudienceEventTrigger.LogConditionB\x03\xE0A\x02\"c\x0A\x0CLogCondition\x12\x1D\x0A\x19LOG_CONDITION_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FAUDIENCE_JOINED\x10\x01\x12\x1F\x0A\x1BAUDIENCE_MEMBERSHIP_RENEWED\x10\x02\"\xD4\x05\x0A\x08Audience\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x02\x12(\x0A\x18membership_duration_days\x18\x04 \x01(\x05B\x06\xE0A\x02\xE0A\x05\x12(\x0A\x1Bads_personalization_enabled\x18\x05 \x01(\x08B\x03\xE0A\x03\x12P\x0A\x0Devent_trigger\x18\x06 \x01(\x0B24.google.analytics.admin.v1alpha.AudienceEventTriggerB\x03\xE0A\x01\x12l\x0A\x17exclusion_duration_mode\x18\x07 \x01(\x0E2F.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationModeB\x03\xE0A\x05\x12W\x0A\x0Efilter_clauses\x18\x08 \x03(\x0B24.google.analytics.admin.v1alpha.AudienceFilterClauseB\x09\xE0A\x05\xE0A\x02\xE0A\x06\x124\x0A\x0Bcreate_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\"\x83\x01\x0A\x1DAudienceExclusionDurationMode\x120\x0A,AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED\x10\x00\x12\x17\x0A\x13EXCLUDE_TEMPORARILY\x10\x01\x12\x17\x0A\x13EXCLUDE_PERMANENTLY\x10\x02:W\xEAAT\x0A&analyticsadmin.googleapis.com/Audience\x12*properties/{property}/audiences/{audience}*\xC7\x01\x0A\x13AudienceFilterScope\x12%\x0A!AUDIENCE_FILTER_SCOPE_UNSPECIFIED\x10\x00\x12+\x0A'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT\x10\x01\x12-\x0A)AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION\x10\x02\x12-\x0A)AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS\x10\x03Bu\x0A\"com.google.analytics.admin.v1alphaB\x0DAudienceProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ChannelGroup.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ChannelGroup.php new file mode 100644 index 000000000000..77ef0dd3d1e4 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ChannelGroup.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xCC\x0D\x0A2google/analytics/admin/v1alpha/channel_group.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A\x19google/api/resource.proto\"\xAB\x04\x0A\x12ChannelGroupFilter\x12X\x0A\x0Dstring_filter\x18\x02 \x01(\x0B2?.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterH\x00\x12Y\x0A\x0Ein_list_filter\x18\x03 \x01(\x0B2?.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterH\x00\x12\x1A\x0A\x0Afield_name\x18\x01 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x1A\x8E\x02\x0A\x0CStringFilter\x12b\x0A\x0Amatch_type\x18\x01 \x01(\x0E2I.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchTypeB\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02\"\x85\x01\x0A\x09MatchType\x12\x1A\x0A\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EXACT\x10\x01\x12\x0F\x0A\x0BBEGINS_WITH\x10\x02\x12\x0D\x0A\x09ENDS_WITH\x10\x03\x12\x0C\x0A\x08CONTAINS\x10\x04\x12\x0F\x0A\x0BFULL_REGEXP\x10\x05\x12\x12\x0A\x0EPARTIAL_REGEXP\x10\x06\x1A#\x0A\x0CInListFilter\x12\x13\x0A\x06values\x18\x01 \x03(\x09B\x03\xE0A\x02B\x0E\x0A\x0Cvalue_filter\"\xF1\x02\x0A\x1CChannelGroupFilterExpression\x12U\x0A\x09and_group\x18\x01 \x01(\x0B2@.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListH\x00\x12T\x0A\x08or_group\x18\x02 \x01(\x0B2@.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListH\x00\x12V\x0A\x0Enot_expression\x18\x03 \x01(\x0B2<.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionH\x00\x12D\x0A\x06filter\x18\x04 \x01(\x0B22.google.analytics.admin.v1alpha.ChannelGroupFilterH\x00B\x06\x0A\x04expr\"|\x0A ChannelGroupFilterExpressionList\x12X\x0A\x12filter_expressions\x18\x01 \x03(\x0B2<.google.analytics.admin.v1alpha.ChannelGroupFilterExpression\"\x80\x01\x0A\x0CGroupingRule\x12\x19\x0A\x0Cdisplay_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12U\x0A\x0Aexpression\x18\x02 \x01(\x0B2<.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionB\x03\xE0A\x02\"\xB4\x02\x0A\x0CChannelGroup\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x12H\x0A\x0Dgrouping_rule\x18\x04 \x03(\x0B2,.google.analytics.admin.v1alpha.GroupingRuleB\x03\xE0A\x02\x12\x1B\x0A\x0Esystem_defined\x18\x05 \x01(\x08B\x03\xE0A\x03\x12\x14\x0A\x07primary\x18\x06 \x01(\x08B\x03\xE0A\x01:d\xEAAa\x0A*analyticsadmin.googleapis.com/ChannelGroup\x123properties/{property}/channelGroups/{channel_group}By\x0A\"com.google.analytics.admin.v1alphaB\x11ChannelGroupProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/EventCreateAndEdit.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/EventCreateAndEdit.php new file mode 100644 index 000000000000..503a3b5a93ae --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/EventCreateAndEdit.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xA2\x0D\x0A:google/analytics/admin/v1alpha/event_create_and_edit.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A\x19google/api/resource.proto\"I\x0A\x11ParameterMutation\x12\x16\x0A\x09parameter\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1C\x0A\x0Fparameter_value\x18\x02 \x01(\x09B\x03\xE0A\x02\"\x92\x03\x0A\x0FEventCreateRule\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1E\x0A\x11destination_event\x18\x02 \x01(\x09B\x03\xE0A\x02\x12P\x0A\x10event_conditions\x18\x03 \x03(\x0B21.google.analytics.admin.v1alpha.MatchingConditionB\x03\xE0A\x02\x12\x1E\x0A\x16source_copy_parameters\x18\x04 \x01(\x08\x12N\x0A\x13parameter_mutations\x18\x05 \x03(\x0B21.google.analytics.admin.v1alpha.ParameterMutation:\x89\x01\xEAA\x85\x01\x0A-analyticsadmin.googleapis.com/EventCreateRule\x12Tproperties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}\"\xA8\x03\x0A\x0DEventEditRule\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12P\x0A\x10event_conditions\x18\x03 \x03(\x0B21.google.analytics.admin.v1alpha.MatchingConditionB\x03\xE0A\x02\x12S\x0A\x13parameter_mutations\x18\x04 \x03(\x0B21.google.analytics.admin.v1alpha.ParameterMutationB\x03\xE0A\x02\x12\x1D\x0A\x10processing_order\x18\x05 \x01(\x03B\x03\xE0A\x03:\xA2\x01\xEAA\x9E\x01\x0A+analyticsadmin.googleapis.com/EventEditRule\x12Pproperties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule}*\x0EeventEditRules2\x0DeventEditRule\"\xAD\x04\x0A\x11MatchingCondition\x12\x12\x0A\x05field\x18\x01 \x01(\x09B\x03\xE0A\x02\x12^\x0A\x0Fcomparison_type\x18\x02 \x01(\x0E2@.google.analytics.admin.v1alpha.MatchingCondition.ComparisonTypeB\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x0F\x0A\x07negated\x18\x04 \x01(\x08\"\xFE\x02\x0A\x0EComparisonType\x12\x1F\x0A\x1BCOMPARISON_TYPE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06EQUALS\x10\x01\x12\x1B\x0A\x17EQUALS_CASE_INSENSITIVE\x10\x02\x12\x0C\x0A\x08CONTAINS\x10\x03\x12\x1D\x0A\x19CONTAINS_CASE_INSENSITIVE\x10\x04\x12\x0F\x0A\x0BSTARTS_WITH\x10\x05\x12 \x0A\x1CSTARTS_WITH_CASE_INSENSITIVE\x10\x06\x12\x0D\x0A\x09ENDS_WITH\x10\x07\x12\x1E\x0A\x1AENDS_WITH_CASE_INSENSITIVE\x10\x08\x12\x10\x0A\x0CGREATER_THAN\x10\x09\x12\x19\x0A\x15GREATER_THAN_OR_EQUAL\x10\x0A\x12\x0D\x0A\x09LESS_THAN\x10\x0B\x12\x16\x0A\x12LESS_THAN_OR_EQUAL\x10\x0C\x12\x16\x0A\x12REGULAR_EXPRESSION\x10\x0D\x12'\x0A#REGULAR_EXPRESSION_CASE_INSENSITIVE\x10\x0EBf\x0A\"com.google.analytics.admin.v1alphaP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ExpandedDataSet.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ExpandedDataSet.php new file mode 100644 index 000000000000..659bfc0f5cd6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ExpandedDataSet.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xA7\x0D\x0A6google/analytics/admin/v1alpha/expanded_data_set.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xA6\x04\x0A\x15ExpandedDataSetFilter\x12[\x0A\x0Dstring_filter\x18\x02 \x01(\x0B2B.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterH\x00\x12\\\x0A\x0Ein_list_filter\x18\x03 \x01(\x0B2B.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterH\x00\x12\x17\x0A\x0Afield_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x1A\xE8\x01\x0A\x0CStringFilter\x12e\x0A\x0Amatch_type\x18\x01 \x01(\x0E2L.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchTypeB\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x1B\x0A\x0Ecase_sensitive\x18\x03 \x01(\x08B\x03\xE0A\x01\"@\x0A\x09MatchType\x12\x1A\x0A\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EXACT\x10\x01\x12\x0C\x0A\x08CONTAINS\x10\x02\x1A@\x0A\x0CInListFilter\x12\x13\x0A\x06values\x18\x01 \x03(\x09B\x03\xE0A\x02\x12\x1B\x0A\x0Ecase_sensitive\x18\x02 \x01(\x08B\x03\xE0A\x01B\x0C\x0A\x0Aone_filter\"\xA7\x02\x0A\x1FExpandedDataSetFilterExpression\x12X\x0A\x09and_group\x18\x01 \x01(\x0B2C.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListH\x00\x12Y\x0A\x0Enot_expression\x18\x02 \x01(\x0B2?.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionH\x00\x12G\x0A\x06filter\x18\x03 \x01(\x0B25.google.analytics.admin.v1alpha.ExpandedDataSetFilterH\x00B\x06\x0A\x04expr\"\x82\x01\x0A#ExpandedDataSetFilterExpressionList\x12[\x0A\x12filter_expressions\x18\x01 \x03(\x0B2?.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression\"\xB2\x03\x0A\x0FExpandedDataSet\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x1C\x0A\x0Fdimension_names\x18\x04 \x03(\x09B\x03\xE0A\x05\x12\x19\x0A\x0Cmetric_names\x18\x05 \x03(\x09B\x03\xE0A\x05\x12i\x0A\x1Bdimension_filter_expression\x18\x06 \x01(\x0B2?.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionB\x03\xE0A\x05\x12C\x0A\x1Adata_collection_start_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03:n\xEAAk\x0A-analyticsadmin.googleapis.com/ExpandedDataSet\x12:properties/{property}/expandedDataSets/{expanded_data_set}B|\x0A\"com.google.analytics.admin.v1alphaB\x14ExpandedDataSetProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Resources.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Resources.php new file mode 100644 index 000000000000..d8eed048349a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Resources.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xD2\xB8\x01\x0A.google/analytics/admin/v1alpha/resources.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A2google/analytics/admin/v1alpha/channel_group.proto\x1A:google/analytics/admin/v1alpha/event_create_and_edit.proto\x1A6google/analytics/admin/v1alpha/expanded_data_set.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x1Egoogle/protobuf/wrappers.proto\x1A\x16google/type/date.proto\"\xF7\x02\x0A\x07Account\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bregion_code\x18\x05 \x01(\x09\x12\x14\x0A\x07deleted\x18\x06 \x01(\x08B\x03\xE0A\x03\x12T\x0A\x10gmp_organization\x18\x07 \x01(\x09B:\xE0A\x03\xFAA4\x0A2marketingplatformadmin.googleapis.com/Organization:Q\xEAAN\x0A%analyticsadmin.googleapis.com/Account\x12\x12accounts/{account}*\x08accounts2\x07account\"\xCF\x05\x0A\x08Property\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12H\x0A\x0Dproperty_type\x18\x0E \x01(\x0E2,.google.analytics.admin.v1alpha.PropertyTypeB\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x13\x0A\x06parent\x18\x02 \x01(\x09B\x03\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x05 \x01(\x09B\x03\xE0A\x02\x12K\x0A\x11industry_category\x18\x06 \x01(\x0E20.google.analytics.admin.v1alpha.IndustryCategory\x12\x16\x0A\x09time_zone\x18\x07 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x0Dcurrency_code\x18\x08 \x01(\x09\x12H\x0A\x0Dservice_level\x18\x0A \x01(\x0E2,.google.analytics.admin.v1alpha.ServiceLevelB\x03\xE0A\x03\x124\x0A\x0Bdelete_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bexpire_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12>\x0A\x07account\x18\x0D \x01(\x09B-\xE0A\x05\xFAA'\x0A%analyticsadmin.googleapis.com/Account:X\xEAAU\x0A&analyticsadmin.googleapis.com/Property\x12\x15properties/{property}*\x0Aproperties2\x08property\"\x8D\x08\x0A\x0ADataStream\x12S\x0A\x0Fweb_stream_data\x18\x06 \x01(\x0B28.google.analytics.admin.v1alpha.DataStream.WebStreamDataH\x00\x12b\x0A\x17android_app_stream_data\x18\x07 \x01(\x0B2?.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataH\x00\x12Z\x0A\x13ios_app_stream_data\x18\x08 \x01(\x0B2;.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataH\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12O\x0A\x04type\x18\x02 \x01(\x0E29.google.analytics.admin.v1alpha.DataStream.DataStreamTypeB\x06\xE0A\x05\xE0A\x02\x12\x14\x0A\x0Cdisplay_name\x18\x03 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x1A_\x0A\x0DWebStreamData\x12\x1B\x0A\x0Emeasurement_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Ffirebase_app_id\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x13\x0A\x0Bdefault_uri\x18\x03 \x01(\x09\x1AO\x0A\x14AndroidAppStreamData\x12\x1C\x0A\x0Ffirebase_app_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cpackage_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x1AK\x0A\x10IosAppStreamData\x12\x1C\x0A\x0Ffirebase_app_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x09bundle_id\x18\x02 \x01(\x09B\x06\xE0A\x05\xE0A\x02\"}\x0A\x0EDataStreamType\x12 \x0A\x1CDATA_STREAM_TYPE_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FWEB_DATA_STREAM\x10\x01\x12\x1B\x0A\x17ANDROID_APP_DATA_STREAM\x10\x02\x12\x17\x0A\x13IOS_APP_DATA_STREAM\x10\x03:w\xEAAt\x0A(analyticsadmin.googleapis.com/DataStream\x12/properties/{property}/dataStreams/{data_stream}*\x0BdataStreams2\x0AdataStreamB\x0D\x0A\x0Bstream_data\"\xF1\x01\x0A\x0CFirebaseLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x14\x0A\x07project\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03:\x81\x01\xEAA~\x0A*analyticsadmin.googleapis.com/FirebaseLink\x123properties/{property}/firebaseLinks/{firebase_link}*\x0DfirebaseLinks2\x0CfirebaseLink\"\xCA\x01\x0A\x0DGlobalSiteTag\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x14\x0A\x07snippet\x18\x02 \x01(\x09B\x03\xE0A\x05:\x8F\x01\xEAA\x8B\x01\x0A+analyticsadmin.googleapis.com/GlobalSiteTag\x12=properties/{property}/dataStreams/{data_stream}/globalSiteTag*\x0EglobalSiteTags2\x0DglobalSiteTag\"\xB9\x03\x0A\x0DGoogleAdsLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x18\x0A\x0Bcustomer_id\x18\x03 \x01(\x09B\x03\xE0A\x05\x12\x1F\x0A\x12can_manage_clients\x18\x04 \x01(\x08B\x03\xE0A\x03\x12?\x0A\x1Bads_personalization_enabled\x18\x05 \x01(\x0B2\x1A.google.protobuf.BoolValue\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\"\x0A\x15creator_email_address\x18\x09 \x01(\x09B\x03\xE0A\x03:\x88\x01\xEAA\x84\x01\x0A+analyticsadmin.googleapis.com/GoogleAdsLink\x126properties/{property}/googleAdsLinks/{google_ads_link}*\x0EgoogleAdsLinks2\x0DgoogleAdsLink\"\x9B\x03\x0A\x13DataSharingSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12+\x0A#sharing_with_google_support_enabled\x18\x02 \x01(\x08\x122\x0A*sharing_with_google_assigned_sales_enabled\x18\x03 \x01(\x08\x121\x0A%sharing_with_google_any_sales_enabled\x18\x04 \x01(\x08B\x02\x18\x01\x12,\x0A\$sharing_with_google_products_enabled\x18\x05 \x01(\x08\x12#\x0A\x1Bsharing_with_others_enabled\x18\x06 \x01(\x08:\x89\x01\xEAA\x85\x01\x0A1analyticsadmin.googleapis.com/DataSharingSettings\x12&accounts/{account}/dataSharingSettings*\x13dataSharingSettings2\x13dataSharingSettings\"\xBC\x02\x0A\x0EAccountSummary\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12;\x0A\x07account\x18\x02 \x01(\x09B*\xFAA'\x0A%analyticsadmin.googleapis.com/Account\x12\x14\x0A\x0Cdisplay_name\x18\x03 \x01(\x09\x12K\x0A\x12property_summaries\x18\x04 \x03(\x0B2/.google.analytics.admin.v1alpha.PropertySummary:w\xEAAt\x0A,analyticsadmin.googleapis.com/AccountSummary\x12\"accountSummaries/{account_summary}*\x10accountSummaries2\x0EaccountSummary\"\xBB\x01\x0A\x0FPropertySummary\x12=\x0A\x08property\x18\x01 \x01(\x09B+\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12C\x0A\x0Dproperty_type\x18\x03 \x01(\x0E2,.google.analytics.admin.v1alpha.PropertyType\x12\x0E\x0A\x06parent\x18\x04 \x01(\x09\"\xC5\x02\x0A\x19MeasurementProtocolSecret\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x19\x0A\x0Csecret_value\x18\x03 \x01(\x09B\x03\xE0A\x03:\xDE\x01\xEAA\xDA\x01\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12hproperties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}*\x1AmeasurementProtocolSecrets2\x19measurementProtocolSecret\"\xC8\x04\x0A SKAdNetworkConversionValueSchema\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12P\x0A\x13postback_window_one\x18\x02 \x01(\x0B2..google.analytics.admin.v1alpha.PostbackWindowB\x03\xE0A\x02\x12K\x0A\x13postback_window_two\x18\x03 \x01(\x0B2..google.analytics.admin.v1alpha.PostbackWindow\x12M\x0A\x15postback_window_three\x18\x04 \x01(\x0B2..google.analytics.admin.v1alpha.PostbackWindow\x12\x1F\x0A\x17apply_conversion_values\x18\x05 \x01(\x08:\x81\x02\xEAA\xFD\x01\x0A>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\x12vproperties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}*!skAdNetworkConversionValueSchemas2 skAdNetworkConversionValueSchema\"\x87\x01\x0A\x0EPostbackWindow\x12K\x0A\x11conversion_values\x18\x01 \x03(\x0B20.google.analytics.admin.v1alpha.ConversionValues\x12(\x0A postback_window_settings_enabled\x18\x02 \x01(\x08\"\xF4\x01\x0A\x10ConversionValues\x12\x14\x0A\x0Cdisplay_name\x18\x01 \x01(\x09\x12\x17\x0A\x0Afine_value\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12F\x0A\x0Ccoarse_value\x18\x03 \x01(\x0E2+.google.analytics.admin.v1alpha.CoarseValueB\x03\xE0A\x02\x12D\x0A\x0Eevent_mappings\x18\x04 \x03(\x0B2,.google.analytics.admin.v1alpha.EventMapping\x12\x14\x0A\x0Clock_enabled\x18\x05 \x01(\x08B\x0D\x0A\x0B_fine_value\"\xEF\x01\x0A\x0CEventMapping\x12\x17\x0A\x0Aevent_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1C\x0A\x0Fmin_event_count\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x1C\x0A\x0Fmax_event_count\x18\x03 \x01(\x03H\x01\x88\x01\x01\x12\x1C\x0A\x0Fmin_event_value\x18\x04 \x01(\x01H\x02\x88\x01\x01\x12\x1C\x0A\x0Fmax_event_value\x18\x05 \x01(\x01H\x03\x88\x01\x01B\x12\x0A\x10_min_event_countB\x12\x0A\x10_max_event_countB\x12\x0A\x10_min_event_valueB\x12\x0A\x10_max_event_value\"\x8A\x02\x0A\x12ChangeHistoryEvent\x12\x0A\x0A\x02id\x18\x01 \x01(\x09\x12/\x0A\x0Bchange_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12=\x0A\x0Aactor_type\x18\x03 \x01(\x0E2).google.analytics.admin.v1alpha.ActorType\x12\x18\x0A\x10user_actor_email\x18\x04 \x01(\x09\x12\x18\x0A\x10changes_filtered\x18\x05 \x01(\x08\x12D\x0A\x07changes\x18\x06 \x03(\x0B23.google.analytics.admin.v1alpha.ChangeHistoryChange\"\x99\x16\x0A\x13ChangeHistoryChange\x12\x10\x0A\x08resource\x18\x01 \x01(\x09\x12:\x0A\x06action\x18\x02 \x01(\x0E2*.google.analytics.admin.v1alpha.ActionType\x12i\x0A\x16resource_before_change\x18\x03 \x01(\x0B2I.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource\x12h\x0A\x15resource_after_change\x18\x04 \x01(\x0B2I.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource\x1A\xDE\x13\x0A\x15ChangeHistoryResource\x12:\x0A\x07account\x18\x01 \x01(\x0B2'.google.analytics.admin.v1alpha.AccountH\x00\x12<\x0A\x08property\x18\x02 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyH\x00\x12E\x0A\x0Dfirebase_link\x18\x06 \x01(\x0B2,.google.analytics.admin.v1alpha.FirebaseLinkH\x00\x12H\x0A\x0Fgoogle_ads_link\x18\x07 \x01(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLinkH\x00\x12X\x0A\x17google_signals_settings\x18\x08 \x01(\x0B25.google.analytics.admin.v1alpha.GoogleSignalsSettingsH\x00\x12j\x0A!display_video_360_advertiser_link\x18\x09 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkH\x00\x12{\x0A*display_video_360_advertiser_link_proposal\x18\x0A \x01(\x0B2E.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalH\x00\x12K\x0A\x10conversion_event\x18\x0B \x01(\x0B2/.google.analytics.admin.v1alpha.ConversionEventH\x00\x12`\x0A\x1Bmeasurement_protocol_secret\x18\x0C \x01(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecretH\x00\x12K\x0A\x10custom_dimension\x18\x0D \x01(\x0B2/.google.analytics.admin.v1alpha.CustomDimensionH\x00\x12E\x0A\x0Dcustom_metric\x18\x0E \x01(\x0B2,.google.analytics.admin.v1alpha.CustomMetricH\x00\x12X\x0A\x17data_retention_settings\x18\x0F \x01(\x0B25.google.analytics.admin.v1alpha.DataRetentionSettingsH\x00\x12O\x0A\x13search_ads_360_link\x18\x10 \x01(\x0B20.google.analytics.admin.v1alpha.SearchAds360LinkH\x00\x12A\x0A\x0Bdata_stream\x18\x12 \x01(\x0B2*.google.analytics.admin.v1alpha.DataStreamH\x00\x12S\x0A\x14attribution_settings\x18\x14 \x01(\x0B23.google.analytics.admin.v1alpha.AttributionSettingsH\x00\x12L\x0A\x11expanded_data_set\x18\x15 \x01(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSetH\x00\x12E\x0A\x0Dchannel_group\x18\x16 \x01(\x0B2,.google.analytics.admin.v1alpha.ChannelGroupH\x00\x12E\x0A\x0Dbigquery_link\x18\x17 \x01(\x0B2,.google.analytics.admin.v1alpha.BigQueryLinkH\x00\x12d\x0A\x1Denhanced_measurement_settings\x18\x18 \x01(\x0B2;.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsH\x00\x12X\x0A\x17data_redaction_settings\x18\x19 \x01(\x0B25.google.analytics.admin.v1alpha.DataRedactionSettingsH\x00\x12o\x0A#skadnetwork_conversion_value_schema\x18\x1A \x01(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaH\x00\x12C\x0A\x0Cadsense_link\x18\x1B \x01(\x0B2+.google.analytics.admin.v1alpha.AdSenseLinkH\x00\x12<\x0A\x08audience\x18\x1C \x01(\x0B2(.google.analytics.admin.v1alpha.AudienceH\x00\x12L\x0A\x11event_create_rule\x18\x1D \x01(\x0B2/.google.analytics.admin.v1alpha.EventCreateRuleH\x00\x12=\x0A\x09key_event\x18\x1E \x01(\x0B2(.google.analytics.admin.v1alpha.KeyEventH\x00\x12M\x0A\x11calculated_metric\x18\x1F \x01(\x0B20.google.analytics.admin.v1alpha.CalculatedMetricH\x00\x12\\\x0A\x19reporting_data_annotation\x18 \x01(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotationH\x00\x12X\x0A\x17subproperty_sync_config\x18! \x01(\x0B25.google.analytics.admin.v1alpha.SubpropertySyncConfigH\x00\x12`\x0A\x1Breporting_identity_settings\x18\" \x01(\x0B29.google.analytics.admin.v1alpha.ReportingIdentitySettingsH\x00\x12_\x0A\x1Buser_provided_data_settings\x18# \x01(\x0B28.google.analytics.admin.v1alpha.UserProvidedDataSettingsH\x00B\x0A\x0A\x08resource\"\x9E\x04\x0A\x1DDisplayVideo360AdvertiserLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1A\x0A\x0Dadvertiser_id\x18\x02 \x01(\x09B\x03\xE0A\x05\x12\$\x0A\x17advertiser_display_name\x18\x03 \x01(\x09B\x03\xE0A\x03\x12?\x0A\x1Bads_personalization_enabled\x18\x04 \x01(\x0B2\x1A.google.protobuf.BoolValue\x12F\x0A\x1Dcampaign_data_sharing_enabled\x18\x05 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12B\x0A\x19cost_data_sharing_enabled\x18\x06 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05:\xDA\x01\xEAA\xD6\x01\x0A;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\x12Xproperties/{property}/displayVideo360AdvertiserLinks/{display_video_360_advertiser_link}*\x1EdisplayVideo360AdvertiserLinks2\x1DdisplayVideo360AdvertiserLink\"\xD9\x05\x0A%DisplayVideo360AdvertiserLinkProposal\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1A\x0A\x0Dadvertiser_id\x18\x02 \x01(\x09B\x03\xE0A\x05\x12d\x0A\x1Clink_proposal_status_details\x18\x03 \x01(\x0B29.google.analytics.admin.v1alpha.LinkProposalStatusDetailsB\x03\xE0A\x03\x12\$\x0A\x17advertiser_display_name\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x1D\x0A\x10validation_email\x18\x05 \x01(\x09B\x03\xE0A\x04\x12D\x0A\x1Bads_personalization_enabled\x18\x06 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12F\x0A\x1Dcampaign_data_sharing_enabled\x18\x07 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12B\x0A\x19cost_data_sharing_enabled\x18\x08 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05:\x83\x02\xEAA\xFF\x01\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\x12iproperties/{property}/displayVideo360AdvertiserLinkProposals/{display_video_360_advertiser_link_proposal}*&displayVideo360AdvertiserLinkProposals2%displayVideo360AdvertiserLinkProposal\"\x8F\x04\x0A\x10SearchAds360Link\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1A\x0A\x0Dadvertiser_id\x18\x02 \x01(\x09B\x03\xE0A\x05\x12F\x0A\x1Dcampaign_data_sharing_enabled\x18\x03 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12B\x0A\x19cost_data_sharing_enabled\x18\x04 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12\$\x0A\x17advertiser_display_name\x18\x05 \x01(\x09B\x03\xE0A\x03\x12?\x0A\x1Bads_personalization_enabled\x18\x06 \x01(\x0B2\x1A.google.protobuf.BoolValue\x12>\x0A\x1Asite_stats_sharing_enabled\x18\x07 \x01(\x0B2\x1A.google.protobuf.BoolValue:\x98\x01\xEAA\x94\x01\x0A.analyticsadmin.googleapis.com/SearchAds360Link\x12=properties/{property}/searchAds360Links/{search_ads_360_link}*\x11searchAds360Links2\x10searchAds360Link\"\xFC\x01\x0A\x19LinkProposalStatusDetails\x12l\x0A link_proposal_initiating_product\x18\x01 \x01(\x0E2=.google.analytics.admin.v1alpha.LinkProposalInitiatingProductB\x03\xE0A\x03\x12\x1C\x0A\x0Frequestor_email\x18\x02 \x01(\x09B\x03\xE0A\x03\x12S\x0A\x13link_proposal_state\x18\x03 \x01(\x0E21.google.analytics.admin.v1alpha.LinkProposalStateB\x03\xE0A\x03\"\x85\x06\x0A\x0FConversionEvent\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x17\x0A\x0Aevent_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x16\x0A\x09deletable\x18\x04 \x01(\x08B\x03\xE0A\x03\x12\x13\x0A\x06custom\x18\x05 \x01(\x08B\x03\xE0A\x03\x12f\x0A\x0Fcounting_method\x18\x06 \x01(\x0E2H.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethodB\x03\xE0A\x01\x12r\x0A\x18default_conversion_value\x18\x07 \x01(\x0B2F.google.analytics.admin.v1alpha.ConversionEvent.DefaultConversionValueB\x03\xE0A\x01H\x00\x88\x01\x01\x1Ad\x0A\x16DefaultConversionValue\x12\x12\x0A\x05value\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x1A\x0A\x0Dcurrency_code\x18\x02 \x01(\x09H\x01\x88\x01\x01B\x08\x0A\x06_valueB\x10\x0A\x0E_currency_code\"p\x0A\x18ConversionCountingMethod\x12*\x0A&CONVERSION_COUNTING_METHOD_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EONCE_PER_EVENT\x10\x01\x12\x14\x0A\x10ONCE_PER_SESSION\x10\x02:\x91\x01\xEAA\x8D\x01\x0A-analyticsadmin.googleapis.com/ConversionEvent\x129properties/{property}/conversionEvents/{conversion_event}*\x10conversionEvents2\x0FconversionEventB\x1B\x0A\x19_default_conversion_value\"\xD7\x04\x0A\x08KeyEvent\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x17\x0A\x0Aevent_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x16\x0A\x09deletable\x18\x04 \x01(\x08B\x03\xE0A\x03\x12\x13\x0A\x06custom\x18\x05 \x01(\x08B\x03\xE0A\x03\x12U\x0A\x0Fcounting_method\x18\x06 \x01(\x0E27.google.analytics.admin.v1alpha.KeyEvent.CountingMethodB\x03\xE0A\x02\x12Q\x0A\x0Ddefault_value\x18\x07 \x01(\x0B25.google.analytics.admin.v1alpha.KeyEvent.DefaultValueB\x03\xE0A\x01\x1AF\x0A\x0CDefaultValue\x12\x1A\x0A\x0Dnumeric_value\x18\x01 \x01(\x01B\x03\xE0A\x02\x12\x1A\x0A\x0Dcurrency_code\x18\x02 \x01(\x09B\x03\xE0A\x02\"[\x0A\x0ECountingMethod\x12\x1F\x0A\x1BCOUNTING_METHOD_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EONCE_PER_EVENT\x10\x01\x12\x14\x0A\x10ONCE_PER_SESSION\x10\x02:m\xEAAj\x0A&analyticsadmin.googleapis.com/KeyEvent\x12+properties/{property}/keyEvents/{key_event}*\x09keyEvents2\x08keyEvent\"\xA0\x02\x0A\x15GoogleSignalsSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12A\x0A\x05state\x18\x03 \x01(\x0E22.google.analytics.admin.v1alpha.GoogleSignalsState\x12J\x0A\x07consent\x18\x04 \x01(\x0E24.google.analytics.admin.v1alpha.GoogleSignalsConsentB\x03\xE0A\x03:e\xEAAb\x0A3analyticsadmin.googleapis.com/GoogleSignalsSettings\x12+properties/{property}/googleSignalsSettings\"\xE1\x03\x0A\x0FCustomDimension\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Eparameter_name\x18\x02 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01\x12U\x0A\x05scope\x18\x05 \x01(\x0E2>.google.analytics.admin.v1alpha.CustomDimension.DimensionScopeB\x06\xE0A\x02\xE0A\x05\x12)\x0A\x1Cdisallow_ads_personalization\x18\x06 \x01(\x08B\x03\xE0A\x01\"P\x0A\x0EDimensionScope\x12\x1F\x0A\x1BDIMENSION_SCOPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EVENT\x10\x01\x12\x08\x0A\x04USER\x10\x02\x12\x08\x0A\x04ITEM\x10\x03:\x91\x01\xEAA\x8D\x01\x0A-analyticsadmin.googleapis.com/CustomDimension\x129properties/{property}/customDimensions/{custom_dimension}*\x10customDimensions2\x0FcustomDimension\"\xE3\x06\x0A\x0CCustomMetric\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Eparameter_name\x18\x02 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01\x12[\x0A\x10measurement_unit\x18\x05 \x01(\x0E2<.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnitB\x03\xE0A\x02\x12O\x0A\x05scope\x18\x06 \x01(\x0E28.google.analytics.admin.v1alpha.CustomMetric.MetricScopeB\x06\xE0A\x02\xE0A\x05\x12f\x0A\x16restricted_metric_type\x18\x08 \x03(\x0E2A.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricTypeB\x03\xE0A\x01\"\xB7\x01\x0A\x0FMeasurementUnit\x12 \x0A\x1CMEASUREMENT_UNIT_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08STANDARD\x10\x01\x12\x0C\x0A\x08CURRENCY\x10\x02\x12\x08\x0A\x04FEET\x10\x03\x12\x0A\x0A\x06METERS\x10\x04\x12\x0E\x0A\x0AKILOMETERS\x10\x05\x12\x09\x0A\x05MILES\x10\x06\x12\x10\x0A\x0CMILLISECONDS\x10\x07\x12\x0B\x0A\x07SECONDS\x10\x08\x12\x0B\x0A\x07MINUTES\x10\x09\x12\x09\x0A\x05HOURS\x10\x0A\"6\x0A\x0BMetricScope\x12\x1C\x0A\x18METRIC_SCOPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EVENT\x10\x01\"_\x0A\x14RestrictedMetricType\x12&\x0A\"RESTRICTED_METRIC_TYPE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09COST_DATA\x10\x01\x12\x10\x0A\x0CREVENUE_DATA\x10\x02:\x81\x01\xEAA~\x0A*analyticsadmin.googleapis.com/CustomMetric\x123properties/{property}/customMetrics/{custom_metric}*\x0DcustomMetrics2\x0CcustomMetric\"\xA7\x06\x0A\x10CalculatedMetric\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12!\x0A\x14calculated_metric_id\x18\x04 \x01(\x09B\x03\xE0A\x03\x12U\x0A\x0Bmetric_unit\x18\x05 \x01(\x0E2;.google.analytics.admin.v1alpha.CalculatedMetric.MetricUnitB\x03\xE0A\x02\x12j\x0A\x16restricted_metric_type\x18\x06 \x03(\x0E2E.google.analytics.admin.v1alpha.CalculatedMetric.RestrictedMetricTypeB\x03\xE0A\x03\x12\x14\x0A\x07formula\x18\x07 \x01(\x09B\x03\xE0A\x02\x12%\x0A\x18invalid_metric_reference\x18\x09 \x01(\x08B\x03\xE0A\x03\"\xAD\x01\x0A\x0AMetricUnit\x12\x1B\x0A\x17METRIC_UNIT_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08STANDARD\x10\x01\x12\x0C\x0A\x08CURRENCY\x10\x02\x12\x08\x0A\x04FEET\x10\x03\x12\x09\x0A\x05MILES\x10\x04\x12\x0A\x0A\x06METERS\x10\x05\x12\x0E\x0A\x0AKILOMETERS\x10\x06\x12\x10\x0A\x0CMILLISECONDS\x10\x07\x12\x0B\x0A\x07SECONDS\x10\x08\x12\x0B\x0A\x07MINUTES\x10\x09\x12\x09\x0A\x05HOURS\x10\x0A\"_\x0A\x14RestrictedMetricType\x12&\x0A\"RESTRICTED_METRIC_TYPE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09COST_DATA\x10\x01\x12\x10\x0A\x0CREVENUE_DATA\x10\x02:\x96\x01\xEAA\x92\x01\x0A.analyticsadmin.googleapis.com/CalculatedMetric\x12;properties/{property}/calculatedMetrics/{calculated_metric}*\x11calculatedMetrics2\x10calculatedMetric\"\xE2\x04\x0A\x15DataRetentionSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12j\x0A\x14event_data_retention\x18\x02 \x01(\x0E2G.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDurationB\x03\xE0A\x02\x12i\x0A\x13user_data_retention\x18\x04 \x01(\x0E2G.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDurationB\x03\xE0A\x02\x12'\x0A\x1Freset_user_data_on_new_activity\x18\x03 \x01(\x08\"\x9E\x01\x0A\x11RetentionDuration\x12\"\x0A\x1ERETENTION_DURATION_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0ATWO_MONTHS\x10\x01\x12\x13\x0A\x0FFOURTEEN_MONTHS\x10\x03\x12\x15\x0A\x11TWENTY_SIX_MONTHS\x10\x04\x12\x17\x0A\x13THIRTY_EIGHT_MONTHS\x10\x05\x12\x10\x0A\x0CFIFTY_MONTHS\x10\x06:\x94\x01\xEAA\x90\x01\x0A3analyticsadmin.googleapis.com/DataRetentionSettings\x12+properties/{property}/dataRetentionSettings*\x15dataRetentionSettings2\x15dataRetentionSettings\"\xFC\x0B\x0A\x13AttributionSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x97\x01\x0A,acquisition_conversion_event_lookback_window\x18\x02 \x01(\x0E2\\.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindowB\x03\xE0A\x02\x12\x8B\x01\x0A&other_conversion_event_lookback_window\x18\x03 \x01(\x0E2V.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindowB\x03\xE0A\x02\x12w\x0A\x1Breporting_attribution_model\x18\x04 \x01(\x0E2M.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModelB\x03\xE0A\x02\x12\x86\x01\x0A\$ads_web_conversion_data_export_scope\x18\x05 \x01(\x0E2S.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScopeB\x03\xE0A\x02\"\xDB\x01\x0A(AcquisitionConversionEventLookbackWindow\x12<\x0A8ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED\x10\x00\x127\x0A3ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS\x10\x01\x128\x0A4ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS\x10\x02\"\xF8\x01\x0A\"OtherConversionEventLookbackWindow\x126\x0A2OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED\x10\x00\x122\x0A.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS\x10\x01\x122\x0A.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS\x10\x02\x122\x0A.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS\x10\x03\"\xC2\x01\x0A\x19ReportingAttributionModel\x12+\x0A'REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED\x10\x00\x12)\x0A%PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN\x10\x01\x12(\x0A\$PAID_AND_ORGANIC_CHANNELS_LAST_CLICK\x10\x02\x12#\x0A\x1FGOOGLE_PAID_CHANNELS_LAST_CLICK\x10\x07\"\xA6\x01\x0A\x1FAdsWebConversionDataExportScope\x124\x0A0ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED\x10\x00\x12\x14\x0A\x10NOT_SELECTED_YET\x10\x01\x12\x1D\x0A\x19PAID_AND_ORGANIC_CHANNELS\x10\x02\x12\x18\x0A\x14GOOGLE_PAID_CHANNELS\x10\x03:a\xEAA^\x0A1analyticsadmin.googleapis.com/AttributionSettings\x12)properties/{property}/attributionSettings\"\xF1\x01\x0A\x0DAccessBinding\x12\x0E\x0A\x04user\x18\x02 \x01(\x09H\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x0D\x0A\x05roles\x18\x03 \x03(\x09:\x9C\x01\xEAA\x98\x01\x0A+analyticsadmin.googleapis.com/AccessBinding\x122accounts/{account}/accessBindings/{access_binding}\x125properties/{property}/accessBindings/{access_binding}B\x0F\x0A\x0Daccess_target\"\xAA\x03\x0A\x0CBigQueryLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x07project\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x1C\x0A\x14daily_export_enabled\x18\x04 \x01(\x08\x12 \x0A\x18streaming_export_enabled\x18\x05 \x01(\x08\x12\"\x0A\x1Afresh_daily_export_enabled\x18\x09 \x01(\x08\x12\x1E\x0A\x16include_advertising_id\x18\x06 \x01(\x08\x12\x16\x0A\x0Eexport_streams\x18\x07 \x03(\x09\x12\x17\x0A\x0Fexcluded_events\x18\x08 \x03(\x09\x12 \x0A\x10dataset_location\x18\x0A \x01(\x09B\x06\xE0A\x05\xE0A\x02:d\xEAAa\x0A*analyticsadmin.googleapis.com/BigQueryLink\x123properties/{property}/bigQueryLinks/{bigquery_link}\"\xF3\x03\x0A\x1BEnhancedMeasurementSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x16\x0A\x0Estream_enabled\x18\x02 \x01(\x08\x12\x17\x0A\x0Fscrolls_enabled\x18\x03 \x01(\x08\x12\x1F\x0A\x17outbound_clicks_enabled\x18\x04 \x01(\x08\x12\x1B\x0A\x13site_search_enabled\x18\x05 \x01(\x08\x12 \x0A\x18video_engagement_enabled\x18\x06 \x01(\x08\x12\x1E\x0A\x16file_downloads_enabled\x18\x07 \x01(\x08\x12\x1C\x0A\x14page_changes_enabled\x18\x08 \x01(\x08\x12!\x0A\x19form_interactions_enabled\x18\x09 \x01(\x08\x12#\x0A\x16search_query_parameter\x18\x0A \x01(\x09B\x03\xE0A\x02\x12\x1B\x0A\x13uri_query_parameter\x18\x0B \x01(\x09:\x8C\x01\xEAA\x88\x01\x0A9analyticsadmin.googleapis.com/EnhancedMeasurementSettings\x12Kproperties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings\"\x95\x02\x0A\x15DataRedactionSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1F\x0A\x17email_redaction_enabled\x18\x02 \x01(\x08\x12)\x0A!query_parameter_redaction_enabled\x18\x03 \x01(\x08\x12\x1C\x0A\x14query_parameter_keys\x18\x04 \x03(\x09:\x7F\xEAA|\x0A3analyticsadmin.googleapis.com/DataRedactionSettings\x12Eproperties/{property}/dataStreams/{data_stream}/dataRedactionSettings\"\xA0\x01\x0A\x0BAdSenseLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1B\x0A\x0Ead_client_code\x18\x02 \x01(\x09B\x03\xE0A\x05:a\xEAA^\x0A)analyticsadmin.googleapis.com/AdSenseLink\x121properties/{property}/adSenseLinks/{adsense_link}\"\x8E\x02\x0A\x18RollupPropertySourceLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Fsource_property\x18\x02 \x01(\x09B\x03\xE0A\x05:\xC0\x01\xEAA\xBC\x01\x0A6analyticsadmin.googleapis.com/RollupPropertySourceLink\x12Mproperties/{property}/rollupPropertySourceLinks/{rollup_property_source_link}*\x19rollupPropertySourceLinks2\x18rollupPropertySourceLink\"\xF6\x05\x0A\x17ReportingDataAnnotation\x12,\x0A\x0Fannotation_date\x18\x04 \x01(\x0B2\x11.google.type.DateH\x00\x12b\x0A\x15annotation_date_range\x18\x05 \x01(\x0B2A.google.analytics.admin.v1alpha.ReportingDataAnnotation.DateRangeH\x00\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x08\xE0A\x02\x12\x12\x0A\x05title\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x01\x12Q\x0A\x05color\x18\x06 \x01(\x0E2=.google.analytics.admin.v1alpha.ReportingDataAnnotation.ColorB\x03\xE0A\x02\x12\x1D\x0A\x10system_generated\x18\x07 \x01(\x08B\x03\xE0A\x03\x1Aa\x0A\x09DateRange\x12*\x0A\x0Astart_date\x18\x01 \x01(\x0B2\x11.google.type.DateB\x03\xE0A\x02\x12(\x0A\x08end_date\x18\x02 \x01(\x0B2\x11.google.type.DateB\x03\xE0A\x02\"i\x0A\x05Color\x12\x15\x0A\x11COLOR_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06PURPLE\x10\x01\x12\x09\x0A\x05BROWN\x10\x02\x12\x08\x0A\x04BLUE\x10\x03\x12\x09\x0A\x05GREEN\x10\x04\x12\x07\x0A\x03RED\x10\x05\x12\x08\x0A\x04CYAN\x10\x06\x12\x0A\x0A\x06ORANGE\x10\x07:\xBA\x01\xEAA\xB6\x01\x0A5analyticsadmin.googleapis.com/ReportingDataAnnotation\x12Jproperties/{property}/reportingDataAnnotations/{reporting_data_annotation}*\x18reportingDataAnnotations2\x17reportingDataAnnotationB\x08\x0A\x06target\"\xD2\x03\x0A\x15SubpropertySyncConfig\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x08\xE0A\x03\x12!\x0A\x11apply_to_property\x18\x02 \x01(\x09B\x06\xE0A\x05\xE0A\x03\x12}\x0A%custom_dimension_and_metric_sync_mode\x18\x03 \x01(\x0E2I.google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationModeB\x03\xE0A\x02\"N\x0A\x13SynchronizationMode\x12\$\x0A SYNCHRONIZATION_MODE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04NONE\x10\x01\x12\x07\x0A\x03ALL\x10\x02:\xB0\x01\xEAA\xAC\x01\x0A3analyticsadmin.googleapis.com/SubpropertySyncConfig\x12Fproperties/{property}/subpropertySyncConfigs/{subproperty_sync_config}*\x16subpropertySyncConfigs2\x15subpropertySyncConfig\"\xAF\x03\x0A\x19ReportingIdentitySettings\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x08\xE0A\x03\x12g\x0A\x12reporting_identity\x18\x02 \x01(\x0E2K.google.analytics.admin.v1alpha.ReportingIdentitySettings.ReportingIdentity\"l\x0A\x11ReportingIdentity\x12*\x0A&IDENTITY_BLENDING_STRATEGY_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07BLENDED\x10\x01\x12\x0C\x0A\x08OBSERVED\x10\x02\x12\x10\x0A\x0CDEVICE_BASED\x10\x03:\xA4\x01\xEAA\xA0\x01\x0A7analyticsadmin.googleapis.com/ReportingIdentitySettings\x12/properties/{property}/reportingIdentitySettings*\x19reportingIdentitySettings2\x19reportingIdentitySettings\"\xC1\x02\x0A\x18UserProvidedDataSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x122\x0A%user_provided_data_collection_enabled\x18\x02 \x01(\x08B\x03\xE0A\x01\x12;\x0A.automatically_detected_data_collection_enabled\x18\x03 \x01(\x08B\x03\xE0A\x01:\xA0\x01\xEAA\x9C\x01\x0A6analyticsadmin.googleapis.com/UserProvidedDataSettings\x12.properties/{property}/userProvidedDataSettings*\x18userProvidedDataSettings2\x18userProvidedDataSettings*\xAA\x04\x0A\x10IndustryCategory\x12!\x0A\x1DINDUSTRY_CATEGORY_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AAUTOMOTIVE\x10\x01\x12#\x0A\x1FBUSINESS_AND_INDUSTRIAL_MARKETS\x10\x02\x12\x0B\x0A\x07FINANCE\x10\x03\x12\x0E\x0A\x0AHEALTHCARE\x10\x04\x12\x0E\x0A\x0ATECHNOLOGY\x10\x05\x12\x0A\x0A\x06TRAVEL\x10\x06\x12\x09\x0A\x05OTHER\x10\x07\x12\x1A\x0A\x16ARTS_AND_ENTERTAINMENT\x10\x08\x12\x16\x0A\x12BEAUTY_AND_FITNESS\x10\x09\x12\x18\x0A\x14BOOKS_AND_LITERATURE\x10\x0A\x12\x12\x0A\x0EFOOD_AND_DRINK\x10\x0B\x12\x09\x0A\x05GAMES\x10\x0C\x12\x17\x0A\x13HOBBIES_AND_LEISURE\x10\x0D\x12\x13\x0A\x0FHOME_AND_GARDEN\x10\x0E\x12\x18\x0A\x14INTERNET_AND_TELECOM\x10\x0F\x12\x16\x0A\x12LAW_AND_GOVERNMENT\x10\x10\x12\x08\x0A\x04NEWS\x10\x11\x12\x16\x0A\x12ONLINE_COMMUNITIES\x10\x12\x12\x16\x0A\x12PEOPLE_AND_SOCIETY\x10\x13\x12\x14\x0A\x10PETS_AND_ANIMALS\x10\x14\x12\x0F\x0A\x0BREAL_ESTATE\x10\x15\x12\x0D\x0A\x09REFERENCE\x10\x16\x12\x0B\x0A\x07SCIENCE\x10\x17\x12\x0A\x0A\x06SPORTS\x10\x18\x12\x16\x0A\x12JOBS_AND_EDUCATION\x10\x19\x12\x0C\x0A\x08SHOPPING\x10\x1A*f\x0A\x0CServiceLevel\x12\x1D\x0A\x19SERVICE_LEVEL_UNSPECIFIED\x10\x00\x12\x1D\x0A\x19GOOGLE_ANALYTICS_STANDARD\x10\x01\x12\x18\x0A\x14GOOGLE_ANALYTICS_360\x10\x02*J\x0A\x09ActorType\x12\x1A\x0A\x16ACTOR_TYPE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04USER\x10\x01\x12\x0A\x0A\x06SYSTEM\x10\x02\x12\x0B\x0A\x07SUPPORT\x10\x03*P\x0A\x0AActionType\x12\x1B\x0A\x17ACTION_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07CREATED\x10\x01\x12\x0B\x0A\x07UPDATED\x10\x02\x12\x0B\x0A\x07DELETED\x10\x03*\xC2\x06\x0A\x19ChangeHistoryResourceType\x12,\x0A(CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07ACCOUNT\x10\x01\x12\x0C\x0A\x08PROPERTY\x10\x02\x12\x11\x0A\x0DFIREBASE_LINK\x10\x06\x12\x13\x0A\x0FGOOGLE_ADS_LINK\x10\x07\x12\x1B\x0A\x17GOOGLE_SIGNALS_SETTINGS\x10\x08\x12\x14\x0A\x10CONVERSION_EVENT\x10\x09\x12\x1F\x0A\x1BMEASUREMENT_PROTOCOL_SECRET\x10\x0A\x12\x14\x0A\x10CUSTOM_DIMENSION\x10\x0B\x12\x11\x0A\x0DCUSTOM_METRIC\x10\x0C\x12\x1B\x0A\x17DATA_RETENTION_SETTINGS\x10\x0D\x12%\x0A!DISPLAY_VIDEO_360_ADVERTISER_LINK\x10\x0E\x12.\x0A*DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL\x10\x0F\x12\x17\x0A\x13SEARCH_ADS_360_LINK\x10\x10\x12\x0F\x0A\x0BDATA_STREAM\x10\x12\x12\x18\x0A\x14ATTRIBUTION_SETTINGS\x10\x14\x12\x15\x0A\x11EXPANDED_DATA_SET\x10\x15\x12\x11\x0A\x0DCHANNEL_GROUP\x10\x16\x12\x11\x0A\x0DBIGQUERY_LINK\x10\x17\x12!\x0A\x1DENHANCED_MEASUREMENT_SETTINGS\x10\x18\x12\x1B\x0A\x17DATA_REDACTION_SETTINGS\x10\x19\x12'\x0A#SKADNETWORK_CONVERSION_VALUE_SCHEMA\x10\x1A\x12\x10\x0A\x0CADSENSE_LINK\x10\x1B\x12\x0C\x0A\x08AUDIENCE\x10\x1C\x12\x15\x0A\x11EVENT_CREATE_RULE\x10\x1D\x12\x0D\x0A\x09KEY_EVENT\x10\x1E\x12\x15\x0A\x11CALCULATED_METRIC\x10\x1F\x12\x1D\x0A\x19REPORTING_DATA_ANNOTATION\x10 \x12\x1B\x0A\x17SUBPROPERTY_SYNC_CONFIG\x10!\x12\x1F\x0A\x1BREPORTING_IDENTITY_SETTINGS\x10\"\x12\x1F\x0A\x1BUSER_PROVIDED_DATA_SETTINGS\x10#*s\x0A\x12GoogleSignalsState\x12\$\x0A GOOGLE_SIGNALS_STATE_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16GOOGLE_SIGNALS_ENABLED\x10\x01\x12\x1B\x0A\x17GOOGLE_SIGNALS_DISABLED\x10\x02*\x8E\x01\x0A\x14GoogleSignalsConsent\x12&\x0A\"GOOGLE_SIGNALS_CONSENT_UNSPECIFIED\x10\x00\x12\$\x0A GOOGLE_SIGNALS_CONSENT_CONSENTED\x10\x02\x12(\x0A\$GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED\x10\x01*{\x0A\x1DLinkProposalInitiatingProduct\x120\x0A,LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED\x10\x00\x12\x14\x0A\x10GOOGLE_ANALYTICS\x10\x01\x12\x12\x0A\x0ELINKED_PRODUCT\x10\x02*\xC4\x01\x0A\x11LinkProposalState\x12#\x0A\x1FLINK_PROPOSAL_STATE_UNSPECIFIED\x10\x00\x12)\x0A%AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS\x10\x01\x12'\x0A#AWAITING_REVIEW_FROM_LINKED_PRODUCT\x10\x02\x12\x0D\x0A\x09WITHDRAWN\x10\x03\x12\x0C\x0A\x08DECLINED\x10\x04\x12\x0B\x0A\x07EXPIRED\x10\x05\x12\x0C\x0A\x08OBSOLETE\x10\x06*\x82\x01\x0A\x0CPropertyType\x12\x1D\x0A\x19PROPERTY_TYPE_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16PROPERTY_TYPE_ORDINARY\x10\x01\x12\x1D\x0A\x19PROPERTY_TYPE_SUBPROPERTY\x10\x02\x12\x18\x0A\x14PROPERTY_TYPE_ROLLUP\x10\x03*q\x0A\x0BCoarseValue\x12\x1C\x0A\x18COARSE_VALUE_UNSPECIFIED\x10\x00\x12\x14\x0A\x10COARSE_VALUE_LOW\x10\x01\x12\x17\x0A\x13COARSE_VALUE_MEDIUM\x10\x02\x12\x15\x0A\x11COARSE_VALUE_HIGH\x10\x03B\xCB\x01\x0A\"com.google.analytics.admin.v1alphaB\x0EResourcesProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpb\xEAAR\x0A2marketingplatformadmin.googleapis.com/Organization\x12\x1Corganizations/{organization}b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/SubpropertyEventFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/SubpropertyEventFilter.php new file mode 100644 index 000000000000..795d1a6b3e99 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/SubpropertyEventFilter.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xA0\x0F\x0A=google/analytics/admin/v1alpha/subproperty_event_filter.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A\x19google/api/resource.proto\"\x81\x04\x0A\x1FSubpropertyEventFilterCondition\x12\x15\x0A\x0Bnull_filter\x18\x02 \x01(\x08H\x00\x12e\x0A\x0Dstring_filter\x18\x03 \x01(\x0B2L.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilterH\x00\x12\x17\x0A\x0Afield_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x1A\xB8\x02\x0A\x0CStringFilter\x12o\x0A\x0Amatch_type\x18\x01 \x01(\x0E2V.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchTypeB\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x1B\x0A\x0Ecase_sensitive\x18\x03 \x01(\x08B\x03\xE0A\x01\"\x85\x01\x0A\x09MatchType\x12\x1A\x0A\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EXACT\x10\x01\x12\x0F\x0A\x0BBEGINS_WITH\x10\x02\x12\x0D\x0A\x09ENDS_WITH\x10\x03\x12\x0C\x0A\x08CONTAINS\x10\x04\x12\x0F\x0A\x0BFULL_REGEXP\x10\x05\x12\x12\x0A\x0EPARTIAL_REGEXP\x10\x06B\x0C\x0A\x0Aone_filter\"\xBD\x02\x0A SubpropertyEventFilterExpression\x12X\x0A\x08or_group\x18\x01 \x01(\x0B2D.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListH\x00\x12Z\x0A\x0Enot_expression\x18\x02 \x01(\x0B2@.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionH\x00\x12[\x0A\x10filter_condition\x18\x03 \x01(\x0B2?.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionH\x00B\x06\x0A\x04expr\"\x8C\x01\x0A\$SubpropertyEventFilterExpressionList\x12d\x0A\x12filter_expressions\x18\x01 \x03(\x0B2@.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionB\x06\xE0A\x02\xE0A\x06\"\xC2\x02\x0A\x1CSubpropertyEventFilterClause\x12n\x0A\x12filter_clause_type\x18\x01 \x01(\x0E2M.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseTypeB\x03\xE0A\x02\x12`\x0A\x11filter_expression\x18\x02 \x01(\x0B2@.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionB\x03\xE0A\x02\"P\x0A\x10FilterClauseType\x12\"\x0A\x1EFILTER_CLAUSE_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07INCLUDE\x10\x01\x12\x0B\x0A\x07EXCLUDE\x10\x02\"\xFD\x02\x0A\x16SubpropertyEventFilter\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12#\x0A\x11apply_to_property\x18\x02 \x01(\x09B\x03\xE0A\x05H\x00\x88\x01\x01\x12\\\x0A\x0Efilter_clauses\x18\x03 \x03(\x0B2<.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseB\x06\xE0A\x02\xE0A\x06:\xB6\x01\xEAA\xB2\x01\x0A4analyticsadmin.googleapis.com/SubpropertyEventFilter\x12Iproperties/{property}/subpropertyEventFilters/{sub_property_event_filter}*\x17subpropertyEventFilters2\x16subpropertyEventFilterB\x14\x0A\x12_apply_to_propertyB\x83\x01\x0A\"com.google.analytics.admin.v1alphaB\x1BSubpropertyEventFilterProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBetweenFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBetweenFilter.php new file mode 100644 index 000000000000..71ca58d9f272 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBetweenFilter.php @@ -0,0 +1,121 @@ +google.analytics.admin.v1alpha.AccessBetweenFilter + */ +class AccessBetweenFilter extends \Google\Protobuf\Internal\Message +{ + /** + * Begins with this number. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue from_value = 1; + */ + protected $from_value = null; + /** + * Ends with this number. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue to_value = 2; + */ + protected $to_value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\NumericValue $from_value + * Begins with this number. + * @type \Google\Analytics\Admin\V1alpha\NumericValue $to_value + * Ends with this number. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * Begins with this number. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue from_value = 1; + * @return \Google\Analytics\Admin\V1alpha\NumericValue|null + */ + public function getFromValue() + { + return $this->from_value; + } + + public function hasFromValue() + { + return isset($this->from_value); + } + + public function clearFromValue() + { + unset($this->from_value); + } + + /** + * Begins with this number. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue from_value = 1; + * @param \Google\Analytics\Admin\V1alpha\NumericValue $var + * @return $this + */ + public function setFromValue($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\NumericValue::class); + $this->from_value = $var; + + return $this; + } + + /** + * Ends with this number. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue to_value = 2; + * @return \Google\Analytics\Admin\V1alpha\NumericValue|null + */ + public function getToValue() + { + return $this->to_value; + } + + public function hasToValue() + { + return isset($this->to_value); + } + + public function clearToValue() + { + unset($this->to_value); + } + + /** + * Ends with this number. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue to_value = 2; + * @param \Google\Analytics\Admin\V1alpha\NumericValue $var + * @return $this + */ + public function setToValue($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\NumericValue::class); + $this->to_value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBinding.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBinding.php new file mode 100644 index 000000000000..f5e87135416d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBinding.php @@ -0,0 +1,198 @@ +google.analytics.admin.v1alpha.AccessBinding + */ +class AccessBinding extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name of this binding. + * Format: accounts/{account}/accessBindings/{access_binding} or + * properties/{property}/accessBindings/{access_binding} + * Example: + * "accounts/100/accessBindings/200" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * A list of roles for to grant to the parent resource. + * Valid values: + * predefinedRoles/viewer + * predefinedRoles/analyst + * predefinedRoles/editor + * predefinedRoles/admin + * predefinedRoles/no-cost-data + * predefinedRoles/no-revenue-data + * For users, if an empty list of roles is set, this AccessBinding will be + * deleted. + * + * Generated from protobuf field repeated string roles = 3; + */ + private $roles; + protected $access_target; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $user + * If set, the email address of the user to set roles for. + * Format: "someuser\@gmail.com" + * @type string $name + * Output only. Resource name of this binding. + * Format: accounts/{account}/accessBindings/{access_binding} or + * properties/{property}/accessBindings/{access_binding} + * Example: + * "accounts/100/accessBindings/200" + * @type string[] $roles + * A list of roles for to grant to the parent resource. + * Valid values: + * predefinedRoles/viewer + * predefinedRoles/analyst + * predefinedRoles/editor + * predefinedRoles/admin + * predefinedRoles/no-cost-data + * predefinedRoles/no-revenue-data + * For users, if an empty list of roles is set, this AccessBinding will be + * deleted. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * If set, the email address of the user to set roles for. + * Format: "someuser\@gmail.com" + * + * Generated from protobuf field string user = 2; + * @return string + */ + public function getUser() + { + return $this->readOneof(2); + } + + public function hasUser() + { + return $this->hasOneof(2); + } + + /** + * If set, the email address of the user to set roles for. + * Format: "someuser\@gmail.com" + * + * Generated from protobuf field string user = 2; + * @param string $var + * @return $this + */ + public function setUser($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * Output only. Resource name of this binding. + * Format: accounts/{account}/accessBindings/{access_binding} or + * properties/{property}/accessBindings/{access_binding} + * Example: + * "accounts/100/accessBindings/200" + * + * 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 binding. + * Format: accounts/{account}/accessBindings/{access_binding} or + * properties/{property}/accessBindings/{access_binding} + * Example: + * "accounts/100/accessBindings/200" + * + * 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; + } + + /** + * A list of roles for to grant to the parent resource. + * Valid values: + * predefinedRoles/viewer + * predefinedRoles/analyst + * predefinedRoles/editor + * predefinedRoles/admin + * predefinedRoles/no-cost-data + * predefinedRoles/no-revenue-data + * For users, if an empty list of roles is set, this AccessBinding will be + * deleted. + * + * Generated from protobuf field repeated string roles = 3; + * @return RepeatedField + */ + public function getRoles() + { + return $this->roles; + } + + /** + * A list of roles for to grant to the parent resource. + * Valid values: + * predefinedRoles/viewer + * predefinedRoles/analyst + * predefinedRoles/editor + * predefinedRoles/admin + * predefinedRoles/no-cost-data + * predefinedRoles/no-revenue-data + * For users, if an empty list of roles is set, this AccessBinding will be + * deleted. + * + * Generated from protobuf field repeated string roles = 3; + * @param string[] $var + * @return $this + */ + public function setRoles($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->roles = $arr; + + return $this; + } + + /** + * @return string + */ + public function getAccessTarget() + { + return $this->whichOneof("access_target"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDateRange.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDateRange.php new file mode 100644 index 000000000000..fabfb251cc1b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDateRange.php @@ -0,0 +1,125 @@ +google.analytics.admin.v1alpha.AccessDateRange + */ +class AccessDateRange extends \Google\Protobuf\Internal\Message +{ + /** + * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + * + * Generated from protobuf field string start_date = 1; + */ + protected $start_date = ''; + /** + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + * + * Generated from protobuf field string end_date = 2; + */ + protected $end_date = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $start_date + * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + * @type string $end_date + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + * + * Generated from protobuf field string start_date = 1; + * @return string + */ + public function getStartDate() + { + return $this->start_date; + } + + /** + * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + * + * Generated from protobuf field string start_date = 1; + * @param string $var + * @return $this + */ + public function setStartDate($var) + { + GPBUtil::checkString($var, True); + $this->start_date = $var; + + return $this; + } + + /** + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + * + * Generated from protobuf field string end_date = 2; + * @return string + */ + public function getEndDate() + { + return $this->end_date; + } + + /** + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + * + * Generated from protobuf field string end_date = 2; + * @param string $var + * @return $this + */ + public function setEndDate($var) + { + GPBUtil::checkString($var, True); + $this->end_date = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimension.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimension.php new file mode 100644 index 000000000000..5302f3cc286b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimension.php @@ -0,0 +1,81 @@ +google.analytics.admin.v1alpha.AccessDimension + */ +class AccessDimension extends \Google\Protobuf\Internal\Message +{ + /** + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + * + * Generated from protobuf field string dimension_name = 1; + */ + protected $dimension_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $dimension_name + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + * + * Generated from protobuf field string dimension_name = 1; + * @return string + */ + public function getDimensionName() + { + return $this->dimension_name; + } + + /** + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + * + * Generated from protobuf field string dimension_name = 1; + * @param string $var + * @return $this + */ + public function setDimensionName($var) + { + GPBUtil::checkString($var, True); + $this->dimension_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionHeader.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionHeader.php new file mode 100644 index 000000000000..532c00211116 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionHeader.php @@ -0,0 +1,70 @@ +google.analytics.admin.v1alpha.AccessDimensionHeader + */ +class AccessDimensionHeader extends \Google\Protobuf\Internal\Message +{ + /** + * The dimension's name; for example 'userEmail'. + * + * Generated from protobuf field string dimension_name = 1; + */ + protected $dimension_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $dimension_name + * The dimension's name; for example 'userEmail'. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The dimension's name; for example 'userEmail'. + * + * Generated from protobuf field string dimension_name = 1; + * @return string + */ + public function getDimensionName() + { + return $this->dimension_name; + } + + /** + * The dimension's name; for example 'userEmail'. + * + * Generated from protobuf field string dimension_name = 1; + * @param string $var + * @return $this + */ + public function setDimensionName($var) + { + GPBUtil::checkString($var, True); + $this->dimension_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionValue.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionValue.php new file mode 100644 index 000000000000..12eca0057dc3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionValue.php @@ -0,0 +1,71 @@ +google.analytics.admin.v1alpha.AccessDimensionValue + */ +class AccessDimensionValue extends \Google\Protobuf\Internal\Message +{ + /** + * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + * + * Generated from protobuf field string value = 1; + */ + protected $value = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $value + * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + * + * Generated from protobuf field string value = 1; + * @return string + */ + public function getValue() + { + return $this->value; + } + + /** + * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + * + * Generated from protobuf field string value = 1; + * @param string $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkString($var, True); + $this->value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilter.php new file mode 100644 index 000000000000..f168f8a5b5ae --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilter.php @@ -0,0 +1,208 @@ +google.analytics.admin.v1alpha.AccessFilter + */ +class AccessFilter extends \Google\Protobuf\Internal\Message +{ + /** + * The dimension name or metric name. + * + * Generated from protobuf field string field_name = 1; + */ + protected $field_name = ''; + protected $one_filter; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AccessStringFilter $string_filter + * Strings related filter. + * @type \Google\Analytics\Admin\V1alpha\AccessInListFilter $in_list_filter + * A filter for in list values. + * @type \Google\Analytics\Admin\V1alpha\AccessNumericFilter $numeric_filter + * A filter for numeric or date values. + * @type \Google\Analytics\Admin\V1alpha\AccessBetweenFilter $between_filter + * A filter for two values. + * @type string $field_name + * The dimension name or metric name. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * Strings related filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; + * @return \Google\Analytics\Admin\V1alpha\AccessStringFilter|null + */ + public function getStringFilter() + { + return $this->readOneof(2); + } + + public function hasStringFilter() + { + return $this->hasOneof(2); + } + + /** + * Strings related filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; + * @param \Google\Analytics\Admin\V1alpha\AccessStringFilter $var + * @return $this + */ + public function setStringFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessStringFilter::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * A filter for in list values. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; + * @return \Google\Analytics\Admin\V1alpha\AccessInListFilter|null + */ + public function getInListFilter() + { + return $this->readOneof(3); + } + + public function hasInListFilter() + { + return $this->hasOneof(3); + } + + /** + * A filter for in list values. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; + * @param \Google\Analytics\Admin\V1alpha\AccessInListFilter $var + * @return $this + */ + public function setInListFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessInListFilter::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * A filter for numeric or date values. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; + * @return \Google\Analytics\Admin\V1alpha\AccessNumericFilter|null + */ + public function getNumericFilter() + { + return $this->readOneof(4); + } + + public function hasNumericFilter() + { + return $this->hasOneof(4); + } + + /** + * A filter for numeric or date values. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; + * @param \Google\Analytics\Admin\V1alpha\AccessNumericFilter $var + * @return $this + */ + public function setNumericFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessNumericFilter::class); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * A filter for two values. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; + * @return \Google\Analytics\Admin\V1alpha\AccessBetweenFilter|null + */ + public function getBetweenFilter() + { + return $this->readOneof(5); + } + + public function hasBetweenFilter() + { + return $this->hasOneof(5); + } + + /** + * A filter for two values. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; + * @param \Google\Analytics\Admin\V1alpha\AccessBetweenFilter $var + * @return $this + */ + public function setBetweenFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessBetweenFilter::class); + $this->writeOneof(5, $var); + + return $this; + } + + /** + * The dimension name or metric name. + * + * Generated from protobuf field string field_name = 1; + * @return string + */ + public function getFieldName() + { + return $this->field_name; + } + + /** + * The dimension name or metric name. + * + * Generated from protobuf field string field_name = 1; + * @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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpression.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpression.php new file mode 100644 index 000000000000..528fafb56d4d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpression.php @@ -0,0 +1,178 @@ +google.analytics.admin.v1alpha.AccessFilterExpression + */ +class AccessFilterExpression extends \Google\Protobuf\Internal\Message +{ + protected $one_expression; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList $and_group + * Each of the FilterExpressions in the and_group has an AND relationship. + * @type \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList $or_group + * Each of the FilterExpressions in the or_group has an OR relationship. + * @type \Google\Analytics\Admin\V1alpha\AccessFilterExpression $not_expression + * The FilterExpression is NOT of not_expression. + * @type \Google\Analytics\Admin\V1alpha\AccessFilter $access_filter + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * Each of the FilterExpressions in the and_group has an AND relationship. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; + * @return \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList|null + */ + public function getAndGroup() + { + return $this->readOneof(1); + } + + public function hasAndGroup() + { + return $this->hasOneof(1); + } + + /** + * Each of the FilterExpressions in the and_group has an AND relationship. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; + * @param \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList $var + * @return $this + */ + public function setAndGroup($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * Each of the FilterExpressions in the or_group has an OR relationship. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; + * @return \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList|null + */ + public function getOrGroup() + { + return $this->readOneof(2); + } + + public function hasOrGroup() + { + return $this->hasOneof(2); + } + + /** + * Each of the FilterExpressions in the or_group has an OR relationship. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; + * @param \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList $var + * @return $this + */ + public function setOrGroup($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * The FilterExpression is NOT of not_expression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; + * @return \Google\Analytics\Admin\V1alpha\AccessFilterExpression|null + */ + public function getNotExpression() + { + return $this->readOneof(3); + } + + public function hasNotExpression() + { + return $this->hasOneof(3); + } + + /** + * The FilterExpression is NOT of not_expression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; + * @param \Google\Analytics\Admin\V1alpha\AccessFilterExpression $var + * @return $this + */ + public function setNotExpression($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessFilterExpression::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; + * @return \Google\Analytics\Admin\V1alpha\AccessFilter|null + */ + public function getAccessFilter() + { + return $this->readOneof(4); + } + + public function hasAccessFilter() + { + return $this->hasOneof(4); + } + + /** + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; + * @param \Google\Analytics\Admin\V1alpha\AccessFilter $var + * @return $this + */ + public function setAccessFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessFilter::class); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * @return string + */ + public function getOneExpression() + { + return $this->whichOneof("one_expression"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpressionList.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpressionList.php new file mode 100644 index 000000000000..bd5564b2d455 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpressionList.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1alpha.AccessFilterExpressionList + */ +class AccessFilterExpressionList extends \Google\Protobuf\Internal\Message +{ + /** + * A list of filter expressions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; + */ + private $expressions; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AccessFilterExpression[] $expressions + * A list of filter expressions. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * A list of filter expressions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessFilterExpression> + */ + public function getExpressions() + { + return $this->expressions; + } + + /** + * A list of filter expressions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; + * @param \Google\Analytics\Admin\V1alpha\AccessFilterExpression[] $var + * @return $this + */ + public function setExpressions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessFilterExpression::class); + $this->expressions = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessInListFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessInListFilter.php new file mode 100644 index 000000000000..a0b583776621 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessInListFilter.php @@ -0,0 +1,101 @@ +google.analytics.admin.v1alpha.AccessInListFilter + */ +class AccessInListFilter extends \Google\Protobuf\Internal\Message +{ + /** + * The list of string values. Must be non-empty. + * + * Generated from protobuf field repeated string values = 1; + */ + private $values; + /** + * If true, the string value is case sensitive. + * + * Generated from protobuf field bool case_sensitive = 2; + */ + protected $case_sensitive = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $values + * The list of string values. Must be non-empty. + * @type bool $case_sensitive + * If true, the string value is case sensitive. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The list of string values. Must be non-empty. + * + * Generated from protobuf field repeated string values = 1; + * @return RepeatedField + */ + public function getValues() + { + return $this->values; + } + + /** + * The list of string values. Must be non-empty. + * + * Generated from protobuf field repeated string values = 1; + * @param string[] $var + * @return $this + */ + public function setValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->values = $arr; + + return $this; + } + + /** + * If true, the string value is case sensitive. + * + * Generated from protobuf field bool case_sensitive = 2; + * @return bool + */ + public function getCaseSensitive() + { + return $this->case_sensitive; + } + + /** + * If true, the string value is case sensitive. + * + * Generated from protobuf field bool case_sensitive = 2; + * @param bool $var + * @return $this + */ + public function setCaseSensitive($var) + { + GPBUtil::checkBool($var); + $this->case_sensitive = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetric.php new file mode 100644 index 000000000000..9328a47b19bb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetric.php @@ -0,0 +1,80 @@ +google.analytics.admin.v1alpha.AccessMetric + */ +class AccessMetric extends \Google\Protobuf\Internal\Message +{ + /** + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + * + * Generated from protobuf field string metric_name = 1; + */ + protected $metric_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $metric_name + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + * + * Generated from protobuf field string metric_name = 1; + * @return string + */ + public function getMetricName() + { + return $this->metric_name; + } + + /** + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + * + * Generated from protobuf field string metric_name = 1; + * @param string $var + * @return $this + */ + public function setMetricName($var) + { + GPBUtil::checkString($var, True); + $this->metric_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricHeader.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricHeader.php new file mode 100644 index 000000000000..aacfd81d2cad --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricHeader.php @@ -0,0 +1,70 @@ +google.analytics.admin.v1alpha.AccessMetricHeader + */ +class AccessMetricHeader extends \Google\Protobuf\Internal\Message +{ + /** + * The metric's name; for example 'accessCount'. + * + * Generated from protobuf field string metric_name = 1; + */ + protected $metric_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $metric_name + * The metric's name; for example 'accessCount'. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The metric's name; for example 'accessCount'. + * + * Generated from protobuf field string metric_name = 1; + * @return string + */ + public function getMetricName() + { + return $this->metric_name; + } + + /** + * The metric's name; for example 'accessCount'. + * + * Generated from protobuf field string metric_name = 1; + * @param string $var + * @return $this + */ + public function setMetricName($var) + { + GPBUtil::checkString($var, True); + $this->metric_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricValue.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricValue.php new file mode 100644 index 000000000000..8749fdc06b93 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricValue.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1alpha.AccessMetricValue + */ +class AccessMetricValue extends \Google\Protobuf\Internal\Message +{ + /** + * The measurement value. For example, this value may be '13'. + * + * Generated from protobuf field string value = 1; + */ + protected $value = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $value + * The measurement value. For example, this value may be '13'. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The measurement value. For example, this value may be '13'. + * + * Generated from protobuf field string value = 1; + * @return string + */ + public function getValue() + { + return $this->value; + } + + /** + * The measurement value. For example, this value may be '13'. + * + * Generated from protobuf field string value = 1; + * @param string $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkString($var, True); + $this->value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter.php new file mode 100644 index 000000000000..f7231becd361 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter.php @@ -0,0 +1,111 @@ +google.analytics.admin.v1alpha.AccessNumericFilter + */ +class AccessNumericFilter extends \Google\Protobuf\Internal\Message +{ + /** + * The operation type for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; + */ + protected $operation = 0; + /** + * A numeric value or a date value. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue value = 2; + */ + protected $value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $operation + * The operation type for this filter. + * @type \Google\Analytics\Admin\V1alpha\NumericValue $value + * A numeric value or a date value. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The operation type for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; + * @return int + */ + public function getOperation() + { + return $this->operation; + } + + /** + * The operation type for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; + * @param int $var + * @return $this + */ + public function setOperation($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AccessNumericFilter\Operation::class); + $this->operation = $var; + + return $this; + } + + /** + * A numeric value or a date value. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue value = 2; + * @return \Google\Analytics\Admin\V1alpha\NumericValue|null + */ + public function getValue() + { + return $this->value; + } + + public function hasValue() + { + return isset($this->value); + } + + public function clearValue() + { + unset($this->value); + } + + /** + * A numeric value or a date value. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue value = 2; + * @param \Google\Analytics\Admin\V1alpha\NumericValue $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\NumericValue::class); + $this->value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter/Operation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter/Operation.php new file mode 100644 index 000000000000..81881d837c40 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter/Operation.php @@ -0,0 +1,82 @@ +google.analytics.admin.v1alpha.AccessNumericFilter.Operation + */ +class Operation +{ + /** + * Unspecified. + * + * Generated from protobuf enum OPERATION_UNSPECIFIED = 0; + */ + const OPERATION_UNSPECIFIED = 0; + /** + * Equal + * + * Generated from protobuf enum EQUAL = 1; + */ + const EQUAL = 1; + /** + * Less than + * + * 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) + { + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy.php new file mode 100644 index 000000000000..c06f123c12ae --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy.php @@ -0,0 +1,148 @@ +google.analytics.admin.v1alpha.AccessOrderBy + */ +class AccessOrderBy extends \Google\Protobuf\Internal\Message +{ + /** + * If true, sorts by descending order. If false or unspecified, sorts in + * ascending order. + * + * Generated from protobuf field bool desc = 3; + */ + protected $desc = false; + protected $one_order_by; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AccessOrderBy\MetricOrderBy $metric + * Sorts results by a metric's values. + * @type \Google\Analytics\Admin\V1alpha\AccessOrderBy\DimensionOrderBy $dimension + * Sorts results by a dimension's values. + * @type bool $desc + * If true, sorts by descending order. If false or unspecified, sorts in + * ascending order. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * Sorts results by a metric's values. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; + * @return \Google\Analytics\Admin\V1alpha\AccessOrderBy\MetricOrderBy|null + */ + public function getMetric() + { + return $this->readOneof(1); + } + + public function hasMetric() + { + return $this->hasOneof(1); + } + + /** + * Sorts results by a metric's values. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; + * @param \Google\Analytics\Admin\V1alpha\AccessOrderBy\MetricOrderBy $var + * @return $this + */ + public function setMetric($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessOrderBy\MetricOrderBy::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * Sorts results by a dimension's values. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; + * @return \Google\Analytics\Admin\V1alpha\AccessOrderBy\DimensionOrderBy|null + */ + public function getDimension() + { + return $this->readOneof(2); + } + + public function hasDimension() + { + return $this->hasOneof(2); + } + + /** + * Sorts results by a dimension's values. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; + * @param \Google\Analytics\Admin\V1alpha\AccessOrderBy\DimensionOrderBy $var + * @return $this + */ + public function setDimension($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessOrderBy\DimensionOrderBy::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * If true, sorts by descending order. If false or unspecified, sorts in + * ascending order. + * + * Generated from protobuf field bool desc = 3; + * @return bool + */ + public function getDesc() + { + return $this->desc; + } + + /** + * If true, sorts by descending order. If false or unspecified, sorts in + * ascending order. + * + * Generated from protobuf field bool desc = 3; + * @param bool $var + * @return $this + */ + public function setDesc($var) + { + GPBUtil::checkBool($var); + $this->desc = $var; + + return $this; + } + + /** + * @return string + */ + public function getOneOrderBy() + { + return $this->whichOneof("one_order_by"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy.php new file mode 100644 index 000000000000..c5466f1b10ff --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy.php @@ -0,0 +1,101 @@ +google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy + */ +class DimensionOrderBy extends \Google\Protobuf\Internal\Message +{ + /** + * A dimension name in the request to order by. + * + * Generated from protobuf field string dimension_name = 1; + */ + protected $dimension_name = ''; + /** + * Controls the rule for dimension value ordering. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + */ + protected $order_type = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $dimension_name + * A dimension name in the request to order by. + * @type int $order_type + * Controls the rule for dimension value ordering. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * A dimension name in the request to order by. + * + * Generated from protobuf field string dimension_name = 1; + * @return string + */ + public function getDimensionName() + { + return $this->dimension_name; + } + + /** + * A dimension name in the request to order by. + * + * Generated from protobuf field string dimension_name = 1; + * @param string $var + * @return $this + */ + public function setDimensionName($var) + { + GPBUtil::checkString($var, True); + $this->dimension_name = $var; + + return $this; + } + + /** + * Controls the rule for dimension value ordering. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * @return int + */ + public function getOrderType() + { + return $this->order_type; + } + + /** + * Controls the rule for dimension value ordering. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * @param int $var + * @return $this + */ + public function setOrderType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AccessOrderBy\DimensionOrderBy\OrderType::class); + $this->order_type = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy/OrderType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy/OrderType.php new file mode 100644 index 000000000000..7740ff2627c0 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy/OrderType.php @@ -0,0 +1,73 @@ +google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType + */ +class OrderType +{ + /** + * Unspecified. + * + * Generated from protobuf enum ORDER_TYPE_UNSPECIFIED = 0; + */ + const ORDER_TYPE_UNSPECIFIED = 0; + /** + * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" < + * "b" < "z". + * + * Generated from protobuf enum ALPHANUMERIC = 1; + */ + const ALPHANUMERIC = 1; + /** + * Case insensitive alphanumeric sort by lower case Unicode code point. + * For example, "2" < "A" < "b" < "X" < "z". + * + * Generated from protobuf enum CASE_INSENSITIVE_ALPHANUMERIC = 2; + */ + const CASE_INSENSITIVE_ALPHANUMERIC = 2; + /** + * Dimension values are converted to numbers before sorting. For example + * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" < + * "25". Non-numeric dimension values all have equal ordering value below + * all numeric values. + * + * Generated from protobuf enum NUMERIC = 3; + */ + const NUMERIC = 3; + + private static $valueToName = [ + self::ORDER_TYPE_UNSPECIFIED => 'ORDER_TYPE_UNSPECIFIED', + self::ALPHANUMERIC => 'ALPHANUMERIC', + self::CASE_INSENSITIVE_ALPHANUMERIC => 'CASE_INSENSITIVE_ALPHANUMERIC', + self::NUMERIC => 'NUMERIC', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/MetricOrderBy.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/MetricOrderBy.php new file mode 100644 index 000000000000..da99d9d38fcf --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/MetricOrderBy.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy + */ +class MetricOrderBy extends \Google\Protobuf\Internal\Message +{ + /** + * A metric name in the request to order by. + * + * Generated from protobuf field string metric_name = 1; + */ + protected $metric_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $metric_name + * A metric name in the request to order by. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * A metric name in the request to order by. + * + * Generated from protobuf field string metric_name = 1; + * @return string + */ + public function getMetricName() + { + return $this->metric_name; + } + + /** + * A metric name in the request to order by. + * + * Generated from protobuf field string metric_name = 1; + * @param string $var + * @return $this + */ + public function setMetricName($var) + { + GPBUtil::checkString($var, True); + $this->metric_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuota.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuota.php new file mode 100644 index 000000000000..b03e73c8208a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuota.php @@ -0,0 +1,283 @@ +google.analytics.admin.v1alpha.AccessQuota + */ +class AccessQuota extends \Google\Protobuf\Internal\Message +{ + /** + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; + */ + protected $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 all of the hourly, + * daily, and per project hourly quotas. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; + */ + protected $tokens_per_hour = null; + /** + * Properties can use up to 50 concurrent requests. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; + */ + protected $concurrent_requests = null; + /** + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + */ + protected $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; + */ + protected $tokens_per_project_per_hour = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AccessQuotaStatus $tokens_per_day + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 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 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) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; + * @return \Google\Analytics\Admin\V1alpha\AccessQuotaStatus|null + */ + public function getTokensPerDay() + { + return $this->tokens_per_day; + } + + public function hasTokensPerDay() + { + return isset($this->tokens_per_day); + } + + public function clearTokensPerDay() + { + unset($this->tokens_per_day); + } + + /** + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; + * @param \Google\Analytics\Admin\V1alpha\AccessQuotaStatus $var + * @return $this + */ + public function setTokensPerDay($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessQuotaStatus::class); + $this->tokens_per_day = $var; + + return $this; + } + + /** + * Properties can use 50,000 tokens 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_hour = 2; + * @return \Google\Analytics\Admin\V1alpha\AccessQuotaStatus|null + */ + public function getTokensPerHour() + { + return $this->tokens_per_hour; + } + + public function hasTokensPerHour() + { + return isset($this->tokens_per_hour); + } + + public function clearTokensPerHour() + { + unset($this->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 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 + * @return $this + */ + public function setTokensPerHour($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessQuotaStatus::class); + $this->tokens_per_hour = $var; + + return $this; + } + + /** + * Properties can use up to 50 concurrent requests. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; + * @return \Google\Analytics\Admin\V1alpha\AccessQuotaStatus|null + */ + public function getConcurrentRequests() + { + return $this->concurrent_requests; + } + + public function hasConcurrentRequests() + { + return isset($this->concurrent_requests); + } + + public function clearConcurrentRequests() + { + unset($this->concurrent_requests); + } + + /** + * Properties can use up to 50 concurrent requests. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; + * @param \Google\Analytics\Admin\V1alpha\AccessQuotaStatus $var + * @return $this + */ + public function setConcurrentRequests($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessQuotaStatus::class); + $this->concurrent_requests = $var; + + return $this; + } + + /** + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * @return \Google\Analytics\Admin\V1alpha\AccessQuotaStatus|null + */ + public function getServerErrorsPerProjectPerHour() + { + return $this->server_errors_per_project_per_hour; + } + + public function hasServerErrorsPerProjectPerHour() + { + return isset($this->server_errors_per_project_per_hour); + } + + public function clearServerErrorsPerProjectPerHour() + { + unset($this->server_errors_per_project_per_hour); + } + + /** + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * @param \Google\Analytics\Admin\V1alpha\AccessQuotaStatus $var + * @return $this + */ + public function setServerErrorsPerProjectPerHour($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessQuotaStatus::class); + $this->server_errors_per_project_per_hour = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuotaStatus.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuotaStatus.php new file mode 100644 index 000000000000..26530a02d953 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuotaStatus.php @@ -0,0 +1,101 @@ +google.analytics.admin.v1alpha.AccessQuotaStatus + */ +class AccessQuotaStatus extends \Google\Protobuf\Internal\Message +{ + /** + * Quota consumed by this request. + * + * Generated from protobuf field int32 consumed = 1; + */ + protected $consumed = 0; + /** + * Quota remaining after this request. + * + * Generated from protobuf field int32 remaining = 2; + */ + protected $remaining = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $consumed + * Quota consumed by this request. + * @type int $remaining + * Quota remaining after this request. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * Quota consumed by this request. + * + * Generated from protobuf field int32 consumed = 1; + * @return int + */ + public function getConsumed() + { + return $this->consumed; + } + + /** + * Quota consumed by this request. + * + * Generated from protobuf field int32 consumed = 1; + * @param int $var + * @return $this + */ + public function setConsumed($var) + { + GPBUtil::checkInt32($var); + $this->consumed = $var; + + return $this; + } + + /** + * Quota remaining after this request. + * + * Generated from protobuf field int32 remaining = 2; + * @return int + */ + public function getRemaining() + { + return $this->remaining; + } + + /** + * Quota remaining after this request. + * + * Generated from protobuf field int32 remaining = 2; + * @param int $var + * @return $this + */ + public function setRemaining($var) + { + GPBUtil::checkInt32($var); + $this->remaining = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessRow.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessRow.php new file mode 100644 index 000000000000..8b806fee0b6b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessRow.php @@ -0,0 +1,109 @@ +google.analytics.admin.v1alpha.AccessRow + */ +class AccessRow extends \Google\Protobuf\Internal\Message +{ + /** + * List of dimension values. These values are in the same order as specified + * in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + */ + private $dimension_values; + /** + * List of metric values. These values are in the same order as specified + * in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2; + */ + private $metric_values; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AccessDimensionValue[] $dimension_values + * List of dimension values. These values are in the same order as specified + * in the request. + * @type \Google\Analytics\Admin\V1alpha\AccessMetricValue[] $metric_values + * List of metric values. These values are in the same order as specified + * in the request. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * List of dimension values. These values are in the same order as specified + * in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessDimensionValue> + */ + public function getDimensionValues() + { + return $this->dimension_values; + } + + /** + * List of dimension values. These values are in the same order as specified + * in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; + * @param \Google\Analytics\Admin\V1alpha\AccessDimensionValue[] $var + * @return $this + */ + public function setDimensionValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessDimensionValue::class); + $this->dimension_values = $arr; + + return $this; + } + + /** + * List of metric values. These values are in the same order as specified + * in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessMetricValue> + */ + public function getMetricValues() + { + return $this->metric_values; + } + + /** + * List of metric values. These values are in the same order as specified + * in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2; + * @param \Google\Analytics\Admin\V1alpha\AccessMetricValue[] $var + * @return $this + */ + public function setMetricValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessMetricValue::class); + $this->metric_values = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter.php new file mode 100644 index 000000000000..fd41fc2d2efc --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter.php @@ -0,0 +1,135 @@ +google.analytics.admin.v1alpha.AccessStringFilter + */ +class AccessStringFilter extends \Google\Protobuf\Internal\Message +{ + /** + * The match type for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; + */ + protected $match_type = 0; + /** + * The string value used for the matching. + * + * Generated from protobuf field string value = 2; + */ + protected $value = ''; + /** + * If true, the string value is case sensitive. + * + * Generated from protobuf field bool case_sensitive = 3; + */ + protected $case_sensitive = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $match_type + * The match type for this filter. + * @type string $value + * The string value used for the matching. + * @type bool $case_sensitive + * If true, the string value is case sensitive. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The match type for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; + * @return int + */ + public function getMatchType() + { + return $this->match_type; + } + + /** + * The match type for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; + * @param int $var + * @return $this + */ + public function setMatchType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AccessStringFilter\MatchType::class); + $this->match_type = $var; + + return $this; + } + + /** + * The string value used for the matching. + * + * Generated from protobuf field string value = 2; + * @return string + */ + public function getValue() + { + return $this->value; + } + + /** + * The string value used for the matching. + * + * Generated from protobuf field string value = 2; + * @param string $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkString($var, True); + $this->value = $var; + + return $this; + } + + /** + * If true, the string value is case sensitive. + * + * Generated from protobuf field bool case_sensitive = 3; + * @return bool + */ + public function getCaseSensitive() + { + return $this->case_sensitive; + } + + /** + * If true, the string value is case sensitive. + * + * Generated from protobuf field bool case_sensitive = 3; + * @param bool $var + * @return $this + */ + public function setCaseSensitive($var) + { + GPBUtil::checkBool($var); + $this->case_sensitive = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter/MatchType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter/MatchType.php new file mode 100644 index 000000000000..27a674807817 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter/MatchType.php @@ -0,0 +1,89 @@ +google.analytics.admin.v1alpha.AccessStringFilter.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; + /** + * Begins with the string value. + * + * Generated from protobuf enum BEGINS_WITH = 2; + */ + const BEGINS_WITH = 2; + /** + * Ends with the string value. + * + * Generated from protobuf enum ENDS_WITH = 3; + */ + const ENDS_WITH = 3; + /** + * Contains the string value. + * + * Generated from protobuf enum CONTAINS = 4; + */ + const CONTAINS = 4; + /** + * Full match for the regular expression with the string value. + * + * Generated from protobuf enum FULL_REGEXP = 5; + */ + const FULL_REGEXP = 5; + /** + * Partial match for the regular expression 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', + self::EXACT => 'EXACT', + self::BEGINS_WITH => 'BEGINS_WITH', + self::ENDS_WITH => 'ENDS_WITH', + self::CONTAINS => 'CONTAINS', + self::FULL_REGEXP => 'FULL_REGEXP', + self::PARTIAL_REGEXP => 'PARTIAL_REGEXP', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Account.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Account.php new file mode 100644 index 000000000000..45614624eb02 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Account.php @@ -0,0 +1,311 @@ +google.analytics.admin.v1alpha.Account + */ +class Account extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name of this account. + * Format: accounts/{account} + * Example: "accounts/100" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Output only. Time when this account was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. Time when account payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + /** + * Required. Human-readable display name for this account. + * + * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Country of business. Must be a Unicode CLDR region code. + * + * Generated from protobuf field string region_code = 5; + */ + protected $region_code = ''; + /** + * Output only. Indicates whether this Account is soft-deleted or not. Deleted + * accounts are excluded from List results unless specifically requested. + * + * Generated from protobuf field bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $deleted = false; + /** + * Output only. The URI for a Google Marketing Platform organization resource. + * Only set when this account is connected to a GMP organization. + * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} + * + * Generated from protobuf field string gmp_organization = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $gmp_organization = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Resource name of this account. + * Format: accounts/{account} + * Example: "accounts/100" + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Time when this account was originally created. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. Time when account payload fields were last updated. + * @type string $display_name + * Required. Human-readable display name for this account. + * @type string $region_code + * Country of business. Must be a Unicode CLDR region code. + * @type bool $deleted + * Output only. Indicates whether this Account is soft-deleted or not. Deleted + * accounts are excluded from List results unless specifically requested. + * @type string $gmp_organization + * Output only. The URI for a Google Marketing Platform organization resource. + * Only set when this account is connected to a GMP organization. + * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Resource name of this account. + * Format: accounts/{account} + * Example: "accounts/100" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name of this account. + * Format: accounts/{account} + * Example: "accounts/100" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Time when this account was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.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 this account was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.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; + } + + /** + * Output only. Time when account payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. Time when account payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * Required. Human-readable display name for this account. + * + * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Required. Human-readable display name for this account. + * + * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Country of business. Must be a Unicode CLDR region code. + * + * Generated from protobuf field string region_code = 5; + * @return string + */ + public function getRegionCode() + { + return $this->region_code; + } + + /** + * Country of business. Must be a Unicode CLDR region code. + * + * Generated from protobuf field string region_code = 5; + * @param string $var + * @return $this + */ + public function setRegionCode($var) + { + GPBUtil::checkString($var, True); + $this->region_code = $var; + + return $this; + } + + /** + * Output only. Indicates whether this Account is soft-deleted or not. Deleted + * accounts are excluded from List results unless specifically requested. + * + * Generated from protobuf field bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getDeleted() + { + return $this->deleted; + } + + /** + * Output only. Indicates whether this Account is soft-deleted or not. Deleted + * accounts are excluded from List results unless specifically requested. + * + * Generated from protobuf field bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setDeleted($var) + { + GPBUtil::checkBool($var); + $this->deleted = $var; + + return $this; + } + + /** + * Output only. The URI for a Google Marketing Platform organization resource. + * Only set when this account is connected to a GMP organization. + * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} + * + * Generated from protobuf field string gmp_organization = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getGmpOrganization() + { + return $this->gmp_organization; + } + + /** + * Output only. The URI for a Google Marketing Platform organization resource. + * Only set when this account is connected to a GMP organization. + * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} + * + * Generated from protobuf field string gmp_organization = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setGmpOrganization($var) + { + GPBUtil::checkString($var, True); + $this->gmp_organization = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccountSummary.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccountSummary.php new file mode 100644 index 000000000000..4da570b20015 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccountSummary.php @@ -0,0 +1,186 @@ +google.analytics.admin.v1alpha.AccountSummary + */ +class AccountSummary extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name for this account summary. + * Format: accountSummaries/{account_id} + * Example: "accountSummaries/1000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Resource name of account referred to by this account summary + * Format: accounts/{account_id} + * Example: "accounts/1000" + * + * Generated from protobuf field string account = 2 [(.google.api.resource_reference) = { + */ + protected $account = ''; + /** + * Display name for the account referred to in this account summary. + * + * Generated from protobuf field string display_name = 3; + */ + protected $display_name = ''; + /** + * List of summaries for child accounts of this account. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; + */ + private $property_summaries; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Resource name for this account summary. + * Format: accountSummaries/{account_id} + * Example: "accountSummaries/1000" + * @type string $account + * Resource name of account referred to by this account summary + * Format: accounts/{account_id} + * Example: "accounts/1000" + * @type string $display_name + * Display name for the account referred to in this account summary. + * @type \Google\Analytics\Admin\V1alpha\PropertySummary[] $property_summaries + * List of summaries for child accounts of this account. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Resource name for this account summary. + * Format: accountSummaries/{account_id} + * Example: "accountSummaries/1000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name for this account summary. + * Format: accountSummaries/{account_id} + * Example: "accountSummaries/1000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Resource name of account referred to by this account summary + * Format: accounts/{account_id} + * Example: "accounts/1000" + * + * Generated from protobuf field string account = 2 [(.google.api.resource_reference) = { + * @return string + */ + public function getAccount() + { + return $this->account; + } + + /** + * Resource name of account referred to by this account summary + * Format: accounts/{account_id} + * Example: "accounts/1000" + * + * Generated from protobuf field string account = 2 [(.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setAccount($var) + { + GPBUtil::checkString($var, True); + $this->account = $var; + + return $this; + } + + /** + * Display name for the account referred to in this account summary. + * + * Generated from protobuf field string display_name = 3; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Display name for the account referred to in this account summary. + * + * Generated from protobuf field string display_name = 3; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * List of summaries for child accounts of this account. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\PropertySummary> + */ + public function getPropertySummaries() + { + return $this->property_summaries; + } + + /** + * List of summaries for child accounts of this account. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; + * @param \Google\Analytics\Admin\V1alpha\PropertySummary[] $var + * @return $this + */ + public function setPropertySummaries($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\PropertySummary::class); + $this->property_summaries = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionRequest.php new file mode 100644 index 000000000000..e85557124784 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionRequest.php @@ -0,0 +1,125 @@ +google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest + */ +class AcknowledgeUserDataCollectionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The property for which to acknowledge user data collection. + * + * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $property = ''; + /** + * 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, + * including the association of such data with the visitation information + * Google Analytics collects from my site and/or app property." + * + * Generated from protobuf field string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $acknowledgement = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @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. + * 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, + * including the association of such data with the visitation information + * Google Analytics collects from my site and/or app property." + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The property for which to acknowledge user data collection. + * + * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getProperty() + { + return $this->property; + } + + /** + * Required. The property for which to acknowledge user data collection. + * + * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkString($var, True); + $this->property = $var; + + return $this; + } + + /** + * 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, + * including the association of such data with the visitation information + * Google Analytics collects from my site and/or app property." + * + * Generated from protobuf field string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getAcknowledgement() + { + return $this->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 + * from my end users for the collection and processing of their data, + * including the association of such data with the visitation information + * Google Analytics collects from my site and/or app property." + * + * Generated from protobuf field string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setAcknowledgement($var) + { + GPBUtil::checkString($var, True); + $this->acknowledgement = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionResponse.php new file mode 100644 index 000000000000..f065b3e83cd6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionResponse.php @@ -0,0 +1,33 @@ +google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse + */ +class AcknowledgeUserDataCollectionResponse 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActionType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActionType.php new file mode 100644 index 000000000000..49253924461b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActionType.php @@ -0,0 +1,68 @@ +google.analytics.admin.v1alpha.ActionType + */ +class ActionType +{ + /** + * Action type unknown or not specified. + * + * Generated from protobuf enum ACTION_TYPE_UNSPECIFIED = 0; + */ + const ACTION_TYPE_UNSPECIFIED = 0; + /** + * Resource was created in this change. + * + * Generated from protobuf enum CREATED = 1; + */ + const CREATED = 1; + /** + * Resource was updated in this change. + * + * Generated from protobuf enum UPDATED = 2; + */ + const UPDATED = 2; + /** + * Resource was deleted in this change. + * + * Generated from protobuf enum DELETED = 3; + */ + const DELETED = 3; + + private static $valueToName = [ + self::ACTION_TYPE_UNSPECIFIED => 'ACTION_TYPE_UNSPECIFIED', + self::CREATED => 'CREATED', + self::UPDATED => 'UPDATED', + self::DELETED => 'DELETED', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActorType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActorType.php new file mode 100644 index 000000000000..f2bc347c5a68 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActorType.php @@ -0,0 +1,69 @@ +google.analytics.admin.v1alpha.ActorType + */ +class ActorType +{ + /** + * Unknown or unspecified actor type. + * + * Generated from protobuf enum ACTOR_TYPE_UNSPECIFIED = 0; + */ + const ACTOR_TYPE_UNSPECIFIED = 0; + /** + * Changes made by the user specified in actor_email. + * + * Generated from protobuf enum USER = 1; + */ + const USER = 1; + /** + * Changes made by the Google Analytics system. + * + * Generated from protobuf enum SYSTEM = 2; + */ + const SYSTEM = 2; + /** + * Changes made by Google Analytics support team staff. + * + * Generated from protobuf enum SUPPORT = 3; + */ + const SUPPORT = 3; + + private static $valueToName = [ + self::ACTOR_TYPE_UNSPECIFIED => 'ACTOR_TYPE_UNSPECIFIED', + self::USER => 'USER', + self::SYSTEM => 'SYSTEM', + self::SUPPORT => 'SUPPORT', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AdSenseLink.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AdSenseLink.php new file mode 100644 index 000000000000..4413d90c3e29 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AdSenseLink.php @@ -0,0 +1,114 @@ +google.analytics.admin.v1alpha.AdSenseLink + */ +class AdSenseLink extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. The resource name for this AdSense Link resource. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/6789 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Immutable. The AdSense ad client code that the Google Analytics property is + * linked to. Example format: "ca-pub-1234567890" + * + * Generated from protobuf field string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $ad_client_code = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. The resource name for this AdSense Link resource. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/6789 + * @type string $ad_client_code + * Immutable. The AdSense ad client code that the Google Analytics property is + * linked to. Example format: "ca-pub-1234567890" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. The resource name for this AdSense Link resource. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/6789 + * + * 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 AdSense Link resource. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/6789 + * + * 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 AdSense ad client code that the Google Analytics property is + * linked to. Example format: "ca-pub-1234567890" + * + * Generated from protobuf field string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getAdClientCode() + { + return $this->ad_client_code; + } + + /** + * Immutable. The AdSense ad client code that the Google Analytics property is + * linked to. Example format: "ca-pub-1234567890" + * + * Generated from protobuf field string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setAdClientCode($var) + { + GPBUtil::checkString($var, True); + $this->ad_client_code = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.php new file mode 100644 index 000000000000..7778387b23c1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.php @@ -0,0 +1,71 @@ +google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest + */ +class ApproveDisplayVideo360AdvertiserLinkProposalRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.php new file mode 100644 index 000000000000..9dc3cecc3a00 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.php @@ -0,0 +1,81 @@ +google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse + */ +class ApproveDisplayVideo360AdvertiserLinkProposalResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The DisplayVideo360AdvertiserLink created as a result of approving the + * proposal. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + */ + protected $display_video_360_advertiser_link = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $display_video_360_advertiser_link + * The DisplayVideo360AdvertiserLink created as a result of approving the + * proposal. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The DisplayVideo360AdvertiserLink created as a result of approving the + * proposal. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink|null + */ + public function getDisplayVideo360AdvertiserLink() + { + return $this->display_video_360_advertiser_link; + } + + public function hasDisplayVideo360AdvertiserLink() + { + return isset($this->display_video_360_advertiser_link); + } + + public function clearDisplayVideo360AdvertiserLink() + { + unset($this->display_video_360_advertiser_link); + } + + /** + * The DisplayVideo360AdvertiserLink created as a result of approving the + * proposal. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $var + * @return $this + */ + public function setDisplayVideo360AdvertiserLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink::class); + $this->display_video_360_advertiser_link = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveAudienceRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveAudienceRequest.php new file mode 100644 index 000000000000..12abda85c8e7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveAudienceRequest.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1alpha.ArchiveAudienceRequest + */ +class ArchiveAudienceRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Example format: properties/1234/audiences/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Example format: properties/1234/audiences/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Example format: properties/1234/audiences/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. Example format: properties/1234/audiences/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomDimensionRequest.php new file mode 100644 index 000000000000..e810fee8cf61 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomDimensionRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest + */ +class ArchiveCustomDimensionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the CustomDimension to archive. + * Example format: properties/1234/customDimensions/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the CustomDimension to archive. + * Example format: properties/1234/customDimensions/5678 + * Please see {@see AnalyticsAdminServiceClient::customDimensionName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ArchiveCustomDimensionRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the CustomDimension to archive. + * Example format: properties/1234/customDimensions/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the CustomDimension to archive. + * Example format: properties/1234/customDimensions/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 CustomDimension to archive. + * Example format: properties/1234/customDimensions/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomMetricRequest.php new file mode 100644 index 000000000000..ff5428c4d5c5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomMetricRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.ArchiveCustomMetricRequest + */ +class ArchiveCustomMetricRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the CustomMetric to archive. + * Example format: properties/1234/customMetrics/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the CustomMetric to archive. + * Example format: properties/1234/customMetrics/5678 + * Please see {@see AnalyticsAdminServiceClient::customMetricName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ArchiveCustomMetricRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the CustomMetric to archive. + * Example format: properties/1234/customMetrics/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the CustomMetric to archive. + * Example format: properties/1234/customMetrics/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 CustomMetric to archive. + * Example format: properties/1234/customMetrics/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings.php new file mode 100644 index 000000000000..2c232db50c15 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings.php @@ -0,0 +1,240 @@ +google.analytics.admin.v1alpha.AttributionSettings + */ +class AttributionSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name of this attribution settings resource. + * Format: properties/{property_id}/attributionSettings + * Example: "properties/1000/attributionSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * 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]; + */ + protected $acquisition_conversion_event_lookback_window = 0; + /** + * 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]; + */ + protected $other_conversion_event_lookback_window = 0; + /** + * 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. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $reporting_attribution_model = 0; + /** + * Required. The Conversion Export Scope for data exported to linked Ads + * Accounts. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $ads_web_conversion_data_export_scope = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name of this attribution settings resource. + * 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. + * @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. + * @type int $reporting_attribution_model + * 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. + * @type int $ads_web_conversion_data_export_scope + * Required. The Conversion Export Scope for data exported to linked Ads + * Accounts. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name of this attribution settings resource. + * Format: properties/{property_id}/attributionSettings + * Example: "properties/1000/attributionSettings" + * + * 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 attribution settings resource. + * Format: properties/{property_id}/attributionSettings + * Example: "properties/1000/attributionSettings" + * + * 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 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 + */ + public function getAcquisitionConversionEventLookbackWindow() + { + return $this->acquisition_conversion_event_lookback_window; + } + + /** + * 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 + * @return $this + */ + public function setAcquisitionConversionEventLookbackWindow($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AttributionSettings\AcquisitionConversionEventLookbackWindow::class); + $this->acquisition_conversion_event_lookback_window = $var; + + return $this; + } + + /** + * 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 + */ + public function getOtherConversionEventLookbackWindow() + { + return $this->other_conversion_event_lookback_window; + } + + /** + * 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 + * @return $this + */ + public function setOtherConversionEventLookbackWindow($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AttributionSettings\OtherConversionEventLookbackWindow::class); + $this->other_conversion_event_lookback_window = $var; + + return $this; + } + + /** + * 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. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getReportingAttributionModel() + { + return $this->reporting_attribution_model; + } + + /** + * 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. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setReportingAttributionModel($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AttributionSettings\ReportingAttributionModel::class); + $this->reporting_attribution_model = $var; + + return $this; + } + + /** + * Required. The Conversion Export Scope for data exported to linked Ads + * Accounts. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getAdsWebConversionDataExportScope() + { + return $this->ads_web_conversion_data_export_scope; + } + + /** + * Required. The Conversion Export Scope for data exported to linked Ads + * Accounts. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setAdsWebConversionDataExportScope($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AttributionSettings\AdsWebConversionDataExportScope::class); + $this->ads_web_conversion_data_export_scope = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AcquisitionConversionEventLookbackWindow.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AcquisitionConversionEventLookbackWindow.php new file mode 100644 index 000000000000..f393e4f8e176 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AcquisitionConversionEventLookbackWindow.php @@ -0,0 +1,63 @@ +google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow + */ +class AcquisitionConversionEventLookbackWindow +{ + /** + * Lookback window size unspecified. + * + * Generated from protobuf enum ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0; + */ + const ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0; + /** + * 7-day lookback window. + * + * Generated from protobuf enum ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS = 1; + */ + const ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS = 1; + /** + * 30-day lookback window. + * + * Generated from protobuf enum ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 2; + */ + const ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 2; + + private static $valueToName = [ + self::ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED => 'ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED', + self::ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS => 'ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS', + self::ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS => 'ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AdsWebConversionDataExportScope.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AdsWebConversionDataExportScope.php new file mode 100644 index 000000000000..7abd7346b43c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AdsWebConversionDataExportScope.php @@ -0,0 +1,74 @@ +google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope + */ +class AdsWebConversionDataExportScope +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED = 0; + */ + const ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED = 0; + /** + * No data export scope selected yet. + * Export scope can never be changed back to this value. + * + * Generated from protobuf enum NOT_SELECTED_YET = 1; + */ + const NOT_SELECTED_YET = 1; + /** + * Paid and organic channels are eligible to receive conversion credit, but + * only credit assigned to Google Ads channels will appear in your Ads + * accounts. To learn more, see [Paid and Organic + * channels](https://support.google.com/analytics/answer/10632359). + * + * Generated from protobuf enum PAID_AND_ORGANIC_CHANNELS = 2; + */ + const PAID_AND_ORGANIC_CHANNELS = 2; + /** + * Only Google Ads paid channels are eligible to receive conversion credit. + * To learn more, see [Google Paid + * channels](https://support.google.com/analytics/answer/10632359). + * + * Generated from protobuf enum GOOGLE_PAID_CHANNELS = 3; + */ + const GOOGLE_PAID_CHANNELS = 3; + + private static $valueToName = [ + self::ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED => 'ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED', + self::NOT_SELECTED_YET => 'NOT_SELECTED_YET', + self::PAID_AND_ORGANIC_CHANNELS => 'PAID_AND_ORGANIC_CHANNELS', + self::GOOGLE_PAID_CHANNELS => 'GOOGLE_PAID_CHANNELS', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/OtherConversionEventLookbackWindow.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/OtherConversionEventLookbackWindow.php new file mode 100644 index 000000000000..6d2c5f48dd85 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/OtherConversionEventLookbackWindow.php @@ -0,0 +1,70 @@ +google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow + */ +class OtherConversionEventLookbackWindow +{ + /** + * Lookback window size unspecified. + * + * Generated from protobuf enum OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0; + */ + const OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0; + /** + * 30-day lookback window. + * + * Generated from protobuf enum OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 1; + */ + const OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 1; + /** + * 60-day lookback window. + * + * Generated from protobuf enum OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS = 2; + */ + const OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS = 2; + /** + * 90-day lookback window. + * + * Generated from protobuf enum OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS = 3; + */ + const OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS = 3; + + private static $valueToName = [ + self::OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED => 'OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED', + self::OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS => 'OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS', + self::OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS => 'OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS', + self::OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS => 'OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/ReportingAttributionModel.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/ReportingAttributionModel.php new file mode 100644 index 000000000000..a47adcb83c0d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/ReportingAttributionModel.php @@ -0,0 +1,77 @@ +google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel + */ +class ReportingAttributionModel +{ + /** + * Reporting attribution model unspecified. + * + * Generated from protobuf enum REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED = 0; + */ + const REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED = 0; + /** + * Data-driven attribution distributes credit for the conversion based on + * data for each conversion event. Each Data-driven model is specific to + * each advertiser and each conversion event. + * Previously CROSS_CHANNEL_DATA_DRIVEN + * + * Generated from protobuf enum PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN = 1; + */ + const PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN = 1; + /** + * Ignores direct traffic and attributes 100% of the conversion value to the + * last channel that the customer clicked through (or engaged view through + * for YouTube) before converting. + * Previously CROSS_CHANNEL_LAST_CLICK + * + * Generated from protobuf enum PAID_AND_ORGANIC_CHANNELS_LAST_CLICK = 2; + */ + const PAID_AND_ORGANIC_CHANNELS_LAST_CLICK = 2; + /** + * Attributes 100% of the conversion value to the last Google Paid channel + * that the customer clicked through before converting. + * Previously ADS_PREFERRED_LAST_CLICK + * + * Generated from protobuf enum GOOGLE_PAID_CHANNELS_LAST_CLICK = 7; + */ + const GOOGLE_PAID_CHANNELS_LAST_CLICK = 7; + + private static $valueToName = [ + self::REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED => 'REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED', + self::PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN => 'PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN', + self::PAID_AND_ORGANIC_CHANNELS_LAST_CLICK => 'PAID_AND_ORGANIC_CHANNELS_LAST_CLICK', + self::GOOGLE_PAID_CHANNELS_LAST_CLICK => 'GOOGLE_PAID_CHANNELS_LAST_CLICK', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience.php new file mode 100644 index 000000000000..39d1ae00122b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience.php @@ -0,0 +1,387 @@ +google.analytics.admin.v1alpha.Audience + */ +class Audience extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. The resource name for this Audience resource. + * Format: properties/{propertyId}/audiences/{audienceId} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Required. The display name of the Audience. + * + * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Required. The description of the Audience. + * + * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $description = ''; + /** + * 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]; + */ + protected $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. + * + * Generated from protobuf field bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $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. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $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. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $exclusion_duration_mode = 0; + /** + * 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]; + */ + private $filter_clauses; + /** + * Output only. Time when the Audience was created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. The resource name for this Audience resource. + * Format: properties/{propertyId}/audiences/{audienceId} + * @type string $display_name + * Required. The display name of the Audience. + * @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. + * @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. + * @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. + * @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. + * @type \Google\Analytics\Admin\V1alpha\AudienceFilterClause[] $filter_clauses + * Required. Immutable. Unordered list. Filter clauses that define the + * Audience. All clauses will be AND’ed together. + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Time when the Audience was created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); + parent::__construct($data); + } + + /** + * Output only. The resource name for this Audience resource. + * Format: properties/{propertyId}/audiences/{audienceId} + * + * 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 Audience resource. + * Format: properties/{propertyId}/audiences/{audienceId} + * + * 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 Audience. + * + * 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 Audience. + * + * 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; + } + + /** + * Required. The description of the Audience. + * + * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDescription() + { + return $this->description; + } + + /** + * Required. The description of the Audience. + * + * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * 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 + */ + public function getMembershipDurationDays() + { + return $this->membership_duration_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 + * @return $this + */ + public function setMembershipDurationDays($var) + { + GPBUtil::checkInt32($var); + $this->membership_duration_days = $var; + + return $this; + } + + /** + * 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 + */ + public function getAdsPersonalizationEnabled() + { + return $this->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. + * + * Generated from protobuf field bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setAdsPersonalizationEnabled($var) + { + GPBUtil::checkBool($var); + $this->ads_personalization_enabled = $var; + + return $this; + } + + /** + * 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 + */ + public function getEventTrigger() + { + return $this->event_trigger; + } + + public function hasEventTrigger() + { + return isset($this->event_trigger); + } + + public function clearEventTrigger() + { + unset($this->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. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Admin\V1alpha\AudienceEventTrigger $var + * @return $this + */ + public function setEventTrigger($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceEventTrigger::class); + $this->event_trigger = $var; + + return $this; + } + + /** + * 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 + */ + public function getExclusionDurationMode() + { + return $this->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. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * @param int $var + * @return $this + */ + public function setExclusionDurationMode($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\Audience\AudienceExclusionDurationMode::class); + $this->exclusion_duration_mode = $var; + + return $this; + } + + /** + * 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 RepeatedField<\Google\Analytics\Admin\V1alpha\AudienceFilterClause> + */ + public function getFilterClauses() + { + return $this->filter_clauses; + } + + /** + * 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 \Google\Analytics\Admin\V1alpha\AudienceFilterClause[] $var + * @return $this + */ + public function setFilterClauses($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AudienceFilterClause::class); + $this->filter_clauses = $arr; + + return $this; + } + + /** + * Output only. Time when the Audience was created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 9 [(.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 Audience was created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 9 [(.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; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience/AudienceExclusionDurationMode.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience/AudienceExclusionDurationMode.php new file mode 100644 index 000000000000..341b0297fecb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience/AudienceExclusionDurationMode.php @@ -0,0 +1,63 @@ +google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode + */ +class AudienceExclusionDurationMode +{ + /** + * Not specified. + * + * Generated from protobuf enum AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED = 0; + */ + const AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED = 0; + /** + * Exclude users from the Audience during periods when they meet the + * filter clause. + * + * Generated from protobuf enum EXCLUDE_TEMPORARILY = 1; + */ + const EXCLUDE_TEMPORARILY = 1; + /** + * Exclude users from the Audience if they've ever met the filter clause. + * + * Generated from protobuf enum EXCLUDE_PERMANENTLY = 2; + */ + const EXCLUDE_PERMANENTLY = 2; + + private static $valueToName = [ + self::AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED => 'AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED', + self::EXCLUDE_TEMPORARILY => 'EXCLUDE_TEMPORARILY', + self::EXCLUDE_PERMANENTLY => 'EXCLUDE_PERMANENTLY', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter.php new file mode 100644 index 000000000000..e72633dcec90 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter.php @@ -0,0 +1,350 @@ +google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter + */ +class AudienceDimensionOrMetricFilter extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Immutable. The dimension name or metric name to filter. If the + * field name refers to a custom dimension or metric, a scope prefix will be + * added to the front of the custom dimensions or metric name. For more on + * scope prefixes or custom dimensions/metrics, reference the [Google + * Analytics Data API documentation] + * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions). + * + * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $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 + * 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. + * + * Generated from protobuf field bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $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 (For example, 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. + * It can only be set when Audience scope is ACROSS_ALL_SESSIONS and cannot be + * greater than 60 days. + * + * Generated from protobuf field int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $in_any_n_day_period = 0; + protected $one_filter; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\StringFilter $string_filter + * A filter for a string-type dimension that matches a particular pattern. + * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\InListFilter $in_list_filter + * A filter for a string dimension that matches a particular list of + * options. + * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericFilter $numeric_filter + * A filter for numeric or date values on a dimension or metric. + * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\BetweenFilter $between_filter + * A filter for numeric or date values between certain values on a dimension + * or metric. + * @type string $field_name + * Required. Immutable. The dimension name or metric name to filter. If the + * field name refers to a custom dimension or metric, a scope prefix will be + * added to the front of the custom dimensions or metric name. For more on + * scope prefixes or custom dimensions/metrics, reference the [Google + * Analytics Data API documentation] + * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions). + * @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 + * 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 (For example, 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. + * It can only be set when Audience scope is ACROSS_ALL_SESSIONS and cannot be + * greater than 60 days. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); + parent::__construct($data); + } + + /** + * A filter for a string-type dimension that matches a particular pattern. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\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.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; + * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\StringFilter $var + * @return $this + */ + public function setStringFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\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.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\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.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; + * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\InListFilter $var + * @return $this + */ + public function setInListFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\InListFilter::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * A filter for numeric or date values on a dimension or metric. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericFilter|null + */ + public function getNumericFilter() + { + return $this->readOneof(4); + } + + public function hasNumericFilter() + { + return $this->hasOneof(4); + } + + /** + * A filter for numeric or date values on a dimension or metric. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; + * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericFilter $var + * @return $this + */ + public function setNumericFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericFilter::class); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * A filter for numeric or date values between certain values on a dimension + * or metric. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\BetweenFilter|null + */ + public function getBetweenFilter() + { + return $this->readOneof(5); + } + + public function hasBetweenFilter() + { + return $this->hasOneof(5); + } + + /** + * A filter for numeric or date values between certain values on a dimension + * or metric. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; + * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\BetweenFilter $var + * @return $this + */ + public function setBetweenFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\BetweenFilter::class); + $this->writeOneof(5, $var); + + return $this; + } + + /** + * Required. Immutable. The dimension name or metric name to filter. If the + * field name refers to a custom dimension or metric, a scope prefix will be + * added to the front of the custom dimensions or metric name. For more on + * scope prefixes or custom dimensions/metrics, reference the [Google + * Analytics Data API documentation] + * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions). + * + * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getFieldName() + { + return $this->field_name; + } + + /** + * Required. Immutable. The dimension name or metric name to filter. If the + * field name refers to a custom dimension or metric, a scope prefix will be + * added to the front of the custom dimensions or metric name. For more on + * scope prefixes or custom dimensions/metrics, reference the [Google + * Analytics Data API documentation] + * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions). + * + * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setFieldName($var) + { + GPBUtil::checkString($var, True); + $this->field_name = $var; + + return $this; + } + + /** + * 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. + * + * Generated from protobuf field bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAtAnyPointInTime() + { + return $this->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 + * 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. + * + * Generated from protobuf field bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAtAnyPointInTime($var) + { + GPBUtil::checkBool($var); + $this->at_any_point_in_time = $var; + + return $this; + } + + /** + * 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 (For example, 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. + * It can only be set when Audience scope is ACROSS_ALL_SESSIONS and cannot be + * greater than 60 days. + * + * Generated from protobuf field int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getInAnyNDayPeriod() + { + return $this->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 (For example, 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. + * It can only be set when Audience scope is ACROSS_ALL_SESSIONS and cannot be + * greater than 60 days. + * + * Generated from protobuf field int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setInAnyNDayPeriod($var) + { + GPBUtil::checkInt32($var); + $this->in_any_n_day_period = $var; + + return $this; + } + + /** + * @return string + */ + public function getOneFilter() + { + return $this->whichOneof("one_filter"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/BetweenFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/BetweenFilter.php new file mode 100644 index 000000000000..ec117fb3d16c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/BetweenFilter.php @@ -0,0 +1,122 @@ +google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter + */ +class BetweenFilter extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Begins with this number, inclusive. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $from_value = null; + /** + * Required. Ends with this number, inclusive. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $to_value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue $from_value + * Required. Begins with this number, inclusive. + * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue $to_value + * Required. Ends with this number, inclusive. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); + parent::__construct($data); + } + + /** + * Required. Begins with this number, inclusive. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue|null + */ + public function getFromValue() + { + return $this->from_value; + } + + public function hasFromValue() + { + return isset($this->from_value); + } + + public function clearFromValue() + { + unset($this->from_value); + } + + /** + * Required. Begins with this number, inclusive. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue $var + * @return $this + */ + public function setFromValue($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue::class); + $this->from_value = $var; + + return $this; + } + + /** + * Required. Ends with this number, inclusive. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue|null + */ + public function getToValue() + { + return $this->to_value; + } + + public function hasToValue() + { + return isset($this->to_value); + } + + public function clearToValue() + { + unset($this->to_value); + } + + /** + * Required. Ends with this number, inclusive. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue $var + * @return $this + */ + public function setToValue($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue::class); + $this->to_value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/InListFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/InListFilter.php new file mode 100644 index 000000000000..c4dc3a281368 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/InListFilter.php @@ -0,0 +1,109 @@ +google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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. + * + * Generated from protobuf field bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $case_sensitive = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::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 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 string[] $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. + * + * 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. + * + * 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; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter.php new file mode 100644 index 000000000000..7492bce9379d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter.php @@ -0,0 +1,111 @@ +google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter + */ +class NumericFilter extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The operation applied to a numeric filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $operation = 0; + /** + * Required. The numeric or date value to match against. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $operation + * Required. The operation applied to a numeric filter. + * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue $value + * Required. The numeric or date value to match against. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); + parent::__construct($data); + } + + /** + * Required. The operation applied to a numeric filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getOperation() + { + return $this->operation; + } + + /** + * Required. The operation applied to a numeric filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setOperation($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericFilter\Operation::class); + $this->operation = $var; + + return $this; + } + + /** + * Required. The numeric or date value to match against. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue|null + */ + public function getValue() + { + return $this->value; + } + + public function hasValue() + { + return isset($this->value); + } + + public function clearValue() + { + unset($this->value); + } + + /** + * Required. The numeric or date value to match against. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue::class); + $this->value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter/Operation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter/Operation.php new file mode 100644 index 000000000000..8fb7df5d71bf --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter/Operation.php @@ -0,0 +1,68 @@ +google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation + */ +class Operation +{ + /** + * Unspecified. + * + * Generated from protobuf enum OPERATION_UNSPECIFIED = 0; + */ + const OPERATION_UNSPECIFIED = 0; + /** + * Equal. + * + * Generated from protobuf enum EQUAL = 1; + */ + const EQUAL = 1; + /** + * Less than. + * + * Generated from protobuf enum LESS_THAN = 2; + */ + const LESS_THAN = 2; + /** + * Greater than. + * + * Generated from protobuf enum GREATER_THAN = 4; + */ + const GREATER_THAN = 4; + + private static $valueToName = [ + self::OPERATION_UNSPECIFIED => 'OPERATION_UNSPECIFIED', + self::EQUAL => 'EQUAL', + self::LESS_THAN => 'LESS_THAN', + self::GREATER_THAN => 'GREATER_THAN', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericValue.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericValue.php new file mode 100644 index 000000000000..040f1edf0232 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericValue.php @@ -0,0 +1,108 @@ +google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue + */ +class NumericValue extends \Google\Protobuf\Internal\Message +{ + protected $one_value; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $int64_value + * Integer value. + * @type float $double_value + * Double value. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); + parent::__construct($data); + } + + /** + * Integer value. + * + * Generated from protobuf field int64 int64_value = 1; + * @return int|string + */ + public function getInt64Value() + { + return $this->readOneof(1); + } + + public function hasInt64Value() + { + return $this->hasOneof(1); + } + + /** + * Integer value. + * + * Generated from protobuf field int64 int64_value = 1; + * @param int|string $var + * @return $this + */ + public function setInt64Value($var) + { + GPBUtil::checkInt64($var); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * Double value. + * + * Generated from protobuf field double double_value = 2; + * @return float + */ + public function getDoubleValue() + { + return $this->readOneof(2); + } + + public function hasDoubleValue() + { + return $this->hasOneof(2); + } + + /** + * Double value. + * + * Generated from protobuf field double double_value = 2; + * @param float $var + * @return $this + */ + public function setDoubleValue($var) + { + GPBUtil::checkDouble($var); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * @return string + */ + public function getOneValue() + { + return $this->whichOneof("one_value"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter.php new file mode 100644 index 000000000000..8f3126881fb8 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter.php @@ -0,0 +1,139 @@ +google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter + */ +class StringFilter extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The match type for the string filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $match_type = 0; + /** + * Required. The string value to be matched against. + * + * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $value = ''; + /** + * Optional. If true, the match is case-sensitive. If false, the match is + * case-insensitive. + * + * Generated from protobuf field bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); + parent::__construct($data); + } + + /** + * Required. The match type for the string filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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\AudienceDimensionOrMetricFilter\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. + * + * 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. + * + * 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; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter/MatchType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter/MatchType.php new file mode 100644 index 000000000000..3dd6780aaa36 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter/MatchType.php @@ -0,0 +1,82 @@ +google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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; + /** + * Begins with the string value. + * + * Generated from protobuf enum BEGINS_WITH = 2; + */ + const BEGINS_WITH = 2; + /** + * Ends with the string value. + * + * Generated from protobuf enum ENDS_WITH = 3; + */ + const ENDS_WITH = 3; + /** + * Contains the string value. + * + * Generated from protobuf enum CONTAINS = 4; + */ + const CONTAINS = 4; + /** + * Full regular expression matches with the string value. + * + * Generated from protobuf enum FULL_REGEXP = 5; + */ + const FULL_REGEXP = 5; + + private static $valueToName = [ + self::MATCH_TYPE_UNSPECIFIED => 'MATCH_TYPE_UNSPECIFIED', + self::EXACT => 'EXACT', + self::BEGINS_WITH => 'BEGINS_WITH', + self::ENDS_WITH => 'ENDS_WITH', + self::CONTAINS => 'CONTAINS', + self::FULL_REGEXP => 'FULL_REGEXP', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventFilter.php new file mode 100644 index 000000000000..2ecf8988decc --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventFilter.php @@ -0,0 +1,137 @@ +google.analytics.admin.v1alpha.AudienceEventFilter + */ +class AudienceEventFilter extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Immutable. The name of the event to match against. + * + * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $event_name = ''; + /** + * 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 (For example, 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 + * supported. Also, if it includes a filter for "eventCount", only that one + * will be considered; all the other filters will be ignored. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $event_parameter_filter_expression = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @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 + * inside the parameter filter expression cannot be set (For example, 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 + * supported. Also, if it includes a filter for "eventCount", only that one + * will be considered; all the other filters will be ignored. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); + parent::__construct($data); + } + + /** + * Required. Immutable. The name of the event to match against. + * + * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getEventName() + { + return $this->event_name; + } + + /** + * Required. Immutable. The name of the event to match against. + * + * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setEventName($var) + { + GPBUtil::checkString($var, True); + $this->event_name = $var; + + return $this; + } + + /** + * 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 (For example, 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 + * supported. Also, if it includes a filter for "eventCount", only that one + * will be considered; all the other filters will be ignored. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Admin\V1alpha\AudienceFilterExpression|null + */ + public function getEventParameterFilterExpression() + { + return $this->event_parameter_filter_expression; + } + + public function hasEventParameterFilterExpression() + { + return isset($this->event_parameter_filter_expression); + } + + public function clearEventParameterFilterExpression() + { + unset($this->event_parameter_filter_expression); + } + + /** + * 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 (For example, 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 + * supported. Also, if it includes a filter for "eventCount", only that one + * will be considered; all the other filters will be ignored. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Admin\V1alpha\AudienceFilterExpression $var + * @return $this + */ + public function setEventParameterFilterExpression($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceFilterExpression::class); + $this->event_parameter_filter_expression = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger.php new file mode 100644 index 000000000000..cd973b323d41 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger.php @@ -0,0 +1,101 @@ +google.analytics.admin.v1alpha.AudienceEventTrigger + */ +class AudienceEventTrigger extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The event name that will be logged. + * + * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $event_name = ''; + /** + * Required. When to log the event. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $log_condition = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $event_name + * Required. The event name that will be logged. + * @type int $log_condition + * Required. When to log the event. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); + parent::__construct($data); + } + + /** + * Required. The event name that will be logged. + * + * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getEventName() + { + return $this->event_name; + } + + /** + * Required. The event name that will be logged. + * + * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setEventName($var) + { + GPBUtil::checkString($var, True); + $this->event_name = $var; + + return $this; + } + + /** + * Required. When to log the event. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getLogCondition() + { + return $this->log_condition; + } + + /** + * Required. When to log the event. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setLogCondition($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AudienceEventTrigger\LogCondition::class); + $this->log_condition = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger/LogCondition.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger/LogCondition.php new file mode 100644 index 000000000000..98f41d1033d8 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger/LogCondition.php @@ -0,0 +1,62 @@ +google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition + */ +class LogCondition +{ + /** + * Log condition is not specified. + * + * Generated from protobuf enum LOG_CONDITION_UNSPECIFIED = 0; + */ + const LOG_CONDITION_UNSPECIFIED = 0; + /** + * The event should be logged only when a user is joined. + * + * Generated from protobuf enum AUDIENCE_JOINED = 1; + */ + const AUDIENCE_JOINED = 1; + /** + * The event should be logged whenever the Audience condition is met, even + * if the user is already a member of the Audience. + * + * Generated from protobuf enum AUDIENCE_MEMBERSHIP_RENEWED = 2; + */ + const AUDIENCE_MEMBERSHIP_RENEWED = 2; + + private static $valueToName = [ + self::LOG_CONDITION_UNSPECIFIED => 'LOG_CONDITION_UNSPECIFIED', + self::AUDIENCE_JOINED => 'AUDIENCE_JOINED', + self::AUDIENCE_MEMBERSHIP_RENEWED => 'AUDIENCE_MEMBERSHIP_RENEWED', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause.php new file mode 100644 index 000000000000..07fa7d46a5d4 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause.php @@ -0,0 +1,148 @@ +google.analytics.admin.v1alpha.AudienceFilterClause + */ +class AudienceFilterClause extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Specifies whether this is an include or exclude filter clause. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $clause_type = 0; + protected $filter; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AudienceSimpleFilter $simple_filter + * A simple filter that a user must satisfy to be a member of the Audience. + * @type \Google\Analytics\Admin\V1alpha\AudienceSequenceFilter $sequence_filter + * Filters that must occur in a specific order for the user to be a member + * of the Audience. + * @type int $clause_type + * Required. Specifies whether this is an include or exclude filter clause. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); + parent::__construct($data); + } + + /** + * A simple filter that a user must satisfy to be a member of the Audience. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; + * @return \Google\Analytics\Admin\V1alpha\AudienceSimpleFilter|null + */ + public function getSimpleFilter() + { + return $this->readOneof(2); + } + + public function hasSimpleFilter() + { + return $this->hasOneof(2); + } + + /** + * A simple filter that a user must satisfy to be a member of the Audience. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; + * @param \Google\Analytics\Admin\V1alpha\AudienceSimpleFilter $var + * @return $this + */ + public function setSimpleFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceSimpleFilter::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * Filters that must occur in a specific order for the user to be a member + * of the Audience. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; + * @return \Google\Analytics\Admin\V1alpha\AudienceSequenceFilter|null + */ + public function getSequenceFilter() + { + return $this->readOneof(3); + } + + public function hasSequenceFilter() + { + return $this->hasOneof(3); + } + + /** + * Filters that must occur in a specific order for the user to be a member + * of the Audience. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; + * @param \Google\Analytics\Admin\V1alpha\AudienceSequenceFilter $var + * @return $this + */ + public function setSequenceFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceSequenceFilter::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * Required. Specifies whether this is an include or exclude filter clause. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getClauseType() + { + return $this->clause_type; + } + + /** + * Required. Specifies whether this is an include or exclude filter clause. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setClauseType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AudienceFilterClause\AudienceClauseType::class); + $this->clause_type = $var; + + return $this; + } + + /** + * @return string + */ + public function getFilter() + { + return $this->whichOneof("filter"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause/AudienceClauseType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause/AudienceClauseType.php new file mode 100644 index 000000000000..54482d2602b1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause/AudienceClauseType.php @@ -0,0 +1,65 @@ +google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType + */ +class AudienceClauseType +{ + /** + * Unspecified clause type. + * + * Generated from protobuf enum AUDIENCE_CLAUSE_TYPE_UNSPECIFIED = 0; + */ + const AUDIENCE_CLAUSE_TYPE_UNSPECIFIED = 0; + /** + * Users will be included in the Audience if the filter clause is met. + * + * Generated from protobuf enum INCLUDE = 1; + */ + const PBINCLUDE = 1; + /** + * Users will be excluded from the Audience if the filter clause is met. + * + * Generated from protobuf enum EXCLUDE = 2; + */ + const EXCLUDE = 2; + + private static $valueToName = [ + self::AUDIENCE_CLAUSE_TYPE_UNSPECIFIED => 'AUDIENCE_CLAUSE_TYPE_UNSPECIFIED', + self::PBINCLUDE => 'INCLUDE', + self::EXCLUDE => 'EXCLUDE', + ]; + + 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)) { + $pbconst = __CLASS__. '::PB' . strtoupper($name); + if (!defined($pbconst)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($pbconst); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpression.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpression.php new file mode 100644 index 000000000000..894c50844d84 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpression.php @@ -0,0 +1,228 @@ +google.analytics.admin.v1alpha.AudienceFilterExpression + */ +class AudienceFilterExpression extends \Google\Protobuf\Internal\Message +{ + protected $expr; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList $and_group + * A list of expressions to be AND’ed together. It can only contain + * AudienceFilterExpressions with or_group. This must be set for the top + * level AudienceFilterExpression. + * @type \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList $or_group + * A list of expressions to OR’ed together. It cannot contain + * AudienceFilterExpressions with and_group or or_group. + * @type \Google\Analytics\Admin\V1alpha\AudienceFilterExpression $not_expression + * A filter expression to be NOT'ed (For example, inverted, complemented). + * It can only include a dimension_or_metric_filter. This cannot be set on + * the top level AudienceFilterExpression. + * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter $dimension_or_metric_filter + * A filter on a single dimension or metric. This cannot be set on the top + * level AudienceFilterExpression. + * @type \Google\Analytics\Admin\V1alpha\AudienceEventFilter $event_filter + * Creates a filter that matches a specific event. This cannot be set on the + * top level AudienceFilterExpression. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); + parent::__construct($data); + } + + /** + * A list of expressions to be AND’ed together. It can only contain + * AudienceFilterExpressions with or_group. This must be set for the top + * level AudienceFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; + * @return \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList|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 can only contain + * AudienceFilterExpressions with or_group. This must be set for the top + * level AudienceFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; + * @param \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList $var + * @return $this + */ + public function setAndGroup($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * A list of expressions to OR’ed together. It cannot contain + * AudienceFilterExpressions with and_group or or_group. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; + * @return \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList|null + */ + public function getOrGroup() + { + return $this->readOneof(2); + } + + public function hasOrGroup() + { + return $this->hasOneof(2); + } + + /** + * A list of expressions to OR’ed together. It cannot contain + * AudienceFilterExpressions with and_group or or_group. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; + * @param \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList $var + * @return $this + */ + public function setOrGroup($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * A filter expression to be NOT'ed (For example, inverted, complemented). + * It can only include a dimension_or_metric_filter. This cannot be set on + * the top level AudienceFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; + * @return \Google\Analytics\Admin\V1alpha\AudienceFilterExpression|null + */ + public function getNotExpression() + { + return $this->readOneof(3); + } + + public function hasNotExpression() + { + return $this->hasOneof(3); + } + + /** + * A filter expression to be NOT'ed (For example, inverted, complemented). + * It can only include a dimension_or_metric_filter. This cannot be set on + * the top level AudienceFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; + * @param \Google\Analytics\Admin\V1alpha\AudienceFilterExpression $var + * @return $this + */ + public function setNotExpression($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceFilterExpression::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * A filter on a single dimension or metric. This cannot be set on the top + * level AudienceFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter|null + */ + public function getDimensionOrMetricFilter() + { + return $this->readOneof(4); + } + + public function hasDimensionOrMetricFilter() + { + return $this->hasOneof(4); + } + + /** + * A filter on a single dimension or metric. This cannot be set on the top + * level AudienceFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; + * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter $var + * @return $this + */ + public function setDimensionOrMetricFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter::class); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * Creates a filter that matches a specific event. This cannot be set on the + * top level AudienceFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; + * @return \Google\Analytics\Admin\V1alpha\AudienceEventFilter|null + */ + public function getEventFilter() + { + return $this->readOneof(5); + } + + public function hasEventFilter() + { + return $this->hasOneof(5); + } + + /** + * Creates a filter that matches a specific event. This cannot be set on the + * top level AudienceFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; + * @param \Google\Analytics\Admin\V1alpha\AudienceEventFilter $var + * @return $this + */ + public function setEventFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceEventFilter::class); + $this->writeOneof(5, $var); + + return $this; + } + + /** + * @return string + */ + public function getExpr() + { + return $this->whichOneof("expr"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpressionList.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpressionList.php new file mode 100644 index 000000000000..ab927a33ba10 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpressionList.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1alpha.AudienceFilterExpressionList + */ +class AudienceFilterExpressionList extends \Google\Protobuf\Internal\Message +{ + /** + * A list of Audience filter expressions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + */ + private $filter_expressions; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AudienceFilterExpression[] $filter_expressions + * A list of Audience filter expressions. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); + parent::__construct($data); + } + + /** + * A list of Audience filter expressions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AudienceFilterExpression> + */ + public function getFilterExpressions() + { + return $this->filter_expressions; + } + + /** + * A list of Audience filter expressions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; + * @param \Google\Analytics\Admin\V1alpha\AudienceFilterExpression[] $var + * @return $this + */ + public function setFilterExpressions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AudienceFilterExpression::class); + $this->filter_expressions = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterScope.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterScope.php new file mode 100644 index 000000000000..c435fdcb3dcb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterScope.php @@ -0,0 +1,71 @@ +google.analytics.admin.v1alpha.AudienceFilterScope + */ +class AudienceFilterScope +{ + /** + * Scope is not specified. + * + * Generated from protobuf enum AUDIENCE_FILTER_SCOPE_UNSPECIFIED = 0; + */ + const AUDIENCE_FILTER_SCOPE_UNSPECIFIED = 0; + /** + * User joins the Audience if the filter condition is met within one + * event. + * + * Generated from protobuf enum AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT = 1; + */ + const AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT = 1; + /** + * User joins the Audience if the filter condition is met within one + * session. + * + * Generated from protobuf enum AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION = 2; + */ + const AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION = 2; + /** + * User joins the Audience if the filter condition is met by any event + * across any session. + * + * Generated from protobuf enum AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS = 3; + */ + const AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS = 3; + + private static $valueToName = [ + self::AUDIENCE_FILTER_SCOPE_UNSPECIFIED => 'AUDIENCE_FILTER_SCOPE_UNSPECIFIED', + self::AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT => 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT', + self::AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION => 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION', + self::AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS => 'AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter.php new file mode 100644 index 000000000000..2643dda716ab --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter.php @@ -0,0 +1,150 @@ +google.analytics.admin.v1alpha.AudienceSequenceFilter + */ +class AudienceSequenceFilter extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Immutable. Specifies the scope for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $scope = 0; + /** + * Optional. Defines the time period in which the whole sequence must occur. + * + * Generated from protobuf field .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $sequence_maximum_duration = null; + /** + * 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]; + */ + private $sequence_steps; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $scope + * Required. Immutable. Specifies the scope for this filter. + * @type \Google\Protobuf\Duration $sequence_maximum_duration + * Optional. Defines the time period in which the whole sequence must occur. + * @type \Google\Analytics\Admin\V1alpha\AudienceSequenceFilter\AudienceSequenceStep[] $sequence_steps + * Required. An ordered sequence of steps. A user must complete each step in + * order to join the sequence filter. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); + parent::__construct($data); + } + + /** + * Required. Immutable. Specifies the scope for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return int + */ + public function getScope() + { + return $this->scope; + } + + /** + * Required. Immutable. Specifies the scope for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @param int $var + * @return $this + */ + public function setScope($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AudienceFilterScope::class); + $this->scope = $var; + + return $this; + } + + /** + * Optional. Defines the time period in which the whole sequence must occur. + * + * Generated from protobuf field .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Duration|null + */ + public function getSequenceMaximumDuration() + { + return $this->sequence_maximum_duration; + } + + public function hasSequenceMaximumDuration() + { + return isset($this->sequence_maximum_duration); + } + + public function clearSequenceMaximumDuration() + { + unset($this->sequence_maximum_duration); + } + + /** + * Optional. Defines the time period in which the whole sequence must occur. + * + * Generated from protobuf field .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setSequenceMaximumDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->sequence_maximum_duration = $var; + + return $this; + } + + /** + * 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 RepeatedField<\Google\Analytics\Admin\V1alpha\AudienceSequenceFilter\AudienceSequenceStep> + */ + public function getSequenceSteps() + { + return $this->sequence_steps; + } + + /** + * 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 \Google\Analytics\Admin\V1alpha\AudienceSequenceFilter\AudienceSequenceStep[] $var + * @return $this + */ + public function setSequenceSteps($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AudienceSequenceFilter\AudienceSequenceStep::class); + $this->sequence_steps = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php new file mode 100644 index 000000000000..e7a754346c6b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php @@ -0,0 +1,222 @@ +google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep + */ +class AudienceSequenceStep extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Immutable. Specifies the scope for this step. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $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 + * 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. + * + * Generated from protobuf field bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $immediately_follows = false; + /** + * Optional. When set, this step must be satisfied within the + * constraint_duration of the previous step (For example, 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]; + */ + protected $constraint_duration = null; + /** + * 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]; + */ + protected $filter_expression = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @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 + * 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 (For example, 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); + parent::__construct($data); + } + + /** + * Required. Immutable. Specifies the scope for this step. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return int + */ + public function getScope() + { + return $this->scope; + } + + /** + * Required. Immutable. Specifies the scope for this step. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @param int $var + * @return $this + */ + public function setScope($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AudienceFilterScope::class); + $this->scope = $var; + + return $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. + * + * Generated from protobuf field bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getImmediatelyFollows() + { + return $this->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 + * 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. + * + * Generated from protobuf field bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setImmediatelyFollows($var) + { + GPBUtil::checkBool($var); + $this->immediately_follows = $var; + + return $this; + } + + /** + * Optional. When set, this step must be satisfied within the + * constraint_duration of the previous step (For example, 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 + */ + public function getConstraintDuration() + { + return $this->constraint_duration; + } + + public function hasConstraintDuration() + { + return isset($this->constraint_duration); + } + + public function clearConstraintDuration() + { + unset($this->constraint_duration); + } + + /** + * Optional. When set, this step must be satisfied within the + * constraint_duration of the previous step (For example, 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 + * @return $this + */ + public function setConstraintDuration($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->constraint_duration = $var; + + return $this; + } + + /** + * 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 + */ + public function getFilterExpression() + { + return $this->filter_expression; + } + + public function hasFilterExpression() + { + return isset($this->filter_expression); + } + + public function clearFilterExpression() + { + unset($this->filter_expression); + } + + /** + * 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 + * @return $this + */ + public function setFilterExpression($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceFilterExpression::class); + $this->filter_expression = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSimpleFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSimpleFilter.php new file mode 100644 index 000000000000..311392cfaae9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSimpleFilter.php @@ -0,0 +1,116 @@ +google.analytics.admin.v1alpha.AudienceSimpleFilter + */ +class AudienceSimpleFilter extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Immutable. Specifies the scope for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $scope = 0; + /** + * 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]; + */ + protected $filter_expression = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); + parent::__construct($data); + } + + /** + * Required. Immutable. Specifies the scope for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return int + */ + public function getScope() + { + return $this->scope; + } + + /** + * Required. Immutable. Specifies the scope for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @param int $var + * @return $this + */ + public function setScope($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AudienceFilterScope::class); + $this->scope = $var; + + return $this; + } + + /** + * 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 + */ + public function getFilterExpression() + { + return $this->filter_expression; + } + + public function hasFilterExpression() + { + return isset($this->filter_expression); + } + + public function clearFilterExpression() + { + unset($this->filter_expression); + } + + /** + * 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 + * @return $this + */ + public function setFilterExpression($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceFilterExpression::class); + $this->filter_expression = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsRequest.php new file mode 100644 index 000000000000..30f876c5dd5c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsRequest.php @@ -0,0 +1,121 @@ +google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest + */ +class BatchCreateAccessBindingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The account or property that owns the access bindings. The parent + * field in the CreateAccessBindingRequest messages must either be empty or + * match this field. Formats: + * - accounts/{account} + * - properties/{property} + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The requests specifying the access bindings to create. + * A maximum of 1000 access bindings can be created in a batch. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The account or property that owns the access bindings. The parent + * field in the CreateAccessBindingRequest messages must either be empty or + * match this field. Formats: + * - accounts/{account} + * - properties/{property} + * @type \Google\Analytics\Admin\V1alpha\CreateAccessBindingRequest[] $requests + * Required. The requests specifying the access bindings to create. + * A maximum of 1000 access bindings can be created in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The account or property that owns the access bindings. The parent + * field in the CreateAccessBindingRequest messages must either be empty or + * match this field. Formats: + * - accounts/{account} + * - properties/{property} + * + * 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 account or property that owns the access bindings. The parent + * field in the CreateAccessBindingRequest messages must either be empty or + * match this field. Formats: + * - accounts/{account} + * - properties/{property} + * + * 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 requests specifying the access bindings to create. + * A maximum of 1000 access bindings can be created in a batch. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\CreateAccessBindingRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The requests specifying the access bindings to create. + * A maximum of 1000 access bindings can be created in a batch. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\CreateAccessBindingRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\CreateAccessBindingRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsResponse.php new file mode 100644 index 000000000000..5c25a615940a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsResponse.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse + */ +class BatchCreateAccessBindingsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The access bindings created. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; + */ + private $access_bindings; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AccessBinding[] $access_bindings + * The access bindings created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The access bindings created. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessBinding> + */ + public function getAccessBindings() + { + return $this->access_bindings; + } + + /** + * The access bindings created. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; + * @param \Google\Analytics\Admin\V1alpha\AccessBinding[] $var + * @return $this + */ + public function setAccessBindings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessBinding::class); + $this->access_bindings = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchDeleteAccessBindingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchDeleteAccessBindingsRequest.php new file mode 100644 index 000000000000..b807979e05f1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchDeleteAccessBindingsRequest.php @@ -0,0 +1,121 @@ +google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest + */ +class BatchDeleteAccessBindingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The account or property that owns the access bindings. The parent + * of all provided values for the 'names' field in DeleteAccessBindingRequest + * messages must match this field. Formats: + * - accounts/{account} + * - properties/{property} + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The requests specifying the access bindings to delete. + * A maximum of 1000 access bindings can be deleted in a batch. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The account or property that owns the access bindings. The parent + * of all provided values for the 'names' field in DeleteAccessBindingRequest + * messages must match this field. Formats: + * - accounts/{account} + * - properties/{property} + * @type \Google\Analytics\Admin\V1alpha\DeleteAccessBindingRequest[] $requests + * Required. The requests specifying the access bindings to delete. + * A maximum of 1000 access bindings can be deleted in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The account or property that owns the access bindings. The parent + * of all provided values for the 'names' field in DeleteAccessBindingRequest + * messages must match this field. Formats: + * - accounts/{account} + * - properties/{property} + * + * 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 account or property that owns the access bindings. The parent + * of all provided values for the 'names' field in DeleteAccessBindingRequest + * messages must match this field. Formats: + * - accounts/{account} + * - properties/{property} + * + * 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 requests specifying the access bindings to delete. + * A maximum of 1000 access bindings can be deleted in a batch. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\DeleteAccessBindingRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The requests specifying the access bindings to delete. + * A maximum of 1000 access bindings can be deleted in a batch. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\DeleteAccessBindingRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\DeleteAccessBindingRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsRequest.php new file mode 100644 index 000000000000..cf673f615de6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsRequest.php @@ -0,0 +1,133 @@ +google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest + */ +class BatchGetAccessBindingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The account or property that owns the access bindings. The parent + * of all provided values for the 'names' field must match this field. + * Formats: + * - accounts/{account} + * - properties/{property} + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The names of the access bindings to retrieve. + * A maximum of 1000 access bindings can be retrieved in a batch. + * Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + private $names; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The account or property that owns the access bindings. The parent + * of all provided values for the 'names' field must match this field. + * Formats: + * - accounts/{account} + * - properties/{property} + * @type string[] $names + * Required. The names of the access bindings to retrieve. + * A maximum of 1000 access bindings can be retrieved in a batch. + * Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The account or property that owns the access bindings. The parent + * of all provided values for the 'names' field must match this field. + * Formats: + * - accounts/{account} + * - properties/{property} + * + * 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 account or property that owns the access bindings. The parent + * of all provided values for the 'names' field must match this field. + * Formats: + * - accounts/{account} + * - properties/{property} + * + * 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 names of the access bindings to retrieve. + * A maximum of 1000 access bindings can be retrieved in a batch. + * Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return RepeatedField + */ + public function getNames() + { + return $this->names; + } + + /** + * Required. The names of the access bindings to retrieve. + * A maximum of 1000 access bindings can be retrieved in a batch. + * Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} + * + * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string[] $var + * @return $this + */ + public function setNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->names = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsResponse.php new file mode 100644 index 000000000000..590192b9b934 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsResponse.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse + */ +class BatchGetAccessBindingsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The requested access bindings. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; + */ + private $access_bindings; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AccessBinding[] $access_bindings + * The requested access bindings. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The requested access bindings. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessBinding> + */ + public function getAccessBindings() + { + return $this->access_bindings; + } + + /** + * The requested access bindings. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; + * @param \Google\Analytics\Admin\V1alpha\AccessBinding[] $var + * @return $this + */ + public function setAccessBindings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessBinding::class); + $this->access_bindings = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsRequest.php new file mode 100644 index 000000000000..a11cf281691e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsRequest.php @@ -0,0 +1,125 @@ +google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest + */ +class BatchUpdateAccessBindingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The account or property that owns the access bindings. The parent + * of all provided AccessBinding in UpdateAccessBindingRequest messages must + * match this field. + * Formats: + * - accounts/{account} + * - properties/{property} + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The requests specifying the access bindings to update. + * A maximum of 1000 access bindings can be updated in a batch. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $requests; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The account or property that owns the access bindings. The parent + * of all provided AccessBinding in UpdateAccessBindingRequest messages must + * match this field. + * Formats: + * - accounts/{account} + * - properties/{property} + * @type \Google\Analytics\Admin\V1alpha\UpdateAccessBindingRequest[] $requests + * Required. The requests specifying the access bindings to update. + * A maximum of 1000 access bindings can be updated in a batch. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The account or property that owns the access bindings. The parent + * of all provided AccessBinding in UpdateAccessBindingRequest messages must + * match this field. + * Formats: + * - accounts/{account} + * - properties/{property} + * + * 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 account or property that owns the access bindings. The parent + * of all provided AccessBinding in UpdateAccessBindingRequest messages must + * match this field. + * Formats: + * - accounts/{account} + * - properties/{property} + * + * 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 requests specifying the access bindings to update. + * A maximum of 1000 access bindings can be updated in a batch. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\UpdateAccessBindingRequest> + */ + public function getRequests() + { + return $this->requests; + } + + /** + * Required. The requests specifying the access bindings to update. + * A maximum of 1000 access bindings can be updated in a batch. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\UpdateAccessBindingRequest[] $var + * @return $this + */ + public function setRequests($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\UpdateAccessBindingRequest::class); + $this->requests = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsResponse.php new file mode 100644 index 000000000000..5f3d143416fc --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsResponse.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse + */ +class BatchUpdateAccessBindingsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The access bindings updated. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; + */ + private $access_bindings; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AccessBinding[] $access_bindings + * The access bindings updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The access bindings updated. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessBinding> + */ + public function getAccessBindings() + { + return $this->access_bindings; + } + + /** + * The access bindings updated. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; + * @param \Google\Analytics\Admin\V1alpha\AccessBinding[] $var + * @return $this + */ + public function setAccessBindings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessBinding::class); + $this->access_bindings = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BigQueryLink.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BigQueryLink.php new file mode 100644 index 000000000000..1df0edb6167e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BigQueryLink.php @@ -0,0 +1,435 @@ +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]; + */ + protected $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]; + */ + protected $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]; + */ + protected $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; + */ + protected $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; + */ + protected $streaming_export_enabled = false; + /** + * If set true, enables fresh daily export to the linked Google Cloud project. + * + * Generated from protobuf field bool fresh_daily_export_enabled = 9; + */ + protected $fresh_daily_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; + */ + protected $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; + /** + * Required. Immutable. The geographic location where the created BigQuery + * dataset should reside. See https://cloud.google.com/bigquery/docs/locations + * for supported locations. + * + * Generated from protobuf field string dataset_location = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + */ + protected $dataset_location = ''; + + /** + * 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 $fresh_daily_export_enabled + * If set true, enables fresh daily 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 string[] $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 string[] $excluded_events + * The list of event names that will be excluded from exports. + * @type string $dataset_location + * Required. Immutable. The geographic location where the created BigQuery + * dataset should reside. See https://cloud.google.com/bigquery/docs/locations + * for supported locations. + * } + */ + 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, enables fresh daily export to the linked Google Cloud project. + * + * Generated from protobuf field bool fresh_daily_export_enabled = 9; + * @return bool + */ + public function getFreshDailyExportEnabled() + { + return $this->fresh_daily_export_enabled; + } + + /** + * If set true, enables fresh daily export to the linked Google Cloud project. + * + * Generated from protobuf field bool fresh_daily_export_enabled = 9; + * @param bool $var + * @return $this + */ + public function setFreshDailyExportEnabled($var) + { + GPBUtil::checkBool($var); + $this->fresh_daily_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 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 string[] $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 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 string[] $var + * @return $this + */ + public function setExcludedEvents($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_events = $arr; + + return $this; + } + + /** + * Required. Immutable. The geographic location where the created BigQuery + * dataset should reside. See https://cloud.google.com/bigquery/docs/locations + * for supported locations. + * + * Generated from protobuf field string dataset_location = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDatasetLocation() + { + return $this->dataset_location; + } + + /** + * Required. Immutable. The geographic location where the created BigQuery + * dataset should reside. See https://cloud.google.com/bigquery/docs/locations + * for supported locations. + * + * Generated from protobuf field string dataset_location = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDatasetLocation($var) + { + GPBUtil::checkString($var, True); + $this->dataset_location = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric.php new file mode 100644 index 000000000000..fdf6a9f92e20 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric.php @@ -0,0 +1,361 @@ +google.analytics.admin.v1alpha.CalculatedMetric + */ +class CalculatedMetric extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name for this CalculatedMetric. + * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Optional. Description for this calculated metric. + * Max length of 4096 characters. + * + * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $description = ''; + /** + * Required. Display name for this calculated metric as shown in the + * Google Analytics UI. Max length 82 characters. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Output only. The ID to use for the calculated metric. In the UI, this is + * referred to as the "API name." + * The calculated_metric_id is used when referencing this calculated metric + * from external APIs. For example, "calcMetric:{calculated_metric_id}". + * + * Generated from protobuf field string calculated_metric_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $calculated_metric_id = ''; + /** + * Required. The type for the calculated metric's value. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric.MetricUnit metric_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $metric_unit = 0; + /** + * Output only. Types of restricted data that this metric contains. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CalculatedMetric.RestrictedMetricType restricted_metric_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $restricted_metric_type; + /** + * Required. The calculated metric's definition. Maximum number of unique + * referenced custom metrics is 5. Formulas supports the following operations: + * + (addition), - (subtraction), - (negative), * (multiplication), / + * (division), () (parenthesis). Any valid real numbers are acceptable that + * fit in a Long (64bit integer) or a Double (64 bit floating point number). + * Example formula: + * "( customEvent:parameter_name + cartPurchaseQuantity ) / 2.0" + * + * Generated from protobuf field string formula = 7 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $formula = ''; + /** + * Output only. If true, this calculated metric has a invalid metric + * reference. Anything using a calculated metric with invalid_metric_reference + * set to true may fail, produce warnings, or produce unexpected results. + * + * Generated from protobuf field bool invalid_metric_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $invalid_metric_reference = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Resource name for this CalculatedMetric. + * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' + * @type string $description + * Optional. Description for this calculated metric. + * Max length of 4096 characters. + * @type string $display_name + * Required. Display name for this calculated metric as shown in the + * Google Analytics UI. Max length 82 characters. + * @type string $calculated_metric_id + * Output only. The ID to use for the calculated metric. In the UI, this is + * referred to as the "API name." + * The calculated_metric_id is used when referencing this calculated metric + * from external APIs. For example, "calcMetric:{calculated_metric_id}". + * @type int $metric_unit + * Required. The type for the calculated metric's value. + * @type int[] $restricted_metric_type + * Output only. Types of restricted data that this metric contains. + * @type string $formula + * Required. The calculated metric's definition. Maximum number of unique + * referenced custom metrics is 5. Formulas supports the following operations: + * + (addition), - (subtraction), - (negative), * (multiplication), / + * (division), () (parenthesis). Any valid real numbers are acceptable that + * fit in a Long (64bit integer) or a Double (64 bit floating point number). + * Example formula: + * "( customEvent:parameter_name + cartPurchaseQuantity ) / 2.0" + * @type bool $invalid_metric_reference + * Output only. If true, this calculated metric has a invalid metric + * reference. Anything using a calculated metric with invalid_metric_reference + * set to true may fail, produce warnings, or produce unexpected results. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Resource name for this CalculatedMetric. + * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name for this CalculatedMetric. + * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Optional. Description for this calculated metric. + * Max length of 4096 characters. + * + * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDescription() + { + return $this->description; + } + + /** + * Optional. Description for this calculated metric. + * Max length of 4096 characters. + * + * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Required. Display name for this calculated metric as shown in the + * Google Analytics UI. Max length 82 characters. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Required. Display name for this calculated metric as shown in the + * Google Analytics UI. Max length 82 characters. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Output only. The ID to use for the calculated metric. In the UI, this is + * referred to as the "API name." + * The calculated_metric_id is used when referencing this calculated metric + * from external APIs. For example, "calcMetric:{calculated_metric_id}". + * + * Generated from protobuf field string calculated_metric_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getCalculatedMetricId() + { + return $this->calculated_metric_id; + } + + /** + * Output only. The ID to use for the calculated metric. In the UI, this is + * referred to as the "API name." + * The calculated_metric_id is used when referencing this calculated metric + * from external APIs. For example, "calcMetric:{calculated_metric_id}". + * + * Generated from protobuf field string calculated_metric_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setCalculatedMetricId($var) + { + GPBUtil::checkString($var, True); + $this->calculated_metric_id = $var; + + return $this; + } + + /** + * Required. The type for the calculated metric's value. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric.MetricUnit metric_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getMetricUnit() + { + return $this->metric_unit; + } + + /** + * Required. The type for the calculated metric's value. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric.MetricUnit metric_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setMetricUnit($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\CalculatedMetric\MetricUnit::class); + $this->metric_unit = $var; + + return $this; + } + + /** + * Output only. Types of restricted data that this metric contains. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CalculatedMetric.RestrictedMetricType restricted_metric_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField + */ + public function getRestrictedMetricType() + { + return $this->restricted_metric_type; + } + + /** + * Output only. Types of restricted data that this metric contains. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CalculatedMetric.RestrictedMetricType restricted_metric_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int[] $var + * @return $this + */ + public function setRestrictedMetricType($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Analytics\Admin\V1alpha\CalculatedMetric\RestrictedMetricType::class); + $this->restricted_metric_type = $arr; + + return $this; + } + + /** + * Required. The calculated metric's definition. Maximum number of unique + * referenced custom metrics is 5. Formulas supports the following operations: + * + (addition), - (subtraction), - (negative), * (multiplication), / + * (division), () (parenthesis). Any valid real numbers are acceptable that + * fit in a Long (64bit integer) or a Double (64 bit floating point number). + * Example formula: + * "( customEvent:parameter_name + cartPurchaseQuantity ) / 2.0" + * + * Generated from protobuf field string formula = 7 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getFormula() + { + return $this->formula; + } + + /** + * Required. The calculated metric's definition. Maximum number of unique + * referenced custom metrics is 5. Formulas supports the following operations: + * + (addition), - (subtraction), - (negative), * (multiplication), / + * (division), () (parenthesis). Any valid real numbers are acceptable that + * fit in a Long (64bit integer) or a Double (64 bit floating point number). + * Example formula: + * "( customEvent:parameter_name + cartPurchaseQuantity ) / 2.0" + * + * Generated from protobuf field string formula = 7 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setFormula($var) + { + GPBUtil::checkString($var, True); + $this->formula = $var; + + return $this; + } + + /** + * Output only. If true, this calculated metric has a invalid metric + * reference. Anything using a calculated metric with invalid_metric_reference + * set to true may fail, produce warnings, or produce unexpected results. + * + * Generated from protobuf field bool invalid_metric_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getInvalidMetricReference() + { + return $this->invalid_metric_reference; + } + + /** + * Output only. If true, this calculated metric has a invalid metric + * reference. Anything using a calculated metric with invalid_metric_reference + * set to true may fail, produce warnings, or produce unexpected results. + * + * Generated from protobuf field bool invalid_metric_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setInvalidMetricReference($var) + { + GPBUtil::checkBool($var); + $this->invalid_metric_reference = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/MetricUnit.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/MetricUnit.php new file mode 100644 index 000000000000..63f8dee24837 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/MetricUnit.php @@ -0,0 +1,117 @@ +google.analytics.admin.v1alpha.CalculatedMetric.MetricUnit + */ +class MetricUnit +{ + /** + * MetricUnit unspecified or missing. + * + * Generated from protobuf enum METRIC_UNIT_UNSPECIFIED = 0; + */ + const METRIC_UNIT_UNSPECIFIED = 0; + /** + * This metric uses default units. + * + * Generated from protobuf enum STANDARD = 1; + */ + const STANDARD = 1; + /** + * This metric measures a currency. + * + * Generated from protobuf enum CURRENCY = 2; + */ + const CURRENCY = 2; + /** + * This metric measures feet. + * + * Generated from protobuf enum FEET = 3; + */ + const FEET = 3; + /** + * This metric measures miles. + * + * Generated from protobuf enum MILES = 4; + */ + const MILES = 4; + /** + * This metric measures meters. + * + * Generated from protobuf enum METERS = 5; + */ + const METERS = 5; + /** + * This metric measures kilometers. + * + * Generated from protobuf enum KILOMETERS = 6; + */ + const KILOMETERS = 6; + /** + * This metric measures milliseconds. + * + * Generated from protobuf enum MILLISECONDS = 7; + */ + const MILLISECONDS = 7; + /** + * This metric measures seconds. + * + * Generated from protobuf enum SECONDS = 8; + */ + const SECONDS = 8; + /** + * This metric measures minutes. + * + * Generated from protobuf enum MINUTES = 9; + */ + const MINUTES = 9; + /** + * This metric measures hours. + * + * Generated from protobuf enum HOURS = 10; + */ + const HOURS = 10; + + private static $valueToName = [ + self::METRIC_UNIT_UNSPECIFIED => 'METRIC_UNIT_UNSPECIFIED', + self::STANDARD => 'STANDARD', + self::CURRENCY => 'CURRENCY', + self::FEET => 'FEET', + self::MILES => 'MILES', + self::METERS => 'METERS', + self::KILOMETERS => 'KILOMETERS', + self::MILLISECONDS => 'MILLISECONDS', + self::SECONDS => 'SECONDS', + self::MINUTES => 'MINUTES', + self::HOURS => 'HOURS', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/RestrictedMetricType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/RestrictedMetricType.php new file mode 100644 index 000000000000..72adfc27ae24 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/RestrictedMetricType.php @@ -0,0 +1,62 @@ +google.analytics.admin.v1alpha.CalculatedMetric.RestrictedMetricType + */ +class RestrictedMetricType +{ + /** + * Type unknown or unspecified. + * + * Generated from protobuf enum RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; + */ + const RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; + /** + * Metric reports cost data. + * + * Generated from protobuf enum COST_DATA = 1; + */ + const COST_DATA = 1; + /** + * Metric reports revenue data. + * + * Generated from protobuf enum REVENUE_DATA = 2; + */ + const REVENUE_DATA = 2; + + private static $valueToName = [ + self::RESTRICTED_METRIC_TYPE_UNSPECIFIED => 'RESTRICTED_METRIC_TYPE_UNSPECIFIED', + self::COST_DATA => 'COST_DATA', + self::REVENUE_DATA => 'REVENUE_DATA', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.php new file mode 100644 index 000000000000..f4ac25e90202 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.php @@ -0,0 +1,71 @@ +google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest + */ +class CancelDisplayVideo360AdvertiserLinkProposalRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange.php new file mode 100644 index 000000000000..2acb7642fe13 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange.php @@ -0,0 +1,197 @@ +google.analytics.admin.v1alpha.ChangeHistoryChange + */ +class ChangeHistoryChange extends \Google\Protobuf\Internal\Message +{ + /** + * Resource name of the resource whose changes are described by this entry. + * + * Generated from protobuf field string resource = 1; + */ + protected $resource = ''; + /** + * The type of action that changed this resource. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ActionType action = 2; + */ + protected $action = 0; + /** + * Resource contents from before the change was made. If this resource was + * created in this change, this field will be missing. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + */ + protected $resource_before_change = null; + /** + * Resource contents from after the change was made. If this resource was + * deleted in this change, this field will be missing. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + */ + protected $resource_after_change = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $resource + * Resource name of the resource whose changes are described by this entry. + * @type int $action + * The type of action that changed this resource. + * @type \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource $resource_before_change + * Resource contents from before the change was made. If this resource was + * created in this change, this field will be missing. + * @type \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource $resource_after_change + * Resource contents from after the change was made. If this resource was + * deleted in this change, this field will be missing. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Resource name of the resource whose changes are described by this entry. + * + * Generated from protobuf field string resource = 1; + * @return string + */ + public function getResource() + { + return $this->resource; + } + + /** + * Resource name of the resource whose changes are described by this entry. + * + * Generated from protobuf field string resource = 1; + * @param string $var + * @return $this + */ + public function setResource($var) + { + GPBUtil::checkString($var, True); + $this->resource = $var; + + return $this; + } + + /** + * The type of action that changed this resource. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ActionType action = 2; + * @return int + */ + public function getAction() + { + return $this->action; + } + + /** + * The type of action that changed this resource. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ActionType action = 2; + * @param int $var + * @return $this + */ + public function setAction($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\ActionType::class); + $this->action = $var; + + return $this; + } + + /** + * Resource contents from before the change was made. If this resource was + * created in this change, this field will be missing. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * @return \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource|null + */ + public function getResourceBeforeChange() + { + return $this->resource_before_change; + } + + public function hasResourceBeforeChange() + { + return isset($this->resource_before_change); + } + + public function clearResourceBeforeChange() + { + unset($this->resource_before_change); + } + + /** + * Resource contents from before the change was made. If this resource was + * created in this change, this field will be missing. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * @param \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource $var + * @return $this + */ + public function setResourceBeforeChange($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource::class); + $this->resource_before_change = $var; + + return $this; + } + + /** + * Resource contents from after the change was made. If this resource was + * deleted in this change, this field will be missing. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * @return \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource|null + */ + public function getResourceAfterChange() + { + return $this->resource_after_change; + } + + public function hasResourceAfterChange() + { + return isset($this->resource_after_change); + } + + public function clearResourceAfterChange() + { + unset($this->resource_after_change); + } + + /** + * Resource contents from after the change was made. If this resource was + * deleted in this change, this field will be missing. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * @param \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource $var + * @return $this + */ + public function setResourceAfterChange($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource::class); + $this->resource_after_change = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php new file mode 100644 index 000000000000..863643062ec0 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php @@ -0,0 +1,1042 @@ +google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource + */ +class ChangeHistoryResource extends \Google\Protobuf\Internal\Message +{ + protected $resource; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\Account $account + * A snapshot of an Account resource in change history. + * @type \Google\Analytics\Admin\V1alpha\Property $property + * A snapshot of a Property resource in change history. + * @type \Google\Analytics\Admin\V1alpha\FirebaseLink $firebase_link + * A snapshot of a FirebaseLink resource in change history. + * @type \Google\Analytics\Admin\V1alpha\GoogleAdsLink $google_ads_link + * A snapshot of a GoogleAdsLink resource in change history. + * @type \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings $google_signals_settings + * A snapshot of a GoogleSignalsSettings resource in change history. + * @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $display_video_360_advertiser_link + * A snapshot of a DisplayVideo360AdvertiserLink resource in change + * history. + * @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal $display_video_360_advertiser_link_proposal + * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in + * change history. + * @type \Google\Analytics\Admin\V1alpha\ConversionEvent $conversion_event + * A snapshot of a ConversionEvent resource in change history. + * @type \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurement_protocol_secret + * A snapshot of a MeasurementProtocolSecret resource in change history. + * @type \Google\Analytics\Admin\V1alpha\CustomDimension $custom_dimension + * A snapshot of a CustomDimension resource in change history. + * @type \Google\Analytics\Admin\V1alpha\CustomMetric $custom_metric + * 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\ChannelGroup $channel_group + * A snapshot of a ChannelGroup resource in change history. + * @type \Google\Analytics\Admin\V1alpha\BigQueryLink $bigquery_link + * A snapshot of a BigQuery link resource in change history. + * @type \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings $enhanced_measurement_settings + * A snapshot of EnhancedMeasurementSettings resource in change history. + * @type \Google\Analytics\Admin\V1alpha\DataRedactionSettings $data_redaction_settings + * A snapshot of DataRedactionSettings resource in change history. + * @type \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetwork_conversion_value_schema + * A snapshot of SKAdNetworkConversionValueSchema resource in change + * history. + * @type \Google\Analytics\Admin\V1alpha\AdSenseLink $adsense_link + * A snapshot of an AdSenseLink resource in change history. + * @type \Google\Analytics\Admin\V1alpha\Audience $audience + * A snapshot of an Audience resource in change history. + * @type \Google\Analytics\Admin\V1alpha\EventCreateRule $event_create_rule + * A snapshot of an EventCreateRule resource in change history. + * @type \Google\Analytics\Admin\V1alpha\KeyEvent $key_event + * A snapshot of a KeyEvent resource in change history. + * @type \Google\Analytics\Admin\V1alpha\CalculatedMetric $calculated_metric + * A snapshot of a CalculatedMetric resource in change history. + * @type \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $reporting_data_annotation + * A snapshot of a ReportingDataAnnotation resource in change history. + * @type \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig $subproperty_sync_config + * A snapshot of a SubpropertySyncConfig resource in change history. + * @type \Google\Analytics\Admin\V1alpha\ReportingIdentitySettings $reporting_identity_settings + * A snapshot of a ReportingIdentitySettings resource in change history. + * @type \Google\Analytics\Admin\V1alpha\UserProvidedDataSettings $user_provided_data_settings + * A snapshot of a UserProvidedDataSettings resource in change history. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * A snapshot of an Account resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1; + * @return \Google\Analytics\Admin\V1alpha\Account|null + */ + public function getAccount() + { + return $this->readOneof(1); + } + + public function hasAccount() + { + return $this->hasOneof(1); + } + + /** + * A snapshot of an Account resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1; + * @param \Google\Analytics\Admin\V1alpha\Account $var + * @return $this + */ + public function setAccount($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Account::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * A snapshot of a Property resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 2; + * @return \Google\Analytics\Admin\V1alpha\Property|null + */ + public function getProperty() + { + return $this->readOneof(2); + } + + public function hasProperty() + { + return $this->hasOneof(2); + } + + /** + * A snapshot of a Property resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 2; + * @param \Google\Analytics\Admin\V1alpha\Property $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Property::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * A snapshot of a FirebaseLink resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; + * @return \Google\Analytics\Admin\V1alpha\FirebaseLink|null + */ + public function getFirebaseLink() + { + return $this->readOneof(6); + } + + public function hasFirebaseLink() + { + return $this->hasOneof(6); + } + + /** + * A snapshot of a FirebaseLink resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; + * @param \Google\Analytics\Admin\V1alpha\FirebaseLink $var + * @return $this + */ + public function setFirebaseLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\FirebaseLink::class); + $this->writeOneof(6, $var); + + return $this; + } + + /** + * A snapshot of a GoogleAdsLink resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; + * @return \Google\Analytics\Admin\V1alpha\GoogleAdsLink|null + */ + public function getGoogleAdsLink() + { + return $this->readOneof(7); + } + + public function hasGoogleAdsLink() + { + return $this->hasOneof(7); + } + + /** + * A snapshot of a GoogleAdsLink resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; + * @param \Google\Analytics\Admin\V1alpha\GoogleAdsLink $var + * @return $this + */ + public function setGoogleAdsLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\GoogleAdsLink::class); + $this->writeOneof(7, $var); + + return $this; + } + + /** + * A snapshot of a GoogleSignalsSettings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * @return \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings|null + */ + public function getGoogleSignalsSettings() + { + return $this->readOneof(8); + } + + public function hasGoogleSignalsSettings() + { + return $this->hasOneof(8); + } + + /** + * A snapshot of a GoogleSignalsSettings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; + * @param \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings $var + * @return $this + */ + public function setGoogleSignalsSettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings::class); + $this->writeOneof(8, $var); + + return $this; + } + + /** + * A snapshot of a DisplayVideo360AdvertiserLink resource in change + * history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink|null + */ + public function getDisplayVideo360AdvertiserLink() + { + return $this->readOneof(9); + } + + public function hasDisplayVideo360AdvertiserLink() + { + return $this->hasOneof(9); + } + + /** + * A snapshot of a DisplayVideo360AdvertiserLink resource in change + * history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; + * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $var + * @return $this + */ + public function setDisplayVideo360AdvertiserLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink::class); + $this->writeOneof(9, $var); + + return $this; + } + + /** + * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in + * change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal|null + */ + public function getDisplayVideo360AdvertiserLinkProposal() + { + return $this->readOneof(10); + } + + public function hasDisplayVideo360AdvertiserLinkProposal() + { + return $this->hasOneof(10); + } + + /** + * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in + * change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; + * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal $var + * @return $this + */ + public function setDisplayVideo360AdvertiserLinkProposal($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal::class); + $this->writeOneof(10, $var); + + return $this; + } + + /** + * A snapshot of a ConversionEvent resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; + * @return \Google\Analytics\Admin\V1alpha\ConversionEvent|null + */ + public function getConversionEvent() + { + return $this->readOneof(11); + } + + public function hasConversionEvent() + { + return $this->hasOneof(11); + } + + /** + * A snapshot of a ConversionEvent resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; + * @param \Google\Analytics\Admin\V1alpha\ConversionEvent $var + * @return $this + */ + public function setConversionEvent($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ConversionEvent::class); + $this->writeOneof(11, $var); + + return $this; + } + + /** + * A snapshot of a MeasurementProtocolSecret resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * @return \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret|null + */ + public function getMeasurementProtocolSecret() + { + return $this->readOneof(12); + } + + public function hasMeasurementProtocolSecret() + { + return $this->hasOneof(12); + } + + /** + * A snapshot of a MeasurementProtocolSecret resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; + * @param \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $var + * @return $this + */ + public function setMeasurementProtocolSecret($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret::class); + $this->writeOneof(12, $var); + + return $this; + } + + /** + * A snapshot of a CustomDimension resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; + * @return \Google\Analytics\Admin\V1alpha\CustomDimension|null + */ + public function getCustomDimension() + { + return $this->readOneof(13); + } + + public function hasCustomDimension() + { + return $this->hasOneof(13); + } + + /** + * A snapshot of a CustomDimension resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; + * @param \Google\Analytics\Admin\V1alpha\CustomDimension $var + * @return $this + */ + public function setCustomDimension($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CustomDimension::class); + $this->writeOneof(13, $var); + + return $this; + } + + /** + * A snapshot of a CustomMetric resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; + * @return \Google\Analytics\Admin\V1alpha\CustomMetric|null + */ + public function getCustomMetric() + { + return $this->readOneof(14); + } + + public function hasCustomMetric() + { + return $this->hasOneof(14); + } + + /** + * A snapshot of a CustomMetric resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; + * @param \Google\Analytics\Admin\V1alpha\CustomMetric $var + * @return $this + */ + public function setCustomMetric($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CustomMetric::class); + $this->writeOneof(14, $var); + + return $this; + } + + /** + * A snapshot of a data retention settings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * @return \Google\Analytics\Admin\V1alpha\DataRetentionSettings|null + */ + public function getDataRetentionSettings() + { + return $this->readOneof(15); + } + + public function hasDataRetentionSettings() + { + return $this->hasOneof(15); + } + + /** + * A snapshot of a data retention settings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; + * @param \Google\Analytics\Admin\V1alpha\DataRetentionSettings $var + * @return $this + */ + public function setDataRetentionSettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataRetentionSettings::class); + $this->writeOneof(15, $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. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 18; + * @return \Google\Analytics\Admin\V1alpha\DataStream|null + */ + public function getDataStream() + { + return $this->readOneof(18); + } + + public function hasDataStream() + { + return $this->hasOneof(18); + } + + /** + * A snapshot of a DataStream resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 18; + * @param \Google\Analytics\Admin\V1alpha\DataStream $var + * @return $this + */ + public function setDataStream($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataStream::class); + $this->writeOneof(18, $var); + + return $this; + } + + /** + * A snapshot of AttributionSettings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + * @return \Google\Analytics\Admin\V1alpha\AttributionSettings|null + */ + public function getAttributionSettings() + { + return $this->readOneof(20); + } + + public function hasAttributionSettings() + { + return $this->hasOneof(20); + } + + /** + * A snapshot of AttributionSettings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; + * @param \Google\Analytics\Admin\V1alpha\AttributionSettings $var + * @return $this + */ + public function setAttributionSettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AttributionSettings::class); + $this->writeOneof(20, $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 ChannelGroup resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 22; + * @return \Google\Analytics\Admin\V1alpha\ChannelGroup|null + */ + public function getChannelGroup() + { + return $this->readOneof(22); + } + + public function hasChannelGroup() + { + return $this->hasOneof(22); + } + + /** + * A snapshot of a ChannelGroup resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 22; + * @param \Google\Analytics\Admin\V1alpha\ChannelGroup $var + * @return $this + */ + public function setChannelGroup($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroup::class); + $this->writeOneof(22, $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; + } + + /** + * A snapshot of EnhancedMeasurementSettings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * @return \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings|null + */ + public function getEnhancedMeasurementSettings() + { + return $this->readOneof(24); + } + + public function hasEnhancedMeasurementSettings() + { + return $this->hasOneof(24); + } + + /** + * A snapshot of EnhancedMeasurementSettings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * @param \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings $var + * @return $this + */ + public function setEnhancedMeasurementSettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings::class); + $this->writeOneof(24, $var); + + return $this; + } + + /** + * A snapshot of DataRedactionSettings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * @return \Google\Analytics\Admin\V1alpha\DataRedactionSettings|null + */ + public function getDataRedactionSettings() + { + return $this->readOneof(25); + } + + public function hasDataRedactionSettings() + { + return $this->hasOneof(25); + } + + /** + * A snapshot of DataRedactionSettings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * @param \Google\Analytics\Admin\V1alpha\DataRedactionSettings $var + * @return $this + */ + public function setDataRedactionSettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataRedactionSettings::class); + $this->writeOneof(25, $var); + + return $this; + } + + /** + * A snapshot of SKAdNetworkConversionValueSchema resource in change + * history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * @return \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema|null + */ + public function getSkadnetworkConversionValueSchema() + { + return $this->readOneof(26); + } + + public function hasSkadnetworkConversionValueSchema() + { + return $this->hasOneof(26); + } + + /** + * A snapshot of SKAdNetworkConversionValueSchema resource in change + * history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * @param \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $var + * @return $this + */ + public function setSkadnetworkConversionValueSchema($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema::class); + $this->writeOneof(26, $var); + + return $this; + } + + /** + * A snapshot of an AdSenseLink resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 27; + * @return \Google\Analytics\Admin\V1alpha\AdSenseLink|null + */ + public function getAdsenseLink() + { + return $this->readOneof(27); + } + + public function hasAdsenseLink() + { + return $this->hasOneof(27); + } + + /** + * A snapshot of an AdSenseLink resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 27; + * @param \Google\Analytics\Admin\V1alpha\AdSenseLink $var + * @return $this + */ + public function setAdsenseLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AdSenseLink::class); + $this->writeOneof(27, $var); + + return $this; + } + + /** + * A snapshot of an Audience resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 28; + * @return \Google\Analytics\Admin\V1alpha\Audience|null + */ + public function getAudience() + { + return $this->readOneof(28); + } + + public function hasAudience() + { + return $this->hasOneof(28); + } + + /** + * A snapshot of an Audience resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 28; + * @param \Google\Analytics\Admin\V1alpha\Audience $var + * @return $this + */ + public function setAudience($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Audience::class); + $this->writeOneof(28, $var); + + return $this; + } + + /** + * A snapshot of an EventCreateRule resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; + * @return \Google\Analytics\Admin\V1alpha\EventCreateRule|null + */ + public function getEventCreateRule() + { + return $this->readOneof(29); + } + + public function hasEventCreateRule() + { + return $this->hasOneof(29); + } + + /** + * A snapshot of an EventCreateRule resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; + * @param \Google\Analytics\Admin\V1alpha\EventCreateRule $var + * @return $this + */ + public function setEventCreateRule($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\EventCreateRule::class); + $this->writeOneof(29, $var); + + return $this; + } + + /** + * A snapshot of a KeyEvent resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 30; + * @return \Google\Analytics\Admin\V1alpha\KeyEvent|null + */ + public function getKeyEvent() + { + return $this->readOneof(30); + } + + public function hasKeyEvent() + { + return $this->hasOneof(30); + } + + /** + * A snapshot of a KeyEvent resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 30; + * @param \Google\Analytics\Admin\V1alpha\KeyEvent $var + * @return $this + */ + public function setKeyEvent($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\KeyEvent::class); + $this->writeOneof(30, $var); + + return $this; + } + + /** + * A snapshot of a CalculatedMetric resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 31; + * @return \Google\Analytics\Admin\V1alpha\CalculatedMetric|null + */ + public function getCalculatedMetric() + { + return $this->readOneof(31); + } + + public function hasCalculatedMetric() + { + return $this->hasOneof(31); + } + + /** + * A snapshot of a CalculatedMetric resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 31; + * @param \Google\Analytics\Admin\V1alpha\CalculatedMetric $var + * @return $this + */ + public function setCalculatedMetric($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CalculatedMetric::class); + $this->writeOneof(31, $var); + + return $this; + } + + /** + * A snapshot of a ReportingDataAnnotation resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 32; + * @return \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation|null + */ + public function getReportingDataAnnotation() + { + return $this->readOneof(32); + } + + public function hasReportingDataAnnotation() + { + return $this->hasOneof(32); + } + + /** + * A snapshot of a ReportingDataAnnotation resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 32; + * @param \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $var + * @return $this + */ + public function setReportingDataAnnotation($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation::class); + $this->writeOneof(32, $var); + + return $this; + } + + /** + * A snapshot of a SubpropertySyncConfig resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_config = 33; + * @return \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig|null + */ + public function getSubpropertySyncConfig() + { + return $this->readOneof(33); + } + + public function hasSubpropertySyncConfig() + { + return $this->hasOneof(33); + } + + /** + * A snapshot of a SubpropertySyncConfig resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_config = 33; + * @param \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig $var + * @return $this + */ + public function setSubpropertySyncConfig($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig::class); + $this->writeOneof(33, $var); + + return $this; + } + + /** + * A snapshot of a ReportingIdentitySettings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingIdentitySettings reporting_identity_settings = 34; + * @return \Google\Analytics\Admin\V1alpha\ReportingIdentitySettings|null + */ + public function getReportingIdentitySettings() + { + return $this->readOneof(34); + } + + public function hasReportingIdentitySettings() + { + return $this->hasOneof(34); + } + + /** + * A snapshot of a ReportingIdentitySettings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingIdentitySettings reporting_identity_settings = 34; + * @param \Google\Analytics\Admin\V1alpha\ReportingIdentitySettings $var + * @return $this + */ + public function setReportingIdentitySettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ReportingIdentitySettings::class); + $this->writeOneof(34, $var); + + return $this; + } + + /** + * A snapshot of a UserProvidedDataSettings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * @return \Google\Analytics\Admin\V1alpha\UserProvidedDataSettings|null + */ + public function getUserProvidedDataSettings() + { + return $this->readOneof(35); + } + + public function hasUserProvidedDataSettings() + { + return $this->hasOneof(35); + } + + /** + * A snapshot of a UserProvidedDataSettings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * @param \Google\Analytics\Admin\V1alpha\UserProvidedDataSettings $var + * @return $this + */ + public function setUserProvidedDataSettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\UserProvidedDataSettings::class); + $this->writeOneof(35, $var); + + return $this; + } + + /** + * @return string + */ + public function getResource() + { + return $this->whichOneof("resource"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryEvent.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryEvent.php new file mode 100644 index 000000000000..a31d36ff4348 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryEvent.php @@ -0,0 +1,266 @@ +google.analytics.admin.v1alpha.ChangeHistoryEvent + */ +class ChangeHistoryEvent extends \Google\Protobuf\Internal\Message +{ + /** + * ID of this change history event. This ID is unique across Google Analytics. + * + * Generated from protobuf field string id = 1; + */ + protected $id = ''; + /** + * Time when change was made. + * + * Generated from protobuf field .google.protobuf.Timestamp change_time = 2; + */ + protected $change_time = null; + /** + * The type of actor that made this change. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ActorType actor_type = 3; + */ + protected $actor_type = 0; + /** + * Email address of the Google account that made the change. This will be a + * valid email address if the actor field is set to USER, and empty otherwise. + * Google accounts that have been deleted will cause an error. + * + * Generated from protobuf field string user_actor_email = 4; + */ + protected $user_actor_email = ''; + /** + * If true, then the list of changes returned was filtered, and does not + * represent all changes that occurred in this event. + * + * Generated from protobuf field bool changes_filtered = 5; + */ + protected $changes_filtered = false; + /** + * A list of changes made in this change history event that fit the filters + * specified in SearchChangeHistoryEventsRequest. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6; + */ + private $changes; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $id + * ID of this change history event. This ID is unique across Google Analytics. + * @type \Google\Protobuf\Timestamp $change_time + * Time when change was made. + * @type int $actor_type + * The type of actor that made this change. + * @type string $user_actor_email + * Email address of the Google account that made the change. This will be a + * valid email address if the actor field is set to USER, and empty otherwise. + * Google accounts that have been deleted will cause an error. + * @type bool $changes_filtered + * If true, then the list of changes returned was filtered, and does not + * represent all changes that occurred in this event. + * @type \Google\Analytics\Admin\V1alpha\ChangeHistoryChange[] $changes + * A list of changes made in this change history event that fit the filters + * specified in SearchChangeHistoryEventsRequest. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * ID of this change history event. This ID is unique across Google Analytics. + * + * Generated from protobuf field string id = 1; + * @return string + */ + public function getId() + { + return $this->id; + } + + /** + * ID of this change history event. This ID is unique across Google Analytics. + * + * Generated from protobuf field string id = 1; + * @param string $var + * @return $this + */ + public function setId($var) + { + GPBUtil::checkString($var, True); + $this->id = $var; + + return $this; + } + + /** + * Time when change was made. + * + * Generated from protobuf field .google.protobuf.Timestamp change_time = 2; + * @return \Google\Protobuf\Timestamp|null + */ + public function getChangeTime() + { + return $this->change_time; + } + + public function hasChangeTime() + { + return isset($this->change_time); + } + + public function clearChangeTime() + { + unset($this->change_time); + } + + /** + * Time when change was made. + * + * Generated from protobuf field .google.protobuf.Timestamp change_time = 2; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setChangeTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->change_time = $var; + + return $this; + } + + /** + * The type of actor that made this change. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ActorType actor_type = 3; + * @return int + */ + public function getActorType() + { + return $this->actor_type; + } + + /** + * The type of actor that made this change. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ActorType actor_type = 3; + * @param int $var + * @return $this + */ + public function setActorType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\ActorType::class); + $this->actor_type = $var; + + return $this; + } + + /** + * Email address of the Google account that made the change. This will be a + * valid email address if the actor field is set to USER, and empty otherwise. + * Google accounts that have been deleted will cause an error. + * + * Generated from protobuf field string user_actor_email = 4; + * @return string + */ + public function getUserActorEmail() + { + return $this->user_actor_email; + } + + /** + * Email address of the Google account that made the change. This will be a + * valid email address if the actor field is set to USER, and empty otherwise. + * Google accounts that have been deleted will cause an error. + * + * Generated from protobuf field string user_actor_email = 4; + * @param string $var + * @return $this + */ + public function setUserActorEmail($var) + { + GPBUtil::checkString($var, True); + $this->user_actor_email = $var; + + return $this; + } + + /** + * If true, then the list of changes returned was filtered, and does not + * represent all changes that occurred in this event. + * + * Generated from protobuf field bool changes_filtered = 5; + * @return bool + */ + public function getChangesFiltered() + { + return $this->changes_filtered; + } + + /** + * If true, then the list of changes returned was filtered, and does not + * represent all changes that occurred in this event. + * + * Generated from protobuf field bool changes_filtered = 5; + * @param bool $var + * @return $this + */ + public function setChangesFiltered($var) + { + GPBUtil::checkBool($var); + $this->changes_filtered = $var; + + return $this; + } + + /** + * A list of changes made in this change history event that fit the filters + * specified in SearchChangeHistoryEventsRequest. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ChangeHistoryChange> + */ + public function getChanges() + { + return $this->changes; + } + + /** + * A list of changes made in this change history event that fit the filters + * specified in SearchChangeHistoryEventsRequest. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6; + * @param \Google\Analytics\Admin\V1alpha\ChangeHistoryChange[] $var + * @return $this + */ + public function setChanges($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ChangeHistoryChange::class); + $this->changes = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryResourceType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryResourceType.php new file mode 100644 index 000000000000..27c8db9d13dd --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryResourceType.php @@ -0,0 +1,257 @@ +google.analytics.admin.v1alpha.ChangeHistoryResourceType + */ +class ChangeHistoryResourceType +{ + /** + * Resource type unknown or not specified. + * + * Generated from protobuf enum CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED = 0; + */ + const CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED = 0; + /** + * Account resource + * + * Generated from protobuf enum ACCOUNT = 1; + */ + const ACCOUNT = 1; + /** + * Property resource + * + * Generated from protobuf enum PROPERTY = 2; + */ + const PROPERTY = 2; + /** + * FirebaseLink resource + * + * Generated from protobuf enum FIREBASE_LINK = 6; + */ + const FIREBASE_LINK = 6; + /** + * GoogleAdsLink resource + * + * Generated from protobuf enum GOOGLE_ADS_LINK = 7; + */ + const GOOGLE_ADS_LINK = 7; + /** + * GoogleSignalsSettings resource + * + * Generated from protobuf enum GOOGLE_SIGNALS_SETTINGS = 8; + */ + const GOOGLE_SIGNALS_SETTINGS = 8; + /** + * ConversionEvent resource + * + * Generated from protobuf enum CONVERSION_EVENT = 9; + */ + const CONVERSION_EVENT = 9; + /** + * MeasurementProtocolSecret resource + * + * Generated from protobuf enum MEASUREMENT_PROTOCOL_SECRET = 10; + */ + const MEASUREMENT_PROTOCOL_SECRET = 10; + /** + * CustomDimension resource + * + * Generated from protobuf enum CUSTOM_DIMENSION = 11; + */ + const CUSTOM_DIMENSION = 11; + /** + * CustomMetric resource + * + * Generated from protobuf enum CUSTOM_METRIC = 12; + */ + const CUSTOM_METRIC = 12; + /** + * DataRetentionSettings resource + * + * Generated from protobuf enum DATA_RETENTION_SETTINGS = 13; + */ + const DATA_RETENTION_SETTINGS = 13; + /** + * DisplayVideo360AdvertiserLink resource + * + * Generated from protobuf enum DISPLAY_VIDEO_360_ADVERTISER_LINK = 14; + */ + const DISPLAY_VIDEO_360_ADVERTISER_LINK = 14; + /** + * DisplayVideo360AdvertiserLinkProposal resource + * + * Generated from protobuf enum DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15; + */ + const DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15; + /** + * SearchAds360Link resource + * + * Generated from protobuf enum SEARCH_ADS_360_LINK = 16; + */ + const SEARCH_ADS_360_LINK = 16; + /** + * DataStream resource + * + * Generated from protobuf enum DATA_STREAM = 18; + */ + const DATA_STREAM = 18; + /** + * AttributionSettings resource + * + * 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; + /** + * BigQuery link resource + * + * Generated from protobuf enum BIGQUERY_LINK = 23; + */ + const BIGQUERY_LINK = 23; + /** + * EnhancedMeasurementSettings resource + * + * Generated from protobuf enum ENHANCED_MEASUREMENT_SETTINGS = 24; + */ + const ENHANCED_MEASUREMENT_SETTINGS = 24; + /** + * DataRedactionSettings resource + * + * Generated from protobuf enum DATA_REDACTION_SETTINGS = 25; + */ + const DATA_REDACTION_SETTINGS = 25; + /** + * SKAdNetworkConversionValueSchema resource + * + * Generated from protobuf enum SKADNETWORK_CONVERSION_VALUE_SCHEMA = 26; + */ + const SKADNETWORK_CONVERSION_VALUE_SCHEMA = 26; + /** + * AdSenseLink resource + * + * Generated from protobuf enum ADSENSE_LINK = 27; + */ + const ADSENSE_LINK = 27; + /** + * Audience resource + * + * Generated from protobuf enum AUDIENCE = 28; + */ + const AUDIENCE = 28; + /** + * EventCreateRule resource + * + * Generated from protobuf enum EVENT_CREATE_RULE = 29; + */ + const EVENT_CREATE_RULE = 29; + /** + * KeyEvent resource + * + * Generated from protobuf enum KEY_EVENT = 30; + */ + const KEY_EVENT = 30; + /** + * CalculatedMetric resource + * + * Generated from protobuf enum CALCULATED_METRIC = 31; + */ + const CALCULATED_METRIC = 31; + /** + * ReportingDataAnnotation resource + * + * Generated from protobuf enum REPORTING_DATA_ANNOTATION = 32; + */ + const REPORTING_DATA_ANNOTATION = 32; + /** + * SubpropertySyncConfig resource + * + * Generated from protobuf enum SUBPROPERTY_SYNC_CONFIG = 33; + */ + const SUBPROPERTY_SYNC_CONFIG = 33; + /** + * ReportingIdentitySettings resource + * + * Generated from protobuf enum REPORTING_IDENTITY_SETTINGS = 34; + */ + const REPORTING_IDENTITY_SETTINGS = 34; + /** + * UserProvidedDataSettings resource + * + * Generated from protobuf enum USER_PROVIDED_DATA_SETTINGS = 35; + */ + const USER_PROVIDED_DATA_SETTINGS = 35; + + private static $valueToName = [ + self::CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED => 'CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED', + self::ACCOUNT => 'ACCOUNT', + self::PROPERTY => 'PROPERTY', + self::FIREBASE_LINK => 'FIREBASE_LINK', + self::GOOGLE_ADS_LINK => 'GOOGLE_ADS_LINK', + self::GOOGLE_SIGNALS_SETTINGS => 'GOOGLE_SIGNALS_SETTINGS', + self::CONVERSION_EVENT => 'CONVERSION_EVENT', + self::MEASUREMENT_PROTOCOL_SECRET => 'MEASUREMENT_PROTOCOL_SECRET', + self::CUSTOM_DIMENSION => 'CUSTOM_DIMENSION', + self::CUSTOM_METRIC => 'CUSTOM_METRIC', + self::DATA_RETENTION_SETTINGS => 'DATA_RETENTION_SETTINGS', + self::DISPLAY_VIDEO_360_ADVERTISER_LINK => 'DISPLAY_VIDEO_360_ADVERTISER_LINK', + self::DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL => 'DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL', + 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', + self::BIGQUERY_LINK => 'BIGQUERY_LINK', + self::ENHANCED_MEASUREMENT_SETTINGS => 'ENHANCED_MEASUREMENT_SETTINGS', + self::DATA_REDACTION_SETTINGS => 'DATA_REDACTION_SETTINGS', + self::SKADNETWORK_CONVERSION_VALUE_SCHEMA => 'SKADNETWORK_CONVERSION_VALUE_SCHEMA', + self::ADSENSE_LINK => 'ADSENSE_LINK', + self::AUDIENCE => 'AUDIENCE', + self::EVENT_CREATE_RULE => 'EVENT_CREATE_RULE', + self::KEY_EVENT => 'KEY_EVENT', + self::CALCULATED_METRIC => 'CALCULATED_METRIC', + self::REPORTING_DATA_ANNOTATION => 'REPORTING_DATA_ANNOTATION', + self::SUBPROPERTY_SYNC_CONFIG => 'SUBPROPERTY_SYNC_CONFIG', + self::REPORTING_IDENTITY_SETTINGS => 'REPORTING_IDENTITY_SETTINGS', + self::USER_PROVIDED_DATA_SETTINGS => 'USER_PROVIDED_DATA_SETTINGS', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroup.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroup.php new file mode 100644 index 000000000000..31157cfa841e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroup.php @@ -0,0 +1,269 @@ +google.analytics.admin.v1alpha.ChannelGroup + */ +class ChannelGroup extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. The resource name for this Channel Group resource. + * Format: properties/{property}/channelGroups/{channel_group} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Required. The display name of the Channel Group. Max length of 80 + * characters. + * + * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * The description of the Channel Group. Max length of 256 characters. + * + * Generated from protobuf field string description = 3; + */ + protected $description = ''; + /** + * Required. The grouping rules of channels. Maximum number of rules is 50. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + private $grouping_rule; + /** + * Output only. If true, then this channel group is the Default Channel Group + * predefined by Google Analytics. Display name and grouping rules cannot be + * updated for this channel group. + * + * Generated from protobuf field bool system_defined = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $system_defined = false; + /** + * Optional. If true, this channel group will be used as the default channel + * group for reports. Only one channel group can be set as `primary` at any + * time. If the `primary` field gets set on a channel group, it will get unset + * on the previous primary channel group. + * The Google Analytics predefined channel group is the primary by default. + * + * Generated from protobuf field bool primary = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $primary = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. The resource name for this Channel Group resource. + * Format: properties/{property}/channelGroups/{channel_group} + * @type string $display_name + * Required. The display name of the Channel Group. Max length of 80 + * characters. + * @type string $description + * The description of the Channel Group. Max length of 256 characters. + * @type \Google\Analytics\Admin\V1alpha\GroupingRule[] $grouping_rule + * Required. The grouping rules of channels. Maximum number of rules is 50. + * @type bool $system_defined + * Output only. If true, then this channel group is the Default Channel Group + * predefined by Google Analytics. Display name and grouping rules cannot be + * updated for this channel group. + * @type bool $primary + * Optional. If true, this channel group will be used as the default channel + * group for reports. Only one channel group can be set as `primary` at any + * time. If the `primary` field gets set on a channel group, it will get unset + * on the previous primary channel group. + * The Google Analytics predefined channel group is the primary by default. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\ChannelGroup::initOnce(); + parent::__construct($data); + } + + /** + * Output only. The resource name for this Channel Group resource. + * Format: properties/{property}/channelGroups/{channel_group} + * + * 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 Channel Group resource. + * Format: properties/{property}/channelGroups/{channel_group} + * + * 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 Channel Group. Max length of 80 + * characters. + * + * 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 Channel Group. Max length of 80 + * characters. + * + * 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; + } + + /** + * The description of the Channel Group. Max length of 256 characters. + * + * Generated from protobuf field string description = 3; + * @return string + */ + public function getDescription() + { + return $this->description; + } + + /** + * The description of the Channel Group. Max length of 256 characters. + * + * Generated from protobuf field string description = 3; + * @param string $var + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Required. The grouping rules of channels. Maximum number of rules is 50. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\GroupingRule> + */ + public function getGroupingRule() + { + return $this->grouping_rule; + } + + /** + * Required. The grouping rules of channels. Maximum number of rules is 50. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\GroupingRule[] $var + * @return $this + */ + public function setGroupingRule($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\GroupingRule::class); + $this->grouping_rule = $arr; + + return $this; + } + + /** + * Output only. If true, then this channel group is the Default Channel Group + * predefined by Google Analytics. Display name and grouping rules cannot be + * updated for this channel group. + * + * Generated from protobuf field bool system_defined = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getSystemDefined() + { + return $this->system_defined; + } + + /** + * Output only. If true, then this channel group is the Default Channel Group + * predefined by Google Analytics. Display name and grouping rules cannot be + * updated for this channel group. + * + * Generated from protobuf field bool system_defined = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setSystemDefined($var) + { + GPBUtil::checkBool($var); + $this->system_defined = $var; + + return $this; + } + + /** + * Optional. If true, this channel group will be used as the default channel + * group for reports. Only one channel group can be set as `primary` at any + * time. If the `primary` field gets set on a channel group, it will get unset + * on the previous primary channel group. + * The Google Analytics predefined channel group is the primary by default. + * + * Generated from protobuf field bool primary = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getPrimary() + { + return $this->primary; + } + + /** + * Optional. If true, this channel group will be used as the default channel + * group for reports. Only one channel group can be set as `primary` at any + * time. If the `primary` field gets set on a channel group, it will get unset + * on the previous primary channel group. + * The Google Analytics predefined channel group is the primary by default. + * + * Generated from protobuf field bool primary = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setPrimary($var) + { + GPBUtil::checkBool($var); + $this->primary = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter.php new file mode 100644 index 000000000000..c4810a80c640 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter.php @@ -0,0 +1,145 @@ +google.analytics.admin.v1alpha.ChannelGroupFilter + */ +class ChannelGroupFilter extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Immutable. The dimension name to filter. + * + * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $field_name = ''; + protected $value_filter; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\StringFilter $string_filter + * A filter for a string-type dimension that matches a particular pattern. + * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\InListFilter $in_list_filter + * A filter for a string dimension that matches a particular list of + * options. + * @type string $field_name + * Required. Immutable. The dimension name to filter. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\ChannelGroup::initOnce(); + parent::__construct($data); + } + + /** + * A filter for a string-type dimension that matches a particular pattern. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * @return \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\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.ChannelGroupFilter.StringFilter string_filter = 2; + * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\StringFilter $var + * @return $this + */ + public function setStringFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\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.ChannelGroupFilter.InListFilter in_list_filter = 3; + * @return \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\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.ChannelGroupFilter.InListFilter in_list_filter = 3; + * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\InListFilter $var + * @return $this + */ + public function setInListFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\InListFilter::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * Required. Immutable. The dimension name to filter. + * + * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getFieldName() + { + return $this->field_name; + } + + /** + * Required. Immutable. The dimension name to filter. + * + * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setFieldName($var) + { + GPBUtil::checkString($var, True); + $this->field_name = $var; + + return $this; + } + + /** + * @return string + */ + public function getValueFilter() + { + return $this->whichOneof("value_filter"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/InListFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/InListFilter.php new file mode 100644 index 000000000000..6fd90559977f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/InListFilter.php @@ -0,0 +1,72 @@ +google.analytics.admin.v1alpha.ChannelGroupFilter.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; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $values + * Required. The list of possible string values to match against. Must be + * non-empty. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\ChannelGroup::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 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 string[] $var + * @return $this + */ + public function setValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->values = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter.php new file mode 100644 index 000000000000..2dc277161107 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter.php @@ -0,0 +1,101 @@ +google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter + */ +class StringFilter extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The match type for the string filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $match_type = 0; + /** + * Required. The string value to be matched against. + * + * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $value = ''; + + /** + * 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\ChannelGroup::initOnce(); + parent::__construct($data); + } + + /** + * Required. The match type for the string filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.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\ChannelGroupFilter\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; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter/MatchType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter/MatchType.php new file mode 100644 index 000000000000..e4c858af0707 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter/MatchType.php @@ -0,0 +1,89 @@ +google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType + */ +class MatchType +{ + /** + * Default match type. + * + * 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; + /** + * Begins with the string value. + * + * Generated from protobuf enum BEGINS_WITH = 2; + */ + const BEGINS_WITH = 2; + /** + * Ends with the string value. + * + * Generated from protobuf enum ENDS_WITH = 3; + */ + const ENDS_WITH = 3; + /** + * Contains the string value. + * + * Generated from protobuf enum CONTAINS = 4; + */ + const CONTAINS = 4; + /** + * Full regular expression match with the string value. + * + * Generated from protobuf enum FULL_REGEXP = 5; + */ + const FULL_REGEXP = 5; + /** + * Partial regular expression match 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', + self::EXACT => 'EXACT', + self::BEGINS_WITH => 'BEGINS_WITH', + self::ENDS_WITH => 'ENDS_WITH', + self::CONTAINS => 'CONTAINS', + self::FULL_REGEXP => 'FULL_REGEXP', + self::PARTIAL_REGEXP => 'PARTIAL_REGEXP', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpression.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpression.php new file mode 100644 index 000000000000..0f73e363c8ce --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpression.php @@ -0,0 +1,192 @@ +google.analytics.admin.v1alpha.ChannelGroupFilterExpression + */ +class ChannelGroupFilterExpression extends \Google\Protobuf\Internal\Message +{ + protected $expr; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList $and_group + * A list of expressions to be AND’ed together. It can only contain + * ChannelGroupFilterExpressions with or_group. This must be set for the + * top level ChannelGroupFilterExpression. + * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList $or_group + * A list of expressions to OR’ed together. It cannot contain + * ChannelGroupFilterExpressions with and_group or or_group. + * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression $not_expression + * A filter expression to be NOT'ed (that is inverted, complemented). It + * can only include a dimension_or_metric_filter. This cannot be set on the + * top level ChannelGroupFilterExpression. + * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilter $filter + * A filter on a single dimension. This cannot be set on the top + * level ChannelGroupFilterExpression. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\ChannelGroup::initOnce(); + parent::__construct($data); + } + + /** + * A list of expressions to be AND’ed together. It can only contain + * ChannelGroupFilterExpressions with or_group. This must be set for the + * top level ChannelGroupFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1; + * @return \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList|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 can only contain + * ChannelGroupFilterExpressions with or_group. This must be set for the + * top level ChannelGroupFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1; + * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList $var + * @return $this + */ + public function setAndGroup($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * A list of expressions to OR’ed together. It cannot contain + * ChannelGroupFilterExpressions with and_group or or_group. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2; + * @return \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList|null + */ + public function getOrGroup() + { + return $this->readOneof(2); + } + + public function hasOrGroup() + { + return $this->hasOneof(2); + } + + /** + * A list of expressions to OR’ed together. It cannot contain + * ChannelGroupFilterExpressions with and_group or or_group. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2; + * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList $var + * @return $this + */ + public function setOrGroup($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * A filter expression to be NOT'ed (that is inverted, complemented). It + * can only include a dimension_or_metric_filter. This cannot be set on the + * top level ChannelGroupFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3; + * @return \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression|null + */ + public function getNotExpression() + { + return $this->readOneof(3); + } + + public function hasNotExpression() + { + return $this->hasOneof(3); + } + + /** + * A filter expression to be NOT'ed (that is inverted, complemented). It + * can only include a dimension_or_metric_filter. This cannot be set on the + * top level ChannelGroupFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3; + * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression $var + * @return $this + */ + public function setNotExpression($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * A filter on a single dimension. This cannot be set on the top + * level ChannelGroupFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4; + * @return \Google\Analytics\Admin\V1alpha\ChannelGroupFilter|null + */ + public function getFilter() + { + return $this->readOneof(4); + } + + public function hasFilter() + { + return $this->hasOneof(4); + } + + /** + * A filter on a single dimension. This cannot be set on the top + * level ChannelGroupFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4; + * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilter $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroupFilter::class); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * @return string + */ + public function getExpr() + { + return $this->whichOneof("expr"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpressionList.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpressionList.php new file mode 100644 index 000000000000..8c0956f6f03a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpressionList.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList + */ +class ChannelGroupFilterExpressionList extends \Google\Protobuf\Internal\Message +{ + /** + * A list of Channel Group filter expressions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + */ + private $filter_expressions; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression[] $filter_expressions + * A list of Channel Group filter expressions. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\ChannelGroup::initOnce(); + parent::__construct($data); + } + + /** + * A list of Channel Group filter expressions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression> + */ + public function getFilterExpressions() + { + return $this->filter_expressions; + } + + /** + * A list of Channel Group filter expressions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression[] $var + * @return $this + */ + public function setFilterExpressions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression::class); + $this->filter_expressions = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CoarseValue.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CoarseValue.php new file mode 100644 index 000000000000..fa2d1aab894e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CoarseValue.php @@ -0,0 +1,71 @@ +google.analytics.admin.v1alpha.CoarseValue + */ +class CoarseValue +{ + /** + * Coarse value not specified. + * + * Generated from protobuf enum COARSE_VALUE_UNSPECIFIED = 0; + */ + const COARSE_VALUE_UNSPECIFIED = 0; + /** + * Coarse value of low. + * + * Generated from protobuf enum COARSE_VALUE_LOW = 1; + */ + const COARSE_VALUE_LOW = 1; + /** + * Coarse value of medium. + * + * Generated from protobuf enum COARSE_VALUE_MEDIUM = 2; + */ + const COARSE_VALUE_MEDIUM = 2; + /** + * Coarse value of high. + * + * Generated from protobuf enum COARSE_VALUE_HIGH = 3; + */ + const COARSE_VALUE_HIGH = 3; + + private static $valueToName = [ + self::COARSE_VALUE_UNSPECIFIED => 'COARSE_VALUE_UNSPECIFIED', + self::COARSE_VALUE_LOW => 'COARSE_VALUE_LOW', + self::COARSE_VALUE_MEDIUM => 'COARSE_VALUE_MEDIUM', + self::COARSE_VALUE_HIGH => 'COARSE_VALUE_HIGH', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent.php new file mode 100644 index 000000000000..f156bd0425ee --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent.php @@ -0,0 +1,331 @@ +google.analytics.admin.v1alpha.ConversionEvent + */ +class ConversionEvent extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name of this conversion event. + * Format: properties/{property}/conversionEvents/{conversion_event} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Immutable. The event name for this conversion event. + * Examples: 'click', 'purchase' + * + * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $event_name = ''; + /** + * Output only. Time when this conversion event was created in the property. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. If set, this event can currently be deleted with + * DeleteConversionEvent. + * + * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $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 + * custom conversion events that may be created per property. + * + * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $custom = false; + /** + * Optional. The method by which conversions will be counted across multiple + * events within a session. If this value is not provided, it will be set to + * `ONCE_PER_EVENT`. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $counting_method = 0; + /** + * Optional. Defines a default value/currency for a conversion event. + * + * Generated from protobuf field optional .google.analytics.admin.v1alpha.ConversionEvent.DefaultConversionValue default_conversion_value = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $default_conversion_value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Resource name of this conversion event. + * Format: properties/{property}/conversionEvents/{conversion_event} + * @type string $event_name + * Immutable. The event name for this conversion event. + * Examples: 'click', 'purchase' + * @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 with + * 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 + * custom conversion events that may be created per property. + * @type int $counting_method + * Optional. The method by which conversions will be counted across multiple + * events within a session. If this value is not provided, it will be set to + * `ONCE_PER_EVENT`. + * @type \Google\Analytics\Admin\V1alpha\ConversionEvent\DefaultConversionValue $default_conversion_value + * Optional. Defines a default value/currency for a conversion event. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Resource name of this conversion event. + * Format: properties/{property}/conversionEvents/{conversion_event} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name of this conversion event. + * Format: properties/{property}/conversionEvents/{conversion_event} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Immutable. The event name for this conversion event. + * Examples: 'click', 'purchase' + * + * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getEventName() + { + return $this->event_name; + } + + /** + * Immutable. The event name for this conversion event. + * Examples: 'click', 'purchase' + * + * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setEventName($var) + { + GPBUtil::checkString($var, True); + $this->event_name = $var; + + return $this; + } + + /** + * Output only. Time when this conversion event was created in the property. + * + * 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 this conversion event was created in the property. + * + * 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; + } + + /** + * Output only. If set, this event can currently be deleted with + * DeleteConversionEvent. + * + * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getDeletable() + { + return $this->deletable; + } + + /** + * Output only. If set, this event can currently be deleted with + * DeleteConversionEvent. + * + * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setDeletable($var) + { + GPBUtil::checkBool($var); + $this->deletable = $var; + + return $this; + } + + /** + * 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]; + * @return bool + */ + public function getCustom() + { + return $this->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 + * custom conversion events that may be created per property. + * + * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setCustom($var) + { + GPBUtil::checkBool($var); + $this->custom = $var; + + return $this; + } + + /** + * Optional. The method by which conversions will be counted across multiple + * events within a session. If this value is not provided, it will be set to + * `ONCE_PER_EVENT`. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getCountingMethod() + { + return $this->counting_method; + } + + /** + * Optional. The method by which conversions will be counted across multiple + * events within a session. If this value is not provided, it will be set to + * `ONCE_PER_EVENT`. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setCountingMethod($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\ConversionEvent\ConversionCountingMethod::class); + $this->counting_method = $var; + + return $this; + } + + /** + * Optional. Defines a default value/currency for a conversion event. + * + * Generated from protobuf field optional .google.analytics.admin.v1alpha.ConversionEvent.DefaultConversionValue default_conversion_value = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Admin\V1alpha\ConversionEvent\DefaultConversionValue|null + */ + public function getDefaultConversionValue() + { + return $this->default_conversion_value; + } + + public function hasDefaultConversionValue() + { + return isset($this->default_conversion_value); + } + + public function clearDefaultConversionValue() + { + unset($this->default_conversion_value); + } + + /** + * Optional. Defines a default value/currency for a conversion event. + * + * Generated from protobuf field optional .google.analytics.admin.v1alpha.ConversionEvent.DefaultConversionValue default_conversion_value = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Admin\V1alpha\ConversionEvent\DefaultConversionValue $var + * @return $this + */ + public function setDefaultConversionValue($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ConversionEvent\DefaultConversionValue::class); + $this->default_conversion_value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/ConversionCountingMethod.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/ConversionCountingMethod.php new file mode 100644 index 000000000000..e9436efdd7b0 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/ConversionCountingMethod.php @@ -0,0 +1,63 @@ +google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod + */ +class ConversionCountingMethod +{ + /** + * Counting method not specified. + * + * Generated from protobuf enum CONVERSION_COUNTING_METHOD_UNSPECIFIED = 0; + */ + const CONVERSION_COUNTING_METHOD_UNSPECIFIED = 0; + /** + * Each Event instance is considered a Conversion. + * + * Generated from protobuf enum ONCE_PER_EVENT = 1; + */ + const ONCE_PER_EVENT = 1; + /** + * An Event instance is considered a Conversion at most once per session per + * user. + * + * Generated from protobuf enum ONCE_PER_SESSION = 2; + */ + const ONCE_PER_SESSION = 2; + + private static $valueToName = [ + self::CONVERSION_COUNTING_METHOD_UNSPECIFIED => 'CONVERSION_COUNTING_METHOD_UNSPECIFIED', + self::ONCE_PER_EVENT => 'ONCE_PER_EVENT', + self::ONCE_PER_SESSION => 'ONCE_PER_SESSION', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/DefaultConversionValue.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/DefaultConversionValue.php new file mode 100644 index 000000000000..f6c1bd1cf0aa --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/DefaultConversionValue.php @@ -0,0 +1,138 @@ +google.analytics.admin.v1alpha.ConversionEvent.DefaultConversionValue + */ +class DefaultConversionValue extends \Google\Protobuf\Internal\Message +{ + /** + * This value will be used to populate the value for all conversions + * of the specified event_name where the event "value" parameter is unset. + * + * Generated from protobuf field optional double value = 1; + */ + protected $value = null; + /** + * When a conversion event for this event_name has no set currency, + * this currency will be applied as the default. Must be in ISO 4217 + * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for + * more information. + * + * Generated from protobuf field optional string currency_code = 2; + */ + protected $currency_code = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float $value + * This value will be used to populate the value for all conversions + * of the specified event_name where the event "value" parameter is unset. + * @type string $currency_code + * When a conversion event for this event_name has no set currency, + * this currency will be applied as the default. Must be in ISO 4217 + * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for + * more information. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * This value will be used to populate the value for all conversions + * of the specified event_name where the event "value" parameter is unset. + * + * Generated from protobuf field optional double value = 1; + * @return float + */ + public function getValue() + { + return isset($this->value) ? $this->value : 0.0; + } + + public function hasValue() + { + return isset($this->value); + } + + public function clearValue() + { + unset($this->value); + } + + /** + * This value will be used to populate the value for all conversions + * of the specified event_name where the event "value" parameter is unset. + * + * Generated from protobuf field optional double value = 1; + * @param float $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkDouble($var); + $this->value = $var; + + return $this; + } + + /** + * When a conversion event for this event_name has no set currency, + * this currency will be applied as the default. Must be in ISO 4217 + * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for + * more information. + * + * Generated from protobuf field optional string currency_code = 2; + * @return string + */ + public function getCurrencyCode() + { + return isset($this->currency_code) ? $this->currency_code : ''; + } + + public function hasCurrencyCode() + { + return isset($this->currency_code); + } + + public function clearCurrencyCode() + { + unset($this->currency_code); + } + + /** + * When a conversion event for this event_name has no set currency, + * this currency will be applied as the default. Must be in ISO 4217 + * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for + * more information. + * + * Generated from protobuf field optional string currency_code = 2; + * @param string $var + * @return $this + */ + public function setCurrencyCode($var) + { + GPBUtil::checkString($var, True); + $this->currency_code = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionValues.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionValues.php new file mode 100644 index 000000000000..1b6d1be12995 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionValues.php @@ -0,0 +1,254 @@ +google.analytics.admin.v1alpha.ConversionValues + */ +class ConversionValues extends \Google\Protobuf\Internal\Message +{ + /** + * Display name of the SKAdNetwork conversion value. + * The max allowed display name length is 50 UTF-16 code units. + * + * Generated from protobuf field string display_name = 1; + */ + protected $display_name = ''; + /** + * The fine-grained conversion value. This is applicable only to the first + * postback window. Its valid values are [0,63], both inclusive. It must be + * set for postback window 1, and must not be set for postback window 2 & 3. + * This value is not guaranteed to be unique. + * If the configuration for the first postback window is re-used for second or + * third postback windows this field has no effect. + * + * Generated from protobuf field optional int32 fine_value = 2; + */ + protected $fine_value = null; + /** + * Required. A coarse grained conversion value. + * This value is not guaranteed to be unique. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $coarse_value = 0; + /** + * Event conditions that must be met for this Conversion Value to be achieved. + * The conditions in this list are ANDed together. It must have minimum of 1 + * entry and maximum of 3 entries, if the postback window is enabled. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4; + */ + private $event_mappings; + /** + * If true, the SDK should lock to this conversion value for the current + * postback window. + * + * Generated from protobuf field bool lock_enabled = 5; + */ + protected $lock_enabled = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $display_name + * Display name of the SKAdNetwork conversion value. + * The max allowed display name length is 50 UTF-16 code units. + * @type int $fine_value + * The fine-grained conversion value. This is applicable only to the first + * postback window. Its valid values are [0,63], both inclusive. It must be + * set for postback window 1, and must not be set for postback window 2 & 3. + * This value is not guaranteed to be unique. + * If the configuration for the first postback window is re-used for second or + * third postback windows this field has no effect. + * @type int $coarse_value + * Required. A coarse grained conversion value. + * This value is not guaranteed to be unique. + * @type \Google\Analytics\Admin\V1alpha\EventMapping[] $event_mappings + * Event conditions that must be met for this Conversion Value to be achieved. + * The conditions in this list are ANDed together. It must have minimum of 1 + * entry and maximum of 3 entries, if the postback window is enabled. + * @type bool $lock_enabled + * If true, the SDK should lock to this conversion value for the current + * postback window. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Display name of the SKAdNetwork conversion value. + * The max allowed display name length is 50 UTF-16 code units. + * + * Generated from protobuf field string display_name = 1; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Display name of the SKAdNetwork conversion value. + * The max allowed display name length is 50 UTF-16 code units. + * + * Generated from protobuf field string display_name = 1; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * The fine-grained conversion value. This is applicable only to the first + * postback window. Its valid values are [0,63], both inclusive. It must be + * set for postback window 1, and must not be set for postback window 2 & 3. + * This value is not guaranteed to be unique. + * If the configuration for the first postback window is re-used for second or + * third postback windows this field has no effect. + * + * Generated from protobuf field optional int32 fine_value = 2; + * @return int + */ + public function getFineValue() + { + return isset($this->fine_value) ? $this->fine_value : 0; + } + + public function hasFineValue() + { + return isset($this->fine_value); + } + + public function clearFineValue() + { + unset($this->fine_value); + } + + /** + * The fine-grained conversion value. This is applicable only to the first + * postback window. Its valid values are [0,63], both inclusive. It must be + * set for postback window 1, and must not be set for postback window 2 & 3. + * This value is not guaranteed to be unique. + * If the configuration for the first postback window is re-used for second or + * third postback windows this field has no effect. + * + * Generated from protobuf field optional int32 fine_value = 2; + * @param int $var + * @return $this + */ + public function setFineValue($var) + { + GPBUtil::checkInt32($var); + $this->fine_value = $var; + + return $this; + } + + /** + * Required. A coarse grained conversion value. + * This value is not guaranteed to be unique. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getCoarseValue() + { + return $this->coarse_value; + } + + /** + * Required. A coarse grained conversion value. + * This value is not guaranteed to be unique. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setCoarseValue($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\CoarseValue::class); + $this->coarse_value = $var; + + return $this; + } + + /** + * Event conditions that must be met for this Conversion Value to be achieved. + * The conditions in this list are ANDed together. It must have minimum of 1 + * entry and maximum of 3 entries, if the postback window is enabled. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\EventMapping> + */ + public function getEventMappings() + { + return $this->event_mappings; + } + + /** + * Event conditions that must be met for this Conversion Value to be achieved. + * The conditions in this list are ANDed together. It must have minimum of 1 + * entry and maximum of 3 entries, if the postback window is enabled. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4; + * @param \Google\Analytics\Admin\V1alpha\EventMapping[] $var + * @return $this + */ + public function setEventMappings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\EventMapping::class); + $this->event_mappings = $arr; + + return $this; + } + + /** + * If true, the SDK should lock to this conversion value for the current + * postback window. + * + * Generated from protobuf field bool lock_enabled = 5; + * @return bool + */ + public function getLockEnabled() + { + return $this->lock_enabled; + } + + /** + * If true, the SDK should lock to this conversion value for the current + * postback window. + * + * Generated from protobuf field bool lock_enabled = 5; + * @param bool $var + * @return $this + */ + public function setLockEnabled($var) + { + GPBUtil::checkBool($var); + $this->lock_enabled = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAccessBindingRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAccessBindingRequest.php new file mode 100644 index 000000000000..ef8235aca0bb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAccessBindingRequest.php @@ -0,0 +1,137 @@ +google.analytics.admin.v1alpha.CreateAccessBindingRequest + */ +class CreateAccessBindingRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Formats: + * - accounts/{account} + * - properties/{property} + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The access binding to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $access_binding = null; + + /** + * @param string $parent Required. Formats: + * - accounts/{account} + * - properties/{property} + * Please see {@see AnalyticsAdminServiceClient::accountName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\AccessBinding $accessBinding Required. The access binding to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateAccessBindingRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\AccessBinding $accessBinding): self + { + return (new self()) + ->setParent($parent) + ->setAccessBinding($accessBinding); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Formats: + * - accounts/{account} + * - properties/{property} + * @type \Google\Analytics\Admin\V1alpha\AccessBinding $access_binding + * Required. The access binding to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Formats: + * - accounts/{account} + * - properties/{property} + * + * 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. Formats: + * - accounts/{account} + * - properties/{property} + * + * 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 access binding to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\AccessBinding|null + */ + public function getAccessBinding() + { + return $this->access_binding; + } + + public function hasAccessBinding() + { + return isset($this->access_binding); + } + + public function clearAccessBinding() + { + unset($this->access_binding); + } + + /** + * Required. The access binding to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\AccessBinding $var + * @return $this + */ + public function setAccessBinding($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessBinding::class); + $this->access_binding = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAdSenseLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAdSenseLinkRequest.php new file mode 100644 index 000000000000..b15c6500fd86 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAdSenseLinkRequest.php @@ -0,0 +1,137 @@ +google.analytics.admin.v1alpha.CreateAdSenseLinkRequest + */ +class CreateAdSenseLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The property for which to create an AdSense Link. + * Format: properties/{propertyId} + * Example: properties/1234 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The AdSense Link to create + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $adsense_link = null; + + /** + * @param string $parent Required. The property for which to create an AdSense Link. + * Format: properties/{propertyId} + * Example: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\AdSenseLink $adsenseLink Required. The AdSense Link to create + * + * @return \Google\Analytics\Admin\V1alpha\CreateAdSenseLinkRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\AdSenseLink $adsenseLink): self + { + return (new self()) + ->setParent($parent) + ->setAdsenseLink($adsenseLink); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The property for which to create an AdSense Link. + * Format: properties/{propertyId} + * Example: properties/1234 + * @type \Google\Analytics\Admin\V1alpha\AdSenseLink $adsense_link + * Required. The AdSense Link to create + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The property for which to create an AdSense Link. + * Format: properties/{propertyId} + * 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 property for which to create an AdSense Link. + * Format: properties/{propertyId} + * 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; + } + + /** + * Required. The AdSense Link to create + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\AdSenseLink|null + */ + public function getAdsenseLink() + { + return $this->adsense_link; + } + + public function hasAdsenseLink() + { + return isset($this->adsense_link); + } + + public function clearAdsenseLink() + { + unset($this->adsense_link); + } + + /** + * Required. The AdSense Link to create + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\AdSenseLink $var + * @return $this + */ + public function setAdsenseLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AdSenseLink::class); + $this->adsense_link = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAudienceRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAudienceRequest.php new file mode 100644 index 000000000000..85f78a6b1d9f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAudienceRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1alpha.CreateAudienceRequest + */ +class CreateAudienceRequest 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) = { + */ + protected $parent = ''; + /** + * Required. The audience to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $audience = null; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\Audience $audience Required. The audience to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateAudienceRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\Audience $audience): self + { + return (new self()) + ->setParent($parent) + ->setAudience($audience); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type \Google\Analytics\Admin\V1alpha\Audience $audience + * Required. The audience 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 audience to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\Audience|null + */ + public function getAudience() + { + return $this->audience; + } + + public function hasAudience() + { + return isset($this->audience); + } + + public function clearAudience() + { + unset($this->audience); + } + + /** + * Required. The audience to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\Audience $var + * @return $this + */ + public function setAudience($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Audience::class); + $this->audience = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateBigQueryLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateBigQueryLinkRequest.php new file mode 100644 index 000000000000..11ff743dc60c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateBigQueryLinkRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1alpha.CreateBigQueryLinkRequest + */ +class CreateBigQueryLinkRequest 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) = { + */ + protected $parent = ''; + /** + * Required. The BigQueryLink to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $bigquery_link = null; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\BigQueryLink $bigqueryLink Required. The BigQueryLink to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateBigQueryLinkRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\BigQueryLink $bigqueryLink): self + { + return (new self()) + ->setParent($parent) + ->setBigqueryLink($bigqueryLink); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type \Google\Analytics\Admin\V1alpha\BigQueryLink $bigquery_link + * Required. The BigQueryLink 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 BigQueryLink to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\BigQueryLink|null + */ + public function getBigqueryLink() + { + return $this->bigquery_link; + } + + public function hasBigqueryLink() + { + return isset($this->bigquery_link); + } + + public function clearBigqueryLink() + { + unset($this->bigquery_link); + } + + /** + * Required. The BigQueryLink to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\BigQueryLink $var + * @return $this + */ + public function setBigqueryLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\BigQueryLink::class); + $this->bigquery_link = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCalculatedMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCalculatedMetricRequest.php new file mode 100644 index 000000000000..2e1c719fdb95 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCalculatedMetricRequest.php @@ -0,0 +1,199 @@ +google.analytics.admin.v1alpha.CreateCalculatedMetricRequest + */ +class CreateCalculatedMetricRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: properties/{property_id} + * Example: properties/1234 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The ID to use for the calculated metric which will become the + * final component of the calculated metric's resource name. + * This value should be 1-80 characters and valid characters are + * /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique + * between all calculated metrics under a property. The calculated_metric_id + * is used when referencing this calculated metric from external APIs, for + * example, "calcMetric:{calculated_metric_id}". + * + * Generated from protobuf field string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $calculated_metric_id = ''; + /** + * Required. The CalculatedMetric to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $calculated_metric = null; + + /** + * @param string $parent Required. Format: properties/{property_id} + * Example: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\CalculatedMetric $calculatedMetric Required. The CalculatedMetric to create. + * @param string $calculatedMetricId Required. The ID to use for the calculated metric which will become the + * final component of the calculated metric's resource name. + * + * This value should be 1-80 characters and valid characters are + * /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique + * between all calculated metrics under a property. The calculated_metric_id + * is used when referencing this calculated metric from external APIs, for + * example, "calcMetric:{calculated_metric_id}". + * + * @return \Google\Analytics\Admin\V1alpha\CreateCalculatedMetricRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\CalculatedMetric $calculatedMetric, string $calculatedMetricId): self + { + return (new self()) + ->setParent($parent) + ->setCalculatedMetric($calculatedMetric) + ->setCalculatedMetricId($calculatedMetricId); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: properties/{property_id} + * Example: properties/1234 + * @type string $calculated_metric_id + * Required. The ID to use for the calculated metric which will become the + * final component of the calculated metric's resource name. + * This value should be 1-80 characters and valid characters are + * /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique + * between all calculated metrics under a property. The calculated_metric_id + * is used when referencing this calculated metric from external APIs, for + * example, "calcMetric:{calculated_metric_id}". + * @type \Google\Analytics\Admin\V1alpha\CalculatedMetric $calculated_metric + * Required. The CalculatedMetric to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. 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. 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; + } + + /** + * Required. The ID to use for the calculated metric which will become the + * final component of the calculated metric's resource name. + * This value should be 1-80 characters and valid characters are + * /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique + * between all calculated metrics under a property. The calculated_metric_id + * is used when referencing this calculated metric from external APIs, for + * example, "calcMetric:{calculated_metric_id}". + * + * Generated from protobuf field string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getCalculatedMetricId() + { + return $this->calculated_metric_id; + } + + /** + * Required. The ID to use for the calculated metric which will become the + * final component of the calculated metric's resource name. + * This value should be 1-80 characters and valid characters are + * /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique + * between all calculated metrics under a property. The calculated_metric_id + * is used when referencing this calculated metric from external APIs, for + * example, "calcMetric:{calculated_metric_id}". + * + * Generated from protobuf field string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setCalculatedMetricId($var) + { + GPBUtil::checkString($var, True); + $this->calculated_metric_id = $var; + + return $this; + } + + /** + * Required. The CalculatedMetric to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\CalculatedMetric|null + */ + public function getCalculatedMetric() + { + return $this->calculated_metric; + } + + public function hasCalculatedMetric() + { + return isset($this->calculated_metric); + } + + public function clearCalculatedMetric() + { + unset($this->calculated_metric); + } + + /** + * Required. The CalculatedMetric to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\CalculatedMetric $var + * @return $this + */ + public function setCalculatedMetric($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CalculatedMetric::class); + $this->calculated_metric = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateChannelGroupRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateChannelGroupRequest.php new file mode 100644 index 000000000000..0e547e5efdec --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateChannelGroupRequest.php @@ -0,0 +1,132 @@ +google.analytics.admin.v1alpha.CreateChannelGroupRequest + */ +class CreateChannelGroupRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The property for which to create a ChannelGroup. + * Example format: properties/1234 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The ChannelGroup to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $channel_group = null; + + /** + * @param string $parent Required. The property for which to create a ChannelGroup. + * Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\ChannelGroup $channelGroup Required. The ChannelGroup to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateChannelGroupRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\ChannelGroup $channelGroup): self + { + return (new self()) + ->setParent($parent) + ->setChannelGroup($channelGroup); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The property for which to create a ChannelGroup. + * Example format: properties/1234 + * @type \Google\Analytics\Admin\V1alpha\ChannelGroup $channel_group + * Required. The ChannelGroup to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The property for which to create a ChannelGroup. + * 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. The property for which to create a ChannelGroup. + * 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 ChannelGroup to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\ChannelGroup|null + */ + public function getChannelGroup() + { + return $this->channel_group; + } + + public function hasChannelGroup() + { + return isset($this->channel_group); + } + + public function clearChannelGroup() + { + unset($this->channel_group); + } + + /** + * Required. The ChannelGroup to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\ChannelGroup $var + * @return $this + */ + public function setChannelGroup($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroup::class); + $this->channel_group = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateConversionEventRequest.php new file mode 100644 index 000000000000..a2a7200974fd --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateConversionEventRequest.php @@ -0,0 +1,132 @@ +google.analytics.admin.v1alpha.CreateConversionEventRequest + */ +class CreateConversionEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The conversion event to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $conversion_event = null; + /** + * 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) = { + */ + protected $parent = ''; + + /** + * @param string $parent Required. 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. + * @param \Google\Analytics\Admin\V1alpha\ConversionEvent $conversionEvent Required. The conversion event to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateConversionEventRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\ConversionEvent $conversionEvent): self + { + return (new self()) + ->setParent($parent) + ->setConversionEvent($conversionEvent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @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 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The conversion event to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\ConversionEvent|null + */ + public function getConversionEvent() + { + return $this->conversion_event; + } + + public function hasConversionEvent() + { + return isset($this->conversion_event); + } + + public function clearConversionEvent() + { + unset($this->conversion_event); + } + + /** + * Required. The conversion event to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\ConversionEvent $var + * @return $this + */ + public function setConversionEvent($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ConversionEvent::class); + $this->conversion_event = $var; + + return $this; + } + + /** + * 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 + */ + public function getParent() + { + return $this->parent; + } + + /** + * 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 + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomDimensionRequest.php new file mode 100644 index 000000000000..89bbbea8669f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomDimensionRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1alpha.CreateCustomDimensionRequest + */ +class CreateCustomDimensionRequest 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) = { + */ + protected $parent = ''; + /** + * Required. The CustomDimension to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $custom_dimension = null; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\CustomDimension $customDimension Required. The CustomDimension to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateCustomDimensionRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\CustomDimension $customDimension): self + { + return (new self()) + ->setParent($parent) + ->setCustomDimension($customDimension); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type \Google\Analytics\Admin\V1alpha\CustomDimension $custom_dimension + * Required. The CustomDimension 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 CustomDimension to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\CustomDimension|null + */ + public function getCustomDimension() + { + return $this->custom_dimension; + } + + public function hasCustomDimension() + { + return isset($this->custom_dimension); + } + + public function clearCustomDimension() + { + unset($this->custom_dimension); + } + + /** + * Required. The CustomDimension to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\CustomDimension $var + * @return $this + */ + public function setCustomDimension($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CustomDimension::class); + $this->custom_dimension = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomMetricRequest.php new file mode 100644 index 000000000000..fd054e8e3870 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomMetricRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1alpha.CreateCustomMetricRequest + */ +class CreateCustomMetricRequest 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) = { + */ + protected $parent = ''; + /** + * Required. The CustomMetric to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $custom_metric = null; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\CustomMetric $customMetric Required. The CustomMetric to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateCustomMetricRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\CustomMetric $customMetric): self + { + return (new self()) + ->setParent($parent) + ->setCustomMetric($customMetric); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type \Google\Analytics\Admin\V1alpha\CustomMetric $custom_metric + * Required. The CustomMetric 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 CustomMetric to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\CustomMetric|null + */ + public function getCustomMetric() + { + return $this->custom_metric; + } + + public function hasCustomMetric() + { + return isset($this->custom_metric); + } + + public function clearCustomMetric() + { + unset($this->custom_metric); + } + + /** + * Required. The CustomMetric to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\CustomMetric $var + * @return $this + */ + public function setCustomMetric($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CustomMetric::class); + $this->custom_metric = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDataStreamRequest.php new file mode 100644 index 000000000000..dbe28d4247b1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDataStreamRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1alpha.CreateDataStreamRequest + */ +class CreateDataStreamRequest 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) = { + */ + protected $parent = ''; + /** + * Required. The DataStream to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $data_stream = null; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\DataStream $dataStream Required. The DataStream to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateDataStreamRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\DataStream $dataStream): self + { + return (new self()) + ->setParent($parent) + ->setDataStream($dataStream); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type \Google\Analytics\Admin\V1alpha\DataStream $data_stream + * Required. The DataStream 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 DataStream to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\DataStream|null + */ + public function getDataStream() + { + return $this->data_stream; + } + + public function hasDataStream() + { + return isset($this->data_stream); + } + + public function clearDataStream() + { + unset($this->data_stream); + } + + /** + * Required. The DataStream to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\DataStream $var + * @return $this + */ + public function setDataStream($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataStream::class); + $this->data_stream = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.php new file mode 100644 index 000000000000..21f184ec6d87 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest + */ +class CreateDisplayVideo360AdvertiserLinkProposalRequest 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) = { + */ + protected $parent = ''; + /** + * Required. The DisplayVideo360AdvertiserLinkProposal to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_video_360_advertiser_link_proposal = null; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal $displayVideo360AdvertiserLinkProposal Required. The DisplayVideo360AdvertiserLinkProposal to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateDisplayVideo360AdvertiserLinkProposalRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal $displayVideo360AdvertiserLinkProposal): self + { + return (new self()) + ->setParent($parent) + ->setDisplayVideo360AdvertiserLinkProposal($displayVideo360AdvertiserLinkProposal); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal $display_video_360_advertiser_link_proposal + * Required. The DisplayVideo360AdvertiserLinkProposal 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 DisplayVideo360AdvertiserLinkProposal to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal|null + */ + public function getDisplayVideo360AdvertiserLinkProposal() + { + return $this->display_video_360_advertiser_link_proposal; + } + + public function hasDisplayVideo360AdvertiserLinkProposal() + { + return isset($this->display_video_360_advertiser_link_proposal); + } + + public function clearDisplayVideo360AdvertiserLinkProposal() + { + unset($this->display_video_360_advertiser_link_proposal); + } + + /** + * Required. The DisplayVideo360AdvertiserLinkProposal to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal $var + * @return $this + */ + public function setDisplayVideo360AdvertiserLinkProposal($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal::class); + $this->display_video_360_advertiser_link_proposal = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkRequest.php new file mode 100644 index 000000000000..78647ae6091a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest + */ +class CreateDisplayVideo360AdvertiserLinkRequest 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) = { + */ + protected $parent = ''; + /** + * Required. The DisplayVideo360AdvertiserLink to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_video_360_advertiser_link = null; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $displayVideo360AdvertiserLink Required. The DisplayVideo360AdvertiserLink to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateDisplayVideo360AdvertiserLinkRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $displayVideo360AdvertiserLink): self + { + return (new self()) + ->setParent($parent) + ->setDisplayVideo360AdvertiserLink($displayVideo360AdvertiserLink); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $display_video_360_advertiser_link + * Required. The DisplayVideo360AdvertiserLink 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 DisplayVideo360AdvertiserLink to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink|null + */ + public function getDisplayVideo360AdvertiserLink() + { + return $this->display_video_360_advertiser_link; + } + + public function hasDisplayVideo360AdvertiserLink() + { + return isset($this->display_video_360_advertiser_link); + } + + public function clearDisplayVideo360AdvertiserLink() + { + unset($this->display_video_360_advertiser_link); + } + + /** + * Required. The DisplayVideo360AdvertiserLink to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $var + * @return $this + */ + public function setDisplayVideo360AdvertiserLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink::class); + $this->display_video_360_advertiser_link = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventCreateRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventCreateRuleRequest.php new file mode 100644 index 000000000000..6855c2de4316 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventCreateRuleRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1alpha.CreateEventCreateRuleRequest + */ +class CreateEventCreateRuleRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Example format: properties/123/dataStreams/456 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The EventCreateRule to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $event_create_rule = null; + + /** + * @param string $parent Required. Example format: properties/123/dataStreams/456 + * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\EventCreateRule $eventCreateRule Required. The EventCreateRule to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateEventCreateRuleRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\EventCreateRule $eventCreateRule): self + { + return (new self()) + ->setParent($parent) + ->setEventCreateRule($eventCreateRule); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/123/dataStreams/456 + * @type \Google\Analytics\Admin\V1alpha\EventCreateRule $event_create_rule + * Required. The EventCreateRule to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Example format: properties/123/dataStreams/456 + * + * 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/123/dataStreams/456 + * + * 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 EventCreateRule to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\EventCreateRule|null + */ + public function getEventCreateRule() + { + return $this->event_create_rule; + } + + public function hasEventCreateRule() + { + return isset($this->event_create_rule); + } + + public function clearEventCreateRule() + { + unset($this->event_create_rule); + } + + /** + * Required. The EventCreateRule to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\EventCreateRule $var + * @return $this + */ + public function setEventCreateRule($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\EventCreateRule::class); + $this->event_create_rule = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventEditRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventEditRuleRequest.php new file mode 100644 index 000000000000..b1fbeb084d88 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventEditRuleRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1alpha.CreateEventEditRuleRequest + */ +class CreateEventEditRuleRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Example format: properties/123/dataStreams/456 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The EventEditRule to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $event_edit_rule = null; + + /** + * @param string $parent Required. Example format: properties/123/dataStreams/456 + * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\EventEditRule $eventEditRule Required. The EventEditRule to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateEventEditRuleRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\EventEditRule $eventEditRule): self + { + return (new self()) + ->setParent($parent) + ->setEventEditRule($eventEditRule); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/123/dataStreams/456 + * @type \Google\Analytics\Admin\V1alpha\EventEditRule $event_edit_rule + * Required. The EventEditRule to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Example format: properties/123/dataStreams/456 + * + * 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/123/dataStreams/456 + * + * 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 EventEditRule to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\EventEditRule|null + */ + public function getEventEditRule() + { + return $this->event_edit_rule; + } + + public function hasEventEditRule() + { + return isset($this->event_edit_rule); + } + + public function clearEventEditRule() + { + unset($this->event_edit_rule); + } + + /** + * Required. The EventEditRule to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\EventEditRule $var + * @return $this + */ + public function setEventEditRule($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\EventEditRule::class); + $this->event_edit_rule = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateExpandedDataSetRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateExpandedDataSetRequest.php new file mode 100644 index 000000000000..5fe40ee08f06 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateExpandedDataSetRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1alpha.CreateExpandedDataSetRequest + */ +class CreateExpandedDataSetRequest 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) = { + */ + protected $parent = ''; + /** + * Required. The ExpandedDataSet to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $expanded_data_set = null; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSet $expandedDataSet Required. The ExpandedDataSet to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateExpandedDataSetRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\ExpandedDataSet $expandedDataSet): self + { + return (new self()) + ->setParent($parent) + ->setExpandedDataSet($expandedDataSet); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSet $expanded_data_set + * Required. The ExpandedDataSet 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 ExpandedDataSet to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\ExpandedDataSet|null + */ + public function getExpandedDataSet() + { + return $this->expanded_data_set; + } + + public function hasExpandedDataSet() + { + return isset($this->expanded_data_set); + } + + public function clearExpandedDataSet() + { + unset($this->expanded_data_set); + } + + /** + * Required. The ExpandedDataSet to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSet $var + * @return $this + */ + public function setExpandedDataSet($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ExpandedDataSet::class); + $this->expanded_data_set = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateFirebaseLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateFirebaseLinkRequest.php new file mode 100644 index 000000000000..f8f01d27362f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateFirebaseLinkRequest.php @@ -0,0 +1,133 @@ +google.analytics.admin.v1alpha.CreateFirebaseLinkRequest + */ +class CreateFirebaseLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: properties/{property_id} + * Example: `properties/1234` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The Firebase link to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $firebase_link = null; + + /** + * @param string $parent Required. Format: properties/{property_id} + * + * Example: `properties/1234` + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\FirebaseLink $firebaseLink Required. The Firebase link to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateFirebaseLinkRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\FirebaseLink $firebaseLink): self + { + return (new self()) + ->setParent($parent) + ->setFirebaseLink($firebaseLink); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: properties/{property_id} + * Example: `properties/1234` + * @type \Google\Analytics\Admin\V1alpha\FirebaseLink $firebase_link + * Required. The Firebase link to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. 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. 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; + } + + /** + * Required. The Firebase link to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\FirebaseLink|null + */ + public function getFirebaseLink() + { + return $this->firebase_link; + } + + public function hasFirebaseLink() + { + return isset($this->firebase_link); + } + + public function clearFirebaseLink() + { + unset($this->firebase_link); + } + + /** + * Required. The Firebase link to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\FirebaseLink $var + * @return $this + */ + public function setFirebaseLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\FirebaseLink::class); + $this->firebase_link = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateGoogleAdsLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateGoogleAdsLinkRequest.php new file mode 100644 index 000000000000..43d4fafde2db --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateGoogleAdsLinkRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest + */ +class CreateGoogleAdsLinkRequest 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) = { + */ + protected $parent = ''; + /** + * Required. The GoogleAdsLink to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $google_ads_link = null; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\GoogleAdsLink $googleAdsLink Required. The GoogleAdsLink to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateGoogleAdsLinkRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\GoogleAdsLink $googleAdsLink): self + { + return (new self()) + ->setParent($parent) + ->setGoogleAdsLink($googleAdsLink); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type \Google\Analytics\Admin\V1alpha\GoogleAdsLink $google_ads_link + * Required. The GoogleAdsLink 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 GoogleAdsLink to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\GoogleAdsLink|null + */ + public function getGoogleAdsLink() + { + return $this->google_ads_link; + } + + public function hasGoogleAdsLink() + { + return isset($this->google_ads_link); + } + + public function clearGoogleAdsLink() + { + unset($this->google_ads_link); + } + + /** + * Required. The GoogleAdsLink to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\GoogleAdsLink $var + * @return $this + */ + public function setGoogleAdsLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\GoogleAdsLink::class); + $this->google_ads_link = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateKeyEventRequest.php new file mode 100644 index 000000000000..33271c8a639d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateKeyEventRequest.php @@ -0,0 +1,132 @@ +google.analytics.admin.v1alpha.CreateKeyEventRequest + */ +class CreateKeyEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The Key Event to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $key_event = null; + /** + * Required. The resource name of the parent property where this Key Event + * will be created. Format: properties/123 + * + * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + + /** + * @param string $parent Required. The resource name of the parent property where this Key Event + * will be created. Format: properties/123 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\KeyEvent $keyEvent Required. The Key Event to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateKeyEventRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\KeyEvent $keyEvent): self + { + return (new self()) + ->setParent($parent) + ->setKeyEvent($keyEvent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\KeyEvent $key_event + * Required. The Key Event to create. + * @type string $parent + * Required. The resource name of the parent property where this Key Event + * will be created. Format: properties/123 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The Key Event to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\KeyEvent|null + */ + public function getKeyEvent() + { + return $this->key_event; + } + + public function hasKeyEvent() + { + return isset($this->key_event); + } + + public function clearKeyEvent() + { + unset($this->key_event); + } + + /** + * Required. The Key Event to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\KeyEvent $var + * @return $this + */ + public function setKeyEvent($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\KeyEvent::class); + $this->key_event = $var; + + return $this; + } + + /** + * Required. The resource name of the parent property where this Key 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 + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The resource name of the parent property where this Key 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 + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateMeasurementProtocolSecretRequest.php new file mode 100644 index 000000000000..9ee1950ae526 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateMeasurementProtocolSecretRequest.php @@ -0,0 +1,132 @@ +google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest + */ +class CreateMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this secret will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The measurement protocol secret to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $measurement_protocol_secret = null; + + /** + * @param string $parent Required. The parent resource where this secret will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurementProtocolSecret Required. The measurement protocol secret to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateMeasurementProtocolSecretRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurementProtocolSecret): self + { + return (new self()) + ->setParent($parent) + ->setMeasurementProtocolSecret($measurementProtocolSecret); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this secret will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * @type \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurement_protocol_secret + * Required. The measurement protocol secret to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this secret will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * + * 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 parent resource where this secret will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * + * 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 measurement protocol secret to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret|null + */ + public function getMeasurementProtocolSecret() + { + return $this->measurement_protocol_secret; + } + + public function hasMeasurementProtocolSecret() + { + return isset($this->measurement_protocol_secret); + } + + public function clearMeasurementProtocolSecret() + { + unset($this->measurement_protocol_secret); + } + + /** + * Required. The measurement protocol secret to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $var + * @return $this + */ + public function setMeasurementProtocolSecret($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret::class); + $this->measurement_protocol_secret = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreatePropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreatePropertyRequest.php new file mode 100644 index 000000000000..fde84f44b1ea --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreatePropertyRequest.php @@ -0,0 +1,95 @@ +google.analytics.admin.v1alpha.CreatePropertyRequest + */ +class CreatePropertyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The property to create. + * Note: the supplied property must specify its parent. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $property = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\Property $property Required. The property to create. + * Note: the supplied property must specify its parent. + * + * @return \Google\Analytics\Admin\V1alpha\CreatePropertyRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\Property $property): self + { + return (new self()) + ->setProperty($property); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\Property $property + * Required. The property to create. + * Note: the supplied property must specify its parent. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The property to create. + * Note: the supplied property must specify its parent. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\Property|null + */ + public function getProperty() + { + return $this->property; + } + + public function hasProperty() + { + return isset($this->property); + } + + public function clearProperty() + { + unset($this->property); + } + + /** + * Required. The property to create. + * Note: the supplied property must specify its parent. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\Property $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Property::class); + $this->property = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateReportingDataAnnotationRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateReportingDataAnnotationRequest.php new file mode 100644 index 000000000000..395c31474871 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateReportingDataAnnotationRequest.php @@ -0,0 +1,137 @@ +google.analytics.admin.v1alpha.CreateReportingDataAnnotationRequest + */ +class CreateReportingDataAnnotationRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The property for which to create a Reporting Data Annotation. + * Format: properties/property_id + * Example: properties/123 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The Reporting Data Annotation to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $reporting_data_annotation = null; + + /** + * @param string $parent Required. The property for which to create a Reporting Data Annotation. + * Format: properties/property_id + * Example: properties/123 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $reportingDataAnnotation Required. The Reporting Data Annotation to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateReportingDataAnnotationRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $reportingDataAnnotation): self + { + return (new self()) + ->setParent($parent) + ->setReportingDataAnnotation($reportingDataAnnotation); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The property for which to create a Reporting Data Annotation. + * Format: properties/property_id + * Example: properties/123 + * @type \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $reporting_data_annotation + * Required. The Reporting Data Annotation to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The property for which to create a Reporting Data Annotation. + * Format: properties/property_id + * Example: properties/123 + * + * 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 property for which to create a Reporting Data Annotation. + * Format: properties/property_id + * Example: properties/123 + * + * 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 Reporting Data Annotation to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation|null + */ + public function getReportingDataAnnotation() + { + return $this->reporting_data_annotation; + } + + public function hasReportingDataAnnotation() + { + return isset($this->reporting_data_annotation); + } + + public function clearReportingDataAnnotation() + { + unset($this->reporting_data_annotation); + } + + /** + * Required. The Reporting Data Annotation to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $var + * @return $this + */ + public function setReportingDataAnnotation($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation::class); + $this->reporting_data_annotation = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyRequest.php new file mode 100644 index 000000000000..bbfb7cfe2a25 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyRequest.php @@ -0,0 +1,115 @@ +google.analytics.admin.v1alpha.CreateRollupPropertyRequest + */ +class CreateRollupPropertyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The roll-up property to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $rollup_property = null; + /** + * Optional. The resource names of properties that will be sources to the + * created roll-up property. + * + * Generated from protobuf field repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $source_properties; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\Property $rollup_property + * Required. The roll-up property to create. + * @type string[] $source_properties + * Optional. The resource names of properties that will be sources to the + * created roll-up property. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The roll-up property to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\Property|null + */ + public function getRollupProperty() + { + return $this->rollup_property; + } + + public function hasRollupProperty() + { + return isset($this->rollup_property); + } + + public function clearRollupProperty() + { + unset($this->rollup_property); + } + + /** + * Required. The roll-up property to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\Property $var + * @return $this + */ + public function setRollupProperty($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Property::class); + $this->rollup_property = $var; + + return $this; + } + + /** + * Optional. The resource names of properties that will be sources to the + * created roll-up property. + * + * Generated from protobuf field repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getSourceProperties() + { + return $this->source_properties; + } + + /** + * Optional. The resource names of properties that will be sources to the + * created roll-up property. + * + * Generated from protobuf field repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string[] $var + * @return $this + */ + public function setSourceProperties($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->source_properties = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyResponse.php new file mode 100644 index 000000000000..aac4ee3c14ae --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyResponse.php @@ -0,0 +1,111 @@ +google.analytics.admin.v1alpha.CreateRollupPropertyResponse + */ +class CreateRollupPropertyResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The created roll-up property. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property rollup_property = 1; + */ + protected $rollup_property = null; + /** + * The created roll-up property source links. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + */ + private $rollup_property_source_links; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\Property $rollup_property + * The created roll-up property. + * @type \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink[] $rollup_property_source_links + * The created roll-up property source links. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The created roll-up property. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property rollup_property = 1; + * @return \Google\Analytics\Admin\V1alpha\Property|null + */ + public function getRollupProperty() + { + return $this->rollup_property; + } + + public function hasRollupProperty() + { + return isset($this->rollup_property); + } + + public function clearRollupProperty() + { + unset($this->rollup_property); + } + + /** + * The created roll-up property. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property rollup_property = 1; + * @param \Google\Analytics\Admin\V1alpha\Property $var + * @return $this + */ + public function setRollupProperty($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Property::class); + $this->rollup_property = $var; + + return $this; + } + + /** + * The created roll-up property source links. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\RollupPropertySourceLink> + */ + public function getRollupPropertySourceLinks() + { + return $this->rollup_property_source_links; + } + + /** + * The created roll-up property source links. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * @param \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink[] $var + * @return $this + */ + public function setRollupPropertySourceLinks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink::class); + $this->rollup_property_source_links = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertySourceLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertySourceLinkRequest.php new file mode 100644 index 000000000000..951a81041a9c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertySourceLinkRequest.php @@ -0,0 +1,132 @@ +google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest + */ +class CreateRollupPropertySourceLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: properties/{property_id} + * Example: properties/1234 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The roll-up property source link to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $rollup_property_source_link = null; + + /** + * @param string $parent Required. Format: properties/{property_id} + * Example: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink $rollupPropertySourceLink Required. The roll-up property source link to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateRollupPropertySourceLinkRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink $rollupPropertySourceLink): self + { + return (new self()) + ->setParent($parent) + ->setRollupPropertySourceLink($rollupPropertySourceLink); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: properties/{property_id} + * Example: properties/1234 + * @type \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink $rollup_property_source_link + * Required. The roll-up property source link to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. 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. 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; + } + + /** + * Required. The roll-up property source link to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink|null + */ + public function getRollupPropertySourceLink() + { + return $this->rollup_property_source_link; + } + + public function hasRollupPropertySourceLink() + { + return isset($this->rollup_property_source_link); + } + + public function clearRollupPropertySourceLink() + { + unset($this->rollup_property_source_link); + } + + /** + * Required. The roll-up property source link to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink $var + * @return $this + */ + public function setRollupPropertySourceLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink::class); + $this->rollup_property_source_link = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSKAdNetworkConversionValueSchemaRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSKAdNetworkConversionValueSchemaRequest.php new file mode 100644 index 000000000000..ce494ac7e3c3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSKAdNetworkConversionValueSchemaRequest.php @@ -0,0 +1,132 @@ +google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + */ +class CreateSKAdNetworkConversionValueSchemaRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this schema will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. SKAdNetwork conversion value schema to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $skadnetwork_conversion_value_schema = null; + + /** + * @param string $parent Required. The parent resource where this schema will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetworkConversionValueSchema Required. SKAdNetwork conversion value schema to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateSKAdNetworkConversionValueSchemaRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetworkConversionValueSchema): self + { + return (new self()) + ->setParent($parent) + ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this schema will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * @type \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetwork_conversion_value_schema + * Required. SKAdNetwork conversion value schema to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this schema will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * + * 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 parent resource where this schema will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * + * 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. SKAdNetwork conversion value schema to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema|null + */ + public function getSkadnetworkConversionValueSchema() + { + return $this->skadnetwork_conversion_value_schema; + } + + public function hasSkadnetworkConversionValueSchema() + { + return isset($this->skadnetwork_conversion_value_schema); + } + + public function clearSkadnetworkConversionValueSchema() + { + unset($this->skadnetwork_conversion_value_schema); + } + + /** + * Required. SKAdNetwork conversion value schema to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $var + * @return $this + */ + public function setSkadnetworkConversionValueSchema($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema::class); + $this->skadnetwork_conversion_value_schema = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSearchAds360LinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSearchAds360LinkRequest.php new file mode 100644 index 000000000000..f36522030678 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSearchAds360LinkRequest.php @@ -0,0 +1,127 @@ +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) = { + */ + protected $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]; + */ + protected $search_ads_360_link = null; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\SearchAds360Link $searchAds360Link Required. The SearchAds360Link to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateSearchAds360LinkRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\SearchAds360Link $searchAds360Link): self + { + return (new self()) + ->setParent($parent) + ->setSearchAds360Link($searchAds360Link); + } + + /** + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSubpropertyEventFilterRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSubpropertyEventFilterRequest.php new file mode 100644 index 000000000000..6cc6c54d266e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSubpropertyEventFilterRequest.php @@ -0,0 +1,132 @@ +google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest + */ +class CreateSubpropertyEventFilterRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The ordinary property for which to create a subproperty event + * filter. Format: properties/property_id Example: properties/123 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The subproperty event filter to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $subproperty_event_filter = null; + + /** + * @param string $parent Required. The ordinary property for which to create a subproperty event + * filter. Format: properties/property_id Example: properties/123 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subpropertyEventFilter Required. The subproperty event filter to create. + * + * @return \Google\Analytics\Admin\V1alpha\CreateSubpropertyEventFilterRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subpropertyEventFilter): self + { + return (new self()) + ->setParent($parent) + ->setSubpropertyEventFilter($subpropertyEventFilter); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The ordinary property for which to create a subproperty event + * filter. Format: properties/property_id Example: properties/123 + * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subproperty_event_filter + * Required. The subproperty event filter to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The ordinary property for which to create a subproperty event + * filter. Format: properties/property_id Example: properties/123 + * + * 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 ordinary property for which to create a subproperty event + * filter. Format: properties/property_id Example: properties/123 + * + * 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 subproperty event filter to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter|null + */ + public function getSubpropertyEventFilter() + { + return $this->subproperty_event_filter; + } + + public function hasSubpropertyEventFilter() + { + return isset($this->subproperty_event_filter); + } + + public function clearSubpropertyEventFilter() + { + unset($this->subproperty_event_filter); + } + + /** + * Required. The subproperty event filter to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $var + * @return $this + */ + public function setSubpropertyEventFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter::class); + $this->subproperty_event_filter = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension.php new file mode 100644 index 000000000000..1ea25227d713 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension.php @@ -0,0 +1,301 @@ +google.analytics.admin.v1alpha.CustomDimension + */ +class CustomDimension extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name for this CustomDimension resource. + * Format: properties/{property}/customDimensions/{customDimension} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. Immutable. Tagging parameter name for this custom dimension. + * If this is a user-scoped dimension, then this is the user property name. + * If this is an event-scoped dimension, then this is the event parameter + * name. + * If this is an item-scoped dimension, then this is the parameter + * name found in the eCommerce items array. + * 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. + * + * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $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 + * starting with a letter. Legacy system-generated display names may contain + * square brackets, but updates to this field will never permit square + * brackets. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Optional. Description for this custom dimension. Max length of 150 + * characters. + * + * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $description = ''; + /** + * Required. Immutable. The scope of this dimension. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $scope = 0; + /** + * 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]; + */ + protected $disallow_ads_personalization = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Resource name for this CustomDimension resource. + * Format: properties/{property}/customDimensions/{customDimension} + * @type string $parameter_name + * Required. Immutable. Tagging parameter name for this custom dimension. + * If this is a user-scoped dimension, then this is the user property name. + * If this is an event-scoped dimension, then this is the event parameter + * name. + * If this is an item-scoped dimension, then this is the parameter + * name found in the eCommerce items array. + * 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. + * @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 + * 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. + * @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. + * This is currently only supported by user-scoped custom dimensions. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Resource name for this CustomDimension resource. + * Format: properties/{property}/customDimensions/{customDimension} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name for this CustomDimension resource. + * Format: properties/{property}/customDimensions/{customDimension} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. Immutable. Tagging parameter name for this custom dimension. + * If this is a user-scoped dimension, then this is the user property name. + * If this is an event-scoped dimension, then this is the event parameter + * name. + * If this is an item-scoped dimension, then this is the parameter + * name found in the eCommerce items array. + * 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. + * + * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getParameterName() + { + return $this->parameter_name; + } + + /** + * Required. Immutable. Tagging parameter name for this custom dimension. + * If this is a user-scoped dimension, then this is the user property name. + * If this is an event-scoped dimension, then this is the event parameter + * name. + * If this is an item-scoped dimension, then this is the parameter + * name found in the eCommerce items array. + * 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. + * + * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setParameterName($var) + { + GPBUtil::checkString($var, True); + $this->parameter_name = $var; + + return $this; + } + + /** + * 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. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->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 + * starting with a letter. Legacy system-generated display names may contain + * square brackets, but updates to this field will never permit square + * brackets. + * + * Generated from protobuf field string display_name = 3 [(.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. Description for this custom dimension. Max length of 150 + * characters. + * + * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDescription() + { + return $this->description; + } + + /** + * 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 + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Required. Immutable. The scope of this dimension. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return int + */ + public function getScope() + { + return $this->scope; + } + + /** + * Required. Immutable. The scope of this dimension. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @param int $var + * @return $this + */ + public function setScope($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\CustomDimension\DimensionScope::class); + $this->scope = $var; + + return $this; + } + + /** + * 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]; + * @return bool + */ + public function getDisallowAdsPersonalization() + { + return $this->disallow_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]; + * @param bool $var + * @return $this + */ + public function setDisallowAdsPersonalization($var) + { + GPBUtil::checkBool($var); + $this->disallow_ads_personalization = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension/DimensionScope.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension/DimensionScope.php new file mode 100644 index 000000000000..b01ec678fe94 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension/DimensionScope.php @@ -0,0 +1,68 @@ +google.analytics.admin.v1alpha.CustomDimension.DimensionScope + */ +class DimensionScope +{ + /** + * Scope unknown or not specified. + * + * Generated from protobuf enum DIMENSION_SCOPE_UNSPECIFIED = 0; + */ + const DIMENSION_SCOPE_UNSPECIFIED = 0; + /** + * Dimension scoped to an event. + * + * Generated from protobuf enum EVENT = 1; + */ + const EVENT = 1; + /** + * Dimension scoped to a user. + * + * Generated from protobuf enum USER = 2; + */ + const USER = 2; + /** + * Dimension scoped to eCommerce items + * + * Generated from protobuf enum ITEM = 3; + */ + const ITEM = 3; + + private static $valueToName = [ + self::DIMENSION_SCOPE_UNSPECIFIED => 'DIMENSION_SCOPE_UNSPECIFIED', + self::EVENT => 'EVENT', + self::USER => 'USER', + self::ITEM => 'ITEM', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric.php new file mode 100644 index 000000000000..113e504b67d0 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric.php @@ -0,0 +1,319 @@ +google.analytics.admin.v1alpha.CustomMetric + */ +class CustomMetric extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name for this CustomMetric resource. + * Format: properties/{property}/customMetrics/{customMetric} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. Immutable. Tagging name for this custom metric. + * If this is an event-scoped metric, then this is the event parameter + * name. + * May only contain alphanumeric and underscore charactes, starting with a + * letter. Max length of 40 characters for event-scoped metrics. + * + * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $parameter_name = ''; + /** + * Required. Display name for this custom metric 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. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Optional. Description for this custom dimension. + * Max length of 150 characters. + * + * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $description = ''; + /** + * Required. The type for the custom metric's value. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $measurement_unit = 0; + /** + * Required. Immutable. The scope of this custom metric. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $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. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $restricted_metric_type; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Resource name for this CustomMetric resource. + * Format: properties/{property}/customMetrics/{customMetric} + * @type string $parameter_name + * Required. Immutable. Tagging name for this custom metric. + * If this is an event-scoped metric, then this is the event parameter + * name. + * May only contain alphanumeric and underscore charactes, starting with a + * letter. Max length of 40 characters for event-scoped metrics. + * @type string $display_name + * Required. Display name for this custom metric 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. + * @type int $measurement_unit + * Required. The type for the custom metric's value. + * @type int $scope + * Required. Immutable. The scope of this custom metric. + * @type int[] $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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Resource name for this CustomMetric resource. + * Format: properties/{property}/customMetrics/{customMetric} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name for this CustomMetric resource. + * Format: properties/{property}/customMetrics/{customMetric} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. Immutable. Tagging name for this custom metric. + * If this is an event-scoped metric, then this is the event parameter + * name. + * May only contain alphanumeric and underscore charactes, starting with a + * letter. Max length of 40 characters for event-scoped metrics. + * + * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getParameterName() + { + return $this->parameter_name; + } + + /** + * Required. Immutable. Tagging name for this custom metric. + * If this is an event-scoped metric, then this is the event parameter + * name. + * May only contain alphanumeric and underscore charactes, starting with a + * letter. Max length of 40 characters for event-scoped metrics. + * + * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setParameterName($var) + { + GPBUtil::checkString($var, True); + $this->parameter_name = $var; + + return $this; + } + + /** + * Required. Display name for this custom metric 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. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Required. Display name for this custom metric 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. + * + * Generated from protobuf field string display_name = 3 [(.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. Description for this custom dimension. + * Max length of 150 characters. + * + * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDescription() + { + return $this->description; + } + + /** + * 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 + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Required. The type for the custom metric's value. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getMeasurementUnit() + { + return $this->measurement_unit; + } + + /** + * Required. The type for the custom metric's value. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setMeasurementUnit($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\CustomMetric\MeasurementUnit::class); + $this->measurement_unit = $var; + + return $this; + } + + /** + * Required. Immutable. The scope of this custom metric. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return int + */ + public function getScope() + { + return $this->scope; + } + + /** + * Required. Immutable. The scope of this custom metric. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @param int $var + * @return $this + */ + public function setScope($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\CustomMetric\MetricScope::class); + $this->scope = $var; + + return $this; + } + + /** + * 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 RepeatedField + */ + public function getRestrictedMetricType() + { + return $this->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. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[] $var + * @return $this + */ + public function setRestrictedMetricType($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Analytics\Admin\V1alpha\CustomMetric\RestrictedMetricType::class); + $this->restricted_metric_type = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MeasurementUnit.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MeasurementUnit.php new file mode 100644 index 000000000000..7fdff635ac36 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MeasurementUnit.php @@ -0,0 +1,119 @@ +google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit + */ +class MeasurementUnit +{ + /** + * MeasurementUnit unspecified or missing. + * + * Generated from protobuf enum MEASUREMENT_UNIT_UNSPECIFIED = 0; + */ + const MEASUREMENT_UNIT_UNSPECIFIED = 0; + /** + * This metric uses default units. + * + * Generated from protobuf enum STANDARD = 1; + */ + const STANDARD = 1; + /** + * This metric measures a currency. + * + * Generated from protobuf enum CURRENCY = 2; + */ + const CURRENCY = 2; + /** + * This metric measures feet. + * + * Generated from protobuf enum FEET = 3; + */ + const FEET = 3; + /** + * This metric measures meters. + * + * Generated from protobuf enum METERS = 4; + */ + const METERS = 4; + /** + * This metric measures kilometers. + * + * Generated from protobuf enum KILOMETERS = 5; + */ + const KILOMETERS = 5; + /** + * This metric measures miles. + * + * Generated from protobuf enum MILES = 6; + */ + const MILES = 6; + /** + * This metric measures milliseconds. + * + * Generated from protobuf enum MILLISECONDS = 7; + */ + const MILLISECONDS = 7; + /** + * This metric measures seconds. + * + * Generated from protobuf enum SECONDS = 8; + */ + const SECONDS = 8; + /** + * This metric measures minutes. + * + * Generated from protobuf enum MINUTES = 9; + */ + const MINUTES = 9; + /** + * This metric measures hours. + * + * Generated from protobuf enum HOURS = 10; + */ + const HOURS = 10; + + private static $valueToName = [ + self::MEASUREMENT_UNIT_UNSPECIFIED => 'MEASUREMENT_UNIT_UNSPECIFIED', + self::STANDARD => 'STANDARD', + self::CURRENCY => 'CURRENCY', + self::FEET => 'FEET', + self::METERS => 'METERS', + self::KILOMETERS => 'KILOMETERS', + self::MILES => 'MILES', + self::MILLISECONDS => 'MILLISECONDS', + self::SECONDS => 'SECONDS', + self::MINUTES => 'MINUTES', + self::HOURS => 'HOURS', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MetricScope.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MetricScope.php new file mode 100644 index 000000000000..aa2f7aadbb85 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MetricScope.php @@ -0,0 +1,54 @@ +google.analytics.admin.v1alpha.CustomMetric.MetricScope + */ +class MetricScope +{ + /** + * Scope unknown or not specified. + * + * Generated from protobuf enum METRIC_SCOPE_UNSPECIFIED = 0; + */ + const METRIC_SCOPE_UNSPECIFIED = 0; + /** + * Metric scoped to an event. + * + * Generated from protobuf enum EVENT = 1; + */ + const EVENT = 1; + + private static $valueToName = [ + self::METRIC_SCOPE_UNSPECIFIED => 'METRIC_SCOPE_UNSPECIFIED', + self::EVENT => 'EVENT', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/RestrictedMetricType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/RestrictedMetricType.php new file mode 100644 index 000000000000..81d3c716fa4c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/RestrictedMetricType.php @@ -0,0 +1,62 @@ +google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType + */ +class RestrictedMetricType +{ + /** + * Type unknown or unspecified. + * + * Generated from protobuf enum RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; + */ + const RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; + /** + * Metric reports cost data. + * + * Generated from protobuf enum COST_DATA = 1; + */ + const COST_DATA = 1; + /** + * Metric reports revenue data. + * + * Generated from protobuf enum REVENUE_DATA = 2; + */ + const REVENUE_DATA = 2; + + private static $valueToName = [ + self::RESTRICTED_METRIC_TYPE_UNSPECIFIED => 'RESTRICTED_METRIC_TYPE_UNSPECIFIED', + self::COST_DATA => 'COST_DATA', + self::REVENUE_DATA => 'REVENUE_DATA', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRedactionSettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRedactionSettings.php new file mode 100644 index 000000000000..3589c3d76c18 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRedactionSettings.php @@ -0,0 +1,210 @@ +google.analytics.admin.v1alpha.DataRedactionSettings + */ +class DataRedactionSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Name of this Data Redaction Settings resource. + * Format: + * properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings + * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * If enabled, any event parameter or user property values that look like an + * email will be redacted. + * + * Generated from protobuf field bool email_redaction_enabled = 2; + */ + protected $email_redaction_enabled = false; + /** + * Query Parameter redaction removes the key and value portions of a + * query parameter if it is in the configured set of query parameters. + * If enabled, URL query replacement logic will be run for the Stream. Any + * query parameters defined in query_parameter_keys will be redacted. + * + * Generated from protobuf field bool query_parameter_redaction_enabled = 3; + */ + protected $query_parameter_redaction_enabled = false; + /** + * The query parameter keys to apply redaction logic to if present in the URL. + * Query parameter matching is case-insensitive. + * Must contain at least one element if query_parameter_replacement_enabled + * is true. Keys cannot contain commas. + * + * Generated from protobuf field repeated string query_parameter_keys = 4; + */ + private $query_parameter_keys; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Name of this Data Redaction Settings resource. + * Format: + * properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings + * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + * @type bool $email_redaction_enabled + * If enabled, any event parameter or user property values that look like an + * email will be redacted. + * @type bool $query_parameter_redaction_enabled + * Query Parameter redaction removes the key and value portions of a + * query parameter if it is in the configured set of query parameters. + * If enabled, URL query replacement logic will be run for the Stream. Any + * query parameters defined in query_parameter_keys will be redacted. + * @type string[] $query_parameter_keys + * The query parameter keys to apply redaction logic to if present in the URL. + * Query parameter matching is case-insensitive. + * Must contain at least one element if query_parameter_replacement_enabled + * is true. Keys cannot contain commas. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Name of this Data Redaction Settings resource. + * Format: + * properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings + * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Output only. Name of this Data Redaction Settings resource. + * Format: + * properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings + * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + * + * 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; + } + + /** + * If enabled, any event parameter or user property values that look like an + * email will be redacted. + * + * Generated from protobuf field bool email_redaction_enabled = 2; + * @return bool + */ + public function getEmailRedactionEnabled() + { + return $this->email_redaction_enabled; + } + + /** + * If enabled, any event parameter or user property values that look like an + * email will be redacted. + * + * Generated from protobuf field bool email_redaction_enabled = 2; + * @param bool $var + * @return $this + */ + public function setEmailRedactionEnabled($var) + { + GPBUtil::checkBool($var); + $this->email_redaction_enabled = $var; + + return $this; + } + + /** + * Query Parameter redaction removes the key and value portions of a + * query parameter if it is in the configured set of query parameters. + * If enabled, URL query replacement logic will be run for the Stream. Any + * query parameters defined in query_parameter_keys will be redacted. + * + * Generated from protobuf field bool query_parameter_redaction_enabled = 3; + * @return bool + */ + public function getQueryParameterRedactionEnabled() + { + return $this->query_parameter_redaction_enabled; + } + + /** + * Query Parameter redaction removes the key and value portions of a + * query parameter if it is in the configured set of query parameters. + * If enabled, URL query replacement logic will be run for the Stream. Any + * query parameters defined in query_parameter_keys will be redacted. + * + * Generated from protobuf field bool query_parameter_redaction_enabled = 3; + * @param bool $var + * @return $this + */ + public function setQueryParameterRedactionEnabled($var) + { + GPBUtil::checkBool($var); + $this->query_parameter_redaction_enabled = $var; + + return $this; + } + + /** + * The query parameter keys to apply redaction logic to if present in the URL. + * Query parameter matching is case-insensitive. + * Must contain at least one element if query_parameter_replacement_enabled + * is true. Keys cannot contain commas. + * + * Generated from protobuf field repeated string query_parameter_keys = 4; + * @return RepeatedField + */ + public function getQueryParameterKeys() + { + return $this->query_parameter_keys; + } + + /** + * The query parameter keys to apply redaction logic to if present in the URL. + * Query parameter matching is case-insensitive. + * Must contain at least one element if query_parameter_replacement_enabled + * is true. Keys cannot contain commas. + * + * Generated from protobuf field repeated string query_parameter_keys = 4; + * @param string[] $var + * @return $this + */ + public function setQueryParameterKeys($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->query_parameter_keys = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings.php new file mode 100644 index 000000000000..795267857e50 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings.php @@ -0,0 +1,177 @@ +google.analytics.admin.v1alpha.DataRetentionSettings + */ +class DataRetentionSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name for this DataRetentionSetting resource. + * Format: properties/{property}/dataRetentionSettings + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The length of time that event-level data is retained. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $event_data_retention = 0; + /** + * Required. The length of time that user-level data is retained. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration user_data_retention = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $user_data_retention = 0; + /** + * If true, reset the retention period for the user identifier with every + * event from that user. + * + * Generated from protobuf field bool reset_user_data_on_new_activity = 3; + */ + protected $reset_user_data_on_new_activity = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Resource name for this DataRetentionSetting resource. + * Format: properties/{property}/dataRetentionSettings + * @type int $event_data_retention + * Required. The length of time that event-level data is retained. + * @type int $user_data_retention + * Required. The length of time that user-level data is retained. + * @type bool $reset_user_data_on_new_activity + * If true, reset the retention period for the user identifier with every + * event from that user. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Resource name for this DataRetentionSetting resource. + * Format: properties/{property}/dataRetentionSettings + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name for this DataRetentionSetting resource. + * Format: properties/{property}/dataRetentionSettings + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The length of time that event-level data is retained. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getEventDataRetention() + { + return $this->event_data_retention; + } + + /** + * Required. The length of time that event-level data is retained. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setEventDataRetention($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\DataRetentionSettings\RetentionDuration::class); + $this->event_data_retention = $var; + + return $this; + } + + /** + * Required. The length of time that user-level data is retained. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration user_data_retention = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getUserDataRetention() + { + return $this->user_data_retention; + } + + /** + * Required. The length of time that user-level data is retained. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration user_data_retention = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setUserDataRetention($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\DataRetentionSettings\RetentionDuration::class); + $this->user_data_retention = $var; + + return $this; + } + + /** + * If true, reset the retention period for the user identifier with every + * event from that user. + * + * Generated from protobuf field bool reset_user_data_on_new_activity = 3; + * @return bool + */ + public function getResetUserDataOnNewActivity() + { + return $this->reset_user_data_on_new_activity; + } + + /** + * If true, reset the retention period for the user identifier with every + * event from that user. + * + * Generated from protobuf field bool reset_user_data_on_new_activity = 3; + * @param bool $var + * @return $this + */ + public function setResetUserDataOnNewActivity($var) + { + GPBUtil::checkBool($var); + $this->reset_user_data_on_new_activity = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings/RetentionDuration.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings/RetentionDuration.php new file mode 100644 index 000000000000..380f142b5296 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings/RetentionDuration.php @@ -0,0 +1,85 @@ +google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration + */ +class RetentionDuration +{ + /** + * Data retention time duration is not specified. + * + * Generated from protobuf enum RETENTION_DURATION_UNSPECIFIED = 0; + */ + const RETENTION_DURATION_UNSPECIFIED = 0; + /** + * The data retention time duration is 2 months. + * + * Generated from protobuf enum TWO_MONTHS = 1; + */ + const TWO_MONTHS = 1; + /** + * The data retention time duration is 14 months. + * + * Generated from protobuf enum FOURTEEN_MONTHS = 3; + */ + const FOURTEEN_MONTHS = 3; + /** + * The data retention time duration is 26 months. + * Available to 360 properties only. Available for event data only. + * + * Generated from protobuf enum TWENTY_SIX_MONTHS = 4; + */ + const TWENTY_SIX_MONTHS = 4; + /** + * The data retention time duration is 38 months. + * Available to 360 properties only. Available for event data only. + * + * Generated from protobuf enum THIRTY_EIGHT_MONTHS = 5; + */ + const THIRTY_EIGHT_MONTHS = 5; + /** + * The data retention time duration is 50 months. + * Available to 360 properties only. Available for event data only. + * + * Generated from protobuf enum FIFTY_MONTHS = 6; + */ + const FIFTY_MONTHS = 6; + + private static $valueToName = [ + self::RETENTION_DURATION_UNSPECIFIED => 'RETENTION_DURATION_UNSPECIFIED', + self::TWO_MONTHS => 'TWO_MONTHS', + self::FOURTEEN_MONTHS => 'FOURTEEN_MONTHS', + self::TWENTY_SIX_MONTHS => 'TWENTY_SIX_MONTHS', + self::THIRTY_EIGHT_MONTHS => 'THIRTY_EIGHT_MONTHS', + self::FIFTY_MONTHS => 'FIFTY_MONTHS', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataSharingSettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataSharingSettings.php new file mode 100644 index 000000000000..8aaba3bc09ea --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataSharingSettings.php @@ -0,0 +1,329 @@ +google.analytics.admin.v1alpha.DataSharingSettings + */ +class DataSharingSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name. + * Format: accounts/{account}/dataSharingSettings + * Example: "accounts/1000/dataSharingSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Allows Google technical support representatives access to your Google + * Analytics data and account when necessary to provide service and find + * solutions to technical issues. + * This field maps to the "Technical support" field in the Google Analytics + * Admin UI. + * + * Generated from protobuf field bool sharing_with_google_support_enabled = 2; + */ + protected $sharing_with_google_support_enabled = false; + /** + * Allows Google access to your Google Analytics account data, including + * account usage and configuration data, product spending, and users + * associated with your Google Analytics account, so that Google can help you + * make the most of Google products, providing you with insights, offers, + * recommendations, and optimization tips across Google Analytics and other + * Google products for business. + * This field maps to the "Recommendations for your business" field in the + * Google Analytics Admin UI. + * + * Generated from protobuf field bool sharing_with_google_assigned_sales_enabled = 3; + */ + protected $sharing_with_google_assigned_sales_enabled = false; + /** + * Deprecated. This field is no longer used and always returns false. + * + * Generated from protobuf field bool sharing_with_google_any_sales_enabled = 4 [deprecated = true]; + * @deprecated + */ + protected $sharing_with_google_any_sales_enabled = false; + /** + * Allows Google to use the data to improve other Google products or services. + * This fields maps to the "Google products & services" field in the Google + * Analytics Admin UI. + * + * Generated from protobuf field bool sharing_with_google_products_enabled = 5; + */ + protected $sharing_with_google_products_enabled = false; + /** + * Enable features like predictions, modeled data, and benchmarking that can + * provide you with richer business insights when you contribute aggregated + * measurement data. The data you share (including information about the + * property from which it is shared) is aggregated and de-identified before + * being used to generate business insights. + * This field maps to the "Modeling contributions & business insights" field + * in the Google Analytics Admin UI. + * + * Generated from protobuf field bool sharing_with_others_enabled = 6; + */ + protected $sharing_with_others_enabled = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Resource name. + * Format: accounts/{account}/dataSharingSettings + * Example: "accounts/1000/dataSharingSettings" + * @type bool $sharing_with_google_support_enabled + * Allows Google technical support representatives access to your Google + * Analytics data and account when necessary to provide service and find + * solutions to technical issues. + * This field maps to the "Technical support" field in the Google Analytics + * Admin UI. + * @type bool $sharing_with_google_assigned_sales_enabled + * Allows Google access to your Google Analytics account data, including + * account usage and configuration data, product spending, and users + * associated with your Google Analytics account, so that Google can help you + * make the most of Google products, providing you with insights, offers, + * recommendations, and optimization tips across Google Analytics and other + * Google products for business. + * This field maps to the "Recommendations for your business" field in the + * Google Analytics Admin UI. + * @type bool $sharing_with_google_any_sales_enabled + * Deprecated. This field is no longer used and always returns false. + * @type bool $sharing_with_google_products_enabled + * Allows Google to use the data to improve other Google products or services. + * This fields maps to the "Google products & services" field in the Google + * Analytics Admin UI. + * @type bool $sharing_with_others_enabled + * Enable features like predictions, modeled data, and benchmarking that can + * provide you with richer business insights when you contribute aggregated + * measurement data. The data you share (including information about the + * property from which it is shared) is aggregated and de-identified before + * being used to generate business insights. + * This field maps to the "Modeling contributions & business insights" field + * in the Google Analytics Admin UI. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Resource name. + * Format: accounts/{account}/dataSharingSettings + * Example: "accounts/1000/dataSharingSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name. + * Format: accounts/{account}/dataSharingSettings + * Example: "accounts/1000/dataSharingSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Allows Google technical support representatives access to your Google + * Analytics data and account when necessary to provide service and find + * solutions to technical issues. + * This field maps to the "Technical support" field in the Google Analytics + * Admin UI. + * + * Generated from protobuf field bool sharing_with_google_support_enabled = 2; + * @return bool + */ + public function getSharingWithGoogleSupportEnabled() + { + return $this->sharing_with_google_support_enabled; + } + + /** + * Allows Google technical support representatives access to your Google + * Analytics data and account when necessary to provide service and find + * solutions to technical issues. + * This field maps to the "Technical support" field in the Google Analytics + * Admin UI. + * + * Generated from protobuf field bool sharing_with_google_support_enabled = 2; + * @param bool $var + * @return $this + */ + public function setSharingWithGoogleSupportEnabled($var) + { + GPBUtil::checkBool($var); + $this->sharing_with_google_support_enabled = $var; + + return $this; + } + + /** + * Allows Google access to your Google Analytics account data, including + * account usage and configuration data, product spending, and users + * associated with your Google Analytics account, so that Google can help you + * make the most of Google products, providing you with insights, offers, + * recommendations, and optimization tips across Google Analytics and other + * Google products for business. + * This field maps to the "Recommendations for your business" field in the + * Google Analytics Admin UI. + * + * Generated from protobuf field bool sharing_with_google_assigned_sales_enabled = 3; + * @return bool + */ + public function getSharingWithGoogleAssignedSalesEnabled() + { + return $this->sharing_with_google_assigned_sales_enabled; + } + + /** + * Allows Google access to your Google Analytics account data, including + * account usage and configuration data, product spending, and users + * associated with your Google Analytics account, so that Google can help you + * make the most of Google products, providing you with insights, offers, + * recommendations, and optimization tips across Google Analytics and other + * Google products for business. + * This field maps to the "Recommendations for your business" field in the + * Google Analytics Admin UI. + * + * Generated from protobuf field bool sharing_with_google_assigned_sales_enabled = 3; + * @param bool $var + * @return $this + */ + public function setSharingWithGoogleAssignedSalesEnabled($var) + { + GPBUtil::checkBool($var); + $this->sharing_with_google_assigned_sales_enabled = $var; + + return $this; + } + + /** + * Deprecated. This field is no longer used and always returns false. + * + * Generated from protobuf field bool sharing_with_google_any_sales_enabled = 4 [deprecated = true]; + * @return bool + * @deprecated + */ + public function getSharingWithGoogleAnySalesEnabled() + { + if ($this->sharing_with_google_any_sales_enabled !== false) { + @trigger_error('sharing_with_google_any_sales_enabled is deprecated.', E_USER_DEPRECATED); + } + return $this->sharing_with_google_any_sales_enabled; + } + + /** + * Deprecated. This field is no longer used and always returns false. + * + * Generated from protobuf field bool sharing_with_google_any_sales_enabled = 4 [deprecated = true]; + * @param bool $var + * @return $this + * @deprecated + */ + public function setSharingWithGoogleAnySalesEnabled($var) + { + @trigger_error('sharing_with_google_any_sales_enabled is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkBool($var); + $this->sharing_with_google_any_sales_enabled = $var; + + return $this; + } + + /** + * Allows Google to use the data to improve other Google products or services. + * This fields maps to the "Google products & services" field in the Google + * Analytics Admin UI. + * + * Generated from protobuf field bool sharing_with_google_products_enabled = 5; + * @return bool + */ + public function getSharingWithGoogleProductsEnabled() + { + return $this->sharing_with_google_products_enabled; + } + + /** + * Allows Google to use the data to improve other Google products or services. + * This fields maps to the "Google products & services" field in the Google + * Analytics Admin UI. + * + * Generated from protobuf field bool sharing_with_google_products_enabled = 5; + * @param bool $var + * @return $this + */ + public function setSharingWithGoogleProductsEnabled($var) + { + GPBUtil::checkBool($var); + $this->sharing_with_google_products_enabled = $var; + + return $this; + } + + /** + * Enable features like predictions, modeled data, and benchmarking that can + * provide you with richer business insights when you contribute aggregated + * measurement data. The data you share (including information about the + * property from which it is shared) is aggregated and de-identified before + * being used to generate business insights. + * This field maps to the "Modeling contributions & business insights" field + * in the Google Analytics Admin UI. + * + * Generated from protobuf field bool sharing_with_others_enabled = 6; + * @return bool + */ + public function getSharingWithOthersEnabled() + { + return $this->sharing_with_others_enabled; + } + + /** + * Enable features like predictions, modeled data, and benchmarking that can + * provide you with richer business insights when you contribute aggregated + * measurement data. The data you share (including information about the + * property from which it is shared) is aggregated and de-identified before + * being used to generate business insights. + * This field maps to the "Modeling contributions & business insights" field + * in the Google Analytics Admin UI. + * + * Generated from protobuf field bool sharing_with_others_enabled = 6; + * @param bool $var + * @return $this + */ + public function setSharingWithOthersEnabled($var) + { + GPBUtil::checkBool($var); + $this->sharing_with_others_enabled = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream.php new file mode 100644 index 000000000000..f997566bfedf --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream.php @@ -0,0 +1,356 @@ +google.analytics.admin.v1alpha.DataStream + */ +class DataStream extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name of this Data Stream. + * Format: properties/{property_id}/dataStreams/{stream_id} + * Example: "properties/1000/dataStreams/2000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. Immutable. The type of this DataStream resource. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + */ + protected $type = 0; + /** + * Human-readable display name for the Data Stream. + * Required for web data streams. + * The max allowed display name length is 255 UTF-16 code units. + * + * Generated from protobuf field string display_name = 3; + */ + protected $display_name = ''; + /** + * Output only. Time when this stream was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. Time when stream payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + protected $stream_data; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\DataStream\WebStreamData $web_stream_data + * Data specific to web streams. Must be populated if type is + * WEB_DATA_STREAM. + * @type \Google\Analytics\Admin\V1alpha\DataStream\AndroidAppStreamData $android_app_stream_data + * Data specific to Android app streams. Must be populated if type is + * ANDROID_APP_DATA_STREAM. + * @type \Google\Analytics\Admin\V1alpha\DataStream\IosAppStreamData $ios_app_stream_data + * Data specific to iOS app streams. Must be populated if type is + * IOS_APP_DATA_STREAM. + * @type string $name + * Identifier. Resource name of this Data Stream. + * Format: properties/{property_id}/dataStreams/{stream_id} + * Example: "properties/1000/dataStreams/2000" + * @type int $type + * Required. Immutable. The type of this DataStream resource. + * @type string $display_name + * Human-readable display name for the Data Stream. + * Required for web data streams. + * The max allowed display name length is 255 UTF-16 code units. + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Time when this stream was originally created. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. Time when stream payload fields were last updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Data specific to web streams. Must be populated if type is + * WEB_DATA_STREAM. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + * @return \Google\Analytics\Admin\V1alpha\DataStream\WebStreamData|null + */ + public function getWebStreamData() + { + return $this->readOneof(6); + } + + public function hasWebStreamData() + { + return $this->hasOneof(6); + } + + /** + * Data specific to web streams. Must be populated if type is + * WEB_DATA_STREAM. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; + * @param \Google\Analytics\Admin\V1alpha\DataStream\WebStreamData $var + * @return $this + */ + public function setWebStreamData($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataStream\WebStreamData::class); + $this->writeOneof(6, $var); + + return $this; + } + + /** + * Data specific to Android app streams. Must be populated if type is + * ANDROID_APP_DATA_STREAM. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * @return \Google\Analytics\Admin\V1alpha\DataStream\AndroidAppStreamData|null + */ + public function getAndroidAppStreamData() + { + return $this->readOneof(7); + } + + public function hasAndroidAppStreamData() + { + return $this->hasOneof(7); + } + + /** + * Data specific to Android app streams. Must be populated if type is + * ANDROID_APP_DATA_STREAM. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * @param \Google\Analytics\Admin\V1alpha\DataStream\AndroidAppStreamData $var + * @return $this + */ + public function setAndroidAppStreamData($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataStream\AndroidAppStreamData::class); + $this->writeOneof(7, $var); + + return $this; + } + + /** + * Data specific to iOS app streams. Must be populated if type is + * IOS_APP_DATA_STREAM. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * @return \Google\Analytics\Admin\V1alpha\DataStream\IosAppStreamData|null + */ + public function getIosAppStreamData() + { + return $this->readOneof(8); + } + + public function hasIosAppStreamData() + { + return $this->hasOneof(8); + } + + /** + * Data specific to iOS app streams. Must be populated if type is + * IOS_APP_DATA_STREAM. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; + * @param \Google\Analytics\Admin\V1alpha\DataStream\IosAppStreamData $var + * @return $this + */ + public function setIosAppStreamData($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataStream\IosAppStreamData::class); + $this->writeOneof(8, $var); + + return $this; + } + + /** + * Identifier. Resource name of this Data Stream. + * Format: properties/{property_id}/dataStreams/{stream_id} + * Example: "properties/1000/dataStreams/2000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name of this Data Stream. + * Format: properties/{property_id}/dataStreams/{stream_id} + * Example: "properties/1000/dataStreams/2000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. Immutable. The type of this DataStream resource. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getType() + { + return $this->type; + } + + /** + * Required. Immutable. The type of this DataStream resource. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\DataStream\DataStreamType::class); + $this->type = $var; + + return $this; + } + + /** + * Human-readable display name for the Data Stream. + * Required for web data streams. + * The max allowed display name length is 255 UTF-16 code units. + * + * Generated from protobuf field string display_name = 3; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Human-readable display name for the Data Stream. + * Required for web data streams. + * The max allowed display name length is 255 UTF-16 code units. + * + * Generated from protobuf field string display_name = 3; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Output only. Time when this stream was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.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 this stream was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.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; + } + + /** + * Output only. Time when stream payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. Time when stream payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * @return string + */ + public function getStreamData() + { + return $this->whichOneof("stream_data"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/AndroidAppStreamData.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/AndroidAppStreamData.php new file mode 100644 index 000000000000..4ede5f0dd8e4 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/AndroidAppStreamData.php @@ -0,0 +1,109 @@ +google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData + */ +class AndroidAppStreamData extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. ID of the corresponding Android app in Firebase, if any. + * This ID can change if the Android app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $firebase_app_id = ''; + /** + * Immutable. The package name for the app being measured. + * Example: "com.example.myandroidapp" + * + * Generated from protobuf field string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $package_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $firebase_app_id + * Output only. ID of the corresponding Android app in Firebase, if any. + * This ID can change if the Android app is deleted and recreated. + * @type string $package_name + * Immutable. The package name for the app being measured. + * Example: "com.example.myandroidapp" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. ID of the corresponding Android app in Firebase, if any. + * This ID can change if the Android app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getFirebaseAppId() + { + return $this->firebase_app_id; + } + + /** + * Output only. ID of the corresponding Android app in Firebase, if any. + * This ID can change if the Android app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setFirebaseAppId($var) + { + GPBUtil::checkString($var, True); + $this->firebase_app_id = $var; + + return $this; + } + + /** + * Immutable. The package name for the app being measured. + * Example: "com.example.myandroidapp" + * + * Generated from protobuf field string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getPackageName() + { + return $this->package_name; + } + + /** + * Immutable. The package name for the app being measured. + * Example: "com.example.myandroidapp" + * + * Generated from protobuf field string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setPackageName($var) + { + GPBUtil::checkString($var, True); + $this->package_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/DataStreamType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/DataStreamType.php new file mode 100644 index 000000000000..cd993885f062 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/DataStreamType.php @@ -0,0 +1,68 @@ +google.analytics.admin.v1alpha.DataStream.DataStreamType + */ +class DataStreamType +{ + /** + * Type unknown or not specified. + * + * Generated from protobuf enum DATA_STREAM_TYPE_UNSPECIFIED = 0; + */ + const DATA_STREAM_TYPE_UNSPECIFIED = 0; + /** + * Web data stream. + * + * Generated from protobuf enum WEB_DATA_STREAM = 1; + */ + const WEB_DATA_STREAM = 1; + /** + * Android app data stream. + * + * Generated from protobuf enum ANDROID_APP_DATA_STREAM = 2; + */ + const ANDROID_APP_DATA_STREAM = 2; + /** + * iOS app data stream. + * + * Generated from protobuf enum IOS_APP_DATA_STREAM = 3; + */ + const IOS_APP_DATA_STREAM = 3; + + private static $valueToName = [ + self::DATA_STREAM_TYPE_UNSPECIFIED => 'DATA_STREAM_TYPE_UNSPECIFIED', + self::WEB_DATA_STREAM => 'WEB_DATA_STREAM', + self::ANDROID_APP_DATA_STREAM => 'ANDROID_APP_DATA_STREAM', + self::IOS_APP_DATA_STREAM => 'IOS_APP_DATA_STREAM', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/IosAppStreamData.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/IosAppStreamData.php new file mode 100644 index 000000000000..afcaeedf42b9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/IosAppStreamData.php @@ -0,0 +1,109 @@ +google.analytics.admin.v1alpha.DataStream.IosAppStreamData + */ +class IosAppStreamData extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. ID of the corresponding iOS app in Firebase, if any. + * This ID can change if the iOS app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $firebase_app_id = ''; + /** + * Required. Immutable. The Apple App Store Bundle ID for the app + * Example: "com.example.myiosapp" + * + * Generated from protobuf field string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + */ + protected $bundle_id = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $firebase_app_id + * Output only. ID of the corresponding iOS app in Firebase, if any. + * This ID can change if the iOS app is deleted and recreated. + * @type string $bundle_id + * Required. Immutable. The Apple App Store Bundle ID for the app + * Example: "com.example.myiosapp" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. ID of the corresponding iOS app in Firebase, if any. + * This ID can change if the iOS app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getFirebaseAppId() + { + return $this->firebase_app_id; + } + + /** + * Output only. ID of the corresponding iOS app in Firebase, if any. + * This ID can change if the iOS app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setFirebaseAppId($var) + { + GPBUtil::checkString($var, True); + $this->firebase_app_id = $var; + + return $this; + } + + /** + * Required. Immutable. The Apple App Store Bundle ID for the app + * Example: "com.example.myiosapp" + * + * Generated from protobuf field string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getBundleId() + { + return $this->bundle_id; + } + + /** + * Required. Immutable. The Apple App Store Bundle ID for the app + * Example: "com.example.myiosapp" + * + * Generated from protobuf field string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setBundleId($var) + { + GPBUtil::checkString($var, True); + $this->bundle_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/WebStreamData.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/WebStreamData.php new file mode 100644 index 000000000000..1e6ad7f9a03d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/WebStreamData.php @@ -0,0 +1,147 @@ +google.analytics.admin.v1alpha.DataStream.WebStreamData + */ +class WebStreamData extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Analytics Measurement ID. + * Example: "G-1A2BCD345E" + * + * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $measurement_id = ''; + /** + * Output only. ID of the corresponding web app in Firebase, if any. + * This ID can change if the web app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $firebase_app_id = ''; + /** + * Domain name of the web app being measured, or empty. + * Example: "http://www.google.com", "https://www.google.com" + * + * Generated from protobuf field string default_uri = 3; + */ + protected $default_uri = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $measurement_id + * Output only. Analytics Measurement ID. + * Example: "G-1A2BCD345E" + * @type string $firebase_app_id + * Output only. ID of the corresponding web app in Firebase, if any. + * This ID can change if the web app is deleted and recreated. + * @type string $default_uri + * Domain name of the web app being measured, or empty. + * Example: "http://www.google.com", "https://www.google.com" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Analytics Measurement ID. + * Example: "G-1A2BCD345E" + * + * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getMeasurementId() + { + return $this->measurement_id; + } + + /** + * Output only. Analytics Measurement ID. + * Example: "G-1A2BCD345E" + * + * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setMeasurementId($var) + { + GPBUtil::checkString($var, True); + $this->measurement_id = $var; + + return $this; + } + + /** + * Output only. ID of the corresponding web app in Firebase, if any. + * This ID can change if the web app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getFirebaseAppId() + { + return $this->firebase_app_id; + } + + /** + * Output only. ID of the corresponding web app in Firebase, if any. + * This ID can change if the web app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setFirebaseAppId($var) + { + GPBUtil::checkString($var, True); + $this->firebase_app_id = $var; + + return $this; + } + + /** + * Domain name of the web app being measured, or empty. + * Example: "http://www.google.com", "https://www.google.com" + * + * Generated from protobuf field string default_uri = 3; + * @return string + */ + public function getDefaultUri() + { + return $this->default_uri; + } + + /** + * Domain name of the web app being measured, or empty. + * Example: "http://www.google.com", "https://www.google.com" + * + * Generated from protobuf field string default_uri = 3; + * @param string $var + * @return $this + */ + public function setDefaultUri($var) + { + GPBUtil::checkString($var, True); + $this->default_uri = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccessBindingRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccessBindingRequest.php new file mode 100644 index 000000000000..05e1ac9f6ca9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccessBindingRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.DeleteAccessBindingRequest + */ +class DeleteAccessBindingRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} + * Please see {@see AnalyticsAdminServiceClient::accessBindingName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteAccessBindingRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} + * + * 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. Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccountRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccountRequest.php new file mode 100644 index 000000000000..d8703fef66f2 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccountRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.DeleteAccountRequest + */ +class DeleteAccountRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the Account to soft-delete. + * Format: accounts/{account} + * Example: "accounts/100" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the Account to soft-delete. + * Format: accounts/{account} + * Example: "accounts/100" + * Please see {@see AnalyticsAdminServiceClient::accountName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteAccountRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the Account to soft-delete. + * Format: accounts/{account} + * Example: "accounts/100" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the Account to soft-delete. + * Format: accounts/{account} + * Example: "accounts/100" + * + * 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 Account to soft-delete. + * Format: accounts/{account} + * Example: "accounts/100" + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAdSenseLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAdSenseLinkRequest.php new file mode 100644 index 000000000000..f0f4ef913e2a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAdSenseLinkRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest + */ +class DeleteAdSenseLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Unique identifier for the AdSense Link to be deleted. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Unique identifier for the AdSense Link to be deleted. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/5678 + * Please see {@see AnalyticsAdminServiceClient::adSenseLinkName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteAdSenseLinkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Unique identifier for the AdSense Link to be deleted. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Unique identifier for the AdSense Link to be deleted. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/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. Unique identifier for the AdSense Link to be deleted. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteBigQueryLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteBigQueryLinkRequest.php new file mode 100644 index 000000000000..86dfb5ec9625 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteBigQueryLinkRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.DeleteBigQueryLinkRequest + */ +class DeleteBigQueryLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The BigQueryLink to delete. + * Example format: properties/1234/bigQueryLinks/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The BigQueryLink to delete. + * Example format: properties/1234/bigQueryLinks/5678 + * Please see {@see AnalyticsAdminServiceClient::bigQueryLinkName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteBigQueryLinkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The BigQueryLink to delete. + * Example format: properties/1234/bigQueryLinks/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The BigQueryLink to delete. + * Example format: properties/1234/bigQueryLinks/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 BigQueryLink to delete. + * Example format: properties/1234/bigQueryLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteCalculatedMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteCalculatedMetricRequest.php new file mode 100644 index 000000000000..16e9b032e0d6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteCalculatedMetricRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.DeleteCalculatedMetricRequest + */ +class DeleteCalculatedMetricRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the CalculatedMetric to delete. + * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} + * Example: properties/1234/calculatedMetrics/Metric01 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the CalculatedMetric to delete. + * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} + * Example: properties/1234/calculatedMetrics/Metric01 + * Please see {@see AnalyticsAdminServiceClient::calculatedMetricName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteCalculatedMetricRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the CalculatedMetric to delete. + * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} + * Example: properties/1234/calculatedMetrics/Metric01 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the CalculatedMetric to delete. + * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} + * Example: properties/1234/calculatedMetrics/Metric01 + * + * 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 CalculatedMetric to delete. + * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} + * Example: properties/1234/calculatedMetrics/Metric01 + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteChannelGroupRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteChannelGroupRequest.php new file mode 100644 index 000000000000..e8b95810b412 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteChannelGroupRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.DeleteChannelGroupRequest + */ +class DeleteChannelGroupRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The ChannelGroup to delete. + * Example format: properties/1234/channelGroups/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The ChannelGroup to delete. + * Example format: properties/1234/channelGroups/5678 + * Please see {@see AnalyticsAdminServiceClient::channelGroupName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteChannelGroupRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The ChannelGroup to delete. + * Example format: properties/1234/channelGroups/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The ChannelGroup to delete. + * Example format: properties/1234/channelGroups/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 ChannelGroup to delete. + * Example format: properties/1234/channelGroups/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteConversionEventRequest.php new file mode 100644 index 000000000000..8b2235b961a6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteConversionEventRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.DeleteConversionEventRequest + */ +class DeleteConversionEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the conversion event to delete. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the conversion event to delete. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * Please see {@see AnalyticsAdminServiceClient::conversionEventName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteConversionEventRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the conversion event to delete. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the conversion event to delete. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/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 resource name of the conversion event to delete. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDataStreamRequest.php new file mode 100644 index 000000000000..3681582b0b0d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDataStreamRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.DeleteDataStreamRequest + */ +class DeleteDataStreamRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the DataStream to delete. + * Example format: properties/1234/dataStreams/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the DataStream to delete. + * Example format: properties/1234/dataStreams/5678 + * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteDataStreamRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the DataStream to delete. + * Example format: properties/1234/dataStreams/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the DataStream to delete. + * Example format: properties/1234/dataStreams/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 DataStream to delete. + * Example format: properties/1234/dataStreams/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.php new file mode 100644 index 000000000000..5946a93646ca --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest + */ +class DeleteDisplayVideo360AdvertiserLinkProposalRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + * Please see {@see AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkProposalName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteDisplayVideo360AdvertiserLinkProposalRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.php new file mode 100644 index 000000000000..6bcd208002b3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest + */ +class DeleteDisplayVideo360AdvertiserLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the DisplayVideo360AdvertiserLink to delete. + * Example format: properties/1234/displayVideo360AdvertiserLinks/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the DisplayVideo360AdvertiserLink to delete. + * Example format: properties/1234/displayVideo360AdvertiserLinks/5678 + * Please see {@see AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteDisplayVideo360AdvertiserLinkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the DisplayVideo360AdvertiserLink to delete. + * Example format: properties/1234/displayVideo360AdvertiserLinks/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the DisplayVideo360AdvertiserLink to delete. + * Example format: properties/1234/displayVideo360AdvertiserLinks/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 DisplayVideo360AdvertiserLink to delete. + * Example format: properties/1234/displayVideo360AdvertiserLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventCreateRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventCreateRuleRequest.php new file mode 100644 index 000000000000..51cf43b6519b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventCreateRuleRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest + */ +class DeleteEventCreateRuleRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Example format: + * properties/123/dataStreams/456/eventCreateRules/789 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Example format: + * properties/123/dataStreams/456/eventCreateRules/789 + * Please see {@see AnalyticsAdminServiceClient::eventCreateRuleName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteEventCreateRuleRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Example format: + * properties/123/dataStreams/456/eventCreateRules/789 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Example format: + * properties/123/dataStreams/456/eventCreateRules/789 + * + * 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. Example format: + * properties/123/dataStreams/456/eventCreateRules/789 + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventEditRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventEditRuleRequest.php new file mode 100644 index 000000000000..06277e23e474 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventEditRuleRequest.php @@ -0,0 +1,81 @@ +google.analytics.admin.v1alpha.DeleteEventEditRuleRequest + */ +class DeleteEventEditRuleRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Example format: properties/123/dataStreams/456/eventEditRules/789 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Example format: properties/123/dataStreams/456/eventEditRules/789 + * Please see {@see AnalyticsAdminServiceClient::eventEditRuleName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteEventEditRuleRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Example format: properties/123/dataStreams/456/eventEditRules/789 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Example format: properties/123/dataStreams/456/eventEditRules/789 + * + * 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. Example format: properties/123/dataStreams/456/eventEditRules/789 + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteExpandedDataSetRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteExpandedDataSetRequest.php new file mode 100644 index 000000000000..3f2b6f373b38 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteExpandedDataSetRequest.php @@ -0,0 +1,81 @@ +google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest + */ +class DeleteExpandedDataSetRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Example format: properties/1234/expandedDataSets/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Example format: properties/1234/expandedDataSets/5678 + * Please see {@see AnalyticsAdminServiceClient::expandedDataSetName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteExpandedDataSetRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Example format: properties/1234/expandedDataSets/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Example format: properties/1234/expandedDataSets/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. Example format: properties/1234/expandedDataSets/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteFirebaseLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteFirebaseLinkRequest.php new file mode 100644 index 000000000000..aa7f265d7ca1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteFirebaseLinkRequest.php @@ -0,0 +1,87 @@ +google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest + */ +class DeleteFirebaseLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} + * Example: `properties/1234/firebaseLinks/5678` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} + * + * Example: `properties/1234/firebaseLinks/5678` + * Please see {@see AnalyticsAdminServiceClient::firebaseLinkName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteFirebaseLinkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} + * Example: `properties/1234/firebaseLinks/5678` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} + * Example: `properties/1234/firebaseLinks/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. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} + * Example: `properties/1234/firebaseLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteGoogleAdsLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteGoogleAdsLinkRequest.php new file mode 100644 index 000000000000..d7f7ed75d557 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteGoogleAdsLinkRequest.php @@ -0,0 +1,81 @@ +google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest + */ +class DeleteGoogleAdsLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Example format: properties/1234/googleAdsLinks/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Example format: properties/1234/googleAdsLinks/5678 + * Please see {@see AnalyticsAdminServiceClient::googleAdsLinkName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteGoogleAdsLinkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Example format: properties/1234/googleAdsLinks/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Example format: properties/1234/googleAdsLinks/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. Example format: properties/1234/googleAdsLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteKeyEventRequest.php new file mode 100644 index 000000000000..3134338b510c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteKeyEventRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.DeleteKeyEventRequest + */ +class DeleteKeyEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Key Event to delete. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/456" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Key Event to delete. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/456" + * Please see {@see AnalyticsAdminServiceClient::keyEventName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteKeyEventRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Key Event to delete. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/456" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Key Event to delete. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/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 resource name of the Key Event to delete. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteMeasurementProtocolSecretRequest.php new file mode 100644 index 000000000000..a1c45cc9a1ef --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteMeasurementProtocolSecretRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest + */ +class DeleteMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the MeasurementProtocolSecret to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the MeasurementProtocolSecret to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * Please see {@see AnalyticsAdminServiceClient::measurementProtocolSecretName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteMeasurementProtocolSecretRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the MeasurementProtocolSecret to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the MeasurementProtocolSecret to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * + * 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 MeasurementProtocolSecret to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeletePropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeletePropertyRequest.php new file mode 100644 index 000000000000..a2876a784e78 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeletePropertyRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.DeletePropertyRequest + */ +class DeletePropertyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the Property to soft-delete. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the Property to soft-delete. + * Format: properties/{property_id} + * Example: "properties/1000" + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeletePropertyRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the Property to soft-delete. + * Format: properties/{property_id} + * Example: "properties/1000" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the Property to soft-delete. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * 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 Property to soft-delete. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteReportingDataAnnotationRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteReportingDataAnnotationRequest.php new file mode 100644 index 000000000000..a00eb339f9e5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteReportingDataAnnotationRequest.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.DeleteReportingDataAnnotationRequest + */ +class DeleteReportingDataAnnotationRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name of the Reporting Data Annotation to delete. + * Format: + * properties/property_id/reportingDataAnnotations/reporting_data_annotation + * Example: properties/123/reportingDataAnnotations/456 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Resource name of the Reporting Data Annotation to delete. + * Format: + * properties/property_id/reportingDataAnnotations/reporting_data_annotation + * Example: properties/123/reportingDataAnnotations/456 + * Please see {@see AnalyticsAdminServiceClient::reportingDataAnnotationName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteReportingDataAnnotationRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Resource name of the Reporting Data Annotation to delete. + * Format: + * properties/property_id/reportingDataAnnotations/reporting_data_annotation + * Example: properties/123/reportingDataAnnotations/456 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Resource name of the Reporting Data Annotation to delete. + * Format: + * properties/property_id/reportingDataAnnotations/reporting_data_annotation + * Example: properties/123/reportingDataAnnotations/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. Resource name of the Reporting Data Annotation to delete. + * Format: + * properties/property_id/reportingDataAnnotations/reporting_data_annotation + * Example: properties/123/reportingDataAnnotations/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteRollupPropertySourceLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteRollupPropertySourceLinkRequest.php new file mode 100644 index 000000000000..9fa97b267d41 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteRollupPropertySourceLinkRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest + */ +class DeleteRollupPropertySourceLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: + * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + * Example: properties/1234/rollupPropertySourceLinks/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Format: + * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + * Example: properties/1234/rollupPropertySourceLinks/5678 + * Please see {@see AnalyticsAdminServiceClient::rollupPropertySourceLinkName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteRollupPropertySourceLinkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Format: + * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + * Example: properties/1234/rollupPropertySourceLinks/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: + * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + * Example: properties/1234/rollupPropertySourceLinks/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. Format: + * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + * Example: properties/1234/rollupPropertySourceLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.php new file mode 100644 index 000000000000..e23fd8084a8c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + */ +class DeleteSKAdNetworkConversionValueSchemaRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the SKAdNetworkConversionValueSchema to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the SKAdNetworkConversionValueSchema to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + * Please see {@see AnalyticsAdminServiceClient::sKAdNetworkConversionValueSchemaName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteSKAdNetworkConversionValueSchemaRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the SKAdNetworkConversionValueSchema to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the SKAdNetworkConversionValueSchema to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + * + * 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 SKAdNetworkConversionValueSchema to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSearchAds360LinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSearchAds360LinkRequest.php new file mode 100644 index 000000000000..d4fc2f106976 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSearchAds360LinkRequest.php @@ -0,0 +1,86 @@ +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) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the SearchAds360Link to delete. + * Example format: properties/1234/SearchAds360Links/5678 + * Please see {@see AnalyticsAdminServiceClient::searchAds360LinkName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteSearchAds360LinkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSubpropertyEventFilterRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSubpropertyEventFilterRequest.php new file mode 100644 index 000000000000..5798016ded32 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSubpropertyEventFilterRequest.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest + */ +class DeleteSubpropertyEventFilterRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name of the subproperty event filter to delete. + * Format: + * properties/property_id/subpropertyEventFilters/subproperty_event_filter + * Example: properties/123/subpropertyEventFilters/456 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Resource name of the subproperty event filter to delete. + * Format: + * properties/property_id/subpropertyEventFilters/subproperty_event_filter + * Example: properties/123/subpropertyEventFilters/456 + * Please see {@see AnalyticsAdminServiceClient::subpropertyEventFilterName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\DeleteSubpropertyEventFilterRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Resource name of the subproperty event filter to delete. + * Format: + * properties/property_id/subpropertyEventFilters/subproperty_event_filter + * Example: properties/123/subpropertyEventFilters/456 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Resource name of the subproperty event filter to delete. + * Format: + * properties/property_id/subpropertyEventFilters/subproperty_event_filter + * Example: properties/123/subpropertyEventFilters/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. Resource name of the subproperty event filter to delete. + * Format: + * properties/property_id/subpropertyEventFilters/subproperty_event_filter + * Example: properties/123/subpropertyEventFilters/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLink.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLink.php new file mode 100644 index 000000000000..b1c9b3b14780 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLink.php @@ -0,0 +1,409 @@ +google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink + */ +class DisplayVideo360AdvertiserLink extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. 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) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Immutable. The Display & Video 360 Advertiser's advertiser ID. + * + * Generated from protobuf field string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $advertiser_id = ''; + /** + * Output only. The display name of the Display & Video 360 Advertiser. + * + * Generated from protobuf field string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $advertiser_display_name = ''; + /** + * Enables personalized advertising features with this integration. + * If this field is not set on create/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 4; + */ + protected $ads_personalization_enabled = null; + /** + * Immutable. Enables the import of campaign data from Display & Video 360 + * into the Google Analytics 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]; + */ + protected $campaign_data_sharing_enabled = null; + /** + * Immutable. Enables the import of cost data from Display & Video 360 into + * the Google Analytics property. This can only be enabled if + * `campaign_data_sharing_enabled` is true. 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]; + */ + protected $cost_data_sharing_enabled = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. 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. + * @type string $advertiser_display_name + * Output only. The display name of the Display & Video 360 Advertiser. + * @type \Google\Protobuf\BoolValue $ads_personalization_enabled + * 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 Google Analytics 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 Google Analytics property. This can only be enabled if + * `campaign_data_sharing_enabled` is true. 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) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. 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) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. 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) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Immutable. The Display & Video 360 Advertiser's advertiser ID. + * + * Generated from protobuf field string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getAdvertiserId() + { + return $this->advertiser_id; + } + + /** + * Immutable. The Display & Video 360 Advertiser's advertiser ID. + * + * 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; + } + + /** + * Output only. The display name of the Display & Video 360 Advertiser. + * + * Generated from protobuf field string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getAdvertiserDisplayName() + { + return $this->advertiser_display_name; + } + + /** + * Output only. The display name of the Display & Video 360 Advertiser. + * + * Generated from protobuf field string advertiser_display_name = 3 [(.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/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 4; + * @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/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 4; + * @return bool|null + */ + public function getAdsPersonalizationEnabledUnwrapped() + { + return $this->readWrapperValue("ads_personalization_enabled"); + } + + /** + * Enables personalized advertising features with this integration. + * If this field is not set on create/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 4; + * @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/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 4; + * @param bool|null $var + * @return $this + */ + public function setAdsPersonalizationEnabledUnwrapped($var) + { + $this->writeWrapperValue("ads_personalization_enabled", $var); + return $this;} + + /** + * Immutable. Enables the import of campaign data from Display & Video 360 + * into the Google Analytics 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 + */ + 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 Display & Video 360 + * into the Google Analytics 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 + */ + public function getCampaignDataSharingEnabledUnwrapped() + { + return $this->readWrapperValue("campaign_data_sharing_enabled"); + } + + /** + * Immutable. Enables the import of campaign data from Display & Video 360 + * into the Google Analytics 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 + * @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 Display & Video 360 + * into the Google Analytics 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 + * @return $this + */ + public function setCampaignDataSharingEnabledUnwrapped($var) + { + $this->writeWrapperValue("campaign_data_sharing_enabled", $var); + return $this;} + + /** + * Immutable. Enables the import of cost data from Display & Video 360 into + * the Google Analytics property. This can only be enabled if + * `campaign_data_sharing_enabled` is true. 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 + */ + 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 Display & Video 360 into + * the Google Analytics property. This can only be enabled if + * `campaign_data_sharing_enabled` is true. 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 + */ + public function getCostDataSharingEnabledUnwrapped() + { + return $this->readWrapperValue("cost_data_sharing_enabled"); + } + + /** + * Immutable. Enables the import of cost data from Display & Video 360 into + * the Google Analytics property. This can only be enabled if + * `campaign_data_sharing_enabled` is true. 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 + * @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 Display & Video 360 into + * the Google Analytics property. This can only be enabled if + * `campaign_data_sharing_enabled` is true. 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 + * @return $this + */ + public function setCostDataSharingEnabledUnwrapped($var) + { + $this->writeWrapperValue("cost_data_sharing_enabled", $var); + return $this;} + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLinkProposal.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLinkProposal.php new file mode 100644 index 000000000000..5109385a23cf --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLinkProposal.php @@ -0,0 +1,490 @@ +google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal + */ +class DisplayVideo360AdvertiserLinkProposal extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. The resource name for this + * DisplayVideo360AdvertiserLinkProposal resource. Format: + * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} + * Note: proposalId is not the Display & Video 360 Advertiser ID + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Immutable. The Display & Video 360 Advertiser's advertiser ID. + * + * Generated from protobuf field string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $advertiser_id = ''; + /** + * Output only. The status information for this link proposal. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $link_proposal_status_details = null; + /** + * Output only. The display name of the Display & Video Advertiser. + * Only populated for proposals that originated from Display & Video 360. + * + * Generated from protobuf field string advertiser_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $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. + * + * Generated from protobuf field string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + */ + protected $validation_email = ''; + /** + * Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $ads_personalization_enabled = null; + /** + * Immutable. Enables the import of campaign data from Display & Video 360. + * 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 = 7 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $campaign_data_sharing_enabled = null; + /** + * Immutable. Enables the import of cost data from Display & Video 360. + * This can only be enabled if campaign_data_sharing_enabled is enabled. + * 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 = 8 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $cost_data_sharing_enabled = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. 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 + * Immutable. The Display & Video 360 Advertiser's advertiser ID. + * @type \Google\Analytics\Admin\V1alpha\LinkProposalStatusDetails $link_proposal_status_details + * Output only. The status information for this link proposal. + * @type string $advertiser_display_name + * 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. + * @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. + * @type \Google\Protobuf\BoolValue $campaign_data_sharing_enabled + * Immutable. Enables the import of campaign data from Display & Video 360. + * 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. + * This can only be enabled if campaign_data_sharing_enabled is enabled. + * 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); + } + + /** + * Identifier. The resource name for this + * DisplayVideo360AdvertiserLinkProposal resource. Format: + * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} + * Note: proposalId is not the Display & Video 360 Advertiser ID + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. The resource name for this + * DisplayVideo360AdvertiserLinkProposal resource. Format: + * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} + * Note: proposalId is not the Display & Video 360 Advertiser ID + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Immutable. The Display & Video 360 Advertiser's advertiser ID. + * + * Generated from protobuf field string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getAdvertiserId() + { + return $this->advertiser_id; + } + + /** + * Immutable. The Display & Video 360 Advertiser's advertiser ID. + * + * 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; + } + + /** + * Output only. The status information for this link proposal. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Analytics\Admin\V1alpha\LinkProposalStatusDetails|null + */ + public function getLinkProposalStatusDetails() + { + return $this->link_proposal_status_details; + } + + public function hasLinkProposalStatusDetails() + { + return isset($this->link_proposal_status_details); + } + + public function clearLinkProposalStatusDetails() + { + unset($this->link_proposal_status_details); + } + + /** + * Output only. The status information for this link proposal. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Analytics\Admin\V1alpha\LinkProposalStatusDetails $var + * @return $this + */ + public function setLinkProposalStatusDetails($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\LinkProposalStatusDetails::class); + $this->link_proposal_status_details = $var; + + return $this; + } + + /** + * Output only. The display name of the Display & Video Advertiser. + * Only populated for proposals that originated from Display & Video 360. + * + * Generated from protobuf field string advertiser_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getAdvertiserDisplayName() + { + return $this->advertiser_display_name; + } + + /** + * Output only. The display name of the Display & Video Advertiser. + * Only populated for proposals that originated from Display & Video 360. + * + * Generated from protobuf field string advertiser_display_name = 4 [(.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; + } + + /** + * 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 + */ + public function getValidationEmail() + { + return $this->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. + * + * Generated from protobuf field string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setValidationEmail($var) + { + GPBUtil::checkString($var, True); + $this->validation_email = $var; + + return $this; + } + + /** + * Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE]; + * @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() + + * Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE]; + * @return bool|null + */ + public function getAdsPersonalizationEnabledUnwrapped() + { + return $this->readWrapperValue("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. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * @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. + + * Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE]; + * @param bool|null $var + * @return $this + */ + public function setAdsPersonalizationEnabledUnwrapped($var) + { + $this->writeWrapperValue("ads_personalization_enabled", $var); + return $this;} + + /** + * Immutable. Enables the import of campaign data from Display & Video 360. + * 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 = 7 [(.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 Display & Video 360. + * 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 = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * @return bool|null + */ + public function getCampaignDataSharingEnabledUnwrapped() + { + return $this->readWrapperValue("campaign_data_sharing_enabled"); + } + + /** + * Immutable. Enables the import of campaign data from Display & Video 360. + * 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 = 7 [(.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 Display & Video 360. + * 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 = 7 [(.google.api.field_behavior) = IMMUTABLE]; + * @param bool|null $var + * @return $this + */ + public function setCampaignDataSharingEnabledUnwrapped($var) + { + $this->writeWrapperValue("campaign_data_sharing_enabled", $var); + return $this;} + + /** + * Immutable. Enables the import of cost data from Display & Video 360. + * This can only be enabled if campaign_data_sharing_enabled is enabled. + * 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 = 8 [(.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 Display & Video 360. + * This can only be enabled if campaign_data_sharing_enabled is enabled. + * 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 = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * @return bool|null + */ + public function getCostDataSharingEnabledUnwrapped() + { + return $this->readWrapperValue("cost_data_sharing_enabled"); + } + + /** + * Immutable. Enables the import of cost data from Display & Video 360. + * This can only be enabled if campaign_data_sharing_enabled is enabled. + * 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 = 8 [(.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 Display & Video 360. + * This can only be enabled if campaign_data_sharing_enabled is enabled. + * 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 = 8 [(.google.api.field_behavior) = IMMUTABLE]; + * @param bool|null $var + * @return $this + */ + public function setCostDataSharingEnabledUnwrapped($var) + { + $this->writeWrapperValue("cost_data_sharing_enabled", $var); + return $this;} + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EnhancedMeasurementSettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EnhancedMeasurementSettings.php new file mode 100644 index 000000000000..679df2aaeb7f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EnhancedMeasurementSettings.php @@ -0,0 +1,472 @@ +google.analytics.admin.v1alpha.EnhancedMeasurementSettings + */ +class EnhancedMeasurementSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name of the Enhanced Measurement Settings. + * Format: + * properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings + * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Indicates whether Enhanced Measurement Settings will be used to + * automatically measure interactions and content on this web stream. + * Changing this value does not affect the settings themselves, but determines + * whether they are respected. + * + * Generated from protobuf field bool stream_enabled = 2; + */ + protected $stream_enabled = false; + /** + * If enabled, capture scroll events each time a visitor gets to the bottom of + * a page. + * + * Generated from protobuf field bool scrolls_enabled = 3; + */ + protected $scrolls_enabled = false; + /** + * If enabled, capture an outbound click event each time a visitor clicks a + * link that leads them away from your domain. + * + * Generated from protobuf field bool outbound_clicks_enabled = 4; + */ + protected $outbound_clicks_enabled = false; + /** + * If enabled, capture a view search results event each time a visitor + * performs a search on your site (based on a query parameter). + * + * Generated from protobuf field bool site_search_enabled = 5; + */ + protected $site_search_enabled = false; + /** + * If enabled, capture video play, progress, and complete events as visitors + * view embedded videos on your site. + * + * Generated from protobuf field bool video_engagement_enabled = 6; + */ + protected $video_engagement_enabled = false; + /** + * If enabled, capture a file download event each time a link is clicked with + * a common document, compressed file, application, video, or audio extension. + * + * Generated from protobuf field bool file_downloads_enabled = 7; + */ + protected $file_downloads_enabled = false; + /** + * If enabled, capture a page view event each time the website changes the + * browser history state. + * + * Generated from protobuf field bool page_changes_enabled = 8; + */ + protected $page_changes_enabled = false; + /** + * If enabled, capture a form interaction event each time a visitor interacts + * with a form on your website. + * False by default. + * + * Generated from protobuf field bool form_interactions_enabled = 9; + */ + protected $form_interactions_enabled = false; + /** + * Required. URL query parameters to interpret as site search parameters. + * Max length is 1024 characters. Must not be empty. + * + * Generated from protobuf field string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $search_query_parameter = ''; + /** + * Additional URL query parameters. + * Max length is 1024 characters. + * + * Generated from protobuf field string uri_query_parameter = 11; + */ + protected $uri_query_parameter = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name of the Enhanced Measurement Settings. + * Format: + * properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings + * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + * @type bool $stream_enabled + * Indicates whether Enhanced Measurement Settings will be used to + * automatically measure interactions and content on this web stream. + * Changing this value does not affect the settings themselves, but determines + * whether they are respected. + * @type bool $scrolls_enabled + * If enabled, capture scroll events each time a visitor gets to the bottom of + * a page. + * @type bool $outbound_clicks_enabled + * If enabled, capture an outbound click event each time a visitor clicks a + * link that leads them away from your domain. + * @type bool $site_search_enabled + * If enabled, capture a view search results event each time a visitor + * performs a search on your site (based on a query parameter). + * @type bool $video_engagement_enabled + * If enabled, capture video play, progress, and complete events as visitors + * view embedded videos on your site. + * @type bool $file_downloads_enabled + * If enabled, capture a file download event each time a link is clicked with + * a common document, compressed file, application, video, or audio extension. + * @type bool $page_changes_enabled + * If enabled, capture a page view event each time the website changes the + * browser history state. + * @type bool $form_interactions_enabled + * If enabled, capture a form interaction event each time a visitor interacts + * with a form on your website. + * False by default. + * @type string $search_query_parameter + * Required. URL query parameters to interpret as site search parameters. + * Max length is 1024 characters. Must not be empty. + * @type string $uri_query_parameter + * Additional URL query parameters. + * Max length is 1024 characters. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name of the Enhanced Measurement Settings. + * Format: + * properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings + * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + * + * 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 the Enhanced Measurement Settings. + * Format: + * properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings + * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + * + * 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; + } + + /** + * Indicates whether Enhanced Measurement Settings will be used to + * automatically measure interactions and content on this web stream. + * Changing this value does not affect the settings themselves, but determines + * whether they are respected. + * + * Generated from protobuf field bool stream_enabled = 2; + * @return bool + */ + public function getStreamEnabled() + { + return $this->stream_enabled; + } + + /** + * Indicates whether Enhanced Measurement Settings will be used to + * automatically measure interactions and content on this web stream. + * Changing this value does not affect the settings themselves, but determines + * whether they are respected. + * + * Generated from protobuf field bool stream_enabled = 2; + * @param bool $var + * @return $this + */ + public function setStreamEnabled($var) + { + GPBUtil::checkBool($var); + $this->stream_enabled = $var; + + return $this; + } + + /** + * If enabled, capture scroll events each time a visitor gets to the bottom of + * a page. + * + * Generated from protobuf field bool scrolls_enabled = 3; + * @return bool + */ + public function getScrollsEnabled() + { + return $this->scrolls_enabled; + } + + /** + * If enabled, capture scroll events each time a visitor gets to the bottom of + * a page. + * + * Generated from protobuf field bool scrolls_enabled = 3; + * @param bool $var + * @return $this + */ + public function setScrollsEnabled($var) + { + GPBUtil::checkBool($var); + $this->scrolls_enabled = $var; + + return $this; + } + + /** + * If enabled, capture an outbound click event each time a visitor clicks a + * link that leads them away from your domain. + * + * Generated from protobuf field bool outbound_clicks_enabled = 4; + * @return bool + */ + public function getOutboundClicksEnabled() + { + return $this->outbound_clicks_enabled; + } + + /** + * If enabled, capture an outbound click event each time a visitor clicks a + * link that leads them away from your domain. + * + * Generated from protobuf field bool outbound_clicks_enabled = 4; + * @param bool $var + * @return $this + */ + public function setOutboundClicksEnabled($var) + { + GPBUtil::checkBool($var); + $this->outbound_clicks_enabled = $var; + + return $this; + } + + /** + * If enabled, capture a view search results event each time a visitor + * performs a search on your site (based on a query parameter). + * + * Generated from protobuf field bool site_search_enabled = 5; + * @return bool + */ + public function getSiteSearchEnabled() + { + return $this->site_search_enabled; + } + + /** + * If enabled, capture a view search results event each time a visitor + * performs a search on your site (based on a query parameter). + * + * Generated from protobuf field bool site_search_enabled = 5; + * @param bool $var + * @return $this + */ + public function setSiteSearchEnabled($var) + { + GPBUtil::checkBool($var); + $this->site_search_enabled = $var; + + return $this; + } + + /** + * If enabled, capture video play, progress, and complete events as visitors + * view embedded videos on your site. + * + * Generated from protobuf field bool video_engagement_enabled = 6; + * @return bool + */ + public function getVideoEngagementEnabled() + { + return $this->video_engagement_enabled; + } + + /** + * If enabled, capture video play, progress, and complete events as visitors + * view embedded videos on your site. + * + * Generated from protobuf field bool video_engagement_enabled = 6; + * @param bool $var + * @return $this + */ + public function setVideoEngagementEnabled($var) + { + GPBUtil::checkBool($var); + $this->video_engagement_enabled = $var; + + return $this; + } + + /** + * If enabled, capture a file download event each time a link is clicked with + * a common document, compressed file, application, video, or audio extension. + * + * Generated from protobuf field bool file_downloads_enabled = 7; + * @return bool + */ + public function getFileDownloadsEnabled() + { + return $this->file_downloads_enabled; + } + + /** + * If enabled, capture a file download event each time a link is clicked with + * a common document, compressed file, application, video, or audio extension. + * + * Generated from protobuf field bool file_downloads_enabled = 7; + * @param bool $var + * @return $this + */ + public function setFileDownloadsEnabled($var) + { + GPBUtil::checkBool($var); + $this->file_downloads_enabled = $var; + + return $this; + } + + /** + * If enabled, capture a page view event each time the website changes the + * browser history state. + * + * Generated from protobuf field bool page_changes_enabled = 8; + * @return bool + */ + public function getPageChangesEnabled() + { + return $this->page_changes_enabled; + } + + /** + * If enabled, capture a page view event each time the website changes the + * browser history state. + * + * Generated from protobuf field bool page_changes_enabled = 8; + * @param bool $var + * @return $this + */ + public function setPageChangesEnabled($var) + { + GPBUtil::checkBool($var); + $this->page_changes_enabled = $var; + + return $this; + } + + /** + * If enabled, capture a form interaction event each time a visitor interacts + * with a form on your website. + * False by default. + * + * Generated from protobuf field bool form_interactions_enabled = 9; + * @return bool + */ + public function getFormInteractionsEnabled() + { + return $this->form_interactions_enabled; + } + + /** + * If enabled, capture a form interaction event each time a visitor interacts + * with a form on your website. + * False by default. + * + * Generated from protobuf field bool form_interactions_enabled = 9; + * @param bool $var + * @return $this + */ + public function setFormInteractionsEnabled($var) + { + GPBUtil::checkBool($var); + $this->form_interactions_enabled = $var; + + return $this; + } + + /** + * Required. URL query parameters to interpret as site search parameters. + * Max length is 1024 characters. Must not be empty. + * + * Generated from protobuf field string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getSearchQueryParameter() + { + return $this->search_query_parameter; + } + + /** + * Required. URL query parameters to interpret as site search parameters. + * Max length is 1024 characters. Must not be empty. + * + * Generated from protobuf field string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setSearchQueryParameter($var) + { + GPBUtil::checkString($var, True); + $this->search_query_parameter = $var; + + return $this; + } + + /** + * Additional URL query parameters. + * Max length is 1024 characters. + * + * Generated from protobuf field string uri_query_parameter = 11; + * @return string + */ + public function getUriQueryParameter() + { + return $this->uri_query_parameter; + } + + /** + * Additional URL query parameters. + * Max length is 1024 characters. + * + * Generated from protobuf field string uri_query_parameter = 11; + * @param string $var + * @return $this + */ + public function setUriQueryParameter($var) + { + GPBUtil::checkString($var, True); + $this->uri_query_parameter = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventCreateRule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventCreateRule.php new file mode 100644 index 000000000000..d4fcefc0a5b6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventCreateRule.php @@ -0,0 +1,257 @@ +google.analytics.admin.v1alpha.EventCreateRule + */ +class EventCreateRule extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name for this EventCreateRule resource. + * Format: + * properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Required. The name of the new event to be created. + * This value must: + * * be less than 40 characters + * * consist only of letters, digits or _ (underscores) + * * start with a letter + * + * Generated from protobuf field string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $destination_event = ''; + /** + * Required. Must have at least one condition, and can have up to 10 max. + * Conditions on the source event must match for this rule to be applied. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + private $event_conditions; + /** + * If true, the source parameters are copied to the new event. + * If false, or unset, all non-internal parameters are not copied from the + * source event. Parameter mutations are applied after the parameters have + * been copied. + * + * Generated from protobuf field bool source_copy_parameters = 4; + */ + protected $source_copy_parameters = false; + /** + * Parameter mutations define parameter behavior on the new event, and + * are applied in order. + * A maximum of 20 mutations can be applied. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + */ + private $parameter_mutations; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name for this EventCreateRule resource. + * Format: + * properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule} + * @type string $destination_event + * Required. The name of the new event to be created. + * This value must: + * * be less than 40 characters + * * consist only of letters, digits or _ (underscores) + * * start with a letter + * @type \Google\Analytics\Admin\V1alpha\MatchingCondition[] $event_conditions + * Required. Must have at least one condition, and can have up to 10 max. + * Conditions on the source event must match for this rule to be applied. + * @type bool $source_copy_parameters + * If true, the source parameters are copied to the new event. + * If false, or unset, all non-internal parameters are not copied from the + * source event. Parameter mutations are applied after the parameters have + * been copied. + * @type \Google\Analytics\Admin\V1alpha\ParameterMutation[] $parameter_mutations + * Parameter mutations define parameter behavior on the new event, and + * are applied in order. + * A maximum of 20 mutations can be applied. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\EventCreateAndEdit::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name for this EventCreateRule resource. + * Format: + * properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule} + * + * 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 for this EventCreateRule resource. + * Format: + * properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule} + * + * 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 name of the new event to be created. + * This value must: + * * be less than 40 characters + * * consist only of letters, digits or _ (underscores) + * * start with a letter + * + * Generated from protobuf field string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDestinationEvent() + { + return $this->destination_event; + } + + /** + * Required. The name of the new event to be created. + * This value must: + * * be less than 40 characters + * * consist only of letters, digits or _ (underscores) + * * start with a letter + * + * Generated from protobuf field string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDestinationEvent($var) + { + GPBUtil::checkString($var, True); + $this->destination_event = $var; + + return $this; + } + + /** + * Required. Must have at least one condition, and can have up to 10 max. + * Conditions on the source event must match for this rule to be applied. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\MatchingCondition> + */ + public function getEventConditions() + { + return $this->event_conditions; + } + + /** + * Required. Must have at least one condition, and can have up to 10 max. + * Conditions on the source event must match for this rule to be applied. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\MatchingCondition[] $var + * @return $this + */ + public function setEventConditions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\MatchingCondition::class); + $this->event_conditions = $arr; + + return $this; + } + + /** + * If true, the source parameters are copied to the new event. + * If false, or unset, all non-internal parameters are not copied from the + * source event. Parameter mutations are applied after the parameters have + * been copied. + * + * Generated from protobuf field bool source_copy_parameters = 4; + * @return bool + */ + public function getSourceCopyParameters() + { + return $this->source_copy_parameters; + } + + /** + * If true, the source parameters are copied to the new event. + * If false, or unset, all non-internal parameters are not copied from the + * source event. Parameter mutations are applied after the parameters have + * been copied. + * + * Generated from protobuf field bool source_copy_parameters = 4; + * @param bool $var + * @return $this + */ + public function setSourceCopyParameters($var) + { + GPBUtil::checkBool($var); + $this->source_copy_parameters = $var; + + return $this; + } + + /** + * Parameter mutations define parameter behavior on the new event, and + * are applied in order. + * A maximum of 20 mutations can be applied. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ParameterMutation> + */ + public function getParameterMutations() + { + return $this->parameter_mutations; + } + + /** + * Parameter mutations define parameter behavior on the new event, and + * are applied in order. + * A maximum of 20 mutations can be applied. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * @param \Google\Analytics\Admin\V1alpha\ParameterMutation[] $var + * @return $this + */ + public function setParameterMutations($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ParameterMutation::class); + $this->parameter_mutations = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventEditRule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventEditRule.php new file mode 100644 index 000000000000..03f0533fc489 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventEditRule.php @@ -0,0 +1,245 @@ +google.analytics.admin.v1alpha.EventEditRule + */ +class EventEditRule extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name for this EventEditRule resource. + * Format: + * properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The display name of this event edit rule. Maximum of 255 + * characters. + * + * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Required. Conditions on the source event must match for this rule to be + * applied. Must have at least one condition, and can have up to 10 max. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + private $event_conditions; + /** + * Required. Parameter mutations define parameter behavior on the new event, + * and are applied in order. A maximum of 20 mutations can be applied. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + private $parameter_mutations; + /** + * Output only. The order for which this rule will be processed. Rules with an + * order value lower than this will be processed before this rule, rules with + * an order value higher than this will be processed after this rule. New + * event edit rules will be assigned an order value at the end of the order. + * This value does not apply to event create rules. + * + * Generated from protobuf field int64 processing_order = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $processing_order = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Resource name for this EventEditRule resource. + * Format: + * properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule} + * @type string $display_name + * Required. The display name of this event edit rule. Maximum of 255 + * characters. + * @type \Google\Analytics\Admin\V1alpha\MatchingCondition[] $event_conditions + * Required. Conditions on the source event must match for this rule to be + * applied. Must have at least one condition, and can have up to 10 max. + * @type \Google\Analytics\Admin\V1alpha\ParameterMutation[] $parameter_mutations + * Required. Parameter mutations define parameter behavior on the new event, + * and are applied in order. A maximum of 20 mutations can be applied. + * @type int|string $processing_order + * Output only. The order for which this rule will be processed. Rules with an + * order value lower than this will be processed before this rule, rules with + * an order value higher than this will be processed after this rule. New + * event edit rules will be assigned an order value at the end of the order. + * This value does not apply to event create rules. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\EventCreateAndEdit::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Resource name for this EventEditRule resource. + * Format: + * properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name for this EventEditRule resource. + * Format: + * properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The display name of this event edit rule. Maximum of 255 + * characters. + * + * 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 this event edit rule. Maximum of 255 + * characters. + * + * 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; + } + + /** + * Required. Conditions on the source event must match for this rule to be + * applied. Must have at least one condition, and can have up to 10 max. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\MatchingCondition> + */ + public function getEventConditions() + { + return $this->event_conditions; + } + + /** + * Required. Conditions on the source event must match for this rule to be + * applied. Must have at least one condition, and can have up to 10 max. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\MatchingCondition[] $var + * @return $this + */ + public function setEventConditions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\MatchingCondition::class); + $this->event_conditions = $arr; + + return $this; + } + + /** + * Required. Parameter mutations define parameter behavior on the new event, + * and are applied in order. A maximum of 20 mutations can be applied. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ParameterMutation> + */ + public function getParameterMutations() + { + return $this->parameter_mutations; + } + + /** + * Required. Parameter mutations define parameter behavior on the new event, + * and are applied in order. A maximum of 20 mutations can be applied. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\ParameterMutation[] $var + * @return $this + */ + public function setParameterMutations($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ParameterMutation::class); + $this->parameter_mutations = $arr; + + return $this; + } + + /** + * Output only. The order for which this rule will be processed. Rules with an + * order value lower than this will be processed before this rule, rules with + * an order value higher than this will be processed after this rule. New + * event edit rules will be assigned an order value at the end of the order. + * This value does not apply to event create rules. + * + * Generated from protobuf field int64 processing_order = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getProcessingOrder() + { + return $this->processing_order; + } + + /** + * Output only. The order for which this rule will be processed. Rules with an + * order value lower than this will be processed before this rule, rules with + * an order value higher than this will be processed after this rule. New + * event edit rules will be assigned an order value at the end of the order. + * This value does not apply to event create rules. + * + * Generated from protobuf field int64 processing_order = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setProcessingOrder($var) + { + GPBUtil::checkInt64($var); + $this->processing_order = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventMapping.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventMapping.php new file mode 100644 index 000000000000..7d376244e39e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventMapping.php @@ -0,0 +1,279 @@ +google.analytics.admin.v1alpha.EventMapping + */ +class EventMapping extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Name of the Google Analytics event. It must always be set. + * The max allowed display name length is 40 UTF-16 code units. + * + * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $event_name = ''; + /** + * At least one of the following four min/max values must be set. The + * values set will be ANDed together to qualify an event. + * The minimum number of times the event occurred. If not set, minimum event + * count won't be checked. + * + * Generated from protobuf field optional int64 min_event_count = 2; + */ + protected $min_event_count = null; + /** + * The maximum number of times the event occurred. If not set, maximum event + * count won't be checked. + * + * Generated from protobuf field optional int64 max_event_count = 3; + */ + protected $max_event_count = null; + /** + * The minimum revenue generated due to the event. Revenue currency will be + * defined at the property level. If not set, minimum event value won't be + * checked. + * + * Generated from protobuf field optional double min_event_value = 4; + */ + protected $min_event_value = null; + /** + * The maximum revenue generated due to the event. Revenue currency will be + * defined at the property level. If not set, maximum event value won't be + * checked. + * + * Generated from protobuf field optional double max_event_value = 5; + */ + protected $max_event_value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $event_name + * Required. Name of the Google Analytics event. It must always be set. + * The max allowed display name length is 40 UTF-16 code units. + * @type int|string $min_event_count + * At least one of the following four min/max values must be set. The + * values set will be ANDed together to qualify an event. + * The minimum number of times the event occurred. If not set, minimum event + * count won't be checked. + * @type int|string $max_event_count + * The maximum number of times the event occurred. If not set, maximum event + * count won't be checked. + * @type float $min_event_value + * The minimum revenue generated due to the event. Revenue currency will be + * defined at the property level. If not set, minimum event value won't be + * checked. + * @type float $max_event_value + * The maximum revenue generated due to the event. Revenue currency will be + * defined at the property level. If not set, maximum event value won't be + * checked. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Required. Name of the Google Analytics event. It must always be set. + * The max allowed display name length is 40 UTF-16 code units. + * + * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getEventName() + { + return $this->event_name; + } + + /** + * Required. Name of the Google Analytics event. It must always be set. + * The max allowed display name length is 40 UTF-16 code units. + * + * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setEventName($var) + { + GPBUtil::checkString($var, True); + $this->event_name = $var; + + return $this; + } + + /** + * At least one of the following four min/max values must be set. The + * values set will be ANDed together to qualify an event. + * The minimum number of times the event occurred. If not set, minimum event + * count won't be checked. + * + * Generated from protobuf field optional int64 min_event_count = 2; + * @return int|string + */ + public function getMinEventCount() + { + return isset($this->min_event_count) ? $this->min_event_count : 0; + } + + public function hasMinEventCount() + { + return isset($this->min_event_count); + } + + public function clearMinEventCount() + { + unset($this->min_event_count); + } + + /** + * At least one of the following four min/max values must be set. The + * values set will be ANDed together to qualify an event. + * The minimum number of times the event occurred. If not set, minimum event + * count won't be checked. + * + * Generated from protobuf field optional int64 min_event_count = 2; + * @param int|string $var + * @return $this + */ + public function setMinEventCount($var) + { + GPBUtil::checkInt64($var); + $this->min_event_count = $var; + + return $this; + } + + /** + * The maximum number of times the event occurred. If not set, maximum event + * count won't be checked. + * + * Generated from protobuf field optional int64 max_event_count = 3; + * @return int|string + */ + public function getMaxEventCount() + { + return isset($this->max_event_count) ? $this->max_event_count : 0; + } + + public function hasMaxEventCount() + { + return isset($this->max_event_count); + } + + public function clearMaxEventCount() + { + unset($this->max_event_count); + } + + /** + * The maximum number of times the event occurred. If not set, maximum event + * count won't be checked. + * + * Generated from protobuf field optional int64 max_event_count = 3; + * @param int|string $var + * @return $this + */ + public function setMaxEventCount($var) + { + GPBUtil::checkInt64($var); + $this->max_event_count = $var; + + return $this; + } + + /** + * The minimum revenue generated due to the event. Revenue currency will be + * defined at the property level. If not set, minimum event value won't be + * checked. + * + * Generated from protobuf field optional double min_event_value = 4; + * @return float + */ + public function getMinEventValue() + { + return isset($this->min_event_value) ? $this->min_event_value : 0.0; + } + + public function hasMinEventValue() + { + return isset($this->min_event_value); + } + + public function clearMinEventValue() + { + unset($this->min_event_value); + } + + /** + * The minimum revenue generated due to the event. Revenue currency will be + * defined at the property level. If not set, minimum event value won't be + * checked. + * + * Generated from protobuf field optional double min_event_value = 4; + * @param float $var + * @return $this + */ + public function setMinEventValue($var) + { + GPBUtil::checkDouble($var); + $this->min_event_value = $var; + + return $this; + } + + /** + * The maximum revenue generated due to the event. Revenue currency will be + * defined at the property level. If not set, maximum event value won't be + * checked. + * + * Generated from protobuf field optional double max_event_value = 5; + * @return float + */ + public function getMaxEventValue() + { + return isset($this->max_event_value) ? $this->max_event_value : 0.0; + } + + public function hasMaxEventValue() + { + return isset($this->max_event_value); + } + + public function clearMaxEventValue() + { + unset($this->max_event_value); + } + + /** + * The maximum revenue generated due to the event. Revenue currency will be + * defined at the property level. If not set, maximum event value won't be + * checked. + * + * Generated from protobuf field optional double max_event_value = 5; + * @param float $var + * @return $this + */ + public function setMaxEventValue($var) + { + GPBUtil::checkDouble($var); + $this->max_event_value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSet.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSet.php new file mode 100644 index 000000000000..5ead79d293a2 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/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]; + */ + protected $name = ''; + /** + * Required. The display name of the ExpandedDataSet. + * Max 200 chars. + * + * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Optional. The description of the ExpandedDataSet. + * Max 50 chars. + * + * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $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 chance of encountering `other` row. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $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]; + */ + protected $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 string[] $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 string[] $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 chance 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 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 string[] $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 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 string[] $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 chance 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 chance 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter.php new file mode 100644 index 000000000000..0a2bb3d195d3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/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]; + */ + protected $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/InListFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/InListFilter.php new file mode 100644 index 000000000000..026cff2b73ba --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/InListFilter.php @@ -0,0 +1,113 @@ +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]; + */ + protected $case_sensitive = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $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 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 string[] $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; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter.php new file mode 100644 index 000000000000..3efb81f5e21d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter.php @@ -0,0 +1,147 @@ +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]; + */ + protected $match_type = 0; + /** + * Required. The string value to be matched against. + * + * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $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]; + */ + protected $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; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter/MatchType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter/MatchType.php new file mode 100644 index 000000000000..37887cedbb6d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter/MatchType.php @@ -0,0 +1,61 @@ +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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilterExpression.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilterExpression.php new file mode 100644 index 000000000000..0c866ad5358a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/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 (that is, 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 (that is, 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 (that is, 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilterExpressionList.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilterExpressionList.php new file mode 100644 index 000000000000..0d68710468ea --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/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 \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression[] $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 RepeatedField<\Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression> + */ + 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 \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression[] $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/FirebaseLink.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/FirebaseLink.php new file mode 100644 index 000000000000..4adb565d1cee --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/FirebaseLink.php @@ -0,0 +1,165 @@ +google.analytics.admin.v1alpha.FirebaseLink + */ +class FirebaseLink extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Example format: properties/1234/firebaseLinks/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $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 + * have a project_name that contains a project number. + * Format: 'projects/{project number}' + * Example: 'projects/1234' + * + * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $project = ''; + /** + * Output only. Time when this FirebaseLink was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. 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 + * have a project_name that contains a project number. + * Format: 'projects/{project number}' + * Example: 'projects/1234' + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Time when this FirebaseLink was originally created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Example format: properties/1234/firebaseLinks/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Example format: properties/1234/firebaseLinks/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * 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' + * + * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getProject() + { + return $this->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 + * have a project_name 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 this FirebaseLink was originally 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 this FirebaseLink was originally 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; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccessBindingRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccessBindingRequest.php new file mode 100644 index 000000000000..c64528984689 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccessBindingRequest.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.GetAccessBindingRequest + */ +class GetAccessBindingRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the access binding to retrieve. + * Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the access binding to retrieve. + * Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} + * Please see {@see AnalyticsAdminServiceClient::accessBindingName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetAccessBindingRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the access binding to retrieve. + * Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the access binding to retrieve. + * Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} + * + * 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 access binding to retrieve. + * Formats: + * - accounts/{account}/accessBindings/{accessBinding} + * - properties/{property}/accessBindings/{accessBinding} + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccountRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccountRequest.php new file mode 100644 index 000000000000..226411cebd73 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccountRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.GetAccountRequest + */ +class GetAccountRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the account to lookup. + * Format: accounts/{account} + * Example: "accounts/100" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the account to lookup. + * Format: accounts/{account} + * Example: "accounts/100" + * Please see {@see AnalyticsAdminServiceClient::accountName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetAccountRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the account to lookup. + * Format: accounts/{account} + * Example: "accounts/100" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the account to lookup. + * Format: accounts/{account} + * Example: "accounts/100" + * + * 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 account to lookup. + * Format: accounts/{account} + * Example: "accounts/100" + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAdSenseLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAdSenseLinkRequest.php new file mode 100644 index 000000000000..8569c54a935a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAdSenseLinkRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.GetAdSenseLinkRequest + */ +class GetAdSenseLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Unique identifier for the AdSense Link requested. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Unique identifier for the AdSense Link requested. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/5678 + * Please see {@see AnalyticsAdminServiceClient::adSenseLinkName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetAdSenseLinkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Unique identifier for the AdSense Link requested. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Unique identifier for the AdSense Link requested. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/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. Unique identifier for the AdSense Link requested. + * Format: properties/{propertyId}/adSenseLinks/{linkId} + * Example: properties/1234/adSenseLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAttributionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAttributionSettingsRequest.php new file mode 100644 index 000000000000..47f67a66af61 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAttributionSettingsRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.GetAttributionSettingsRequest + */ +class GetAttributionSettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the attribution settings to retrieve. + * Format: properties/{property}/attributionSettings + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the attribution settings to retrieve. + * Format: properties/{property}/attributionSettings + * Please see {@see AnalyticsAdminServiceClient::attributionSettingsName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetAttributionSettingsRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the attribution settings to retrieve. + * Format: properties/{property}/attributionSettings + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the attribution settings to retrieve. + * Format: properties/{property}/attributionSettings + * + * 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 attribution settings to retrieve. + * Format: properties/{property}/attributionSettings + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAudienceRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAudienceRequest.php new file mode 100644 index 000000000000..fdd9699e9488 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAudienceRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.GetAudienceRequest + */ +class GetAudienceRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the Audience to get. + * Example format: properties/1234/audiences/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the Audience to get. + * Example format: properties/1234/audiences/5678 + * Please see {@see AnalyticsAdminServiceClient::audienceName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetAudienceRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the Audience to get. + * Example format: properties/1234/audiences/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the Audience to get. + * Example format: properties/1234/audiences/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 Audience to get. + * Example format: properties/1234/audiences/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetBigQueryLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetBigQueryLinkRequest.php new file mode 100644 index 000000000000..d56e48505a69 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetBigQueryLinkRequest.php @@ -0,0 +1,91 @@ +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) = { + */ + protected $name = ''; + + /** + * @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 + * Please see {@see AnalyticsAdminServiceClient::bigQueryLinkName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetBigQueryLinkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCalculatedMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCalculatedMetricRequest.php new file mode 100644 index 000000000000..696c0c8a33c7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCalculatedMetricRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.GetCalculatedMetricRequest + */ +class GetCalculatedMetricRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the CalculatedMetric to get. + * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} + * Example: properties/1234/calculatedMetrics/Metric01 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the CalculatedMetric to get. + * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} + * Example: properties/1234/calculatedMetrics/Metric01 + * Please see {@see AnalyticsAdminServiceClient::calculatedMetricName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetCalculatedMetricRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the CalculatedMetric to get. + * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} + * Example: properties/1234/calculatedMetrics/Metric01 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the CalculatedMetric to get. + * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} + * Example: properties/1234/calculatedMetrics/Metric01 + * + * 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 CalculatedMetric to get. + * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} + * Example: properties/1234/calculatedMetrics/Metric01 + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetChannelGroupRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetChannelGroupRequest.php new file mode 100644 index 000000000000..6732b29c85e5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetChannelGroupRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.GetChannelGroupRequest + */ +class GetChannelGroupRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The ChannelGroup to get. + * Example format: properties/1234/channelGroups/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The ChannelGroup to get. + * Example format: properties/1234/channelGroups/5678 + * Please see {@see AnalyticsAdminServiceClient::channelGroupName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetChannelGroupRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The ChannelGroup to get. + * Example format: properties/1234/channelGroups/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The ChannelGroup to get. + * Example format: properties/1234/channelGroups/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 ChannelGroup to get. + * Example format: properties/1234/channelGroups/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetConversionEventRequest.php new file mode 100644 index 000000000000..af00b8b14fc3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetConversionEventRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.GetConversionEventRequest + */ +class GetConversionEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the conversion event to retrieve. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the conversion event to retrieve. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * Please see {@see AnalyticsAdminServiceClient::conversionEventName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetConversionEventRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the conversion event to retrieve. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the conversion event to retrieve. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/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 resource name of the conversion event to retrieve. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomDimensionRequest.php new file mode 100644 index 000000000000..ab21a5adf2d7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomDimensionRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.GetCustomDimensionRequest + */ +class GetCustomDimensionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the CustomDimension to get. + * Example format: properties/1234/customDimensions/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the CustomDimension to get. + * Example format: properties/1234/customDimensions/5678 + * Please see {@see AnalyticsAdminServiceClient::customDimensionName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetCustomDimensionRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the CustomDimension to get. + * Example format: properties/1234/customDimensions/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the CustomDimension to get. + * Example format: properties/1234/customDimensions/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 CustomDimension to get. + * Example format: properties/1234/customDimensions/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomMetricRequest.php new file mode 100644 index 000000000000..19169828a79d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomMetricRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.GetCustomMetricRequest + */ +class GetCustomMetricRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the CustomMetric to get. + * Example format: properties/1234/customMetrics/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the CustomMetric to get. + * Example format: properties/1234/customMetrics/5678 + * Please see {@see AnalyticsAdminServiceClient::customMetricName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetCustomMetricRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the CustomMetric to get. + * Example format: properties/1234/customMetrics/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the CustomMetric to get. + * Example format: properties/1234/customMetrics/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 CustomMetric to get. + * Example format: properties/1234/customMetrics/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRedactionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRedactionSettingsRequest.php new file mode 100644 index 000000000000..40b7d37baac3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRedactionSettingsRequest.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest + */ +class GetDataRedactionSettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataStreams/{data_stream}/dataRedactionSettings + * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataStreams/{data_stream}/dataRedactionSettings + * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + * Please see {@see AnalyticsAdminServiceClient::dataRedactionSettingsName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetDataRedactionSettingsRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataStreams/{data_stream}/dataRedactionSettings + * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataStreams/{data_stream}/dataRedactionSettings + * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + * + * 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 settings to lookup. + * Format: + * properties/{property}/dataStreams/{data_stream}/dataRedactionSettings + * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRetentionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRetentionSettingsRequest.php new file mode 100644 index 000000000000..ca60f7aa0f0c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRetentionSettingsRequest.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest + */ +class GetDataRetentionSettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataRetentionSettings + * Example: "properties/1000/dataRetentionSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataRetentionSettings + * Example: "properties/1000/dataRetentionSettings" + * Please see {@see AnalyticsAdminServiceClient::dataRetentionSettingsName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetDataRetentionSettingsRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataRetentionSettings + * Example: "properties/1000/dataRetentionSettings" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataRetentionSettings + * Example: "properties/1000/dataRetentionSettings" + * + * 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 settings to lookup. + * Format: + * properties/{property}/dataRetentionSettings + * Example: "properties/1000/dataRetentionSettings" + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataSharingSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataSharingSettingsRequest.php new file mode 100644 index 000000000000..a595b66b8a0e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataSharingSettingsRequest.php @@ -0,0 +1,92 @@ +google.analytics.admin.v1alpha.GetDataSharingSettingsRequest + */ +class GetDataSharingSettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the settings to lookup. + * Format: accounts/{account}/dataSharingSettings + * Example: `accounts/1000/dataSharingSettings` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the settings to lookup. + * Format: accounts/{account}/dataSharingSettings + * + * Example: `accounts/1000/dataSharingSettings` + * Please see {@see AnalyticsAdminServiceClient::dataSharingSettingsName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetDataSharingSettingsRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the settings to lookup. + * Format: accounts/{account}/dataSharingSettings + * Example: `accounts/1000/dataSharingSettings` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the settings to lookup. + * Format: accounts/{account}/dataSharingSettings + * Example: `accounts/1000/dataSharingSettings` + * + * 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 settings to lookup. + * Format: accounts/{account}/dataSharingSettings + * Example: `accounts/1000/dataSharingSettings` + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataStreamRequest.php new file mode 100644 index 000000000000..93c992373464 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataStreamRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.GetDataStreamRequest + */ +class GetDataStreamRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the DataStream to get. + * Example format: properties/1234/dataStreams/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the DataStream to get. + * Example format: properties/1234/dataStreams/5678 + * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetDataStreamRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the DataStream to get. + * Example format: properties/1234/dataStreams/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the DataStream to get. + * Example format: properties/1234/dataStreams/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 DataStream to get. + * Example format: properties/1234/dataStreams/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.php new file mode 100644 index 000000000000..f20f29f7f46f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest + */ +class GetDisplayVideo360AdvertiserLinkProposalRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + * Please see {@see AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkProposalName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetDisplayVideo360AdvertiserLinkProposalRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to get. + * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkRequest.php new file mode 100644 index 000000000000..10b7735adcfc --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest + */ +class GetDisplayVideo360AdvertiserLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the DisplayVideo360AdvertiserLink to get. + * Example format: properties/1234/displayVideo360AdvertiserLink/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the DisplayVideo360AdvertiserLink to get. + * Example format: properties/1234/displayVideo360AdvertiserLink/5678 + * Please see {@see AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetDisplayVideo360AdvertiserLinkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the DisplayVideo360AdvertiserLink to get. + * Example format: properties/1234/displayVideo360AdvertiserLink/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the DisplayVideo360AdvertiserLink to get. + * Example format: properties/1234/displayVideo360AdvertiserLink/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 DisplayVideo360AdvertiserLink to get. + * Example format: properties/1234/displayVideo360AdvertiserLink/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEnhancedMeasurementSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEnhancedMeasurementSettingsRequest.php new file mode 100644 index 000000000000..76f4f55a9bb9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEnhancedMeasurementSettingsRequest.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest + */ +class GetEnhancedMeasurementSettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings + * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings + * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + * Please see {@see AnalyticsAdminServiceClient::enhancedMeasurementSettingsName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetEnhancedMeasurementSettingsRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings + * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings + * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + * + * 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 settings to lookup. + * Format: + * properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings + * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventCreateRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventCreateRuleRequest.php new file mode 100644 index 000000000000..fe0549d589bd --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventCreateRuleRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.GetEventCreateRuleRequest + */ +class GetEventCreateRuleRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the EventCreateRule to get. + * Example format: properties/123/dataStreams/456/eventCreateRules/789 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the EventCreateRule to get. + * Example format: properties/123/dataStreams/456/eventCreateRules/789 + * Please see {@see AnalyticsAdminServiceClient::eventCreateRuleName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetEventCreateRuleRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the EventCreateRule to get. + * Example format: properties/123/dataStreams/456/eventCreateRules/789 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the EventCreateRule to get. + * Example format: properties/123/dataStreams/456/eventCreateRules/789 + * + * 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 EventCreateRule to get. + * Example format: properties/123/dataStreams/456/eventCreateRules/789 + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventEditRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventEditRuleRequest.php new file mode 100644 index 000000000000..9e2a26edbae4 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventEditRuleRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.GetEventEditRuleRequest + */ +class GetEventEditRuleRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the EventEditRule to get. + * Example format: properties/123/dataStreams/456/eventEditRules/789 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the EventEditRule to get. + * Example format: properties/123/dataStreams/456/eventEditRules/789 + * Please see {@see AnalyticsAdminServiceClient::eventEditRuleName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetEventEditRuleRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the EventEditRule to get. + * Example format: properties/123/dataStreams/456/eventEditRules/789 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the EventEditRule to get. + * Example format: properties/123/dataStreams/456/eventEditRules/789 + * + * 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 EventEditRule to get. + * Example format: properties/123/dataStreams/456/eventEditRules/789 + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetExpandedDataSetRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetExpandedDataSetRequest.php new file mode 100644 index 000000000000..fef51d7e17a1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetExpandedDataSetRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.GetExpandedDataSetRequest + */ +class GetExpandedDataSetRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the ExpandedDataSet to get. + * Example format: properties/1234/expandedDataSets/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the ExpandedDataSet to get. + * Example format: properties/1234/expandedDataSets/5678 + * Please see {@see AnalyticsAdminServiceClient::expandedDataSetName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetExpandedDataSetRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the ExpandedDataSet to get. + * Example format: properties/1234/expandedDataSets/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the ExpandedDataSet to get. + * Example format: properties/1234/expandedDataSets/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 ExpandedDataSet to get. + * Example format: properties/1234/expandedDataSets/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGlobalSiteTagRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGlobalSiteTagRequest.php new file mode 100644 index 000000000000..a352695cad4f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGlobalSiteTagRequest.php @@ -0,0 +1,97 @@ +google.analytics.admin.v1alpha.GetGlobalSiteTagRequest + */ +class GetGlobalSiteTagRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the site tag to lookup. + * Note that site tags are singletons and do not have unique IDs. + * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag + * Example: `properties/123/dataStreams/456/globalSiteTag` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the site tag to lookup. + * Note that site tags are singletons and do not have unique IDs. + * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag + * + * Example: `properties/123/dataStreams/456/globalSiteTag` + * Please see {@see AnalyticsAdminServiceClient::globalSiteTagName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetGlobalSiteTagRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the site tag to lookup. + * Note that site tags are singletons and do not have unique IDs. + * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag + * Example: `properties/123/dataStreams/456/globalSiteTag` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the site tag to lookup. + * Note that site tags are singletons and do not have unique IDs. + * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag + * Example: `properties/123/dataStreams/456/globalSiteTag` + * + * 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 site tag to lookup. + * Note that site tags are singletons and do not have unique IDs. + * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag + * Example: `properties/123/dataStreams/456/globalSiteTag` + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGoogleSignalsSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGoogleSignalsSettingsRequest.php new file mode 100644 index 000000000000..1960250da22d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGoogleSignalsSettingsRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest + */ +class GetGoogleSignalsSettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the google signals settings to retrieve. + * Format: properties/{property}/googleSignalsSettings + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the google signals settings to retrieve. + * Format: properties/{property}/googleSignalsSettings + * Please see {@see AnalyticsAdminServiceClient::googleSignalsSettingsName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetGoogleSignalsSettingsRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the google signals settings to retrieve. + * Format: properties/{property}/googleSignalsSettings + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the google signals settings to retrieve. + * Format: properties/{property}/googleSignalsSettings + * + * 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 google signals settings to retrieve. + * Format: properties/{property}/googleSignalsSettings + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetKeyEventRequest.php new file mode 100644 index 000000000000..49784183e4aa --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetKeyEventRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.GetKeyEventRequest + */ +class GetKeyEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Key Event to retrieve. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/456" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Key Event to retrieve. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/456" + * Please see {@see AnalyticsAdminServiceClient::keyEventName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetKeyEventRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Key Event to retrieve. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/456" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Key Event to retrieve. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/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 resource name of the Key Event to retrieve. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetMeasurementProtocolSecretRequest.php new file mode 100644 index 000000000000..a9d923a67c9e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetMeasurementProtocolSecretRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest + */ +class GetMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the measurement protocol secret to lookup. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the measurement protocol secret to lookup. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * Please see {@see AnalyticsAdminServiceClient::measurementProtocolSecretName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetMeasurementProtocolSecretRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the measurement protocol secret to lookup. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the measurement protocol secret to lookup. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * + * 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 measurement protocol secret to lookup. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetPropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetPropertyRequest.php new file mode 100644 index 000000000000..756ea8e05b04 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetPropertyRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.GetPropertyRequest + */ +class GetPropertyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the property to lookup. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the property to lookup. + * Format: properties/{property_id} + * Example: "properties/1000" + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetPropertyRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the property to lookup. + * Format: properties/{property_id} + * Example: "properties/1000" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the property to lookup. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * 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 property to lookup. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingDataAnnotationRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingDataAnnotationRequest.php new file mode 100644 index 000000000000..7276c6e47c7f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingDataAnnotationRequest.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.GetReportingDataAnnotationRequest + */ +class GetReportingDataAnnotationRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name of the Reporting Data Annotation to lookup. + * Format: + * properties/property_id/reportingDataAnnotations/reportingDataAnnotation + * Example: properties/123/reportingDataAnnotations/456 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Resource name of the Reporting Data Annotation to lookup. + * Format: + * properties/property_id/reportingDataAnnotations/reportingDataAnnotation + * Example: properties/123/reportingDataAnnotations/456 + * Please see {@see AnalyticsAdminServiceClient::reportingDataAnnotationName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetReportingDataAnnotationRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Resource name of the Reporting Data Annotation to lookup. + * Format: + * properties/property_id/reportingDataAnnotations/reportingDataAnnotation + * Example: properties/123/reportingDataAnnotations/456 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Resource name of the Reporting Data Annotation to lookup. + * Format: + * properties/property_id/reportingDataAnnotations/reportingDataAnnotation + * Example: properties/123/reportingDataAnnotations/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. Resource name of the Reporting Data Annotation to lookup. + * Format: + * properties/property_id/reportingDataAnnotations/reportingDataAnnotation + * Example: properties/123/reportingDataAnnotations/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingIdentitySettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingIdentitySettingsRequest.php new file mode 100644 index 000000000000..da4baed0828f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingIdentitySettingsRequest.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.GetReportingIdentitySettingsRequest + */ +class GetReportingIdentitySettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/reportingIdentitySettings + * Example: "properties/1000/reportingIdentitySettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the settings to lookup. + * Format: + * properties/{property}/reportingIdentitySettings + * Example: "properties/1000/reportingIdentitySettings" + * Please see {@see AnalyticsAdminServiceClient::reportingIdentitySettingsName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetReportingIdentitySettingsRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/reportingIdentitySettings + * Example: "properties/1000/reportingIdentitySettings" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/reportingIdentitySettings + * Example: "properties/1000/reportingIdentitySettings" + * + * 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 settings to lookup. + * Format: + * properties/{property}/reportingIdentitySettings + * Example: "properties/1000/reportingIdentitySettings" + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetRollupPropertySourceLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetRollupPropertySourceLinkRequest.php new file mode 100644 index 000000000000..06d6181b73b6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetRollupPropertySourceLinkRequest.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest + */ +class GetRollupPropertySourceLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the roll-up property source link to lookup. + * Format: + * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + * Example: properties/123/rollupPropertySourceLinks/456 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the roll-up property source link to lookup. + * Format: + * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + * Example: properties/123/rollupPropertySourceLinks/456 + * Please see {@see AnalyticsAdminServiceClient::rollupPropertySourceLinkName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetRollupPropertySourceLinkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the roll-up property source link to lookup. + * Format: + * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + * Example: properties/123/rollupPropertySourceLinks/456 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the roll-up property source link to lookup. + * Format: + * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + * Example: properties/123/rollupPropertySourceLinks/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 roll-up property source link to lookup. + * Format: + * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + * Example: properties/123/rollupPropertySourceLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSKAdNetworkConversionValueSchemaRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSKAdNetworkConversionValueSchemaRequest.php new file mode 100644 index 000000000000..7f6f2fb813dd --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSKAdNetworkConversionValueSchemaRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + */ +class GetSKAdNetworkConversionValueSchemaRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of SKAdNetwork conversion value schema to look + * up. Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of SKAdNetwork conversion value schema to look + * up. Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + * Please see {@see AnalyticsAdminServiceClient::sKAdNetworkConversionValueSchemaName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetSKAdNetworkConversionValueSchemaRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of SKAdNetwork conversion value schema to look + * up. Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of SKAdNetwork conversion value schema to look + * up. Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + * + * 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 resource name of SKAdNetwork conversion value schema to look + * up. Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSearchAds360LinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSearchAds360LinkRequest.php new file mode 100644 index 000000000000..98aa24895e5c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSearchAds360LinkRequest.php @@ -0,0 +1,86 @@ +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) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the SearchAds360Link to get. + * Example format: properties/1234/SearchAds360Link/5678 + * Please see {@see AnalyticsAdminServiceClient::searchAds360LinkName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetSearchAds360LinkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertyEventFilterRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertyEventFilterRequest.php new file mode 100644 index 000000000000..76b74fa5c0ca --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertyEventFilterRequest.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest + */ +class GetSubpropertyEventFilterRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name of the subproperty event filter to lookup. + * Format: + * properties/property_id/subpropertyEventFilters/subproperty_event_filter + * Example: properties/123/subpropertyEventFilters/456 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Resource name of the subproperty event filter to lookup. + * Format: + * properties/property_id/subpropertyEventFilters/subproperty_event_filter + * Example: properties/123/subpropertyEventFilters/456 + * Please see {@see AnalyticsAdminServiceClient::subpropertyEventFilterName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetSubpropertyEventFilterRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Resource name of the subproperty event filter to lookup. + * Format: + * properties/property_id/subpropertyEventFilters/subproperty_event_filter + * Example: properties/123/subpropertyEventFilters/456 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Resource name of the subproperty event filter to lookup. + * Format: + * properties/property_id/subpropertyEventFilters/subproperty_event_filter + * Example: properties/123/subpropertyEventFilters/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. Resource name of the subproperty event filter to lookup. + * Format: + * properties/property_id/subpropertyEventFilters/subproperty_event_filter + * Example: properties/123/subpropertyEventFilters/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertySyncConfigRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertySyncConfigRequest.php new file mode 100644 index 000000000000..8551055904e6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertySyncConfigRequest.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.GetSubpropertySyncConfigRequest + */ +class GetSubpropertySyncConfigRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name of the SubpropertySyncConfig to lookup. + * Format: + * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} + * Example: properties/1234/subpropertySyncConfigs/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Resource name of the SubpropertySyncConfig to lookup. + * Format: + * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} + * Example: properties/1234/subpropertySyncConfigs/5678 + * Please see {@see AnalyticsAdminServiceClient::subpropertySyncConfigName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetSubpropertySyncConfigRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Resource name of the SubpropertySyncConfig to lookup. + * Format: + * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} + * Example: properties/1234/subpropertySyncConfigs/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Resource name of the SubpropertySyncConfig to lookup. + * Format: + * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} + * Example: properties/1234/subpropertySyncConfigs/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. Resource name of the SubpropertySyncConfig to lookup. + * Format: + * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} + * Example: properties/1234/subpropertySyncConfigs/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetUserProvidedDataSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetUserProvidedDataSettingsRequest.php new file mode 100644 index 000000000000..e2b3ea98fcdf --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetUserProvidedDataSettingsRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest + */ +class GetUserProvidedDataSettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the user provided data settings to retrieve. + * Format: properties/{property}/userProvidedDataSettings + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the user provided data settings to retrieve. + * Format: properties/{property}/userProvidedDataSettings + * Please see {@see AnalyticsAdminServiceClient::userProvidedDataSettingsName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\GetUserProvidedDataSettingsRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the user provided data settings to retrieve. + * Format: properties/{property}/userProvidedDataSettings + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the user provided data settings to retrieve. + * Format: properties/{property}/userProvidedDataSettings + * + * 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 user provided data settings to retrieve. + * Format: properties/{property}/userProvidedDataSettings + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GlobalSiteTag.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GlobalSiteTag.php new file mode 100644 index 000000000000..2cef2fb201af --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GlobalSiteTag.php @@ -0,0 +1,114 @@ +google.analytics.admin.v1alpha.GlobalSiteTag + */ +class GlobalSiteTag extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name for this GlobalSiteTag resource. + * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag + * Example: "properties/123/dataStreams/456/globalSiteTag" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * 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]; + */ + protected $snippet = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Resource name for this GlobalSiteTag resource. + * 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Resource name for this GlobalSiteTag resource. + * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag + * Example: "properties/123/dataStreams/456/globalSiteTag" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name for this GlobalSiteTag resource. + * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag + * Example: "properties/123/dataStreams/456/globalSiteTag" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * 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 + */ + public function getSnippet() + { + return $this->snippet; + } + + /** + * 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 + * @return $this + */ + public function setSnippet($var) + { + GPBUtil::checkString($var, True); + $this->snippet = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleAdsLink.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleAdsLink.php new file mode 100644 index 000000000000..cb1b0c5bc3c5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleAdsLink.php @@ -0,0 +1,358 @@ +google.analytics.admin.v1alpha.GoogleAdsLink + */ +class GoogleAdsLink extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. 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) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Immutable. Google Ads customer ID. + * + * Generated from protobuf field string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $customer_id = ''; + /** + * Output only. If true, this link is for a Google Ads manager account. + * + * Generated from protobuf field bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $can_manage_clients = false; + /** + * Enable personalized advertising features with this integration. + * Automatically publish my Google Analytics audience lists and Google + * Analytics remarketing events/parameters to the linked Google Ads account. + * If this field is not set on create/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; + */ + protected $ads_personalization_enabled = null; + /** + * Output only. Time when this link was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. Time when this link was last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + /** + * Output only. Email address of the user that created the link. + * An empty string will be returned if the email address can't be retrieved. + * + * Generated from protobuf field string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $creator_email_address = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Format: + * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} + * Note: googleAdsLinkId is not the Google Ads customer ID. + * @type string $customer_id + * Immutable. Google Ads customer ID. + * @type bool $can_manage_clients + * Output only. If true, this link is for a Google Ads manager account. + * @type \Google\Protobuf\BoolValue $ads_personalization_enabled + * Enable personalized advertising features with this integration. + * Automatically publish my Google Analytics audience lists and Google + * Analytics remarketing events/parameters to the linked Google Ads account. + * If this field is not set on create/update, it will be defaulted to true. + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Time when this link was originally created. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. Time when this link was last updated. + * @type string $creator_email_address + * Output only. Email address of the user that created the link. + * An empty string will be returned if the email address can't be retrieved. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. 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) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. 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) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Immutable. Google Ads customer ID. + * + * Generated from protobuf field string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getCustomerId() + { + return $this->customer_id; + } + + /** + * Immutable. Google Ads customer ID. + * + * Generated from protobuf field string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setCustomerId($var) + { + GPBUtil::checkString($var, True); + $this->customer_id = $var; + + return $this; + } + + /** + * Output only. If true, this link is for a Google Ads manager account. + * + * Generated from protobuf field bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getCanManageClients() + { + return $this->can_manage_clients; + } + + /** + * Output only. If true, this link is for a Google Ads manager account. + * + * Generated from protobuf field bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setCanManageClients($var) + { + GPBUtil::checkBool($var); + $this->can_manage_clients = $var; + + return $this; + } + + /** + * Enable personalized advertising features with this integration. + * Automatically publish my Google Analytics audience lists and Google + * Analytics remarketing events/parameters to the linked Google Ads account. + * If this field is not set on create/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; + * @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() + + * Enable personalized advertising features with this integration. + * Automatically publish my Google Analytics audience lists and Google + * Analytics remarketing events/parameters to the linked Google Ads account. + * If this field is not set on create/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; + * @return bool|null + */ + public function getAdsPersonalizationEnabledUnwrapped() + { + return $this->readWrapperValue("ads_personalization_enabled"); + } + + /** + * Enable personalized advertising features with this integration. + * Automatically publish my Google Analytics audience lists and Google + * Analytics remarketing events/parameters to the linked Google Ads account. + * If this field is not set on create/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; + * @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. + + * Enable personalized advertising features with this integration. + * Automatically publish my Google Analytics audience lists and Google + * Analytics remarketing events/parameters to the linked Google Ads account. + * If this field is not set on create/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; + * @param bool|null $var + * @return $this + */ + public function setAdsPersonalizationEnabledUnwrapped($var) + { + $this->writeWrapperValue("ads_personalization_enabled", $var); + return $this;} + + /** + * Output only. Time when this link was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.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 this link was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.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; + } + + /** + * Output only. Time when this link was last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. Time when this link was last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * Output only. Email address of the user that created the link. + * An empty string will be returned if the email address can't be retrieved. + * + * Generated from protobuf field string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getCreatorEmailAddress() + { + return $this->creator_email_address; + } + + /** + * Output only. Email address of the user that created the link. + * An empty string will be returned if the email address can't be retrieved. + * + * Generated from protobuf field string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setCreatorEmailAddress($var) + { + GPBUtil::checkString($var, True); + $this->creator_email_address = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsConsent.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsConsent.php new file mode 100644 index 000000000000..025db1938708 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsConsent.php @@ -0,0 +1,63 @@ +google.analytics.admin.v1alpha.GoogleSignalsConsent + */ +class GoogleSignalsConsent +{ + /** + * Google Signals consent value defaults to + * GOOGLE_SIGNALS_CONSENT_UNSPECIFIED. This will be treated as + * GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED. + * + * Generated from protobuf enum GOOGLE_SIGNALS_CONSENT_UNSPECIFIED = 0; + */ + const GOOGLE_SIGNALS_CONSENT_UNSPECIFIED = 0; + /** + * Terms of service have been accepted + * + * Generated from protobuf enum GOOGLE_SIGNALS_CONSENT_CONSENTED = 2; + */ + const GOOGLE_SIGNALS_CONSENT_CONSENTED = 2; + /** + * Terms of service have not been accepted + * + * Generated from protobuf enum GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED = 1; + */ + const GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED = 1; + + private static $valueToName = [ + self::GOOGLE_SIGNALS_CONSENT_UNSPECIFIED => 'GOOGLE_SIGNALS_CONSENT_UNSPECIFIED', + self::GOOGLE_SIGNALS_CONSENT_CONSENTED => 'GOOGLE_SIGNALS_CONSENT_CONSENTED', + self::GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED => 'GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsSettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsSettings.php new file mode 100644 index 000000000000..c088c7b4524b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsSettings.php @@ -0,0 +1,143 @@ +google.analytics.admin.v1alpha.GoogleSignalsSettings + */ +class GoogleSignalsSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name of this setting. + * Format: properties/{property_id}/googleSignalsSettings + * Example: "properties/1000/googleSignalsSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Status of this setting. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + */ + protected $state = 0; + /** + * Output only. Terms of Service acceptance. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $consent = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name of this setting. + * Format: properties/{property_id}/googleSignalsSettings + * Example: "properties/1000/googleSignalsSettings" + * @type int $state + * Status of this setting. + * @type int $consent + * Output only. Terms of Service acceptance. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name of this setting. + * Format: properties/{property_id}/googleSignalsSettings + * Example: "properties/1000/googleSignalsSettings" + * + * 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 setting. + * Format: properties/{property_id}/googleSignalsSettings + * Example: "properties/1000/googleSignalsSettings" + * + * 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; + } + + /** + * Status of this setting. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + * @return int + */ + public function getState() + { + return $this->state; + } + + /** + * Status of this setting. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; + * @param int $var + * @return $this + */ + public function setState($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\GoogleSignalsState::class); + $this->state = $var; + + return $this; + } + + /** + * Output only. Terms of Service acceptance. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getConsent() + { + return $this->consent; + } + + /** + * Output only. Terms of Service acceptance. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setConsent($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\GoogleSignalsConsent::class); + $this->consent = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsState.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsState.php new file mode 100644 index 000000000000..1e9442bfdf87 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsState.php @@ -0,0 +1,62 @@ +google.analytics.admin.v1alpha.GoogleSignalsState + */ +class GoogleSignalsState +{ + /** + * Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to + * represent that the user has not made an explicit choice. + * + * Generated from protobuf enum GOOGLE_SIGNALS_STATE_UNSPECIFIED = 0; + */ + const GOOGLE_SIGNALS_STATE_UNSPECIFIED = 0; + /** + * Google Signals is enabled. + * + * Generated from protobuf enum GOOGLE_SIGNALS_ENABLED = 1; + */ + const GOOGLE_SIGNALS_ENABLED = 1; + /** + * Google Signals is disabled. + * + * Generated from protobuf enum GOOGLE_SIGNALS_DISABLED = 2; + */ + const GOOGLE_SIGNALS_DISABLED = 2; + + private static $valueToName = [ + self::GOOGLE_SIGNALS_STATE_UNSPECIFIED => 'GOOGLE_SIGNALS_STATE_UNSPECIFIED', + self::GOOGLE_SIGNALS_ENABLED => 'GOOGLE_SIGNALS_ENABLED', + self::GOOGLE_SIGNALS_DISABLED => 'GOOGLE_SIGNALS_DISABLED', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GroupingRule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GroupingRule.php new file mode 100644 index 000000000000..3e3a918a6f4c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GroupingRule.php @@ -0,0 +1,111 @@ +google.analytics.admin.v1alpha.GroupingRule + */ +class GroupingRule extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Customer defined display name for the channel. + * + * Generated from protobuf field string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Required. The Filter Expression that defines the Grouping Rule. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $expression = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $display_name + * Required. Customer defined display name for the channel. + * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression $expression + * Required. The Filter Expression that defines the Grouping Rule. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\ChannelGroup::initOnce(); + parent::__construct($data); + } + + /** + * Required. Customer defined display name for the channel. + * + * Generated from protobuf field string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Required. Customer defined display name for the channel. + * + * Generated from protobuf field string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Required. The Filter Expression that defines the Grouping Rule. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression|null + */ + public function getExpression() + { + return $this->expression; + } + + public function hasExpression() + { + return isset($this->expression); + } + + public function clearExpression() + { + unset($this->expression); + } + + /** + * Required. The Filter Expression that defines the Grouping Rule. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression $var + * @return $this + */ + public function setExpression($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression::class); + $this->expression = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/IndustryCategory.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/IndustryCategory.php new file mode 100644 index 000000000000..fd5a44904895 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/IndustryCategory.php @@ -0,0 +1,229 @@ +google.analytics.admin.v1alpha.IndustryCategory + */ +class IndustryCategory +{ + /** + * Industry category unspecified + * + * Generated from protobuf enum INDUSTRY_CATEGORY_UNSPECIFIED = 0; + */ + const INDUSTRY_CATEGORY_UNSPECIFIED = 0; + /** + * Automotive + * + * Generated from protobuf enum AUTOMOTIVE = 1; + */ + const AUTOMOTIVE = 1; + /** + * Business and industrial markets + * + * Generated from protobuf enum BUSINESS_AND_INDUSTRIAL_MARKETS = 2; + */ + const BUSINESS_AND_INDUSTRIAL_MARKETS = 2; + /** + * Finance + * + * Generated from protobuf enum FINANCE = 3; + */ + const FINANCE = 3; + /** + * Healthcare + * + * Generated from protobuf enum HEALTHCARE = 4; + */ + const HEALTHCARE = 4; + /** + * Technology + * + * Generated from protobuf enum TECHNOLOGY = 5; + */ + const TECHNOLOGY = 5; + /** + * Travel + * + * Generated from protobuf enum TRAVEL = 6; + */ + const TRAVEL = 6; + /** + * Other + * + * Generated from protobuf enum OTHER = 7; + */ + const OTHER = 7; + /** + * Arts and entertainment + * + * Generated from protobuf enum ARTS_AND_ENTERTAINMENT = 8; + */ + const ARTS_AND_ENTERTAINMENT = 8; + /** + * Beauty and fitness + * + * Generated from protobuf enum BEAUTY_AND_FITNESS = 9; + */ + const BEAUTY_AND_FITNESS = 9; + /** + * Books and literature + * + * Generated from protobuf enum BOOKS_AND_LITERATURE = 10; + */ + const BOOKS_AND_LITERATURE = 10; + /** + * Food and drink + * + * Generated from protobuf enum FOOD_AND_DRINK = 11; + */ + const FOOD_AND_DRINK = 11; + /** + * Games + * + * Generated from protobuf enum GAMES = 12; + */ + const GAMES = 12; + /** + * Hobbies and leisure + * + * Generated from protobuf enum HOBBIES_AND_LEISURE = 13; + */ + const HOBBIES_AND_LEISURE = 13; + /** + * Home and garden + * + * Generated from protobuf enum HOME_AND_GARDEN = 14; + */ + const HOME_AND_GARDEN = 14; + /** + * Internet and telecom + * + * Generated from protobuf enum INTERNET_AND_TELECOM = 15; + */ + const INTERNET_AND_TELECOM = 15; + /** + * Law and government + * + * Generated from protobuf enum LAW_AND_GOVERNMENT = 16; + */ + const LAW_AND_GOVERNMENT = 16; + /** + * News + * + * Generated from protobuf enum NEWS = 17; + */ + const NEWS = 17; + /** + * Online communities + * + * Generated from protobuf enum ONLINE_COMMUNITIES = 18; + */ + const ONLINE_COMMUNITIES = 18; + /** + * People and society + * + * Generated from protobuf enum PEOPLE_AND_SOCIETY = 19; + */ + const PEOPLE_AND_SOCIETY = 19; + /** + * Pets and animals + * + * Generated from protobuf enum PETS_AND_ANIMALS = 20; + */ + const PETS_AND_ANIMALS = 20; + /** + * Real estate + * + * Generated from protobuf enum REAL_ESTATE = 21; + */ + const REAL_ESTATE = 21; + /** + * Reference + * + * Generated from protobuf enum REFERENCE = 22; + */ + const REFERENCE = 22; + /** + * Science + * + * Generated from protobuf enum SCIENCE = 23; + */ + const SCIENCE = 23; + /** + * Sports + * + * Generated from protobuf enum SPORTS = 24; + */ + const SPORTS = 24; + /** + * Jobs and education + * + * Generated from protobuf enum JOBS_AND_EDUCATION = 25; + */ + const JOBS_AND_EDUCATION = 25; + /** + * Shopping + * + * Generated from protobuf enum SHOPPING = 26; + */ + const SHOPPING = 26; + + private static $valueToName = [ + self::INDUSTRY_CATEGORY_UNSPECIFIED => 'INDUSTRY_CATEGORY_UNSPECIFIED', + self::AUTOMOTIVE => 'AUTOMOTIVE', + self::BUSINESS_AND_INDUSTRIAL_MARKETS => 'BUSINESS_AND_INDUSTRIAL_MARKETS', + self::FINANCE => 'FINANCE', + self::HEALTHCARE => 'HEALTHCARE', + self::TECHNOLOGY => 'TECHNOLOGY', + self::TRAVEL => 'TRAVEL', + self::OTHER => 'OTHER', + self::ARTS_AND_ENTERTAINMENT => 'ARTS_AND_ENTERTAINMENT', + self::BEAUTY_AND_FITNESS => 'BEAUTY_AND_FITNESS', + self::BOOKS_AND_LITERATURE => 'BOOKS_AND_LITERATURE', + self::FOOD_AND_DRINK => 'FOOD_AND_DRINK', + self::GAMES => 'GAMES', + self::HOBBIES_AND_LEISURE => 'HOBBIES_AND_LEISURE', + self::HOME_AND_GARDEN => 'HOME_AND_GARDEN', + self::INTERNET_AND_TELECOM => 'INTERNET_AND_TELECOM', + self::LAW_AND_GOVERNMENT => 'LAW_AND_GOVERNMENT', + self::NEWS => 'NEWS', + self::ONLINE_COMMUNITIES => 'ONLINE_COMMUNITIES', + self::PEOPLE_AND_SOCIETY => 'PEOPLE_AND_SOCIETY', + self::PETS_AND_ANIMALS => 'PETS_AND_ANIMALS', + self::REAL_ESTATE => 'REAL_ESTATE', + self::REFERENCE => 'REFERENCE', + self::SCIENCE => 'SCIENCE', + self::SPORTS => 'SPORTS', + self::JOBS_AND_EDUCATION => 'JOBS_AND_EDUCATION', + self::SHOPPING => 'SHOPPING', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent.php new file mode 100644 index 000000000000..0315c6542b6e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent.php @@ -0,0 +1,323 @@ +google.analytics.admin.v1alpha.KeyEvent + */ +class KeyEvent extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name of this key event. + * Format: properties/{property}/keyEvents/{key_event} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Immutable. The event name for this key event. + * Examples: 'click', 'purchase' + * + * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $event_name = ''; + /** + * Output only. Time when this key event was created in the property. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. If set to true, this event can be deleted. + * + * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $deletable = false; + /** + * Output only. If set to true, this key event refers to a custom event. If + * set to false, this key 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 key events that may be created per property. + * + * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $custom = false; + /** + * Required. The method by which Key Events will be counted across multiple + * events within a session. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent.CountingMethod counting_method = 6 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $counting_method = 0; + /** + * Optional. Defines a default value/currency for a key event. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent.DefaultValue default_value = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $default_value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name of this key event. + * Format: properties/{property}/keyEvents/{key_event} + * @type string $event_name + * Immutable. The event name for this key event. + * Examples: 'click', 'purchase' + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Time when this key event was created in the property. + * @type bool $deletable + * Output only. If set to true, this event can be deleted. + * @type bool $custom + * Output only. If set to true, this key event refers to a custom event. If + * set to false, this key 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 key events that may be created per property. + * @type int $counting_method + * Required. The method by which Key Events will be counted across multiple + * events within a session. + * @type \Google\Analytics\Admin\V1alpha\KeyEvent\DefaultValue $default_value + * Optional. Defines a default value/currency for a key event. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name of this key event. + * Format: properties/{property}/keyEvents/{key_event} + * + * 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 key event. + * Format: properties/{property}/keyEvents/{key_event} + * + * 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 event name for this key event. + * Examples: 'click', 'purchase' + * + * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getEventName() + { + return $this->event_name; + } + + /** + * Immutable. The event name for this key event. + * Examples: 'click', 'purchase' + * + * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setEventName($var) + { + GPBUtil::checkString($var, True); + $this->event_name = $var; + + return $this; + } + + /** + * Output only. Time when this key event was created in the property. + * + * 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 this key event was created in the property. + * + * 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; + } + + /** + * Output only. If set to true, this event can be deleted. + * + * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getDeletable() + { + return $this->deletable; + } + + /** + * Output only. If set to true, this event can be deleted. + * + * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setDeletable($var) + { + GPBUtil::checkBool($var); + $this->deletable = $var; + + return $this; + } + + /** + * Output only. If set to true, this key event refers to a custom event. If + * set to false, this key 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 key events that may be created per property. + * + * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getCustom() + { + return $this->custom; + } + + /** + * Output only. If set to true, this key event refers to a custom event. If + * set to false, this key 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 key events that may be created per property. + * + * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setCustom($var) + { + GPBUtil::checkBool($var); + $this->custom = $var; + + return $this; + } + + /** + * Required. The method by which Key Events will be counted across multiple + * events within a session. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent.CountingMethod counting_method = 6 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getCountingMethod() + { + return $this->counting_method; + } + + /** + * Required. The method by which Key Events will be counted across multiple + * events within a session. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent.CountingMethod counting_method = 6 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setCountingMethod($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\KeyEvent\CountingMethod::class); + $this->counting_method = $var; + + return $this; + } + + /** + * Optional. Defines a default value/currency for a key event. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent.DefaultValue default_value = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Admin\V1alpha\KeyEvent\DefaultValue|null + */ + public function getDefaultValue() + { + return $this->default_value; + } + + public function hasDefaultValue() + { + return isset($this->default_value); + } + + public function clearDefaultValue() + { + unset($this->default_value); + } + + /** + * Optional. Defines a default value/currency for a key event. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent.DefaultValue default_value = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Admin\V1alpha\KeyEvent\DefaultValue $var + * @return $this + */ + public function setDefaultValue($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\KeyEvent\DefaultValue::class); + $this->default_value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/CountingMethod.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/CountingMethod.php new file mode 100644 index 000000000000..7a4bfc1b30b9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/CountingMethod.php @@ -0,0 +1,63 @@ +google.analytics.admin.v1alpha.KeyEvent.CountingMethod + */ +class CountingMethod +{ + /** + * Counting method not specified. + * + * Generated from protobuf enum COUNTING_METHOD_UNSPECIFIED = 0; + */ + const COUNTING_METHOD_UNSPECIFIED = 0; + /** + * Each Event instance is considered a Key Event. + * + * Generated from protobuf enum ONCE_PER_EVENT = 1; + */ + const ONCE_PER_EVENT = 1; + /** + * An Event instance is considered a Key Event at most once per session per + * user. + * + * Generated from protobuf enum ONCE_PER_SESSION = 2; + */ + const ONCE_PER_SESSION = 2; + + private static $valueToName = [ + self::COUNTING_METHOD_UNSPECIFIED => 'COUNTING_METHOD_UNSPECIFIED', + self::ONCE_PER_EVENT => 'ONCE_PER_EVENT', + self::ONCE_PER_SESSION => 'ONCE_PER_SESSION', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/DefaultValue.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/DefaultValue.php new file mode 100644 index 000000000000..2d37c8396548 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/DefaultValue.php @@ -0,0 +1,121 @@ +google.analytics.admin.v1alpha.KeyEvent.DefaultValue + */ +class DefaultValue extends \Google\Protobuf\Internal\Message +{ + /** + * Required. This will be used to populate the "value" parameter for all + * occurrences of this Key Event (specified by event_name) where that + * parameter is unset. + * + * Generated from protobuf field double numeric_value = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $numeric_value = 0.0; + /** + * Required. When an occurrence of this Key Event (specified by event_name) + * has no set currency this currency will be applied as the default. Must be + * in ISO 4217 currency code format. + * See https://en.wikipedia.org/wiki/ISO_4217 for more information. + * + * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $currency_code = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float $numeric_value + * Required. This will be used to populate the "value" parameter for all + * occurrences of this Key Event (specified by event_name) where that + * parameter is unset. + * @type string $currency_code + * Required. When an occurrence of this Key Event (specified by event_name) + * has no set currency this currency will be applied as the default. Must be + * in ISO 4217 currency code format. + * See https://en.wikipedia.org/wiki/ISO_4217 for more information. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Required. This will be used to populate the "value" parameter for all + * occurrences of this Key Event (specified by event_name) where that + * parameter is unset. + * + * Generated from protobuf field double numeric_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return float + */ + public function getNumericValue() + { + return $this->numeric_value; + } + + /** + * Required. This will be used to populate the "value" parameter for all + * occurrences of this Key Event (specified by event_name) where that + * parameter is unset. + * + * Generated from protobuf field double numeric_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param float $var + * @return $this + */ + public function setNumericValue($var) + { + GPBUtil::checkDouble($var); + $this->numeric_value = $var; + + return $this; + } + + /** + * Required. When an occurrence of this Key Event (specified by event_name) + * has no set currency this currency will be applied as the default. Must be + * in ISO 4217 currency code format. + * See https://en.wikipedia.org/wiki/ISO_4217 for more information. + * + * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getCurrencyCode() + { + return $this->currency_code; + } + + /** + * Required. When an occurrence of this Key Event (specified by event_name) + * has no set currency this currency will be applied as the default. Must be + * in ISO 4217 currency code format. + * See https://en.wikipedia.org/wiki/ISO_4217 for more information. + * + * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setCurrencyCode($var) + { + GPBUtil::checkString($var, True); + $this->currency_code = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalInitiatingProduct.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalInitiatingProduct.php new file mode 100644 index 000000000000..19dac5a16098 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalInitiatingProduct.php @@ -0,0 +1,62 @@ +google.analytics.admin.v1alpha.LinkProposalInitiatingProduct + */ +class LinkProposalInitiatingProduct +{ + /** + * Unspecified product. + * + * Generated from protobuf enum LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED = 0; + */ + const LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED = 0; + /** + * This proposal was created by a user from Google Analytics. + * + * Generated from protobuf enum GOOGLE_ANALYTICS = 1; + */ + const GOOGLE_ANALYTICS = 1; + /** + * This proposal was created by a user from a linked product (not Google + * Analytics). + * + * Generated from protobuf enum LINKED_PRODUCT = 2; + */ + const LINKED_PRODUCT = 2; + + private static $valueToName = [ + self::LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED => 'LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED', + self::GOOGLE_ANALYTICS => 'GOOGLE_ANALYTICS', + self::LINKED_PRODUCT => 'LINKED_PRODUCT', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalState.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalState.php new file mode 100644 index 000000000000..5143339967af --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalState.php @@ -0,0 +1,97 @@ +google.analytics.admin.v1alpha.LinkProposalState + */ +class LinkProposalState +{ + /** + * Unspecified state + * + * Generated from protobuf enum LINK_PROPOSAL_STATE_UNSPECIFIED = 0; + */ + const LINK_PROPOSAL_STATE_UNSPECIFIED = 0; + /** + * This proposal is awaiting review from a Google Analytics user. This + * proposal will automatically expire after some time. + * + * Generated from protobuf enum AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS = 1; + */ + const AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS = 1; + /** + * This proposal is awaiting review from a user of a linked product. This + * proposal will automatically expire after some time. + * + * Generated from protobuf enum AWAITING_REVIEW_FROM_LINKED_PRODUCT = 2; + */ + const AWAITING_REVIEW_FROM_LINKED_PRODUCT = 2; + /** + * This proposal has been withdrawn by an admin on the initiating product. + * This proposal will be automatically deleted after some time. + * + * Generated from protobuf enum WITHDRAWN = 3; + */ + const WITHDRAWN = 3; + /** + * This proposal has been declined by an admin on the receiving product. This + * proposal will be automatically deleted after some time. + * + * Generated from protobuf enum DECLINED = 4; + */ + const DECLINED = 4; + /** + * This proposal expired due to lack of response from an admin on the + * receiving product. This proposal will be automatically deleted after some + * time. + * + * Generated from protobuf enum EXPIRED = 5; + */ + const EXPIRED = 5; + /** + * This proposal has become obsolete because a link was directly created to + * the same external product resource that this proposal specifies. This + * proposal will be automatically deleted after some time. + * + * Generated from protobuf enum OBSOLETE = 6; + */ + const OBSOLETE = 6; + + private static $valueToName = [ + self::LINK_PROPOSAL_STATE_UNSPECIFIED => 'LINK_PROPOSAL_STATE_UNSPECIFIED', + self::AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS => 'AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS', + self::AWAITING_REVIEW_FROM_LINKED_PRODUCT => 'AWAITING_REVIEW_FROM_LINKED_PRODUCT', + self::WITHDRAWN => 'WITHDRAWN', + self::DECLINED => 'DECLINED', + self::EXPIRED => 'EXPIRED', + self::OBSOLETE => 'OBSOLETE', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalStatusDetails.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalStatusDetails.php new file mode 100644 index 000000000000..4a1f4a02faa3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalStatusDetails.php @@ -0,0 +1,135 @@ +google.analytics.admin.v1alpha.LinkProposalStatusDetails + */ +class LinkProposalStatusDetails extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. The source of this proposal. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $link_proposal_initiating_product = 0; + /** + * Output only. The email address of the user that proposed this linkage. + * + * Generated from protobuf field string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $requestor_email = ''; + /** + * Output only. The state of this proposal. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $link_proposal_state = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $link_proposal_initiating_product + * Output only. The source of this proposal. + * @type string $requestor_email + * Output only. The email address of the user that proposed this linkage. + * @type int $link_proposal_state + * Output only. The state of this proposal. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. The source of this proposal. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getLinkProposalInitiatingProduct() + { + return $this->link_proposal_initiating_product; + } + + /** + * Output only. The source of this proposal. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setLinkProposalInitiatingProduct($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\LinkProposalInitiatingProduct::class); + $this->link_proposal_initiating_product = $var; + + return $this; + } + + /** + * Output only. The email address of the user that proposed this linkage. + * + * Generated from protobuf field string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getRequestorEmail() + { + return $this->requestor_email; + } + + /** + * Output only. The email address of the user that proposed this linkage. + * + * Generated from protobuf field string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setRequestorEmail($var) + { + GPBUtil::checkString($var, True); + $this->requestor_email = $var; + + return $this; + } + + /** + * Output only. The state of this proposal. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getLinkProposalState() + { + return $this->link_proposal_state; + } + + /** + * Output only. The state of this proposal. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setLinkProposalState($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\LinkProposalState::class); + $this->link_proposal_state = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsRequest.php new file mode 100644 index 000000000000..9c1705655ee5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsRequest.php @@ -0,0 +1,183 @@ +google.analytics.admin.v1alpha.ListAccessBindingsRequest + */ +class ListAccessBindingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Formats: + * - accounts/{account} + * - properties/{property} + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * The maximum number of access bindings to return. + * The service may return fewer than this value. + * If unspecified, at most 200 access bindings will be returned. + * The maximum value is 500; values above 500 will be coerced to 500. + * + * Generated from protobuf field int32 page_size = 2; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListAccessBindings` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccessBindings` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Formats: + * - accounts/{account} + * - properties/{property} + * Please see {@see AnalyticsAdminServiceClient::accountName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListAccessBindingsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Formats: + * - accounts/{account} + * - properties/{property} + * @type int $page_size + * The maximum number of access bindings to return. + * The service may return fewer than this value. + * If unspecified, at most 200 access bindings will be returned. + * The maximum value is 500; values above 500 will be coerced to 500. + * @type string $page_token + * A page token, received from a previous `ListAccessBindings` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccessBindings` 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. Formats: + * - accounts/{account} + * - properties/{property} + * + * 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. Formats: + * - accounts/{account} + * - properties/{property} + * + * 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 access bindings to return. + * The service may return fewer than this value. + * If unspecified, at most 200 access bindings will be returned. + * The maximum value is 500; values above 500 will be coerced to 500. + * + * Generated from protobuf field int32 page_size = 2; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * The maximum number of access bindings to return. + * The service may return fewer than this value. + * If unspecified, at most 200 access bindings will be returned. + * The maximum value is 500; values above 500 will be coerced to 500. + * + * 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 `ListAccessBindings` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccessBindings` 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 `ListAccessBindings` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccessBindings` 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsResponse.php new file mode 100644 index 000000000000..4399ac5049a5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsResponse.php @@ -0,0 +1,109 @@ +google.analytics.admin.v1alpha.ListAccessBindingsResponse + */ +class ListAccessBindingsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of AccessBindings. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; + */ + private $access_bindings; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AccessBinding[] $access_bindings + * List of AccessBindings. These will be ordered stably, but in an arbitrary + * order. + * @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 AccessBindings. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessBinding> + */ + public function getAccessBindings() + { + return $this->access_bindings; + } + + /** + * List of AccessBindings. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; + * @param \Google\Analytics\Admin\V1alpha\AccessBinding[] $var + * @return $this + */ + public function setAccessBindings($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessBinding::class); + $this->access_bindings = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesRequest.php new file mode 100644 index 000000000000..78d49bf9c0b4 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesRequest.php @@ -0,0 +1,125 @@ +google.analytics.admin.v1alpha.ListAccountSummariesRequest + */ +class ListAccountSummariesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The maximum number of AccountSummary 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 = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListAccountSummaries` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListAccountSummaries` must match the call + * that provided the page token. + * + * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $page_size + * Optional. The maximum number of AccountSummary 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 + * Optional. A page token, received from a previous `ListAccountSummaries` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListAccountSummaries` must match the call + * that provided the page token. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The maximum number of AccountSummary 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 = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of AccountSummary 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 = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListAccountSummaries` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListAccountSummaries` must match the call + * that provided the page token. + * + * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListAccountSummaries` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListAccountSummaries` must match the call + * that provided the page token. + * + * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesResponse.php new file mode 100644 index 000000000000..57ce358c7e25 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListAccountSummariesResponse + */ +class ListAccountSummariesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Account summaries of all accounts the caller has access to. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; + */ + private $account_summaries; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AccountSummary[] $account_summaries + * Account summaries of all accounts the caller has access to. + * @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); + } + + /** + * Account summaries of all accounts the caller has access to. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccountSummary> + */ + public function getAccountSummaries() + { + return $this->account_summaries; + } + + /** + * Account summaries of all accounts the caller has access to. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; + * @param \Google\Analytics\Admin\V1alpha\AccountSummary[] $var + * @return $this + */ + public function setAccountSummaries($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccountSummary::class); + $this->account_summaries = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsRequest.php new file mode 100644 index 000000000000..cc735e534e71 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsRequest.php @@ -0,0 +1,167 @@ +google.analytics.admin.v1alpha.ListAccountsRequest + */ +class ListAccountsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. 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 = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListAccounts` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccounts` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Whether to include soft-deleted (ie: "trashed") Accounts in the + * results. Accounts can be inspected to determine whether they are deleted or + * not. + * + * Generated from protobuf field bool show_deleted = 3; + */ + protected $show_deleted = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $page_size + * Optional. 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 + * Optional. A page token, received from a previous `ListAccounts` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccounts` must + * match the call that provided the page token. + * @type bool $show_deleted + * Whether to include soft-deleted (ie: "trashed") Accounts in the + * results. Accounts can be inspected to determine whether they are deleted or + * not. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Optional. 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 = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. 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 = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListAccounts` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccounts` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListAccounts` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccounts` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Whether to include soft-deleted (ie: "trashed") Accounts in the + * results. Accounts can be inspected to determine whether they are deleted or + * not. + * + * Generated from protobuf field bool show_deleted = 3; + * @return bool + */ + public function getShowDeleted() + { + return $this->show_deleted; + } + + /** + * Whether to include soft-deleted (ie: "trashed") Accounts in the + * results. Accounts can be inspected to determine whether they are deleted or + * not. + * + * Generated from protobuf field bool show_deleted = 3; + * @param bool $var + * @return $this + */ + public function setShowDeleted($var) + { + GPBUtil::checkBool($var); + $this->show_deleted = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsResponse.php new file mode 100644 index 000000000000..1047ec386cfd --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListAccountsResponse + */ +class ListAccountsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Results that were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Account accounts = 1; + */ + private $accounts; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\Account[] $accounts + * Results that were accessible to the caller. + * @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); + } + + /** + * Results that were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Account accounts = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\Account> + */ + public function getAccounts() + { + return $this->accounts; + } + + /** + * Results that were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Account accounts = 1; + * @param \Google\Analytics\Admin\V1alpha\Account[] $var + * @return $this + */ + public function setAccounts($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\Account::class); + $this->accounts = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksRequest.php new file mode 100644 index 000000000000..b61e4ed35483 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksRequest.php @@ -0,0 +1,179 @@ +google.analytics.admin.v1alpha.ListAdSenseLinksRequest + */ +class ListAdSenseLinksRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name of the parent property. + * Format: properties/{propertyId} + * Example: properties/1234 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token received from a previous `ListAdSenseLinks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdSenseLinks` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Resource name of the parent property. + * Format: properties/{propertyId} + * Example: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListAdSenseLinksRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Resource name of the parent property. + * Format: properties/{propertyId} + * Example: 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 `ListAdSenseLinks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdSenseLinks` 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. Resource name of the parent property. + * Format: properties/{propertyId} + * 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. Resource name of the parent property. + * Format: properties/{propertyId} + * 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. + * 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 `ListAdSenseLinks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdSenseLinks` 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 `ListAdSenseLinks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAdSenseLinks` 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksResponse.php new file mode 100644 index 000000000000..524a0db351ef --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListAdSenseLinksResponse + */ +class ListAdSenseLinksResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of AdSenseLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1; + */ + private $adsense_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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AdSenseLink[] $adsense_links + * List of AdSenseLinks. + * @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 AdSenseLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AdSenseLink> + */ + public function getAdsenseLinks() + { + return $this->adsense_links; + } + + /** + * List of AdSenseLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1; + * @param \Google\Analytics\Admin\V1alpha\AdSenseLink[] $var + * @return $this + */ + public function setAdsenseLinks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AdSenseLink::class); + $this->adsense_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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesRequest.php new file mode 100644 index 000000000000..70102893001c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesRequest.php @@ -0,0 +1,169 @@ +google.analytics.admin.v1alpha.ListAudiencesRequest + */ +class ListAudiencesRequest 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) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListAudiences` call. Provide this + * to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudiences` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListAudiencesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * 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 `ListAudiences` call. Provide this + * to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudiences` 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 `ListAudiences` call. Provide this + * to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudiences` 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 `ListAudiences` call. Provide this + * to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAudiences` 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesResponse.php new file mode 100644 index 000000000000..aaa74563e291 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListAudiencesResponse + */ +class ListAudiencesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of Audiences. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Audience audiences = 1; + */ + private $audiences; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\Audience[] $audiences + * List of Audiences. + * @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 Audiences. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Audience audiences = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\Audience> + */ + public function getAudiences() + { + return $this->audiences; + } + + /** + * List of Audiences. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Audience audiences = 1; + * @param \Google\Analytics\Admin\V1alpha\Audience[] $var + * @return $this + */ + public function setAudiences($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\Audience::class); + $this->audiences = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksRequest.php new file mode 100644 index 000000000000..f82b992164e1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksRequest.php @@ -0,0 +1,183 @@ +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) = { + */ + protected $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; + */ + protected $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; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. The name of the property to list BigQuery links under. + * Format: properties/{property_id} + * Example: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListBigQueryLinksRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksResponse.php new file mode 100644 index 000000000000..9c2dc6808b93 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\BigQueryLink[] $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 RepeatedField<\Google\Analytics\Admin\V1alpha\BigQueryLink> + */ + public function getBigqueryLinks() + { + return $this->bigquery_links; + } + + /** + * List of BigQueryLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; + * @param \Google\Analytics\Admin\V1alpha\BigQueryLink[] $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsRequest.php new file mode 100644 index 000000000000..d0b1ad92066a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsRequest.php @@ -0,0 +1,169 @@ +google.analytics.admin.v1alpha.ListCalculatedMetricsRequest + */ +class ListCalculatedMetricsRequest 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) = { + */ + protected $parent = ''; + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListCalculatedMetrics` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCalculatedMetrics` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListCalculatedMetricsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type int $page_size + * Optional. 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 + * Optional. A page token, received from a previous `ListCalculatedMetrics` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCalculatedMetrics` + * 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; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListCalculatedMetrics` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCalculatedMetrics` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListCalculatedMetrics` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCalculatedMetrics` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsResponse.php new file mode 100644 index 000000000000..d3bcfd46ff30 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListCalculatedMetricsResponse + */ +class ListCalculatedMetricsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of CalculatedMetrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1; + */ + private $calculated_metrics; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\CalculatedMetric[] $calculated_metrics + * List of CalculatedMetrics. + * @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 CalculatedMetrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\CalculatedMetric> + */ + public function getCalculatedMetrics() + { + return $this->calculated_metrics; + } + + /** + * List of CalculatedMetrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1; + * @param \Google\Analytics\Admin\V1alpha\CalculatedMetric[] $var + * @return $this + */ + public function setCalculatedMetrics($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\CalculatedMetric::class); + $this->calculated_metrics = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsRequest.php new file mode 100644 index 000000000000..e2ea9f4d1326 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsRequest.php @@ -0,0 +1,174 @@ +google.analytics.admin.v1alpha.ListChannelGroupsRequest + */ +class ListChannelGroupsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The property for which to list ChannelGroups. + * Example format: properties/1234 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListChannelGroups` call. Provide + * this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListChannelGroups` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. The property for which to list ChannelGroups. + * Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListChannelGroupsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The property for which to list ChannelGroups. + * 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 `ListChannelGroups` call. Provide + * this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListChannelGroups` + * 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 property for which to list ChannelGroups. + * 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. The property for which to list ChannelGroups. + * 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 `ListChannelGroups` call. Provide + * this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListChannelGroups` + * 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 `ListChannelGroups` call. Provide + * this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListChannelGroups` + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsResponse.php new file mode 100644 index 000000000000..83d530bd8874 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsResponse.php @@ -0,0 +1,109 @@ +google.analytics.admin.v1alpha.ListChannelGroupsResponse + */ +class ListChannelGroupsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of ChannelGroup. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1; + */ + private $channel_groups; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\ChannelGroup[] $channel_groups + * List of ChannelGroup. These will be ordered stably, but in an arbitrary + * order. + * @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 ChannelGroup. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ChannelGroup> + */ + public function getChannelGroups() + { + return $this->channel_groups; + } + + /** + * List of ChannelGroup. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1; + * @param \Google\Analytics\Admin\V1alpha\ChannelGroup[] $var + * @return $this + */ + public function setChannelGroups($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ChannelGroup::class); + $this->channel_groups = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsRequest.php new file mode 100644 index 000000000000..432b63275fa1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsRequest.php @@ -0,0 +1,174 @@ +google.analytics.admin.v1alpha.ListConversionEventsRequest + */ +class ListConversionEventsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the parent property. + * Example: 'properties/123' + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListConversionEvents` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListConversionEvents` must match the call + * that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. The resource name of the parent property. + * Example: 'properties/123' + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListConversionEventsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The resource name of the parent property. + * Example: 'properties/123' + * @type int $page_size + * Optional. 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 + * Optional. A page token, received from a previous `ListConversionEvents` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListConversionEvents` 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 resource name of the parent property. + * Example: 'properties/123' + * + * 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 resource name of the parent property. + * Example: 'properties/123' + * + * 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; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListConversionEvents` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListConversionEvents` must match the call + * that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListConversionEvents` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListConversionEvents` must match the call + * that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsResponse.php new file mode 100644 index 000000000000..b9ad5221bc2e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListConversionEventsResponse + */ +class ListConversionEventsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The requested conversion events + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; + */ + private $conversion_events; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\ConversionEvent[] $conversion_events + * The requested conversion events + * @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); + } + + /** + * The requested conversion events + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ConversionEvent> + */ + public function getConversionEvents() + { + return $this->conversion_events; + } + + /** + * The requested conversion events + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; + * @param \Google\Analytics\Admin\V1alpha\ConversionEvent[] $var + * @return $this + */ + public function setConversionEvents($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ConversionEvent::class); + $this->conversion_events = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsRequest.php new file mode 100644 index 000000000000..91ab341e8a82 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsRequest.php @@ -0,0 +1,169 @@ +google.analytics.admin.v1alpha.ListCustomDimensionsRequest + */ +class ListCustomDimensionsRequest 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) = { + */ + protected $parent = ''; + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListCustomDimensions` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomDimensions` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListCustomDimensionsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type int $page_size + * Optional. 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 + * Optional. A page token, received from a previous `ListCustomDimensions` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomDimensions` + * 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; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListCustomDimensions` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomDimensions` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListCustomDimensions` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomDimensions` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsResponse.php new file mode 100644 index 000000000000..2446149d02c9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListCustomDimensionsResponse + */ +class ListCustomDimensionsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of CustomDimensions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; + */ + private $custom_dimensions; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\CustomDimension[] $custom_dimensions + * List of CustomDimensions. + * @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 CustomDimensions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\CustomDimension> + */ + public function getCustomDimensions() + { + return $this->custom_dimensions; + } + + /** + * List of CustomDimensions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; + * @param \Google\Analytics\Admin\V1alpha\CustomDimension[] $var + * @return $this + */ + public function setCustomDimensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\CustomDimension::class); + $this->custom_dimensions = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsRequest.php new file mode 100644 index 000000000000..1e344ee9de92 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsRequest.php @@ -0,0 +1,169 @@ +google.analytics.admin.v1alpha.ListCustomMetricsRequest + */ +class ListCustomMetricsRequest 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) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListCustomMetrics` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomMetrics` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListCustomMetricsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * 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 `ListCustomMetrics` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomMetrics` 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 `ListCustomMetrics` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomMetrics` 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 `ListCustomMetrics` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomMetrics` 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsResponse.php new file mode 100644 index 000000000000..d35f572350bd --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListCustomMetricsResponse + */ +class ListCustomMetricsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of CustomMetrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; + */ + private $custom_metrics; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\CustomMetric[] $custom_metrics + * List of CustomMetrics. + * @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 CustomMetrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\CustomMetric> + */ + public function getCustomMetrics() + { + return $this->custom_metrics; + } + + /** + * List of CustomMetrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; + * @param \Google\Analytics\Admin\V1alpha\CustomMetric[] $var + * @return $this + */ + public function setCustomMetrics($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\CustomMetric::class); + $this->custom_metrics = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsRequest.php new file mode 100644 index 000000000000..715c7e500043 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsRequest.php @@ -0,0 +1,169 @@ +google.analytics.admin.v1alpha.ListDataStreamsRequest + */ +class ListDataStreamsRequest 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) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListDataStreams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDataStreams` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListDataStreamsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * 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 `ListDataStreams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDataStreams` 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 `ListDataStreams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDataStreams` 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 `ListDataStreams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDataStreams` 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsResponse.php new file mode 100644 index 000000000000..908dc4c81dab --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListDataStreamsResponse + */ +class ListDataStreamsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of DataStreams. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + */ + private $data_streams; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\DataStream[] $data_streams + * List of DataStreams. + * @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 DataStreams. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\DataStream> + */ + public function getDataStreams() + { + return $this->data_streams; + } + + /** + * List of DataStreams. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; + * @param \Google\Analytics\Admin\V1alpha\DataStream[] $var + * @return $this + */ + public function setDataStreams($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\DataStream::class); + $this->data_streams = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.php new file mode 100644 index 000000000000..f3b63eea6d37 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.php @@ -0,0 +1,177 @@ +google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest + */ +class ListDisplayVideo360AdvertiserLinkProposalsRequest 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) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous + * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve + * the subsequent page. + * When paginating, all other parameters provided to + * `ListDisplayVideo360AdvertiserLinkProposals` must match the call that + * provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinkProposalsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * 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 + * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve + * the subsequent page. + * When paginating, all other parameters provided to + * `ListDisplayVideo360AdvertiserLinkProposals` 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 + * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve + * the subsequent page. + * When paginating, all other parameters provided to + * `ListDisplayVideo360AdvertiserLinkProposals` 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 + * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve + * the subsequent page. + * When paginating, all other parameters provided to + * `ListDisplayVideo360AdvertiserLinkProposals` 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.php new file mode 100644 index 000000000000..bbcccfca8f3b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse + */ +class ListDisplayVideo360AdvertiserLinkProposalsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of DisplayVideo360AdvertiserLinkProposals. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + */ + private $display_video_360_advertiser_link_proposals; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal[] $display_video_360_advertiser_link_proposals + * List of DisplayVideo360AdvertiserLinkProposals. + * @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 DisplayVideo360AdvertiserLinkProposals. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal> + */ + public function getDisplayVideo360AdvertiserLinkProposals() + { + return $this->display_video_360_advertiser_link_proposals; + } + + /** + * List of DisplayVideo360AdvertiserLinkProposals. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; + * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal[] $var + * @return $this + */ + public function setDisplayVideo360AdvertiserLinkProposals($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal::class); + $this->display_video_360_advertiser_link_proposals = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksRequest.php new file mode 100644 index 000000000000..29185798a695 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksRequest.php @@ -0,0 +1,173 @@ +google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest + */ +class ListDisplayVideo360AdvertiserLinksRequest 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) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to + * `ListDisplayVideo360AdvertiserLinks` must match the call that provided the + * page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinksRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * 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 `ListDisplayVideo360AdvertiserLinks` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to + * `ListDisplayVideo360AdvertiserLinks` 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 `ListDisplayVideo360AdvertiserLinks` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to + * `ListDisplayVideo360AdvertiserLinks` 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 `ListDisplayVideo360AdvertiserLinks` + * call. Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to + * `ListDisplayVideo360AdvertiserLinks` 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksResponse.php new file mode 100644 index 000000000000..15b1c4e87af8 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse + */ +class ListDisplayVideo360AdvertiserLinksResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of DisplayVideo360AdvertiserLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + */ + private $display_video_360_advertiser_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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink[] $display_video_360_advertiser_links + * List of DisplayVideo360AdvertiserLinks. + * @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 DisplayVideo360AdvertiserLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink> + */ + public function getDisplayVideo360AdvertiserLinks() + { + return $this->display_video_360_advertiser_links; + } + + /** + * List of DisplayVideo360AdvertiserLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; + * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink[] $var + * @return $this + */ + public function setDisplayVideo360AdvertiserLinks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink::class); + $this->display_video_360_advertiser_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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesRequest.php new file mode 100644 index 000000000000..9bf7dacf4009 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesRequest.php @@ -0,0 +1,169 @@ +google.analytics.admin.v1alpha.ListEventCreateRulesRequest + */ +class ListEventCreateRulesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Example format: properties/123/dataStreams/456 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListEventCreateRules` call. Provide + * this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListEventCreateRules` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/123/dataStreams/456 + * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListEventCreateRulesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/123/dataStreams/456 + * @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 `ListEventCreateRules` call. Provide + * this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListEventCreateRules` + * 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/123/dataStreams/456 + * + * 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/123/dataStreams/456 + * + * 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 `ListEventCreateRules` call. Provide + * this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListEventCreateRules` + * 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 `ListEventCreateRules` call. Provide + * this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListEventCreateRules` + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesResponse.php new file mode 100644 index 000000000000..ce8db60029eb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesResponse.php @@ -0,0 +1,109 @@ +google.analytics.admin.v1alpha.ListEventCreateRulesResponse + */ +class ListEventCreateRulesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of EventCreateRules. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventCreateRule event_create_rules = 1; + */ + private $event_create_rules; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\EventCreateRule[] $event_create_rules + * List of EventCreateRules. These will be ordered stably, but in an arbitrary + * order. + * @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 EventCreateRules. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventCreateRule event_create_rules = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\EventCreateRule> + */ + public function getEventCreateRules() + { + return $this->event_create_rules; + } + + /** + * List of EventCreateRules. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventCreateRule event_create_rules = 1; + * @param \Google\Analytics\Admin\V1alpha\EventCreateRule[] $var + * @return $this + */ + public function setEventCreateRules($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\EventCreateRule::class); + $this->event_create_rules = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesRequest.php new file mode 100644 index 000000000000..fe2c9119afc7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesRequest.php @@ -0,0 +1,169 @@ +google.analytics.admin.v1alpha.ListEventEditRulesRequest + */ +class ListEventEditRulesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Example format: properties/123/dataStreams/456 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListEventEditRules` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListEventEditRules` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/123/dataStreams/456 + * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListEventEditRulesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/123/dataStreams/456 + * @type int $page_size + * Optional. 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 + * Optional. A page token, received from a previous `ListEventEditRules` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListEventEditRules` + * 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/123/dataStreams/456 + * + * 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/123/dataStreams/456 + * + * 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; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListEventEditRules` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListEventEditRules` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListEventEditRules` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListEventEditRules` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesResponse.php new file mode 100644 index 000000000000..dc8f6addf885 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesResponse.php @@ -0,0 +1,109 @@ +google.analytics.admin.v1alpha.ListEventEditRulesResponse + */ +class ListEventEditRulesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of EventEditRules. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventEditRule event_edit_rules = 1; + */ + private $event_edit_rules; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\EventEditRule[] $event_edit_rules + * List of EventEditRules. These will be ordered stably, but in an arbitrary + * order. + * @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 EventEditRules. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventEditRule event_edit_rules = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\EventEditRule> + */ + public function getEventEditRules() + { + return $this->event_edit_rules; + } + + /** + * List of EventEditRules. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventEditRule event_edit_rules = 1; + * @param \Google\Analytics\Admin\V1alpha\EventEditRule[] $var + * @return $this + */ + public function setEventEditRules($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\EventEditRule::class); + $this->event_edit_rules = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsRequest.php new file mode 100644 index 000000000000..45a49b679ad7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsRequest.php @@ -0,0 +1,169 @@ +google.analytics.admin.v1alpha.ListExpandedDataSetsRequest + */ +class ListExpandedDataSetsRequest 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) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListExpandedDataSets` call. Provide + * this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListExpandedDataSet` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListExpandedDataSetsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * 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 `ListExpandedDataSets` call. Provide + * this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListExpandedDataSet` + * 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 `ListExpandedDataSets` call. Provide + * this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListExpandedDataSet` + * 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 `ListExpandedDataSets` call. Provide + * this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListExpandedDataSet` + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsResponse.php new file mode 100644 index 000000000000..51edc662deaf --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsResponse.php @@ -0,0 +1,109 @@ +google.analytics.admin.v1alpha.ListExpandedDataSetsResponse + */ +class ListExpandedDataSetsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_sets = 1; + */ + private $expanded_data_sets; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSet[] $expanded_data_sets + * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary + * order. + * @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 ExpandedDataSet. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_sets = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ExpandedDataSet> + */ + public function getExpandedDataSets() + { + return $this->expanded_data_sets; + } + + /** + * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary + * order. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_sets = 1; + * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSet[] $var + * @return $this + */ + public function setExpandedDataSets($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ExpandedDataSet::class); + $this->expanded_data_sets = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksRequest.php new file mode 100644 index 000000000000..80b263e3fcdf --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksRequest.php @@ -0,0 +1,179 @@ +google.analytics.admin.v1alpha.ListFirebaseLinksRequest + */ +class ListFirebaseLinksRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: properties/{property_id} + * Example: `properties/1234` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListFirebaseLinks` call. + * Provide this to retrieve the subsequent page. + * 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 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Format: properties/{property_id} + * + * Example: `properties/1234` + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListFirebaseLinksRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: properties/{property_id} + * Example: `properties/1234` + * @type int $page_size + * Optional. 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 + * Optional. A page token, received from a previous `ListFirebaseLinks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListFirebaseLinks` 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. 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. 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; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListFirebaseLinks` call. + * Provide this to retrieve the subsequent page. + * 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 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListFirebaseLinks` call. + * Provide this to retrieve the subsequent page. + * 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 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksResponse.php new file mode 100644 index 000000000000..c63563cc8668 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksResponse.php @@ -0,0 +1,113 @@ +google.analytics.admin.v1alpha.ListFirebaseLinksResponse + */ +class ListFirebaseLinksResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of FirebaseLinks. This will have at most one value. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; + */ + private $firebase_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. + * Currently, Google Analytics supports only one FirebaseLink per property, + * so this will never be populated. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\FirebaseLink[] $firebase_links + * List of FirebaseLinks. This will have at most one value. + * @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. + * Currently, Google Analytics supports only one FirebaseLink per property, + * so this will never be populated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * List of FirebaseLinks. This will have at most one value. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\FirebaseLink> + */ + public function getFirebaseLinks() + { + return $this->firebase_links; + } + + /** + * List of FirebaseLinks. This will have at most one value. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; + * @param \Google\Analytics\Admin\V1alpha\FirebaseLink[] $var + * @return $this + */ + public function setFirebaseLinks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\FirebaseLink::class); + $this->firebase_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. + * Currently, Google Analytics supports only one FirebaseLink per property, + * so this will never be populated. + * + * 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. + * Currently, Google Analytics supports only one FirebaseLink per property, + * so this will never be populated. + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksRequest.php new file mode 100644 index 000000000000..d52d7e474da5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksRequest.php @@ -0,0 +1,169 @@ +google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest + */ +class ListGoogleAdsLinksRequest 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) = { + */ + protected $parent = ''; + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListGoogleAdsLinks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListGoogleAdsLinks` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListGoogleAdsLinksRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type int $page_size + * Optional. 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 + * Optional. A page token, received from a previous `ListGoogleAdsLinks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListGoogleAdsLinks` 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; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListGoogleAdsLinks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListGoogleAdsLinks` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListGoogleAdsLinks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListGoogleAdsLinks` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksResponse.php new file mode 100644 index 000000000000..17d005189e3b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse + */ +class ListGoogleAdsLinksResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of GoogleAdsLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; + */ + private $google_ads_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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\GoogleAdsLink[] $google_ads_links + * List of GoogleAdsLinks. + * @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 GoogleAdsLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\GoogleAdsLink> + */ + public function getGoogleAdsLinks() + { + return $this->google_ads_links; + } + + /** + * List of GoogleAdsLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; + * @param \Google\Analytics\Admin\V1alpha\GoogleAdsLink[] $var + * @return $this + */ + public function setGoogleAdsLinks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\GoogleAdsLink::class); + $this->google_ads_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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsRequest.php new file mode 100644 index 000000000000..d2bcd8437459 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsRequest.php @@ -0,0 +1,174 @@ +google.analytics.admin.v1alpha.ListKeyEventsRequest + */ +class ListKeyEventsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the parent property. + * Example: 'properties/123' + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListKeyEvents` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListKeyEvents` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. The resource name of the parent property. + * Example: 'properties/123' + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListKeyEventsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The resource name of the parent property. + * Example: 'properties/123' + * @type int $page_size + * Optional. 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 + * Optional. A page token, received from a previous `ListKeyEvents` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListKeyEvents` + * 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 resource name of the parent property. + * Example: 'properties/123' + * + * 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 resource name of the parent property. + * Example: 'properties/123' + * + * 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; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListKeyEvents` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListKeyEvents` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListKeyEvents` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListKeyEvents` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsResponse.php new file mode 100644 index 000000000000..edd3d9691ef7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListKeyEventsResponse + */ +class ListKeyEventsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The requested Key Events + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1; + */ + private $key_events; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\KeyEvent[] $key_events + * The requested Key Events + * @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); + } + + /** + * The requested Key Events + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\KeyEvent> + */ + public function getKeyEvents() + { + return $this->key_events; + } + + /** + * The requested Key Events + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1; + * @param \Google\Analytics\Admin\V1alpha\KeyEvent[] $var + * @return $this + */ + public function setKeyEvents($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\KeyEvent::class); + $this->key_events = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsRequest.php new file mode 100644 index 000000000000..7ea200403341 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsRequest.php @@ -0,0 +1,183 @@ +google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest + */ +class ListMeasurementProtocolSecretsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the parent stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. The maximum number of resources to return. + * If unspecified, at most 10 resources will be returned. + * The maximum value is 10. Higher values will be coerced to the maximum. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous + * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListMeasurementProtocolSecrets` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. The resource name of the parent stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets + * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListMeasurementProtocolSecretsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The resource name of the parent stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets + * @type int $page_size + * Optional. The maximum number of resources to return. + * If unspecified, at most 10 resources will be returned. + * The maximum value is 10. Higher values will be coerced to the maximum. + * @type string $page_token + * Optional. A page token, received from a previous + * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListMeasurementProtocolSecrets` 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 resource name of the parent stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets + * + * 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 resource name of the parent stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets + * + * 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; + } + + /** + * Optional. The maximum number of resources to return. + * If unspecified, at most 10 resources will be returned. + * The maximum value is 10. Higher values will be coerced to the maximum. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of resources to return. + * If unspecified, at most 10 resources will be returned. + * The maximum value is 10. Higher values will be coerced to the maximum. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous + * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListMeasurementProtocolSecrets` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous + * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListMeasurementProtocolSecrets` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsResponse.php new file mode 100644 index 000000000000..f0c4493862f3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse + */ +class ListMeasurementProtocolSecretsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * A list of secrets for the parent stream specified in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + */ + private $measurement_protocol_secrets; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret[] $measurement_protocol_secrets + * A list of secrets for the parent stream specified in the request. + * @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); + } + + /** + * A list of secrets for the parent stream specified in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret> + */ + public function getMeasurementProtocolSecrets() + { + return $this->measurement_protocol_secrets; + } + + /** + * A list of secrets for the parent stream specified in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * @param \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret[] $var + * @return $this + */ + public function setMeasurementProtocolSecrets($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret::class); + $this->measurement_protocol_secrets = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesRequest.php new file mode 100644 index 000000000000..a389d4176fee --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesRequest.php @@ -0,0 +1,257 @@ +google.analytics.admin.v1alpha.ListPropertiesRequest + */ +class ListPropertiesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. An expression for filtering the results of the request. + * Fields eligible for filtering are: + * `parent:`(The resource name of the parent account/property) or + * `ancestor:`(The resource name of the parent account) or + * `firebase_project:`(The id or number of the linked firebase project). + * Some examples of filters: + * ``` + * | Filter | Description | + * |-----------------------------|-------------------------------------------| + * | parent:accounts/123 | The account with account id: 123. | + * | parent:properties/123 | The property with property id: 123. | + * | ancestor:accounts/123 | The account with account id: 123. | + * | firebase_project:project-id | The firebase project with id: project-id. | + * | firebase_project:123 | The firebase project with number: 123. | + * ``` + * + * Generated from protobuf field string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $filter = ''; + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous `ListProperties` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListProperties` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + /** + * Whether to include soft-deleted (ie: "trashed") Properties in the + * results. Properties can be inspected to determine whether they are deleted + * or not. + * + * Generated from protobuf field bool show_deleted = 4; + */ + protected $show_deleted = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $filter + * Required. An expression for filtering the results of the request. + * Fields eligible for filtering are: + * `parent:`(The resource name of the parent account/property) or + * `ancestor:`(The resource name of the parent account) or + * `firebase_project:`(The id or number of the linked firebase project). + * Some examples of filters: + * ``` + * | Filter | Description | + * |-----------------------------|-------------------------------------------| + * | parent:accounts/123 | The account with account id: 123. | + * | parent:properties/123 | The property with property id: 123. | + * | ancestor:accounts/123 | The account with account id: 123. | + * | firebase_project:project-id | The firebase project with id: project-id. | + * | firebase_project:123 | The firebase project with number: 123. | + * ``` + * @type int $page_size + * Optional. 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 + * Optional. A page token, received from a previous `ListProperties` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListProperties` must + * match the call that provided the page token. + * @type bool $show_deleted + * Whether to include soft-deleted (ie: "trashed") Properties in the + * results. Properties can be inspected to determine whether they are deleted + * or not. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. An expression for filtering the results of the request. + * Fields eligible for filtering are: + * `parent:`(The resource name of the parent account/property) or + * `ancestor:`(The resource name of the parent account) or + * `firebase_project:`(The id or number of the linked firebase project). + * Some examples of filters: + * ``` + * | Filter | Description | + * |-----------------------------|-------------------------------------------| + * | parent:accounts/123 | The account with account id: 123. | + * | parent:properties/123 | The property with property id: 123. | + * | ancestor:accounts/123 | The account with account id: 123. | + * | firebase_project:project-id | The firebase project with id: project-id. | + * | firebase_project:123 | The firebase project with number: 123. | + * ``` + * + * Generated from protobuf field string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Required. An expression for filtering the results of the request. + * Fields eligible for filtering are: + * `parent:`(The resource name of the parent account/property) or + * `ancestor:`(The resource name of the parent account) or + * `firebase_project:`(The id or number of the linked firebase project). + * Some examples of filters: + * ``` + * | Filter | Description | + * |-----------------------------|-------------------------------------------| + * | parent:accounts/123 | The account with account id: 123. | + * | parent:properties/123 | The property with property id: 123. | + * | ancestor:accounts/123 | The account with account id: 123. | + * | firebase_project:project-id | The firebase project with id: project-id. | + * | firebase_project:123 | The firebase project with number: 123. | + * ``` + * + * Generated from protobuf field string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous `ListProperties` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListProperties` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous `ListProperties` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListProperties` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Whether to include soft-deleted (ie: "trashed") Properties in the + * results. Properties can be inspected to determine whether they are deleted + * or not. + * + * Generated from protobuf field bool show_deleted = 4; + * @return bool + */ + public function getShowDeleted() + { + return $this->show_deleted; + } + + /** + * Whether to include soft-deleted (ie: "trashed") Properties in the + * results. Properties can be inspected to determine whether they are deleted + * or not. + * + * Generated from protobuf field bool show_deleted = 4; + * @param bool $var + * @return $this + */ + public function setShowDeleted($var) + { + GPBUtil::checkBool($var); + $this->show_deleted = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesResponse.php new file mode 100644 index 000000000000..9a1493ddb331 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListPropertiesResponse + */ +class ListPropertiesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Results that matched the filter criteria and were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Property properties = 1; + */ + private $properties; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\Property[] $properties + * Results that matched the filter criteria and were accessible to the caller. + * @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); + } + + /** + * Results that matched the filter criteria and were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Property properties = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\Property> + */ + public function getProperties() + { + return $this->properties; + } + + /** + * Results that matched the filter criteria and were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Property properties = 1; + * @param \Google\Analytics\Admin\V1alpha\Property[] $var + * @return $this + */ + public function setProperties($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\Property::class); + $this->properties = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsRequest.php new file mode 100644 index 000000000000..bd11377322f3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsRequest.php @@ -0,0 +1,361 @@ +google.analytics.admin.v1alpha.ListReportingDataAnnotationsRequest + */ +class ListReportingDataAnnotationsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name of the property. + * Format: properties/property_id + * Example: properties/123 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. Filter that restricts which reporting data annotations under the + * parent property are listed. + * Supported fields are: + * * 'name' + * * `title` + * * `description` + * * `annotation_date` + * * `annotation_date_range` + * * `color` + * Additionally, this API provides the following helper functions: + * * annotation_duration() : the duration that this annotation marks, + * [durations](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/duration.proto). + * expect a numeric representation of seconds followed by an `s` suffix. + * * is_annotation_in_range(start_date, end_date) : if the annotation is in + * the range specified by the `start_date` and `end_date`. The dates are in + * ISO-8601 format, for example `2031-06-28`. + * Supported operations: + * * `=` : equals + * * `!=` : not equals + * * `<` : less than + * * `>` : greater than + * * `<=` : less than or equals + * * `>=` : greater than or equals + * * `:` : has operator + * * `=~` : [regular expression](https://github.com/google/re2/wiki/Syntax) + * match + * * `!~` : [regular expression](https://github.com/google/re2/wiki/Syntax) + * does not match + * * `NOT` : Logical not + * * `AND` : Logical and + * * `OR` : Logical or + * Examples: + * 1. `title="Holiday Sale"` + * 2. `description=~"[Bb]ig [Gg]ame.*[Ss]ale"` + * 3. `is_annotation_in_range("2025-12-25", "2026-01-16") = true` + * 4. `annotation_duration() >= 172800s AND title:BOGO` + * + * Generated from protobuf field string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $filter = ''; + /** + * Optional. 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous + * `ListReportingDataAnnotations` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListReportingDataAnnotations` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Resource name of the property. + * Format: properties/property_id + * Example: properties/123 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListReportingDataAnnotationsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Resource name of the property. + * Format: properties/property_id + * Example: properties/123 + * @type string $filter + * Optional. Filter that restricts which reporting data annotations under the + * parent property are listed. + * Supported fields are: + * * 'name' + * * `title` + * * `description` + * * `annotation_date` + * * `annotation_date_range` + * * `color` + * Additionally, this API provides the following helper functions: + * * annotation_duration() : the duration that this annotation marks, + * [durations](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/duration.proto). + * expect a numeric representation of seconds followed by an `s` suffix. + * * is_annotation_in_range(start_date, end_date) : if the annotation is in + * the range specified by the `start_date` and `end_date`. The dates are in + * ISO-8601 format, for example `2031-06-28`. + * Supported operations: + * * `=` : equals + * * `!=` : not equals + * * `<` : less than + * * `>` : greater than + * * `<=` : less than or equals + * * `>=` : greater than or equals + * * `:` : has operator + * * `=~` : [regular expression](https://github.com/google/re2/wiki/Syntax) + * match + * * `!~` : [regular expression](https://github.com/google/re2/wiki/Syntax) + * does not match + * * `NOT` : Logical not + * * `AND` : Logical and + * * `OR` : Logical or + * Examples: + * 1. `title="Holiday Sale"` + * 2. `description=~"[Bb]ig [Gg]ame.*[Ss]ale"` + * 3. `is_annotation_in_range("2025-12-25", "2026-01-16") = true` + * 4. `annotation_duration() >= 172800s AND title:BOGO` + * @type int $page_size + * Optional. 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 + * Optional. A page token, received from a previous + * `ListReportingDataAnnotations` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListReportingDataAnnotations` 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. Resource name of the property. + * Format: properties/property_id + * Example: properties/123 + * + * 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. Resource name of the property. + * Format: properties/property_id + * Example: properties/123 + * + * 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; + } + + /** + * Optional. Filter that restricts which reporting data annotations under the + * parent property are listed. + * Supported fields are: + * * 'name' + * * `title` + * * `description` + * * `annotation_date` + * * `annotation_date_range` + * * `color` + * Additionally, this API provides the following helper functions: + * * annotation_duration() : the duration that this annotation marks, + * [durations](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/duration.proto). + * expect a numeric representation of seconds followed by an `s` suffix. + * * is_annotation_in_range(start_date, end_date) : if the annotation is in + * the range specified by the `start_date` and `end_date`. The dates are in + * ISO-8601 format, for example `2031-06-28`. + * Supported operations: + * * `=` : equals + * * `!=` : not equals + * * `<` : less than + * * `>` : greater than + * * `<=` : less than or equals + * * `>=` : greater than or equals + * * `:` : has operator + * * `=~` : [regular expression](https://github.com/google/re2/wiki/Syntax) + * match + * * `!~` : [regular expression](https://github.com/google/re2/wiki/Syntax) + * does not match + * * `NOT` : Logical not + * * `AND` : Logical and + * * `OR` : Logical or + * Examples: + * 1. `title="Holiday Sale"` + * 2. `description=~"[Bb]ig [Gg]ame.*[Ss]ale"` + * 3. `is_annotation_in_range("2025-12-25", "2026-01-16") = true` + * 4. `annotation_duration() >= 172800s AND title:BOGO` + * + * Generated from protobuf field string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Optional. Filter that restricts which reporting data annotations under the + * parent property are listed. + * Supported fields are: + * * 'name' + * * `title` + * * `description` + * * `annotation_date` + * * `annotation_date_range` + * * `color` + * Additionally, this API provides the following helper functions: + * * annotation_duration() : the duration that this annotation marks, + * [durations](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/duration.proto). + * expect a numeric representation of seconds followed by an `s` suffix. + * * is_annotation_in_range(start_date, end_date) : if the annotation is in + * the range specified by the `start_date` and `end_date`. The dates are in + * ISO-8601 format, for example `2031-06-28`. + * Supported operations: + * * `=` : equals + * * `!=` : not equals + * * `<` : less than + * * `>` : greater than + * * `<=` : less than or equals + * * `>=` : greater than or equals + * * `:` : has operator + * * `=~` : [regular expression](https://github.com/google/re2/wiki/Syntax) + * match + * * `!~` : [regular expression](https://github.com/google/re2/wiki/Syntax) + * does not match + * * `NOT` : Logical not + * * `AND` : Logical and + * * `OR` : Logical or + * Examples: + * 1. `title="Holiday Sale"` + * 2. `description=~"[Bb]ig [Gg]ame.*[Ss]ale"` + * 3. `is_annotation_in_range("2025-12-25", "2026-01-16") = true` + * 4. `annotation_duration() >= 172800s AND title:BOGO` + * + * Generated from protobuf field string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $var; + + return $this; + } + + /** + * Optional. 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous + * `ListReportingDataAnnotations` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListReportingDataAnnotations` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous + * `ListReportingDataAnnotations` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListReportingDataAnnotations` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsResponse.php new file mode 100644 index 000000000000..5f91de16a444 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListReportingDataAnnotationsResponse + */ +class ListReportingDataAnnotationsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of Reporting Data Annotations. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1; + */ + private $reporting_data_annotations; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation[] $reporting_data_annotations + * List of Reporting Data Annotations. + * @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 Reporting Data Annotations. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ReportingDataAnnotation> + */ + public function getReportingDataAnnotations() + { + return $this->reporting_data_annotations; + } + + /** + * List of Reporting Data Annotations. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1; + * @param \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation[] $var + * @return $this + */ + public function setReportingDataAnnotations($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation::class); + $this->reporting_data_annotations = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksRequest.php new file mode 100644 index 000000000000..b78e7246d742 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksRequest.php @@ -0,0 +1,182 @@ +google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest + */ +class ListRollupPropertySourceLinksRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the roll-up property to list roll-up property source + * 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) = { + */ + protected $parent = ''; + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous + * `ListRollupPropertySourceLinks` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListRollupPropertySourceLinks` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. The name of the roll-up property to list roll-up property source + * links under. Format: properties/{property_id} Example: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListRollupPropertySourceLinksRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The name of the roll-up property to list roll-up property source + * links under. Format: properties/{property_id} Example: properties/1234 + * @type int $page_size + * Optional. 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 + * Optional. A page token, received from a previous + * `ListRollupPropertySourceLinks` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListRollupPropertySourceLinks` 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 roll-up property to list roll-up property source + * 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 roll-up property to list roll-up property source + * 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; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous + * `ListRollupPropertySourceLinks` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListRollupPropertySourceLinks` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous + * `ListRollupPropertySourceLinks` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListRollupPropertySourceLinks` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksResponse.php new file mode 100644 index 000000000000..d6ba5dcee3da --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse + */ +class ListRollupPropertySourceLinksResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of RollupPropertySourceLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + */ + private $rollup_property_source_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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink[] $rollup_property_source_links + * List of RollupPropertySourceLinks. + * @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 RollupPropertySourceLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\RollupPropertySourceLink> + */ + public function getRollupPropertySourceLinks() + { + return $this->rollup_property_source_links; + } + + /** + * List of RollupPropertySourceLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * @param \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink[] $var + * @return $this + */ + public function setRollupPropertySourceLinks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink::class); + $this->rollup_property_source_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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php new file mode 100644 index 000000000000..c7fcbb79b59b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php @@ -0,0 +1,192 @@ +google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + */ +class ListSKAdNetworkConversionValueSchemasRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The DataStream resource to list schemas for. + * Format: + * properties/{property_id}/dataStreams/{dataStream} + * Example: properties/1234/dataStreams/5678 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous + * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListSKAdNetworkConversionValueSchema` must match the call that provided + * the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. The DataStream resource to list schemas for. + * Format: + * properties/{property_id}/dataStreams/{dataStream} + * Example: properties/1234/dataStreams/5678 + * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListSKAdNetworkConversionValueSchemasRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The DataStream resource to list schemas for. + * Format: + * properties/{property_id}/dataStreams/{dataStream} + * Example: properties/1234/dataStreams/5678 + * @type int $page_size + * Optional. 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 + * Optional. A page token, received from a previous + * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListSKAdNetworkConversionValueSchema` 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 DataStream resource to list schemas for. + * Format: + * properties/{property_id}/dataStreams/{dataStream} + * Example: properties/1234/dataStreams/5678 + * + * 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 DataStream resource to list schemas for. + * Format: + * properties/{property_id}/dataStreams/{dataStream} + * Example: properties/1234/dataStreams/5678 + * + * 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; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous + * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListSKAdNetworkConversionValueSchema` must match the call that provided + * the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous + * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListSKAdNetworkConversionValueSchema` must match the call that provided + * the page token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasResponse.php new file mode 100644 index 000000000000..74c1c79f9f6a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasResponse.php @@ -0,0 +1,121 @@ +google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + */ +class ListSKAdNetworkConversionValueSchemasResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of SKAdNetworkConversionValueSchemas. This will have at most one + * value. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + */ + private $skadnetwork_conversion_value_schemas; + /** + * A token, which can be sent as `page_token` to retrieve the next page. + * If this field is omitted, there are no subsequent pages. + * Currently, Google Analytics supports only one + * SKAdNetworkConversionValueSchema per dataStream, so this will never be + * populated. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema[] $skadnetwork_conversion_value_schemas + * List of SKAdNetworkConversionValueSchemas. This will have at most one + * value. + * @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. + * Currently, Google Analytics supports only one + * SKAdNetworkConversionValueSchema per dataStream, so this will never be + * populated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * List of SKAdNetworkConversionValueSchemas. This will have at most one + * value. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema> + */ + public function getSkadnetworkConversionValueSchemas() + { + return $this->skadnetwork_conversion_value_schemas; + } + + /** + * List of SKAdNetworkConversionValueSchemas. This will have at most one + * value. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * @param \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema[] $var + * @return $this + */ + public function setSkadnetworkConversionValueSchemas($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema::class); + $this->skadnetwork_conversion_value_schemas = $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. + * Currently, Google Analytics supports only one + * SKAdNetworkConversionValueSchema per dataStream, so this will never be + * populated. + * + * 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. + * Currently, Google Analytics supports only one + * SKAdNetworkConversionValueSchema per dataStream, so this will never be + * populated. + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksRequest.php new file mode 100644 index 000000000000..75d83488bf8d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksRequest.php @@ -0,0 +1,173 @@ +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) = { + */ + protected $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; + */ + protected $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; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListSearchAds360LinksRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksResponse.php new file mode 100644 index 000000000000..dbcbbb926998 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\SearchAds360Link[] $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 RepeatedField<\Google\Analytics\Admin\V1alpha\SearchAds360Link> + */ + 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 \Google\Analytics\Admin\V1alpha\SearchAds360Link[] $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersRequest.php new file mode 100644 index 000000000000..490016a97dbb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersRequest.php @@ -0,0 +1,187 @@ +google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest + */ +class ListSubpropertyEventFiltersRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name of the ordinary property. + * Format: properties/property_id + * Example: properties/123 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous + * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent + * page. When paginating, all other parameters provided to + * `ListSubpropertyEventFilters` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Resource name of the ordinary property. + * Format: properties/property_id + * Example: properties/123 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListSubpropertyEventFiltersRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Resource name of the ordinary property. + * Format: properties/property_id + * Example: properties/123 + * @type int $page_size + * Optional. 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 + * Optional. A page token, received from a previous + * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent + * page. When paginating, all other parameters provided to + * `ListSubpropertyEventFilters` 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. Resource name of the ordinary property. + * Format: properties/property_id + * Example: properties/123 + * + * 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. Resource name of the ordinary property. + * Format: properties/property_id + * Example: properties/123 + * + * 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; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous + * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent + * page. When paginating, all other parameters provided to + * `ListSubpropertyEventFilters` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous + * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent + * page. When paginating, all other parameters provided to + * `ListSubpropertyEventFilters` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersResponse.php new file mode 100644 index 000000000000..40522b4fbaff --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse + */ +class ListSubpropertyEventFiltersResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of subproperty event filters. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + */ + private $subproperty_event_filters; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter[] $subproperty_event_filters + * List of subproperty event filters. + * @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 subproperty event filters. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\SubpropertyEventFilter> + */ + public function getSubpropertyEventFilters() + { + return $this->subproperty_event_filters; + } + + /** + * List of subproperty event filters. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter[] $var + * @return $this + */ + public function setSubpropertyEventFilters($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter::class); + $this->subproperty_event_filters = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsRequest.php new file mode 100644 index 000000000000..67a4bb121daa --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsRequest.php @@ -0,0 +1,187 @@ +google.analytics.admin.v1alpha.ListSubpropertySyncConfigsRequest + */ +class ListSubpropertySyncConfigsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name of the property. + * Format: properties/property_id + * Example: properties/123 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. A page token, received from a previous + * `ListSubpropertySyncConfig` call. Provide this to retrieve the subsequent + * page. When paginating, all other parameters provided to + * `ListSubpropertySyncConfig` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Resource name of the property. + * Format: properties/property_id + * Example: properties/123 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\ListSubpropertySyncConfigsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Resource name of the property. + * Format: properties/property_id + * Example: properties/123 + * @type int $page_size + * Optional. 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 + * Optional. A page token, received from a previous + * `ListSubpropertySyncConfig` call. Provide this to retrieve the subsequent + * page. When paginating, all other parameters provided to + * `ListSubpropertySyncConfig` 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. Resource name of the property. + * Format: properties/property_id + * Example: properties/123 + * + * 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. Resource name of the property. + * Format: properties/property_id + * Example: properties/123 + * + * 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; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. A page token, received from a previous + * `ListSubpropertySyncConfig` call. Provide this to retrieve the subsequent + * page. When paginating, all other parameters provided to + * `ListSubpropertySyncConfig` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. A page token, received from a previous + * `ListSubpropertySyncConfig` call. Provide this to retrieve the subsequent + * page. When paginating, all other parameters provided to + * `ListSubpropertySyncConfig` must match the call that provided the page + * token. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsResponse.php new file mode 100644 index 000000000000..d1ee6df45c31 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.ListSubpropertySyncConfigsResponse + */ +class ListSubpropertySyncConfigsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of `SubpropertySyncConfig` resources. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_configs = 1; + */ + private $subproperty_sync_configs; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig[] $subproperty_sync_configs + * List of `SubpropertySyncConfig` resources. + * @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 `SubpropertySyncConfig` resources. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_configs = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\SubpropertySyncConfig> + */ + public function getSubpropertySyncConfigs() + { + return $this->subproperty_sync_configs; + } + + /** + * List of `SubpropertySyncConfig` resources. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_configs = 1; + * @param \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig[] $var + * @return $this + */ + public function setSubpropertySyncConfigs($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig::class); + $this->subproperty_sync_configs = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition.php new file mode 100644 index 000000000000..0e38dc14cc17 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition.php @@ -0,0 +1,202 @@ +google.analytics.admin.v1alpha.MatchingCondition + */ +class MatchingCondition extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the field that is compared against for the condition. + * If 'event_name' is specified this condition will apply to the name of the + * event. Otherwise the condition will apply to a parameter with the + * specified name. + * This value cannot contain spaces. + * + * Generated from protobuf field string field = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $field = ''; + /** + * Required. The type of comparison to be applied to the value. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $comparison_type = 0; + /** + * Required. The value being compared against for this condition. The runtime + * implementation may perform type coercion of this value to evaluate this + * condition based on the type of the parameter value. + * + * Generated from protobuf field string value = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $value = ''; + /** + * Whether or not the result of the comparison should be negated. For example, + * if `negated` is true, then 'equals' comparisons would function as 'not + * equals'. + * + * Generated from protobuf field bool negated = 4; + */ + protected $negated = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $field + * Required. The name of the field that is compared against for the condition. + * If 'event_name' is specified this condition will apply to the name of the + * event. Otherwise the condition will apply to a parameter with the + * specified name. + * This value cannot contain spaces. + * @type int $comparison_type + * Required. The type of comparison to be applied to the value. + * @type string $value + * Required. The value being compared against for this condition. The runtime + * implementation may perform type coercion of this value to evaluate this + * condition based on the type of the parameter value. + * @type bool $negated + * Whether or not the result of the comparison should be negated. For example, + * if `negated` is true, then 'equals' comparisons would function as 'not + * equals'. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\EventCreateAndEdit::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the field that is compared against for the condition. + * If 'event_name' is specified this condition will apply to the name of the + * event. Otherwise the condition will apply to a parameter with the + * specified name. + * This value cannot contain spaces. + * + * Generated from protobuf field string field = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getField() + { + return $this->field; + } + + /** + * Required. The name of the field that is compared against for the condition. + * If 'event_name' is specified this condition will apply to the name of the + * event. Otherwise the condition will apply to a parameter with the + * specified name. + * This value cannot contain spaces. + * + * Generated from protobuf field string field = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setField($var) + { + GPBUtil::checkString($var, True); + $this->field = $var; + + return $this; + } + + /** + * Required. The type of comparison to be applied to the value. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getComparisonType() + { + return $this->comparison_type; + } + + /** + * Required. The type of comparison to be applied to the value. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setComparisonType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\MatchingCondition\ComparisonType::class); + $this->comparison_type = $var; + + return $this; + } + + /** + * Required. The value being compared against for this condition. The runtime + * implementation may perform type coercion of this value to evaluate this + * condition based on the type of the parameter value. + * + * Generated from protobuf field string value = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getValue() + { + return $this->value; + } + + /** + * Required. The value being compared against for this condition. The runtime + * implementation may perform type coercion of this value to evaluate this + * condition based on the type of the parameter value. + * + * Generated from protobuf field string value = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkString($var, True); + $this->value = $var; + + return $this; + } + + /** + * Whether or not the result of the comparison should be negated. For example, + * if `negated` is true, then 'equals' comparisons would function as 'not + * equals'. + * + * Generated from protobuf field bool negated = 4; + * @return bool + */ + public function getNegated() + { + return $this->negated; + } + + /** + * Whether or not the result of the comparison should be negated. For example, + * if `negated` is true, then 'equals' comparisons would function as 'not + * equals'. + * + * Generated from protobuf field bool negated = 4; + * @param bool $var + * @return $this + */ + public function setNegated($var) + { + GPBUtil::checkBool($var); + $this->negated = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition/ComparisonType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition/ComparisonType.php new file mode 100644 index 000000000000..f4e64a1c3fa9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition/ComparisonType.php @@ -0,0 +1,145 @@ +google.analytics.admin.v1alpha.MatchingCondition.ComparisonType + */ +class ComparisonType +{ + /** + * Unknown + * + * Generated from protobuf enum COMPARISON_TYPE_UNSPECIFIED = 0; + */ + const COMPARISON_TYPE_UNSPECIFIED = 0; + /** + * Equals, case sensitive + * + * Generated from protobuf enum EQUALS = 1; + */ + const EQUALS = 1; + /** + * Equals, case insensitive + * + * Generated from protobuf enum EQUALS_CASE_INSENSITIVE = 2; + */ + const EQUALS_CASE_INSENSITIVE = 2; + /** + * Contains, case sensitive + * + * Generated from protobuf enum CONTAINS = 3; + */ + const CONTAINS = 3; + /** + * Contains, case insensitive + * + * Generated from protobuf enum CONTAINS_CASE_INSENSITIVE = 4; + */ + const CONTAINS_CASE_INSENSITIVE = 4; + /** + * Starts with, case sensitive + * + * Generated from protobuf enum STARTS_WITH = 5; + */ + const STARTS_WITH = 5; + /** + * Starts with, case insensitive + * + * Generated from protobuf enum STARTS_WITH_CASE_INSENSITIVE = 6; + */ + const STARTS_WITH_CASE_INSENSITIVE = 6; + /** + * Ends with, case sensitive + * + * Generated from protobuf enum ENDS_WITH = 7; + */ + const ENDS_WITH = 7; + /** + * Ends with, case insensitive + * + * Generated from protobuf enum ENDS_WITH_CASE_INSENSITIVE = 8; + */ + const ENDS_WITH_CASE_INSENSITIVE = 8; + /** + * Greater than + * + * Generated from protobuf enum GREATER_THAN = 9; + */ + const GREATER_THAN = 9; + /** + * Greater than or equal + * + * Generated from protobuf enum GREATER_THAN_OR_EQUAL = 10; + */ + const GREATER_THAN_OR_EQUAL = 10; + /** + * Less than + * + * Generated from protobuf enum LESS_THAN = 11; + */ + const LESS_THAN = 11; + /** + * Less than or equal + * + * Generated from protobuf enum LESS_THAN_OR_EQUAL = 12; + */ + const LESS_THAN_OR_EQUAL = 12; + /** + * regular expression. Only supported for web streams. + * + * Generated from protobuf enum REGULAR_EXPRESSION = 13; + */ + const REGULAR_EXPRESSION = 13; + /** + * regular expression, case insensitive. Only supported for web streams. + * + * Generated from protobuf enum REGULAR_EXPRESSION_CASE_INSENSITIVE = 14; + */ + const REGULAR_EXPRESSION_CASE_INSENSITIVE = 14; + + private static $valueToName = [ + self::COMPARISON_TYPE_UNSPECIFIED => 'COMPARISON_TYPE_UNSPECIFIED', + self::EQUALS => 'EQUALS', + self::EQUALS_CASE_INSENSITIVE => 'EQUALS_CASE_INSENSITIVE', + self::CONTAINS => 'CONTAINS', + self::CONTAINS_CASE_INSENSITIVE => 'CONTAINS_CASE_INSENSITIVE', + self::STARTS_WITH => 'STARTS_WITH', + self::STARTS_WITH_CASE_INSENSITIVE => 'STARTS_WITH_CASE_INSENSITIVE', + self::ENDS_WITH => 'ENDS_WITH', + self::ENDS_WITH_CASE_INSENSITIVE => 'ENDS_WITH_CASE_INSENSITIVE', + self::GREATER_THAN => 'GREATER_THAN', + self::GREATER_THAN_OR_EQUAL => 'GREATER_THAN_OR_EQUAL', + self::LESS_THAN => 'LESS_THAN', + self::LESS_THAN_OR_EQUAL => 'LESS_THAN_OR_EQUAL', + self::REGULAR_EXPRESSION => 'REGULAR_EXPRESSION', + self::REGULAR_EXPRESSION_CASE_INSENSITIVE => 'REGULAR_EXPRESSION_CASE_INSENSITIVE', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MeasurementProtocolSecret.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MeasurementProtocolSecret.php new file mode 100644 index 000000000000..fa10ccb3ddaf --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MeasurementProtocolSecret.php @@ -0,0 +1,151 @@ +google.analytics.admin.v1alpha.MeasurementProtocolSecret + */ +class MeasurementProtocolSecret extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. 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) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. Human-readable display name for this secret. + * + * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $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 + * secret's parent property. + * + * Generated from protobuf field string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $secret_value = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. 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 + * secret's parent property. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. 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) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. 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) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. Human-readable display name for this secret. + * + * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Required. Human-readable display name for this secret. + * + * 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; + } + + /** + * 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]; + * @return string + */ + public function getSecretValue() + { + return $this->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 + * secret's parent property. + * + * Generated from protobuf field string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setSecretValue($var) + { + GPBUtil::checkString($var, True); + $this->secret_value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/NumericValue.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/NumericValue.php new file mode 100644 index 000000000000..93e1eca5677a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/NumericValue.php @@ -0,0 +1,108 @@ +google.analytics.admin.v1alpha.NumericValue + */ +class NumericValue extends \Google\Protobuf\Internal\Message +{ + protected $one_value; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $int64_value + * Integer value + * @type float $double_value + * Double value + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * Integer value + * + * Generated from protobuf field int64 int64_value = 1; + * @return int|string + */ + public function getInt64Value() + { + return $this->readOneof(1); + } + + public function hasInt64Value() + { + return $this->hasOneof(1); + } + + /** + * Integer value + * + * Generated from protobuf field int64 int64_value = 1; + * @param int|string $var + * @return $this + */ + public function setInt64Value($var) + { + GPBUtil::checkInt64($var); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * Double value + * + * Generated from protobuf field double double_value = 2; + * @return float + */ + public function getDoubleValue() + { + return $this->readOneof(2); + } + + public function hasDoubleValue() + { + return $this->hasOneof(2); + } + + /** + * Double value + * + * Generated from protobuf field double double_value = 2; + * @param float $var + * @return $this + */ + public function setDoubleValue($var) + { + GPBUtil::checkDouble($var); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * @return string + */ + public function getOneValue() + { + return $this->whichOneof("one_value"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ParameterMutation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ParameterMutation.php new file mode 100644 index 000000000000..2f9e895b6a8b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ParameterMutation.php @@ -0,0 +1,145 @@ +google.analytics.admin.v1alpha.ParameterMutation + */ +class ParameterMutation extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the parameter to mutate. + * This value must: + * * be less than 40 characters. + * * be unique across across all mutations within the rule + * * consist only of letters, digits or _ (underscores) + * For event edit rules, the name may also be set to 'event_name' to modify + * the event_name in place. + * + * Generated from protobuf field string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $parameter = ''; + /** + * Required. The value mutation to perform. + * * Must be less than 100 characters. + * * To specify a constant value for the param, use the value's string. + * * To copy value from another parameter, use syntax like + * "[[other_parameter]]" For more details, see this [help center + * article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters). + * + * Generated from protobuf field string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $parameter_value = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parameter + * Required. The name of the parameter to mutate. + * This value must: + * * be less than 40 characters. + * * be unique across across all mutations within the rule + * * consist only of letters, digits or _ (underscores) + * For event edit rules, the name may also be set to 'event_name' to modify + * the event_name in place. + * @type string $parameter_value + * Required. The value mutation to perform. + * * Must be less than 100 characters. + * * To specify a constant value for the param, use the value's string. + * * To copy value from another parameter, use syntax like + * "[[other_parameter]]" For more details, see this [help center + * article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters). + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\EventCreateAndEdit::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the parameter to mutate. + * This value must: + * * be less than 40 characters. + * * be unique across across all mutations within the rule + * * consist only of letters, digits or _ (underscores) + * For event edit rules, the name may also be set to 'event_name' to modify + * the event_name in place. + * + * Generated from protobuf field string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getParameter() + { + return $this->parameter; + } + + /** + * Required. The name of the parameter to mutate. + * This value must: + * * be less than 40 characters. + * * be unique across across all mutations within the rule + * * consist only of letters, digits or _ (underscores) + * For event edit rules, the name may also be set to 'event_name' to modify + * the event_name in place. + * + * Generated from protobuf field string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setParameter($var) + { + GPBUtil::checkString($var, True); + $this->parameter = $var; + + return $this; + } + + /** + * Required. The value mutation to perform. + * * Must be less than 100 characters. + * * To specify a constant value for the param, use the value's string. + * * To copy value from another parameter, use syntax like + * "[[other_parameter]]" For more details, see this [help center + * article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters). + * + * Generated from protobuf field string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getParameterValue() + { + return $this->parameter_value; + } + + /** + * Required. The value mutation to perform. + * * Must be less than 100 characters. + * * To specify a constant value for the param, use the value's string. + * * To copy value from another parameter, use syntax like + * "[[other_parameter]]" For more details, see this [help center + * article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters). + * + * Generated from protobuf field string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setParameterValue($var) + { + GPBUtil::checkString($var, True); + $this->parameter_value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PostbackWindow.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PostbackWindow.php new file mode 100644 index 000000000000..6b357a51ad55 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PostbackWindow.php @@ -0,0 +1,137 @@ +google.analytics.admin.v1alpha.PostbackWindow + */ +class PostbackWindow extends \Google\Protobuf\Internal\Message +{ + /** + * Ordering of the repeated field will be used to prioritize the conversion + * value settings. Lower indexed entries are prioritized higher. The first + * conversion value setting that evaluates to true will be selected. It must + * have at least one entry if enable_postback_window_settings is set to + * true. It can have maximum of 128 entries. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1; + */ + private $conversion_values; + /** + * If enable_postback_window_settings is true, conversion_values + * must be populated and will be used for determining when and how to set the + * Conversion Value on a client device and exporting schema to linked Ads + * accounts. If false, the settings are not used, but are retained in case + * they may be used in the future. This must always be true for + * postback_window_one. + * + * Generated from protobuf field bool postback_window_settings_enabled = 2; + */ + protected $postback_window_settings_enabled = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\ConversionValues[] $conversion_values + * Ordering of the repeated field will be used to prioritize the conversion + * value settings. Lower indexed entries are prioritized higher. The first + * conversion value setting that evaluates to true will be selected. It must + * have at least one entry if enable_postback_window_settings is set to + * true. It can have maximum of 128 entries. + * @type bool $postback_window_settings_enabled + * If enable_postback_window_settings is true, conversion_values + * must be populated and will be used for determining when and how to set the + * Conversion Value on a client device and exporting schema to linked Ads + * accounts. If false, the settings are not used, but are retained in case + * they may be used in the future. This must always be true for + * postback_window_one. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Ordering of the repeated field will be used to prioritize the conversion + * value settings. Lower indexed entries are prioritized higher. The first + * conversion value setting that evaluates to true will be selected. It must + * have at least one entry if enable_postback_window_settings is set to + * true. It can have maximum of 128 entries. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ConversionValues> + */ + public function getConversionValues() + { + return $this->conversion_values; + } + + /** + * Ordering of the repeated field will be used to prioritize the conversion + * value settings. Lower indexed entries are prioritized higher. The first + * conversion value setting that evaluates to true will be selected. It must + * have at least one entry if enable_postback_window_settings is set to + * true. It can have maximum of 128 entries. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1; + * @param \Google\Analytics\Admin\V1alpha\ConversionValues[] $var + * @return $this + */ + public function setConversionValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ConversionValues::class); + $this->conversion_values = $arr; + + return $this; + } + + /** + * If enable_postback_window_settings is true, conversion_values + * must be populated and will be used for determining when and how to set the + * Conversion Value on a client device and exporting schema to linked Ads + * accounts. If false, the settings are not used, but are retained in case + * they may be used in the future. This must always be true for + * postback_window_one. + * + * Generated from protobuf field bool postback_window_settings_enabled = 2; + * @return bool + */ + public function getPostbackWindowSettingsEnabled() + { + return $this->postback_window_settings_enabled; + } + + /** + * If enable_postback_window_settings is true, conversion_values + * must be populated and will be used for determining when and how to set the + * Conversion Value on a client device and exporting schema to linked Ads + * accounts. If false, the settings are not used, but are retained in case + * they may be used in the future. This must always be true for + * postback_window_one. + * + * Generated from protobuf field bool postback_window_settings_enabled = 2; + * @param bool $var + * @return $this + */ + public function setPostbackWindowSettingsEnabled($var) + { + GPBUtil::checkBool($var); + $this->postback_window_settings_enabled = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Property.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Property.php new file mode 100644 index 000000000000..c3a4937df576 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Property.php @@ -0,0 +1,607 @@ +google.analytics.admin.v1alpha.Property + */ +class Property extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name of this property. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $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. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $property_type = 0; + /** + * Output only. Time when the entity was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. Time when entity payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + /** + * Immutable. Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/101" + * + * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $parent = ''; + /** + * Required. Human-readable display name for this property. + * The max allowed display name length is 100 UTF-16 code units. + * + * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Industry associated with this property + * Example: AUTOMOTIVE, FOOD_AND_DRINK + * + * Generated from protobuf field .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; + */ + protected $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. + * NOTE: Changing the time zone only affects data going forward, and is not + * applied retroactively. + * Format: https://www.iana.org/time-zones + * Example: "America/Los_Angeles" + * + * Generated from protobuf field string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $time_zone = ''; + /** + * The currency type used in reports involving monetary values. + * Format: https://en.wikipedia.org/wiki/ISO_4217 + * Examples: "USD", "EUR", "JPY" + * + * Generated from protobuf field string currency_code = 8; + */ + protected $currency_code = ''; + /** + * 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]; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $expire_time = null; + /** + * Immutable. The resource name of the parent account + * Format: accounts/{account_id} + * Example: "accounts/123" + * + * Generated from protobuf field string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + */ + protected $account = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Resource name of this property. + * 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. + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Time when the entity was originally created. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. Time when entity payload fields were last updated. + * @type string $parent + * Immutable. Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/101" + * @type string $display_name + * Required. Human-readable display name for this property. + * The max allowed display name length is 100 UTF-16 code units. + * @type int $industry_category + * 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. + * NOTE: Changing the time zone only affects data going forward, and is not + * applied retroactively. + * Format: https://www.iana.org/time-zones + * Example: "America/Los_Angeles" + * @type string $currency_code + * The currency type used in reports involving monetary values. + * 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. + * @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. + * @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. + * @type string $account + * Immutable. The resource name of the parent account + * Format: accounts/{account_id} + * Example: "accounts/123" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Resource name of this property. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name of this property. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * 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. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * @return int + */ + public function getPropertyType() + { + return $this->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. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * @param int $var + * @return $this + */ + public function setPropertyType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\PropertyType::class); + $this->property_type = $var; + + return $this; + } + + /** + * Output only. Time when the entity was originally 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 entity was originally 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; + } + + /** + * Output only. Time when entity payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. Time when entity payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * Immutable. Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/101" + * + * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Immutable. Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/101" + * + * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. Human-readable display name for this property. + * The max allowed display name length is 100 UTF-16 code units. + * + * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Required. Human-readable display name for this property. + * The max allowed display name length is 100 UTF-16 code units. + * + * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Industry associated with this property + * Example: AUTOMOTIVE, FOOD_AND_DRINK + * + * Generated from protobuf field .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; + * @return int + */ + public function getIndustryCategory() + { + return $this->industry_category; + } + + /** + * Industry associated with this property + * Example: AUTOMOTIVE, FOOD_AND_DRINK + * + * Generated from protobuf field .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; + * @param int $var + * @return $this + */ + public function setIndustryCategory($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\IndustryCategory::class); + $this->industry_category = $var; + + return $this; + } + + /** + * 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 + * Example: "America/Los_Angeles" + * + * Generated from protobuf field string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getTimeZone() + { + return $this->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. + * NOTE: Changing the time zone only affects data going forward, and is not + * applied retroactively. + * Format: https://www.iana.org/time-zones + * Example: "America/Los_Angeles" + * + * Generated from protobuf field string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setTimeZone($var) + { + GPBUtil::checkString($var, True); + $this->time_zone = $var; + + return $this; + } + + /** + * The currency type used in reports involving monetary values. + * Format: https://en.wikipedia.org/wiki/ISO_4217 + * Examples: "USD", "EUR", "JPY" + * + * Generated from protobuf field string currency_code = 8; + * @return string + */ + public function getCurrencyCode() + { + return $this->currency_code; + } + + /** + * The currency type used in reports involving monetary values. + * Format: https://en.wikipedia.org/wiki/ISO_4217 + * Examples: "USD", "EUR", "JPY" + * + * Generated from protobuf field string currency_code = 8; + * @param string $var + * @return $this + */ + public function setCurrencyCode($var) + { + GPBUtil::checkString($var, True); + $this->currency_code = $var; + + return $this; + } + + /** + * 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 + */ + public function getServiceLevel() + { + return $this->service_level; + } + + /** + * 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 + * @return $this + */ + public function setServiceLevel($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\ServiceLevel::class); + $this->service_level = $var; + + return $this; + } + + /** + * 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 + */ + public function getDeleteTime() + { + return $this->delete_time; + } + + public function hasDeleteTime() + { + return isset($this->delete_time); + } + + public function clearDeleteTime() + { + unset($this->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. + * + * Generated from protobuf field .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setDeleteTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->delete_time = $var; + + return $this; + } + + /** + * 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 + */ + public function getExpireTime() + { + return $this->expire_time; + } + + public function hasExpireTime() + { + return isset($this->expire_time); + } + + public function clearExpireTime() + { + unset($this->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. + * + * Generated from protobuf field .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setExpireTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->expire_time = $var; + + return $this; + } + + /** + * Immutable. The resource name of the parent account + * Format: accounts/{account_id} + * Example: "accounts/123" + * + * Generated from protobuf field string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @return string + */ + public function getAccount() + { + return $this->account; + } + + /** + * Immutable. The resource name of the parent account + * Format: accounts/{account_id} + * Example: "accounts/123" + * + * Generated from protobuf field string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setAccount($var) + { + GPBUtil::checkString($var, True); + $this->account = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertySummary.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertySummary.php new file mode 100644 index 000000000000..e665fe10c18b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertySummary.php @@ -0,0 +1,189 @@ +google.analytics.admin.v1alpha.PropertySummary + */ +class PropertySummary extends \Google\Protobuf\Internal\Message +{ + /** + * Resource name of property referred to by this property summary + * Format: properties/{property_id} + * Example: "properties/1000" + * + * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { + */ + protected $property = ''; + /** + * Display name for the property referred to in this property summary. + * + * Generated from protobuf field string display_name = 2; + */ + protected $display_name = ''; + /** + * The property's property type. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 3; + */ + protected $property_type = 0; + /** + * Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/200" + * + * Generated from protobuf field string parent = 4; + */ + protected $parent = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $property + * Resource name of property referred to by this property summary + * Format: properties/{property_id} + * Example: "properties/1000" + * @type string $display_name + * Display name for the property referred to in this property summary. + * @type int $property_type + * The property's property type. + * @type string $parent + * Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/200" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Resource name of property referred to by this property summary + * Format: properties/{property_id} + * Example: "properties/1000" + * + * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { + * @return string + */ + public function getProperty() + { + return $this->property; + } + + /** + * Resource name of property referred to by this property summary + * Format: properties/{property_id} + * Example: "properties/1000" + * + * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkString($var, True); + $this->property = $var; + + return $this; + } + + /** + * Display name for the property referred to in this property summary. + * + * Generated from protobuf field string display_name = 2; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Display name for the property referred to in this property summary. + * + * Generated from protobuf field string display_name = 2; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * The property's property type. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 3; + * @return int + */ + public function getPropertyType() + { + return $this->property_type; + } + + /** + * The property's property type. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 3; + * @param int $var + * @return $this + */ + public function setPropertyType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\PropertyType::class); + $this->property_type = $var; + + return $this; + } + + /** + * Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/200" + * + * Generated from protobuf field string parent = 4; + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/200" + * + * Generated from protobuf field string parent = 4; + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertyType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertyType.php new file mode 100644 index 000000000000..9e6af8865669 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertyType.php @@ -0,0 +1,68 @@ +google.analytics.admin.v1alpha.PropertyType + */ +class PropertyType +{ + /** + * Unknown or unspecified property type + * + * Generated from protobuf enum PROPERTY_TYPE_UNSPECIFIED = 0; + */ + const PROPERTY_TYPE_UNSPECIFIED = 0; + /** + * Ordinary Google Analytics property + * + * Generated from protobuf enum PROPERTY_TYPE_ORDINARY = 1; + */ + const PROPERTY_TYPE_ORDINARY = 1; + /** + * Google Analytics subproperty + * + * Generated from protobuf enum PROPERTY_TYPE_SUBPROPERTY = 2; + */ + const PROPERTY_TYPE_SUBPROPERTY = 2; + /** + * Google Analytics rollup property + * + * Generated from protobuf enum PROPERTY_TYPE_ROLLUP = 3; + */ + const PROPERTY_TYPE_ROLLUP = 3; + + private static $valueToName = [ + self::PROPERTY_TYPE_UNSPECIFIED => 'PROPERTY_TYPE_UNSPECIFIED', + self::PROPERTY_TYPE_ORDINARY => 'PROPERTY_TYPE_ORDINARY', + self::PROPERTY_TYPE_SUBPROPERTY => 'PROPERTY_TYPE_SUBPROPERTY', + self::PROPERTY_TYPE_ROLLUP => 'PROPERTY_TYPE_ROLLUP', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketRequest.php new file mode 100644 index 000000000000..ff65ff2d84d1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketRequest.php @@ -0,0 +1,115 @@ +google.analytics.admin.v1alpha.ProvisionAccountTicketRequest + */ +class ProvisionAccountTicketRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The account to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1; + */ + protected $account = null; + /** + * Redirect URI where the user will be sent after accepting Terms of Service. + * Must be configured in Cloud Console as a Redirect URI. + * + * Generated from protobuf field string redirect_uri = 2; + */ + protected $redirect_uri = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\Account $account + * The account to create. + * @type string $redirect_uri + * Redirect URI where the user will be sent after accepting Terms of Service. + * Must be configured in Cloud Console as a Redirect URI. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The account to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1; + * @return \Google\Analytics\Admin\V1alpha\Account|null + */ + public function getAccount() + { + return $this->account; + } + + public function hasAccount() + { + return isset($this->account); + } + + public function clearAccount() + { + unset($this->account); + } + + /** + * The account to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1; + * @param \Google\Analytics\Admin\V1alpha\Account $var + * @return $this + */ + public function setAccount($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Account::class); + $this->account = $var; + + return $this; + } + + /** + * Redirect URI where the user will be sent after accepting Terms of Service. + * Must be configured in Cloud Console as a Redirect URI. + * + * Generated from protobuf field string redirect_uri = 2; + * @return string + */ + public function getRedirectUri() + { + return $this->redirect_uri; + } + + /** + * Redirect URI where the user will be sent after accepting Terms of Service. + * Must be configured in Cloud Console as a Redirect URI. + * + * Generated from protobuf field string redirect_uri = 2; + * @param string $var + * @return $this + */ + public function setRedirectUri($var) + { + GPBUtil::checkString($var, True); + $this->redirect_uri = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketResponse.php new file mode 100644 index 000000000000..ee19fc19c8e4 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketResponse.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1alpha.ProvisionAccountTicketResponse + */ +class ProvisionAccountTicketResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The param to be passed in the ToS link. + * + * Generated from protobuf field string account_ticket_id = 1; + */ + protected $account_ticket_id = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $account_ticket_id + * The param to be passed in the ToS link. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The param to be passed in the ToS link. + * + * Generated from protobuf field string account_ticket_id = 1; + * @return string + */ + public function getAccountTicketId() + { + return $this->account_ticket_id; + } + + /** + * The param to be passed in the ToS link. + * + * Generated from protobuf field string account_ticket_id = 1; + * @param string $var + * @return $this + */ + public function setAccountTicketId($var) + { + GPBUtil::checkString($var, True); + $this->account_ticket_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyRequest.php new file mode 100644 index 000000000000..3d708d0b4dfc --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyRequest.php @@ -0,0 +1,159 @@ +google.analytics.admin.v1alpha.ProvisionSubpropertyRequest + */ +class ProvisionSubpropertyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The subproperty to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $subproperty = null; + /** + * Optional. The subproperty event filter to create on an ordinary property. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $subproperty_event_filter = null; + /** + * Optional. The subproperty feature synchronization mode for Custom + * Dimensions and Metrics + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode custom_dimension_and_metric_synchronization_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $custom_dimension_and_metric_synchronization_mode = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\Property $subproperty + * Required. The subproperty to create. + * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subproperty_event_filter + * Optional. The subproperty event filter to create on an ordinary property. + * @type int $custom_dimension_and_metric_synchronization_mode + * Optional. The subproperty feature synchronization mode for Custom + * Dimensions and Metrics + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The subproperty to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\Property|null + */ + public function getSubproperty() + { + return $this->subproperty; + } + + public function hasSubproperty() + { + return isset($this->subproperty); + } + + public function clearSubproperty() + { + unset($this->subproperty); + } + + /** + * Required. The subproperty to create. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\Property $var + * @return $this + */ + public function setSubproperty($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Property::class); + $this->subproperty = $var; + + return $this; + } + + /** + * Optional. The subproperty event filter to create on an ordinary property. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter|null + */ + public function getSubpropertyEventFilter() + { + return $this->subproperty_event_filter; + } + + public function hasSubpropertyEventFilter() + { + return isset($this->subproperty_event_filter); + } + + public function clearSubpropertyEventFilter() + { + unset($this->subproperty_event_filter); + } + + /** + * Optional. The subproperty event filter to create on an ordinary property. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $var + * @return $this + */ + public function setSubpropertyEventFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter::class); + $this->subproperty_event_filter = $var; + + return $this; + } + + /** + * Optional. The subproperty feature synchronization mode for Custom + * Dimensions and Metrics + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode custom_dimension_and_metric_synchronization_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getCustomDimensionAndMetricSynchronizationMode() + { + return $this->custom_dimension_and_metric_synchronization_mode; + } + + /** + * Optional. The subproperty feature synchronization mode for Custom + * Dimensions and Metrics + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode custom_dimension_and_metric_synchronization_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setCustomDimensionAndMetricSynchronizationMode($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig\SynchronizationMode::class); + $this->custom_dimension_and_metric_synchronization_mode = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyResponse.php new file mode 100644 index 000000000000..a6d04446aa2a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyResponse.php @@ -0,0 +1,121 @@ +google.analytics.admin.v1alpha.ProvisionSubpropertyResponse + */ +class ProvisionSubpropertyResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The created subproperty. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property subproperty = 1; + */ + protected $subproperty = null; + /** + * The created subproperty event filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + */ + protected $subproperty_event_filter = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\Property $subproperty + * The created subproperty. + * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subproperty_event_filter + * The created subproperty event filter. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The created subproperty. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property subproperty = 1; + * @return \Google\Analytics\Admin\V1alpha\Property|null + */ + public function getSubproperty() + { + return $this->subproperty; + } + + public function hasSubproperty() + { + return isset($this->subproperty); + } + + public function clearSubproperty() + { + unset($this->subproperty); + } + + /** + * The created subproperty. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property subproperty = 1; + * @param \Google\Analytics\Admin\V1alpha\Property $var + * @return $this + */ + public function setSubproperty($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Property::class); + $this->subproperty = $var; + + return $this; + } + + /** + * The created subproperty event filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter|null + */ + public function getSubpropertyEventFilter() + { + return $this->subproperty_event_filter; + } + + public function hasSubpropertyEventFilter() + { + return isset($this->subproperty_event_filter); + } + + public function clearSubpropertyEventFilter() + { + unset($this->subproperty_event_filter); + } + + /** + * The created subproperty event filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $var + * @return $this + */ + public function setSubpropertyEventFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter::class); + $this->subproperty_event_filter = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReorderEventEditRulesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReorderEventEditRulesRequest.php new file mode 100644 index 000000000000..5b14e1270bbe --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReorderEventEditRulesRequest.php @@ -0,0 +1,109 @@ +google.analytics.admin.v1alpha.ReorderEventEditRulesRequest + */ +class ReorderEventEditRulesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Example format: properties/123/dataStreams/456 + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. EventEditRule resource names for the specified data stream, in + * the needed processing order. All EventEditRules for the stream must be + * present in the list. + * + * Generated from protobuf field repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $event_edit_rules; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/123/dataStreams/456 + * @type string[] $event_edit_rules + * Required. EventEditRule resource names for the specified data stream, in + * the needed processing order. All EventEditRules for the stream must be + * present in the list. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Example format: properties/123/dataStreams/456 + * + * 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/123/dataStreams/456 + * + * 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. EventEditRule resource names for the specified data stream, in + * the needed processing order. All EventEditRules for the stream must be + * present in the list. + * + * Generated from protobuf field repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField + */ + public function getEventEditRules() + { + return $this->event_edit_rules; + } + + /** + * Required. EventEditRule resource names for the specified data stream, in + * the needed processing order. All EventEditRules for the stream must be + * present in the list. + * + * Generated from protobuf field repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string[] $var + * @return $this + */ + public function setEventEditRules($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->event_edit_rules = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation.php new file mode 100644 index 000000000000..c63220cc0dcc --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation.php @@ -0,0 +1,304 @@ +google.analytics.admin.v1alpha.ReportingDataAnnotation + */ +class ReportingDataAnnotation extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Identifier. Resource name of this Reporting Data Annotation. + * Format: + * 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' + * Format: 'properties/123/reportingDataAnnotations/456' + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = REQUIRED]; + */ + protected $name = ''; + /** + * Required. Human-readable title for this Reporting Data Annotation. + * + * Generated from protobuf field string title = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $title = ''; + /** + * Optional. Description for this Reporting Data Annotation. + * + * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $description = ''; + /** + * Required. The color used for display of this Reporting Data Annotation. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation.Color color = 6 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $color = 0; + /** + * Output only. If true, this annotation was generated by the Google Analytics + * system. System-generated annotations cannot be updated or deleted. + * + * Generated from protobuf field bool system_generated = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $system_generated = false; + protected $target; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Type\Date $annotation_date + * If set, the Reporting Data Annotation is for a specific date represented + * by this field. The date must be a valid date with year, month and day + * set. The date may be in the past, present, or future. + * @type \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation\DateRange $annotation_date_range + * If set, the Reporting Data Annotation is for a range of dates represented + * by this field. + * @type string $name + * Required. Identifier. Resource name of this Reporting Data Annotation. + * Format: + * 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' + * Format: 'properties/123/reportingDataAnnotations/456' + * @type string $title + * Required. Human-readable title for this Reporting Data Annotation. + * @type string $description + * Optional. Description for this Reporting Data Annotation. + * @type int $color + * Required. The color used for display of this Reporting Data Annotation. + * @type bool $system_generated + * Output only. If true, this annotation was generated by the Google Analytics + * system. System-generated annotations cannot be updated or deleted. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * If set, the Reporting Data Annotation is for a specific date represented + * by this field. The date must be a valid date with year, month and day + * set. The date may be in the past, present, or future. + * + * Generated from protobuf field .google.type.Date annotation_date = 4; + * @return \Google\Type\Date|null + */ + public function getAnnotationDate() + { + return $this->readOneof(4); + } + + public function hasAnnotationDate() + { + return $this->hasOneof(4); + } + + /** + * If set, the Reporting Data Annotation is for a specific date represented + * by this field. The date must be a valid date with year, month and day + * set. The date may be in the past, present, or future. + * + * Generated from protobuf field .google.type.Date annotation_date = 4; + * @param \Google\Type\Date $var + * @return $this + */ + public function setAnnotationDate($var) + { + GPBUtil::checkMessage($var, \Google\Type\Date::class); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * If set, the Reporting Data Annotation is for a range of dates represented + * by this field. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation.DateRange annotation_date_range = 5; + * @return \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation\DateRange|null + */ + public function getAnnotationDateRange() + { + return $this->readOneof(5); + } + + public function hasAnnotationDateRange() + { + return $this->hasOneof(5); + } + + /** + * If set, the Reporting Data Annotation is for a range of dates represented + * by this field. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation.DateRange annotation_date_range = 5; + * @param \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation\DateRange $var + * @return $this + */ + public function setAnnotationDateRange($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation\DateRange::class); + $this->writeOneof(5, $var); + + return $this; + } + + /** + * Required. Identifier. Resource name of this Reporting Data Annotation. + * Format: + * 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' + * Format: 'properties/123/reportingDataAnnotations/456' + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. Identifier. Resource name of this Reporting Data Annotation. + * Format: + * 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' + * Format: 'properties/123/reportingDataAnnotations/456' + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. Human-readable title for this Reporting Data Annotation. + * + * Generated from protobuf field string title = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getTitle() + { + return $this->title; + } + + /** + * Required. Human-readable title for this Reporting Data Annotation. + * + * Generated from protobuf field string title = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setTitle($var) + { + GPBUtil::checkString($var, True); + $this->title = $var; + + return $this; + } + + /** + * Optional. Description for this Reporting Data Annotation. + * + * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDescription() + { + return $this->description; + } + + /** + * Optional. Description for this Reporting Data Annotation. + * + * 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; + } + + /** + * Required. The color used for display of this Reporting Data Annotation. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation.Color color = 6 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getColor() + { + return $this->color; + } + + /** + * Required. The color used for display of this Reporting Data Annotation. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation.Color color = 6 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setColor($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation\Color::class); + $this->color = $var; + + return $this; + } + + /** + * Output only. If true, this annotation was generated by the Google Analytics + * system. System-generated annotations cannot be updated or deleted. + * + * Generated from protobuf field bool system_generated = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getSystemGenerated() + { + return $this->system_generated; + } + + /** + * Output only. If true, this annotation was generated by the Google Analytics + * system. System-generated annotations cannot be updated or deleted. + * + * Generated from protobuf field bool system_generated = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setSystemGenerated($var) + { + GPBUtil::checkBool($var); + $this->system_generated = $var; + + return $this; + } + + /** + * @return string + */ + public function getTarget() + { + return $this->whichOneof("target"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/Color.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/Color.php new file mode 100644 index 000000000000..b7461c02a1ee --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/Color.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1alpha.ReportingDataAnnotation.Color + */ +class Color +{ + /** + * Color unknown or not specified. + * + * Generated from protobuf enum COLOR_UNSPECIFIED = 0; + */ + const COLOR_UNSPECIFIED = 0; + /** + * Purple color. + * + * Generated from protobuf enum PURPLE = 1; + */ + const PURPLE = 1; + /** + * Brown color. + * + * Generated from protobuf enum BROWN = 2; + */ + const BROWN = 2; + /** + * Blue color. + * + * Generated from protobuf enum BLUE = 3; + */ + const BLUE = 3; + /** + * Green color. + * + * Generated from protobuf enum GREEN = 4; + */ + const GREEN = 4; + /** + * Red color. + * + * Generated from protobuf enum RED = 5; + */ + const RED = 5; + /** + * Cyan color. + * + * Generated from protobuf enum CYAN = 6; + */ + const CYAN = 6; + /** + * Orange color. (Only used for system-generated annotations) + * + * Generated from protobuf enum ORANGE = 7; + */ + const ORANGE = 7; + + private static $valueToName = [ + self::COLOR_UNSPECIFIED => 'COLOR_UNSPECIFIED', + self::PURPLE => 'PURPLE', + self::BROWN => 'BROWN', + self::BLUE => 'BLUE', + self::GREEN => 'GREEN', + self::RED => 'RED', + self::CYAN => 'CYAN', + self::ORANGE => 'ORANGE', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/DateRange.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/DateRange.php new file mode 100644 index 000000000000..28c7a23d6388 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/DateRange.php @@ -0,0 +1,138 @@ +google.analytics.admin.v1alpha.ReportingDataAnnotation.DateRange + */ +class DateRange extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The start date for this range. Must be a valid date with + * year, month, and day set. The date may be in the past, present, or + * future. + * + * Generated from protobuf field .google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $start_date = null; + /** + * Required. The end date for this range. Must be a valid date with + * year, month, and day set. This date must be greater than or equal to + * the start date. + * + * Generated from protobuf field .google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $end_date = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Type\Date $start_date + * Required. The start date for this range. Must be a valid date with + * year, month, and day set. The date may be in the past, present, or + * future. + * @type \Google\Type\Date $end_date + * Required. The end date for this range. Must be a valid date with + * year, month, and day set. This date must be greater than or equal to + * the start date. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Required. The start date for this range. Must be a valid date with + * year, month, and day set. The date may be in the past, present, or + * future. + * + * Generated from protobuf field .google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Type\Date|null + */ + public function getStartDate() + { + return $this->start_date; + } + + public function hasStartDate() + { + return isset($this->start_date); + } + + public function clearStartDate() + { + unset($this->start_date); + } + + /** + * Required. The start date for this range. Must be a valid date with + * year, month, and day set. The date may be in the past, present, or + * future. + * + * Generated from protobuf field .google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Type\Date $var + * @return $this + */ + public function setStartDate($var) + { + GPBUtil::checkMessage($var, \Google\Type\Date::class); + $this->start_date = $var; + + return $this; + } + + /** + * Required. The end date for this range. Must be a valid date with + * year, month, and day set. This date must be greater than or equal to + * the start date. + * + * Generated from protobuf field .google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Type\Date|null + */ + public function getEndDate() + { + return $this->end_date; + } + + public function hasEndDate() + { + return isset($this->end_date); + } + + public function clearEndDate() + { + unset($this->end_date); + } + + /** + * Required. The end date for this range. Must be a valid date with + * year, month, and day set. This date must be greater than or equal to + * the start date. + * + * Generated from protobuf field .google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Type\Date $var + * @return $this + */ + public function setEndDate($var) + { + GPBUtil::checkMessage($var, \Google\Type\Date::class); + $this->end_date = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings.php new file mode 100644 index 000000000000..bce9d3af2b20 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings.php @@ -0,0 +1,113 @@ +google.analytics.admin.v1alpha.ReportingIdentitySettings + */ +class ReportingIdentitySettings extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Identifier. Resource name for this reporting identity settings + * singleton resource. Format: + * properties/{property_id}/reportingIdentitySettings Example: + * "properties/1234/reportingIdentitySettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * The strategy used for identifying user identities in reports. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingIdentitySettings.ReportingIdentity reporting_identity = 2; + */ + protected $reporting_identity = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Identifier. Resource name for this reporting identity settings + * singleton resource. Format: + * properties/{property_id}/reportingIdentitySettings Example: + * "properties/1234/reportingIdentitySettings" + * @type int $reporting_identity + * The strategy used for identifying user identities in reports. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Identifier. Resource name for this reporting identity settings + * singleton resource. Format: + * properties/{property_id}/reportingIdentitySettings Example: + * "properties/1234/reportingIdentitySettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Output only. Identifier. Resource name for this reporting identity settings + * singleton resource. Format: + * properties/{property_id}/reportingIdentitySettings Example: + * "properties/1234/reportingIdentitySettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * The strategy used for identifying user identities in reports. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingIdentitySettings.ReportingIdentity reporting_identity = 2; + * @return int + */ + public function getReportingIdentity() + { + return $this->reporting_identity; + } + + /** + * The strategy used for identifying user identities in reports. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingIdentitySettings.ReportingIdentity reporting_identity = 2; + * @param int $var + * @return $this + */ + public function setReportingIdentity($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\ReportingIdentitySettings\ReportingIdentity::class); + $this->reporting_identity = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings/ReportingIdentity.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings/ReportingIdentity.php new file mode 100644 index 000000000000..7843a32a3371 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings/ReportingIdentity.php @@ -0,0 +1,68 @@ +google.analytics.admin.v1alpha.ReportingIdentitySettings.ReportingIdentity + */ +class ReportingIdentity +{ + /** + * Unspecified blending strategy. + * + * Generated from protobuf enum IDENTITY_BLENDING_STRATEGY_UNSPECIFIED = 0; + */ + const IDENTITY_BLENDING_STRATEGY_UNSPECIFIED = 0; + /** + * Blended reporting identity strategy. + * + * Generated from protobuf enum BLENDED = 1; + */ + const BLENDED = 1; + /** + * Observed reporting identity strategy. + * + * Generated from protobuf enum OBSERVED = 2; + */ + const OBSERVED = 2; + /** + * Device-based reporting identity strategy. + * + * Generated from protobuf enum DEVICE_BASED = 3; + */ + const DEVICE_BASED = 3; + + private static $valueToName = [ + self::IDENTITY_BLENDING_STRATEGY_UNSPECIFIED => 'IDENTITY_BLENDING_STRATEGY_UNSPECIFIED', + self::BLENDED => 'BLENDED', + self::OBSERVED => 'OBSERVED', + self::DEVICE_BASED => 'DEVICE_BASED', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RollupPropertySourceLink.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RollupPropertySourceLink.php new file mode 100644 index 000000000000..f8590a3c5977 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RollupPropertySourceLink.php @@ -0,0 +1,121 @@ +google.analytics.admin.v1alpha.RollupPropertySourceLink + */ +class RollupPropertySourceLink extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name of this RollupPropertySourceLink. + * Format: + * 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' + * Format: 'properties/123/rollupPropertySourceLinks/456' + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Immutable. Resource name of the source property. + * Format: properties/{property_id} + * Example: "properties/789" + * + * Generated from protobuf field string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $source_property = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name of this RollupPropertySourceLink. + * Format: + * 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' + * Format: 'properties/123/rollupPropertySourceLinks/456' + * @type string $source_property + * Immutable. Resource name of the source property. + * Format: properties/{property_id} + * Example: "properties/789" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name of this RollupPropertySourceLink. + * Format: + * 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' + * Format: 'properties/123/rollupPropertySourceLinks/456' + * + * 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 RollupPropertySourceLink. + * Format: + * 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' + * Format: 'properties/123/rollupPropertySourceLinks/456' + * + * 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. Resource name of the source property. + * Format: properties/{property_id} + * Example: "properties/789" + * + * Generated from protobuf field string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getSourceProperty() + { + return $this->source_property; + } + + /** + * Immutable. Resource name of the source property. + * Format: properties/{property_id} + * Example: "properties/789" + * + * Generated from protobuf field string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setSourceProperty($var) + { + GPBUtil::checkString($var, True); + $this->source_property = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportRequest.php new file mode 100644 index 000000000000..4fdaa2bf8aa7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportRequest.php @@ -0,0 +1,679 @@ +google.analytics.admin.v1alpha.RunAccessReportRequest + */ +class RunAccessReportRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The Data Access Report supports requesting at the property level or account + * level. If requested at the account level, Data Access Reports include all + * access for all properties under that account. + * To request at the property level, entity should be for example + * 'properties/123' if "123" is your Google Analytics property ID. To request + * at the account level, entity should be for example 'accounts/1234' if + * "1234" is your Google Analytics Account ID. + * + * Generated from protobuf field string entity = 1; + */ + protected $entity = ''; + /** + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2; + */ + private $dimensions; + /** + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3; + */ + private $metrics; + /** + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4; + */ + private $date_ranges; + /** + * Dimension filters let you restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; + */ + protected $dimension_filter = null; + /** + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; + */ + protected $metric_filter = null; + /** + * The row count of the start row. The first row is counted as row 0. If + * offset is unspecified, it is treated as 0. If offset is zero, then this + * method will return the first page of results with `limit` entries. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int64 offset = 7; + */ + protected $offset = 0; + /** + * The number of rows to return. If unspecified, 10,000 rows are returned. The + * API returns a maximum of 100,000 rows per request, no matter how many you + * ask for. `limit` must be positive. + * The API may return fewer rows than the requested `limit`, if there aren't + * as many remaining rows as the `limit`. For instance, there are fewer than + * 300 possible values for the dimension `country`, so when reporting on only + * `country`, you can't get more than 300 rows, even if you set `limit` to a + * higher value. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int64 limit = 8; + */ + protected $limit = 0; + /** + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + * + * Generated from protobuf field string time_zone = 9; + */ + protected $time_zone = ''; + /** + * Specifies how rows are ordered in the response. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; + */ + private $order_bys; + /** + * Toggles whether to return the current state of this Analytics Property's + * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level + * requests, this field must be false. + * + * Generated from protobuf field bool return_entity_quota = 11; + */ + protected $return_entity_quota = false; + /** + * Optional. Determines whether to include users who have never made an API + * call in the response. If true, all users with access to the specified + * property or account are included in the response, regardless of whether + * they have made an API call or not. If false, only the users who have made + * an API call will be included. + * + * Generated from protobuf field bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $include_all_users = false; + /** + * Optional. Decides whether to return the users within user groups. This + * field works only when include_all_users is set to true. If true, it will + * return all users with access to the specified property or account. + * If false, only the users with direct access will be returned. + * + * Generated from protobuf field bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $expand_groups = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $entity + * The Data Access Report supports requesting at the property level or account + * level. If requested at the account level, Data Access Reports include all + * access for all properties under that account. + * To request at the property level, entity should be for example + * 'properties/123' if "123" is your Google Analytics property ID. To request + * at the account level, entity should be for example 'accounts/1234' if + * "1234" is your Google Analytics Account ID. + * @type \Google\Analytics\Admin\V1alpha\AccessDimension[] $dimensions + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + * @type \Google\Analytics\Admin\V1alpha\AccessMetric[] $metrics + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + * @type \Google\Analytics\Admin\V1alpha\AccessDateRange[] $date_ranges + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + * @type \Google\Analytics\Admin\V1alpha\AccessFilterExpression $dimension_filter + * Dimension filters let you restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + * @type \Google\Analytics\Admin\V1alpha\AccessFilterExpression $metric_filter + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + * @type int|string $offset + * The row count of the start row. The first row is counted as row 0. If + * offset is unspecified, it is treated as 0. If offset is zero, then this + * method will return the first page of results with `limit` entries. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type int|string $limit + * The number of rows to return. If unspecified, 10,000 rows are returned. The + * API returns a maximum of 100,000 rows per request, no matter how many you + * ask for. `limit` must be positive. + * The API may return fewer rows than the requested `limit`, if there aren't + * as many remaining rows as the `limit`. For instance, there are fewer than + * 300 possible values for the dimension `country`, so when reporting on only + * `country`, you can't get more than 300 rows, even if you set `limit` to a + * higher value. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type string $time_zone + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + * @type \Google\Analytics\Admin\V1alpha\AccessOrderBy[] $order_bys + * Specifies how rows are ordered in the response. + * @type bool $return_entity_quota + * Toggles whether to return the current state of this Analytics Property's + * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level + * requests, this field must be false. + * @type bool $include_all_users + * Optional. Determines whether to include users who have never made an API + * call in the response. If true, all users with access to the specified + * property or account are included in the response, regardless of whether + * they have made an API call or not. If false, only the users who have made + * an API call will be included. + * @type bool $expand_groups + * Optional. Decides whether to return the users within user groups. This + * field works only when include_all_users is set to true. If true, it will + * return all users with access to the specified property or account. + * If false, only the users with direct access will be returned. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The Data Access Report supports requesting at the property level or account + * level. If requested at the account level, Data Access Reports include all + * access for all properties under that account. + * To request at the property level, entity should be for example + * 'properties/123' if "123" is your Google Analytics property ID. To request + * at the account level, entity should be for example 'accounts/1234' if + * "1234" is your Google Analytics Account ID. + * + * Generated from protobuf field string entity = 1; + * @return string + */ + public function getEntity() + { + return $this->entity; + } + + /** + * The Data Access Report supports requesting at the property level or account + * level. If requested at the account level, Data Access Reports include all + * access for all properties under that account. + * To request at the property level, entity should be for example + * 'properties/123' if "123" is your Google Analytics property ID. To request + * at the account level, entity should be for example 'accounts/1234' if + * "1234" is your Google Analytics Account ID. + * + * Generated from protobuf field string entity = 1; + * @param string $var + * @return $this + */ + public function setEntity($var) + { + GPBUtil::checkString($var, True); + $this->entity = $var; + + return $this; + } + + /** + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessDimension> + */ + public function getDimensions() + { + return $this->dimensions; + } + + /** + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2; + * @param \Google\Analytics\Admin\V1alpha\AccessDimension[] $var + * @return $this + */ + public function setDimensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessDimension::class); + $this->dimensions = $arr; + + return $this; + } + + /** + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessMetric> + */ + public function getMetrics() + { + return $this->metrics; + } + + /** + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3; + * @param \Google\Analytics\Admin\V1alpha\AccessMetric[] $var + * @return $this + */ + public function setMetrics($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessMetric::class); + $this->metrics = $arr; + + return $this; + } + + /** + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessDateRange> + */ + public function getDateRanges() + { + return $this->date_ranges; + } + + /** + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4; + * @param \Google\Analytics\Admin\V1alpha\AccessDateRange[] $var + * @return $this + */ + public function setDateRanges($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessDateRange::class); + $this->date_ranges = $arr; + + return $this; + } + + /** + * Dimension filters let you restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; + * @return \Google\Analytics\Admin\V1alpha\AccessFilterExpression|null + */ + public function getDimensionFilter() + { + return $this->dimension_filter; + } + + public function hasDimensionFilter() + { + return isset($this->dimension_filter); + } + + public function clearDimensionFilter() + { + unset($this->dimension_filter); + } + + /** + * Dimension filters let you restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; + * @param \Google\Analytics\Admin\V1alpha\AccessFilterExpression $var + * @return $this + */ + public function setDimensionFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessFilterExpression::class); + $this->dimension_filter = $var; + + return $this; + } + + /** + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; + * @return \Google\Analytics\Admin\V1alpha\AccessFilterExpression|null + */ + public function getMetricFilter() + { + return $this->metric_filter; + } + + public function hasMetricFilter() + { + return isset($this->metric_filter); + } + + public function clearMetricFilter() + { + unset($this->metric_filter); + } + + /** + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; + * @param \Google\Analytics\Admin\V1alpha\AccessFilterExpression $var + * @return $this + */ + public function setMetricFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessFilterExpression::class); + $this->metric_filter = $var; + + return $this; + } + + /** + * The row count of the start row. The first row is counted as row 0. If + * offset is unspecified, it is treated as 0. If offset is zero, then this + * method will return the first page of results with `limit` entries. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int64 offset = 7; + * @return int|string + */ + public function getOffset() + { + return $this->offset; + } + + /** + * The row count of the start row. The first row is counted as row 0. If + * offset is unspecified, it is treated as 0. If offset is zero, then this + * method will return the first page of results with `limit` entries. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int64 offset = 7; + * @param int|string $var + * @return $this + */ + public function setOffset($var) + { + GPBUtil::checkInt64($var); + $this->offset = $var; + + return $this; + } + + /** + * The number of rows to return. If unspecified, 10,000 rows are returned. The + * API returns a maximum of 100,000 rows per request, no matter how many you + * ask for. `limit` must be positive. + * The API may return fewer rows than the requested `limit`, if there aren't + * as many remaining rows as the `limit`. For instance, there are fewer than + * 300 possible values for the dimension `country`, so when reporting on only + * `country`, you can't get more than 300 rows, even if you set `limit` to a + * higher value. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int64 limit = 8; + * @return int|string + */ + public function getLimit() + { + return $this->limit; + } + + /** + * The number of rows to return. If unspecified, 10,000 rows are returned. The + * API returns a maximum of 100,000 rows per request, no matter how many you + * ask for. `limit` must be positive. + * The API may return fewer rows than the requested `limit`, if there aren't + * as many remaining rows as the `limit`. For instance, there are fewer than + * 300 possible values for the dimension `country`, so when reporting on only + * `country`, you can't get more than 300 rows, even if you set `limit` to a + * higher value. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int64 limit = 8; + * @param int|string $var + * @return $this + */ + public function setLimit($var) + { + GPBUtil::checkInt64($var); + $this->limit = $var; + + return $this; + } + + /** + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + * + * Generated from protobuf field string time_zone = 9; + * @return string + */ + public function getTimeZone() + { + return $this->time_zone; + } + + /** + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + * + * Generated from protobuf field string time_zone = 9; + * @param string $var + * @return $this + */ + public function setTimeZone($var) + { + GPBUtil::checkString($var, True); + $this->time_zone = $var; + + return $this; + } + + /** + * Specifies how rows are ordered in the response. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessOrderBy> + */ + public function getOrderBys() + { + return $this->order_bys; + } + + /** + * Specifies how rows are ordered in the response. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; + * @param \Google\Analytics\Admin\V1alpha\AccessOrderBy[] $var + * @return $this + */ + public function setOrderBys($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessOrderBy::class); + $this->order_bys = $arr; + + return $this; + } + + /** + * Toggles whether to return the current state of this Analytics Property's + * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level + * requests, this field must be false. + * + * Generated from protobuf field bool return_entity_quota = 11; + * @return bool + */ + public function getReturnEntityQuota() + { + return $this->return_entity_quota; + } + + /** + * Toggles whether to return the current state of this Analytics Property's + * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level + * requests, this field must be false. + * + * Generated from protobuf field bool return_entity_quota = 11; + * @param bool $var + * @return $this + */ + public function setReturnEntityQuota($var) + { + GPBUtil::checkBool($var); + $this->return_entity_quota = $var; + + return $this; + } + + /** + * Optional. Determines whether to include users who have never made an API + * call in the response. If true, all users with access to the specified + * property or account are included in the response, regardless of whether + * they have made an API call or not. If false, only the users who have made + * an API call will be included. + * + * Generated from protobuf field bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getIncludeAllUsers() + { + return $this->include_all_users; + } + + /** + * Optional. Determines whether to include users who have never made an API + * call in the response. If true, all users with access to the specified + * property or account are included in the response, regardless of whether + * they have made an API call or not. If false, only the users who have made + * an API call will be included. + * + * Generated from protobuf field bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setIncludeAllUsers($var) + { + GPBUtil::checkBool($var); + $this->include_all_users = $var; + + return $this; + } + + /** + * Optional. Decides whether to return the users within user groups. This + * field works only when include_all_users is set to true. If true, it will + * return all users with access to the specified property or account. + * If false, only the users with direct access will be returned. + * + * Generated from protobuf field bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getExpandGroups() + { + return $this->expand_groups; + } + + /** + * Optional. Decides whether to return the users within user groups. This + * field works only when include_all_users is set to true. If true, it will + * return all users with access to the specified property or account. + * If false, only the users with direct access will be returned. + * + * Generated from protobuf field bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setExpandGroups($var) + { + GPBUtil::checkBool($var); + $this->expand_groups = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportResponse.php new file mode 100644 index 000000000000..8a8e8c134676 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportResponse.php @@ -0,0 +1,257 @@ +google.analytics.admin.v1alpha.RunAccessReportResponse + */ +class RunAccessReportResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The header for a column in the report that corresponds to a specific + * dimension. The number of DimensionHeaders and ordering of DimensionHeaders + * matches the dimensions present in rows. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + */ + private $dimension_headers; + /** + * The header for a column in the report that corresponds to a specific + * metric. The number of MetricHeaders and ordering of MetricHeaders matches + * the metrics present in rows. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2; + */ + private $metric_headers; + /** + * Rows of dimension value combinations and metric values in the report. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; + */ + private $rows; + /** + * The total number of rows in the query result. `rowCount` is independent of + * the number of rows returned in the response, the `limit` request + * parameter, and the `offset` request parameter. For example if a query + * returns 175 rows and includes `limit` of 50 in the API request, the + * response will contain `rowCount` of 175 but only 50 rows. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int32 row_count = 4; + */ + protected $row_count = 0; + /** + * The quota state for this Analytics property including this request. This + * field doesn't work with account-level requests. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuota quota = 5; + */ + protected $quota = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AccessDimensionHeader[] $dimension_headers + * The header for a column in the report that corresponds to a specific + * dimension. The number of DimensionHeaders and ordering of DimensionHeaders + * matches the dimensions present in rows. + * @type \Google\Analytics\Admin\V1alpha\AccessMetricHeader[] $metric_headers + * The header for a column in the report that corresponds to a specific + * metric. The number of MetricHeaders and ordering of MetricHeaders matches + * the metrics present in rows. + * @type \Google\Analytics\Admin\V1alpha\AccessRow[] $rows + * Rows of dimension value combinations and metric values in the report. + * @type int $row_count + * The total number of rows in the query result. `rowCount` is independent of + * the number of rows returned in the response, the `limit` request + * parameter, and the `offset` request parameter. For example if a query + * returns 175 rows and includes `limit` of 50 in the API request, the + * response will contain `rowCount` of 175 but only 50 rows. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type \Google\Analytics\Admin\V1alpha\AccessQuota $quota + * The quota state for this Analytics property including this request. This + * field doesn't work with account-level requests. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The header for a column in the report that corresponds to a specific + * dimension. The number of DimensionHeaders and ordering of DimensionHeaders + * matches the dimensions present in rows. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessDimensionHeader> + */ + public function getDimensionHeaders() + { + return $this->dimension_headers; + } + + /** + * The header for a column in the report that corresponds to a specific + * dimension. The number of DimensionHeaders and ordering of DimensionHeaders + * matches the dimensions present in rows. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; + * @param \Google\Analytics\Admin\V1alpha\AccessDimensionHeader[] $var + * @return $this + */ + public function setDimensionHeaders($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessDimensionHeader::class); + $this->dimension_headers = $arr; + + return $this; + } + + /** + * The header for a column in the report that corresponds to a specific + * metric. The number of MetricHeaders and ordering of MetricHeaders matches + * the metrics present in rows. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessMetricHeader> + */ + public function getMetricHeaders() + { + return $this->metric_headers; + } + + /** + * The header for a column in the report that corresponds to a specific + * metric. The number of MetricHeaders and ordering of MetricHeaders matches + * the metrics present in rows. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2; + * @param \Google\Analytics\Admin\V1alpha\AccessMetricHeader[] $var + * @return $this + */ + public function setMetricHeaders($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessMetricHeader::class); + $this->metric_headers = $arr; + + return $this; + } + + /** + * Rows of dimension value combinations and metric values in the report. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessRow> + */ + public function getRows() + { + return $this->rows; + } + + /** + * Rows of dimension value combinations and metric values in the report. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; + * @param \Google\Analytics\Admin\V1alpha\AccessRow[] $var + * @return $this + */ + public function setRows($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessRow::class); + $this->rows = $arr; + + return $this; + } + + /** + * The total number of rows in the query result. `rowCount` is independent of + * the number of rows returned in the response, the `limit` request + * parameter, and the `offset` request parameter. For example if a query + * returns 175 rows and includes `limit` of 50 in the API request, the + * response will contain `rowCount` of 175 but only 50 rows. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int32 row_count = 4; + * @return int + */ + public function getRowCount() + { + return $this->row_count; + } + + /** + * The total number of rows in the query result. `rowCount` is independent of + * the number of rows returned in the response, the `limit` request + * parameter, and the `offset` request parameter. For example if a query + * returns 175 rows and includes `limit` of 50 in the API request, the + * response will contain `rowCount` of 175 but only 50 rows. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int32 row_count = 4; + * @param int $var + * @return $this + */ + public function setRowCount($var) + { + GPBUtil::checkInt32($var); + $this->row_count = $var; + + return $this; + } + + /** + * The quota state for this Analytics property including this request. This + * field doesn't work with account-level requests. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuota quota = 5; + * @return \Google\Analytics\Admin\V1alpha\AccessQuota|null + */ + public function getQuota() + { + return $this->quota; + } + + public function hasQuota() + { + return isset($this->quota); + } + + public function clearQuota() + { + unset($this->quota); + } + + /** + * The quota state for this Analytics property including this request. This + * field doesn't work with account-level requests. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuota quota = 5; + * @param \Google\Analytics\Admin\V1alpha\AccessQuota $var + * @return $this + */ + public function setQuota($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessQuota::class); + $this->quota = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SKAdNetworkConversionValueSchema.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SKAdNetworkConversionValueSchema.php new file mode 100644 index 000000000000..6aca77fe4073 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SKAdNetworkConversionValueSchema.php @@ -0,0 +1,309 @@ +google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + */ +class SKAdNetworkConversionValueSchema extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name of the schema. This will be child of ONLY an iOS + * stream, and there can be at most one such child under an iOS stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Required. The conversion value settings for the first postback window. + * These differ from values for postback window two and three in that they + * contain a "Fine" grained conversion value (a numeric value). + * Conversion values for this postback window must be set. The other windows + * are optional and may inherit this window's settings if unset or disabled. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $postback_window_one = null; + /** + * The conversion value settings for the second postback window. + * This field should only be configured if there is a need to define different + * conversion values for this postback window. + * If enable_postback_window_settings is set to false for this postback + * window, the values from postback_window_one will be used. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3; + */ + protected $postback_window_two = null; + /** + * The conversion value settings for the third postback window. + * This field should only be set if the user chose to define different + * conversion values for this postback window. It is allowed to configure + * window 3 without setting window 2. In case window 1 & 2 settings are set + * and enable_postback_window_settings for this postback window is set to + * false, the schema will inherit settings from postback_window_two. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4; + */ + protected $postback_window_three = null; + /** + * If enabled, the GA SDK will set conversion values using this schema + * definition, and schema will be exported to any Google Ads accounts linked + * to this property. If disabled, the GA SDK will not automatically set + * conversion values, and also the schema will not be exported to Ads. + * + * Generated from protobuf field bool apply_conversion_values = 5; + */ + protected $apply_conversion_values = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Resource name of the schema. This will be child of ONLY an iOS + * stream, and there can be at most one such child under an iOS stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema + * @type \Google\Analytics\Admin\V1alpha\PostbackWindow $postback_window_one + * Required. The conversion value settings for the first postback window. + * These differ from values for postback window two and three in that they + * contain a "Fine" grained conversion value (a numeric value). + * Conversion values for this postback window must be set. The other windows + * are optional and may inherit this window's settings if unset or disabled. + * @type \Google\Analytics\Admin\V1alpha\PostbackWindow $postback_window_two + * The conversion value settings for the second postback window. + * This field should only be configured if there is a need to define different + * conversion values for this postback window. + * If enable_postback_window_settings is set to false for this postback + * window, the values from postback_window_one will be used. + * @type \Google\Analytics\Admin\V1alpha\PostbackWindow $postback_window_three + * The conversion value settings for the third postback window. + * This field should only be set if the user chose to define different + * conversion values for this postback window. It is allowed to configure + * window 3 without setting window 2. In case window 1 & 2 settings are set + * and enable_postback_window_settings for this postback window is set to + * false, the schema will inherit settings from postback_window_two. + * @type bool $apply_conversion_values + * If enabled, the GA SDK will set conversion values using this schema + * definition, and schema will be exported to any Google Ads accounts linked + * to this property. If disabled, the GA SDK will not automatically set + * conversion values, and also the schema will not be exported to Ads. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Resource name of the schema. This will be child of ONLY an iOS + * stream, and there can be at most one such child under an iOS stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name of the schema. This will be child of ONLY an iOS + * stream, and there can be at most one such child under an iOS stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The conversion value settings for the first postback window. + * These differ from values for postback window two and three in that they + * contain a "Fine" grained conversion value (a numeric value). + * Conversion values for this postback window must be set. The other windows + * are optional and may inherit this window's settings if unset or disabled. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\PostbackWindow|null + */ + public function getPostbackWindowOne() + { + return $this->postback_window_one; + } + + public function hasPostbackWindowOne() + { + return isset($this->postback_window_one); + } + + public function clearPostbackWindowOne() + { + unset($this->postback_window_one); + } + + /** + * Required. The conversion value settings for the first postback window. + * These differ from values for postback window two and three in that they + * contain a "Fine" grained conversion value (a numeric value). + * Conversion values for this postback window must be set. The other windows + * are optional and may inherit this window's settings if unset or disabled. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\PostbackWindow $var + * @return $this + */ + public function setPostbackWindowOne($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\PostbackWindow::class); + $this->postback_window_one = $var; + + return $this; + } + + /** + * The conversion value settings for the second postback window. + * This field should only be configured if there is a need to define different + * conversion values for this postback window. + * If enable_postback_window_settings is set to false for this postback + * window, the values from postback_window_one will be used. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3; + * @return \Google\Analytics\Admin\V1alpha\PostbackWindow|null + */ + public function getPostbackWindowTwo() + { + return $this->postback_window_two; + } + + public function hasPostbackWindowTwo() + { + return isset($this->postback_window_two); + } + + public function clearPostbackWindowTwo() + { + unset($this->postback_window_two); + } + + /** + * The conversion value settings for the second postback window. + * This field should only be configured if there is a need to define different + * conversion values for this postback window. + * If enable_postback_window_settings is set to false for this postback + * window, the values from postback_window_one will be used. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3; + * @param \Google\Analytics\Admin\V1alpha\PostbackWindow $var + * @return $this + */ + public function setPostbackWindowTwo($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\PostbackWindow::class); + $this->postback_window_two = $var; + + return $this; + } + + /** + * The conversion value settings for the third postback window. + * This field should only be set if the user chose to define different + * conversion values for this postback window. It is allowed to configure + * window 3 without setting window 2. In case window 1 & 2 settings are set + * and enable_postback_window_settings for this postback window is set to + * false, the schema will inherit settings from postback_window_two. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4; + * @return \Google\Analytics\Admin\V1alpha\PostbackWindow|null + */ + public function getPostbackWindowThree() + { + return $this->postback_window_three; + } + + public function hasPostbackWindowThree() + { + return isset($this->postback_window_three); + } + + public function clearPostbackWindowThree() + { + unset($this->postback_window_three); + } + + /** + * The conversion value settings for the third postback window. + * This field should only be set if the user chose to define different + * conversion values for this postback window. It is allowed to configure + * window 3 without setting window 2. In case window 1 & 2 settings are set + * and enable_postback_window_settings for this postback window is set to + * false, the schema will inherit settings from postback_window_two. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4; + * @param \Google\Analytics\Admin\V1alpha\PostbackWindow $var + * @return $this + */ + public function setPostbackWindowThree($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\PostbackWindow::class); + $this->postback_window_three = $var; + + return $this; + } + + /** + * If enabled, the GA SDK will set conversion values using this schema + * definition, and schema will be exported to any Google Ads accounts linked + * to this property. If disabled, the GA SDK will not automatically set + * conversion values, and also the schema will not be exported to Ads. + * + * Generated from protobuf field bool apply_conversion_values = 5; + * @return bool + */ + public function getApplyConversionValues() + { + return $this->apply_conversion_values; + } + + /** + * If enabled, the GA SDK will set conversion values using this schema + * definition, and schema will be exported to any Google Ads accounts linked + * to this property. If disabled, the GA SDK will not automatically set + * conversion values, and also the schema will not be exported to Ads. + * + * Generated from protobuf field bool apply_conversion_values = 5; + * @param bool $var + * @return $this + */ + public function setApplyConversionValues($var) + { + GPBUtil::checkBool($var); + $this->apply_conversion_values = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchAds360Link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchAds360Link.php new file mode 100644 index 000000000000..37d8b7b92fc7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchAds360Link.php @@ -0,0 +1,489 @@ +google.analytics.admin.v1alpha.SearchAds360Link + */ +class SearchAds360Link extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. 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) = IDENTIFIER]; + */ + protected $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]; + */ + protected $advertiser_id = ''; + /** + * Immutable. Enables the import of campaign data from Search Ads 360 into the + * Google Analytics 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]; + */ + protected $campaign_data_sharing_enabled = null; + /** + * Immutable. Enables the import of cost data from Search Ads 360 to the + * Google Analytics 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]; + */ + protected $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]; + */ + protected $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; + */ + protected $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; + */ + protected $site_stats_sharing_enabled = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. 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 + * Google Analytics 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 + * Google Analytics 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); + } + + /** + * Identifier. 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) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. 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) = IDENTIFIER]; + * @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 + * Google Analytics 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 + * Google Analytics 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 getCampaignDataSharingEnabledUnwrapped() + { + return $this->readWrapperValue("campaign_data_sharing_enabled"); + } + + /** + * Immutable. Enables the import of campaign data from Search Ads 360 into the + * Google Analytics 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 + * Google Analytics 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 setCampaignDataSharingEnabledUnwrapped($var) + { + $this->writeWrapperValue("campaign_data_sharing_enabled", $var); + return $this;} + + /** + * Immutable. Enables the import of cost data from Search Ads 360 to the + * Google Analytics 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 + * Google Analytics 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 getCostDataSharingEnabledUnwrapped() + { + return $this->readWrapperValue("cost_data_sharing_enabled"); + } + + /** + * Immutable. Enables the import of cost data from Search Ads 360 to the + * Google Analytics 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 + * Google Analytics 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 setCostDataSharingEnabledUnwrapped($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 getAdsPersonalizationEnabledUnwrapped() + { + 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 setAdsPersonalizationEnabledUnwrapped($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 getSiteStatsSharingEnabledUnwrapped() + { + 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 setSiteStatsSharingEnabledUnwrapped($var) + { + $this->writeWrapperValue("site_stats_sharing_enabled", $var); + return $this;} + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsRequest.php new file mode 100644 index 000000000000..975a39949792 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsRequest.php @@ -0,0 +1,435 @@ +google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest + */ +class SearchChangeHistoryEventsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The account resource for which to return change history + * resources. Format: accounts/{account} + * Example: `accounts/100` + * + * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $account = ''; + /** + * Optional. Resource name for a child property. If set, only return changes + * made to this property or its child resources. + * Format: properties/{propertyId} + * Example: `properties/100` + * + * Generated from protobuf field string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + protected $property = ''; + /** + * 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. + * + * 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. + * + * Generated from protobuf field repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $actor_email; + /** + * Optional. If set, only return changes made after this time (inclusive). + * + * Generated from protobuf field .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $earliest_change_time = null; + /** + * Optional. If set, only return changes made before this time (inclusive). + * + * Generated from protobuf field .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $latest_change_time = null; + /** + * Optional. The maximum number of ChangeHistoryEvent items to return. + * If unspecified, at most 50 items will be returned. The maximum value is 200 + * (higher values will be coerced to the maximum). + * Note that the service may return a page with fewer items than this value + * specifies (potentially even zero), and that there still may be additional + * pages. If you want a particular number of items, you'll need to continue + * requesting additional pages using `page_token` until you get the needed + * number. + * + * Generated from protobuf field int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $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. + * + * Generated from protobuf field string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $account + * Required. The account resource for which to return change history + * resources. Format: accounts/{account} + * Example: `accounts/100` + * @type string $property + * Optional. Resource name for a child property. If set, only return changes + * made to this property or its child resources. + * Format: properties/{propertyId} + * Example: `properties/100` + * @type int[] $resource_type + * Optional. If set, only return changes if they are for a resource that + * matches at least one of these types. + * @type int[] $action + * Optional. If set, only return changes that match one or more of these types + * of actions. + * @type string[] $actor_email + * 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 + * Optional. If set, only return changes made before this time (inclusive). + * @type int $page_size + * Optional. The maximum number of ChangeHistoryEvent items to return. + * If unspecified, at most 50 items will be returned. The maximum value is 200 + * (higher values will be coerced to the maximum). + * Note that the service may return a page with fewer items than this value + * specifies (potentially even zero), and that there still may be additional + * pages. If you want a particular number of items, you'll need to continue + * requesting additional pages using `page_token` until you get the needed + * number. + * @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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The account resource for which to return change history + * resources. Format: accounts/{account} + * Example: `accounts/100` + * + * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getAccount() + { + return $this->account; + } + + /** + * Required. The account resource for which to return change history + * resources. Format: accounts/{account} + * Example: `accounts/100` + * + * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setAccount($var) + { + GPBUtil::checkString($var, True); + $this->account = $var; + + return $this; + } + + /** + * Optional. Resource name for a child property. If set, only return changes + * made to this property or its child resources. + * Format: properties/{propertyId} + * Example: `properties/100` + * + * Generated from protobuf field string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return string + */ + public function getProperty() + { + return $this->property; + } + + /** + * Optional. Resource name for a child property. If set, only return changes + * made to this property or its child resources. + * Format: properties/{propertyId} + * Example: `properties/100` + * + * Generated from protobuf field string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkString($var, True); + $this->property = $var; + + return $this; + } + + /** + * 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 RepeatedField + */ + public function getResourceType() + { + return $this->resource_type; + } + + /** + * 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 int[] $var + * @return $this + */ + public function setResourceType($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Analytics\Admin\V1alpha\ChangeHistoryResourceType::class); + $this->resource_type = $arr; + + return $this; + } + + /** + * 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 RepeatedField + */ + public function getAction() + { + return $this->action; + } + + /** + * 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 int[] $var + * @return $this + */ + public function setAction($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Analytics\Admin\V1alpha\ActionType::class); + $this->action = $arr; + + return $this; + } + + /** + * 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 RepeatedField + */ + public function getActorEmail() + { + return $this->actor_email; + } + + /** + * 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 string[] $var + * @return $this + */ + public function setActorEmail($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->actor_email = $arr; + + return $this; + } + + /** + * Optional. If set, only return changes made after this time (inclusive). + * + * Generated from protobuf field .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getEarliestChangeTime() + { + return $this->earliest_change_time; + } + + public function hasEarliestChangeTime() + { + return isset($this->earliest_change_time); + } + + public function clearEarliestChangeTime() + { + unset($this->earliest_change_time); + } + + /** + * Optional. If set, only return changes made after this time (inclusive). + * + * Generated from protobuf field .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setEarliestChangeTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->earliest_change_time = $var; + + return $this; + } + + /** + * Optional. If set, only return changes made before this time (inclusive). + * + * Generated from protobuf field .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getLatestChangeTime() + { + return $this->latest_change_time; + } + + public function hasLatestChangeTime() + { + return isset($this->latest_change_time); + } + + public function clearLatestChangeTime() + { + unset($this->latest_change_time); + } + + /** + * Optional. If set, only return changes made before this time (inclusive). + * + * Generated from protobuf field .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setLatestChangeTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->latest_change_time = $var; + + return $this; + } + + /** + * Optional. The maximum number of ChangeHistoryEvent items to return. + * If unspecified, at most 50 items will be returned. The maximum value is 200 + * (higher values will be coerced to the maximum). + * Note that the service may return a page with fewer items than this value + * specifies (potentially even zero), and that there still may be additional + * pages. If you want a particular number of items, you'll need to continue + * requesting additional pages using `page_token` until you get the needed + * number. + * + * Generated from protobuf field int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of ChangeHistoryEvent items to return. + * If unspecified, at most 50 items will be returned. The maximum value is 200 + * (higher values will be coerced to the maximum). + * Note that the service may return a page with fewer items than this value + * specifies (potentially even zero), and that there still may be additional + * pages. If you want a particular number of items, you'll need to continue + * requesting additional pages using `page_token` until you get the needed + * number. + * + * Generated from protobuf field int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * 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 + */ + public function getPageToken() + { + return $this->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 + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsResponse.php new file mode 100644 index 000000000000..25bb0163045e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse + */ +class SearchChangeHistoryEventsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Results that were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + */ + private $change_history_events; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\ChangeHistoryEvent[] $change_history_events + * Results that were accessible to the caller. + * @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); + } + + /** + * Results that were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ChangeHistoryEvent> + */ + public function getChangeHistoryEvents() + { + return $this->change_history_events; + } + + /** + * Results that were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; + * @param \Google\Analytics\Admin\V1alpha\ChangeHistoryEvent[] $var + * @return $this + */ + public function setChangeHistoryEvents($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ChangeHistoryEvent::class); + $this->change_history_events = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ServiceLevel.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ServiceLevel.php new file mode 100644 index 000000000000..d7e00a48d589 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ServiceLevel.php @@ -0,0 +1,61 @@ +google.analytics.admin.v1alpha.ServiceLevel + */ +class ServiceLevel +{ + /** + * Service level not specified or invalid. + * + * Generated from protobuf enum SERVICE_LEVEL_UNSPECIFIED = 0; + */ + const SERVICE_LEVEL_UNSPECIFIED = 0; + /** + * The standard version of Google Analytics. + * + * Generated from protobuf enum GOOGLE_ANALYTICS_STANDARD = 1; + */ + const GOOGLE_ANALYTICS_STANDARD = 1; + /** + * The paid, premium version of Google Analytics. + * + * Generated from protobuf enum GOOGLE_ANALYTICS_360 = 2; + */ + const GOOGLE_ANALYTICS_360 = 2; + + private static $valueToName = [ + self::SERVICE_LEVEL_UNSPECIFIED => 'SERVICE_LEVEL_UNSPECIFIED', + self::GOOGLE_ANALYTICS_STANDARD => 'GOOGLE_ANALYTICS_STANDARD', + self::GOOGLE_ANALYTICS_360 => 'GOOGLE_ANALYTICS_360', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionRequest.php new file mode 100644 index 000000000000..65b1fdc15bde --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionRequest.php @@ -0,0 +1,258 @@ +google.analytics.admin.v1alpha.SubmitUserDeletionRequest + */ +class SubmitUserDeletionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the property to submit user deletion for. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + protected $user; + + /** + * @param string $name Required. The name of the property to submit user deletion for. Please see + * {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1alpha\SubmitUserDeletionRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $user_id + * Google Analytics [user + * ID](https://firebase.google.com/docs/analytics/userid). + * @type string $client_id + * Google Analytics [client + * ID](https://support.google.com/analytics/answer/11593727). + * @type string $app_instance_id + * Firebase [application instance + * ID](https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId). + * @type string $user_provided_data + * [User-provided + * data](https://support.google.com/analytics/answer/14077171). May contain + * either one email address or one phone number. + * Email addresses should be normalized as such: + * * lowercase + * * remove periods before \@ for gmail.com/googlemail.com addresses + * * remove all spaces + * Phone numbers should be normalized as such: + * * remove all non digit characters + * * add + prefix + * @type string $name + * Required. The name of the property to submit user deletion for. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Google Analytics [user + * ID](https://firebase.google.com/docs/analytics/userid). + * + * Generated from protobuf field string user_id = 2; + * @return string + */ + public function getUserId() + { + return $this->readOneof(2); + } + + public function hasUserId() + { + return $this->hasOneof(2); + } + + /** + * Google Analytics [user + * ID](https://firebase.google.com/docs/analytics/userid). + * + * Generated from protobuf field string user_id = 2; + * @param string $var + * @return $this + */ + public function setUserId($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * Google Analytics [client + * ID](https://support.google.com/analytics/answer/11593727). + * + * Generated from protobuf field string client_id = 3; + * @return string + */ + public function getClientId() + { + return $this->readOneof(3); + } + + public function hasClientId() + { + return $this->hasOneof(3); + } + + /** + * Google Analytics [client + * ID](https://support.google.com/analytics/answer/11593727). + * + * Generated from protobuf field string client_id = 3; + * @param string $var + * @return $this + */ + public function setClientId($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * Firebase [application instance + * ID](https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId). + * + * Generated from protobuf field string app_instance_id = 4; + * @return string + */ + public function getAppInstanceId() + { + return $this->readOneof(4); + } + + public function hasAppInstanceId() + { + return $this->hasOneof(4); + } + + /** + * Firebase [application instance + * ID](https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId). + * + * Generated from protobuf field string app_instance_id = 4; + * @param string $var + * @return $this + */ + public function setAppInstanceId($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * [User-provided + * data](https://support.google.com/analytics/answer/14077171). May contain + * either one email address or one phone number. + * Email addresses should be normalized as such: + * * lowercase + * * remove periods before \@ for gmail.com/googlemail.com addresses + * * remove all spaces + * Phone numbers should be normalized as such: + * * remove all non digit characters + * * add + prefix + * + * Generated from protobuf field string user_provided_data = 5; + * @return string + */ + public function getUserProvidedData() + { + return $this->readOneof(5); + } + + public function hasUserProvidedData() + { + return $this->hasOneof(5); + } + + /** + * [User-provided + * data](https://support.google.com/analytics/answer/14077171). May contain + * either one email address or one phone number. + * Email addresses should be normalized as such: + * * lowercase + * * remove periods before \@ for gmail.com/googlemail.com addresses + * * remove all spaces + * Phone numbers should be normalized as such: + * * remove all non digit characters + * * add + prefix + * + * Generated from protobuf field string user_provided_data = 5; + * @param string $var + * @return $this + */ + public function setUserProvidedData($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(5, $var); + + return $this; + } + + /** + * Required. The name of the property to submit user deletion for. + * + * 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 property to submit user deletion for. + * + * 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; + } + + /** + * @return string + */ + public function getUser() + { + return $this->whichOneof("user"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionResponse.php new file mode 100644 index 000000000000..febfce623b39 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionResponse.php @@ -0,0 +1,85 @@ +google.analytics.admin.v1alpha.SubmitUserDeletionResponse + */ +class SubmitUserDeletionResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Marks the moment for which all visitor data before this point should be + * deleted. This is set to the time at which the deletion request was + * received. + * + * Generated from protobuf field .google.protobuf.Timestamp deletion_request_time = 1; + */ + protected $deletion_request_time = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Protobuf\Timestamp $deletion_request_time + * Marks the moment for which all visitor data before this point should be + * deleted. This is set to the time at which the deletion request was + * received. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Marks the moment for which all visitor data before this point should be + * deleted. This is set to the time at which the deletion request was + * received. + * + * Generated from protobuf field .google.protobuf.Timestamp deletion_request_time = 1; + * @return \Google\Protobuf\Timestamp|null + */ + public function getDeletionRequestTime() + { + return $this->deletion_request_time; + } + + public function hasDeletionRequestTime() + { + return isset($this->deletion_request_time); + } + + public function clearDeletionRequestTime() + { + unset($this->deletion_request_time); + } + + /** + * Marks the moment for which all visitor data before this point should be + * deleted. This is set to the time at which the deletion request was + * received. + * + * Generated from protobuf field .google.protobuf.Timestamp deletion_request_time = 1; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setDeletionRequestTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->deletion_request_time = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilter.php new file mode 100644 index 000000000000..32767e5c3d9e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilter.php @@ -0,0 +1,161 @@ +google.analytics.admin.v1alpha.SubpropertyEventFilter + */ +class SubpropertyEventFilter extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Format: + * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} + * Example: properties/1234/subpropertyEventFilters/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Immutable. Resource name of the Subproperty that uses this filter. + * + * Generated from protobuf field optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $apply_to_property = null; + /** + * Required. Unordered list. Filter clauses that define the + * SubpropertyEventFilter. All clauses are AND'ed together to determine what + * data is sent to the subproperty. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + */ + private $filter_clauses; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Format: + * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} + * Example: properties/1234/subpropertyEventFilters/5678 + * @type string $apply_to_property + * Immutable. Resource name of the Subproperty that uses this filter. + * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause[] $filter_clauses + * Required. Unordered list. Filter clauses that define the + * SubpropertyEventFilter. All clauses are AND'ed together to determine what + * data is sent to the subproperty. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\SubpropertyEventFilter::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Format: + * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} + * Example: properties/1234/subpropertyEventFilters/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Output only. Format: + * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} + * Example: properties/1234/subpropertyEventFilters/5678 + * + * 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. Resource name of the Subproperty that uses this filter. + * + * Generated from protobuf field optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getApplyToProperty() + { + return isset($this->apply_to_property) ? $this->apply_to_property : ''; + } + + public function hasApplyToProperty() + { + return isset($this->apply_to_property); + } + + public function clearApplyToProperty() + { + unset($this->apply_to_property); + } + + /** + * Immutable. Resource name of the Subproperty that uses this filter. + * + * Generated from protobuf field optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setApplyToProperty($var) + { + GPBUtil::checkString($var, True); + $this->apply_to_property = $var; + + return $this; + } + + /** + * Required. Unordered list. Filter clauses that define the + * SubpropertyEventFilter. All clauses are AND'ed together to determine what + * data is sent to the subproperty. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause> + */ + public function getFilterClauses() + { + return $this->filter_clauses; + } + + /** + * Required. Unordered list. Filter clauses that define the + * SubpropertyEventFilter. All clauses are AND'ed together to determine what + * data is sent to the subproperty. + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause[] $var + * @return $this + */ + public function setFilterClauses($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause::class); + $this->filter_clauses = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause.php new file mode 100644 index 000000000000..05910231121d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause.php @@ -0,0 +1,118 @@ +google.analytics.admin.v1alpha.SubpropertyEventFilterClause + */ +class SubpropertyEventFilterClause extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The type for the filter clause. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $filter_clause_type = 0; + /** + * Required. The logical expression for what events are sent to the + * subproperty. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $filter_expression = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $filter_clause_type + * Required. The type for the filter clause. + * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression $filter_expression + * Required. The logical expression for what events are sent to the + * subproperty. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\SubpropertyEventFilter::initOnce(); + parent::__construct($data); + } + + /** + * Required. The type for the filter clause. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getFilterClauseType() + { + return $this->filter_clause_type; + } + + /** + * Required. The type for the filter clause. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setFilterClauseType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause\FilterClauseType::class); + $this->filter_clause_type = $var; + + return $this; + } + + /** + * Required. The logical expression for what events are sent to the + * subproperty. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression|null + */ + public function getFilterExpression() + { + return $this->filter_expression; + } + + public function hasFilterExpression() + { + return isset($this->filter_expression); + } + + public function clearFilterExpression() + { + unset($this->filter_expression); + } + + /** + * Required. The logical expression for what events are sent to the + * subproperty. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression $var + * @return $this + */ + public function setFilterExpression($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression::class); + $this->filter_expression = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause/FilterClauseType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause/FilterClauseType.php new file mode 100644 index 000000000000..d853bdddfd95 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause/FilterClauseType.php @@ -0,0 +1,66 @@ +google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType + */ +class FilterClauseType +{ + /** + * Filter clause type unknown or not specified. + * + * Generated from protobuf enum FILTER_CLAUSE_TYPE_UNSPECIFIED = 0; + */ + const FILTER_CLAUSE_TYPE_UNSPECIFIED = 0; + /** + * Events will be included in the Sub property if the filter clause is met. + * + * Generated from protobuf enum INCLUDE = 1; + */ + const PBINCLUDE = 1; + /** + * Events will be excluded from the Sub property if the filter clause is + * met. + * + * Generated from protobuf enum EXCLUDE = 2; + */ + const EXCLUDE = 2; + + private static $valueToName = [ + self::FILTER_CLAUSE_TYPE_UNSPECIFIED => 'FILTER_CLAUSE_TYPE_UNSPECIFIED', + self::PBINCLUDE => 'INCLUDE', + self::EXCLUDE => 'EXCLUDE', + ]; + + 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)) { + $pbconst = __CLASS__. '::PB' . strtoupper($name); + if (!defined($pbconst)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($pbconst); + } + return constant($const); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition.php new file mode 100644 index 000000000000..0c43ff028df5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition.php @@ -0,0 +1,142 @@ +google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + */ +class SubpropertyEventFilterCondition extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The field that is being filtered. + * + * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $field_name = ''; + protected $one_filter; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $null_filter + * A filter for null values. + * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition\StringFilter $string_filter + * A filter for a string-type dimension that matches a particular pattern. + * @type string $field_name + * Required. The field that is being filtered. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\SubpropertyEventFilter::initOnce(); + parent::__construct($data); + } + + /** + * A filter for null values. + * + * Generated from protobuf field bool null_filter = 2; + * @return bool + */ + public function getNullFilter() + { + return $this->readOneof(2); + } + + public function hasNullFilter() + { + return $this->hasOneof(2); + } + + /** + * A filter for null values. + * + * Generated from protobuf field bool null_filter = 2; + * @param bool $var + * @return $this + */ + public function setNullFilter($var) + { + GPBUtil::checkBool($var); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * A filter for a string-type dimension that matches a particular pattern. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition\StringFilter|null + */ + public function getStringFilter() + { + return $this->readOneof(3); + } + + public function hasStringFilter() + { + return $this->hasOneof(3); + } + + /** + * A filter for a string-type dimension that matches a particular pattern. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition\StringFilter $var + * @return $this + */ + public function setStringFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition\StringFilter::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * Required. The field that is being filtered. + * + * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getFieldName() + { + return $this->field_name; + } + + /** + * Required. The field that is being filtered. + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter.php new file mode 100644 index 000000000000..ce6297ab3f67 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter.php @@ -0,0 +1,139 @@ +google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + */ +class StringFilter extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The match type for the string filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $match_type = 0; + /** + * Required. The string value used for the matching. + * + * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $value = ''; + /** + * Optional. If true, the string value is case sensitive. If false, the + * match is case-insensitive. + * + * Generated from protobuf field bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $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 used for the matching. + * @type bool $case_sensitive + * Optional. If true, the string value is case sensitive. If false, the + * match is case-insensitive. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\SubpropertyEventFilter::initOnce(); + parent::__construct($data); + } + + /** + * Required. The match type for the string filter. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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\SubpropertyEventFilterCondition\StringFilter\MatchType::class); + $this->match_type = $var; + + return $this; + } + + /** + * Required. The string value used for the matching. + * + * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getValue() + { + return $this->value; + } + + /** + * Required. The string value used for the matching. + * + * 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 string value is case sensitive. If false, the + * match is case-insensitive. + * + * 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 string value is case sensitive. If false, the + * match is case-insensitive. + * + * 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; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter/MatchType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter/MatchType.php new file mode 100644 index 000000000000..696b8e6f0b12 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter/MatchType.php @@ -0,0 +1,89 @@ +google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType + */ +class MatchType +{ + /** + * Match type unknown or not specified. + * + * 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; + /** + * Begins with the string value. + * + * Generated from protobuf enum BEGINS_WITH = 2; + */ + const BEGINS_WITH = 2; + /** + * Ends with the string value. + * + * Generated from protobuf enum ENDS_WITH = 3; + */ + const ENDS_WITH = 3; + /** + * Contains the string value. + * + * Generated from protobuf enum CONTAINS = 4; + */ + const CONTAINS = 4; + /** + * Full regular expression matches with the string value. + * + * 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', + self::EXACT => 'EXACT', + self::BEGINS_WITH => 'BEGINS_WITH', + self::ENDS_WITH => 'ENDS_WITH', + self::CONTAINS => 'CONTAINS', + self::FULL_REGEXP => 'FULL_REGEXP', + self::PARTIAL_REGEXP => 'PARTIAL_REGEXP', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpression.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpression.php new file mode 100644 index 000000000000..fe19420560aa --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpression.php @@ -0,0 +1,153 @@ +google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + */ +class SubpropertyEventFilterExpression extends \Google\Protobuf\Internal\Message +{ + protected $expr; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpressionList $or_group + * A list of expressions to OR’ed together. Must only contain + * not_expression or filter_condition expressions. + * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression $not_expression + * A filter expression to be NOT'ed (inverted, complemented). It can only + * include a filter. This cannot be set on the top level + * SubpropertyEventFilterExpression. + * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition $filter_condition + * Creates a filter that matches a specific event. This cannot be set on the + * top level SubpropertyEventFilterExpression. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\SubpropertyEventFilter::initOnce(); + parent::__construct($data); + } + + /** + * A list of expressions to OR’ed together. Must only contain + * not_expression or filter_condition expressions. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpressionList|null + */ + public function getOrGroup() + { + return $this->readOneof(1); + } + + public function hasOrGroup() + { + return $this->hasOneof(1); + } + + /** + * A list of expressions to OR’ed together. Must only contain + * not_expression or filter_condition expressions. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpressionList $var + * @return $this + */ + public function setOrGroup($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpressionList::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * A filter expression to be NOT'ed (inverted, complemented). It can only + * include a filter. This cannot be set on the top level + * SubpropertyEventFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression|null + */ + public function getNotExpression() + { + return $this->readOneof(2); + } + + public function hasNotExpression() + { + return $this->hasOneof(2); + } + + /** + * A filter expression to be NOT'ed (inverted, complemented). It can only + * include a filter. This cannot be set on the top level + * SubpropertyEventFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression $var + * @return $this + */ + public function setNotExpression($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * Creates a filter that matches a specific event. This cannot be set on the + * top level SubpropertyEventFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition|null + */ + public function getFilterCondition() + { + return $this->readOneof(3); + } + + public function hasFilterCondition() + { + return $this->hasOneof(3); + } + + /** + * Creates a filter that matches a specific event. This cannot be set on the + * top level SubpropertyEventFilterExpression. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition $var + * @return $this + */ + public function setFilterCondition($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * @return string + */ + public function getExpr() + { + return $this->whichOneof("expr"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpressionList.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpressionList.php new file mode 100644 index 000000000000..9e0469483fe6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpressionList.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + */ +class SubpropertyEventFilterExpressionList extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Unordered list. A list of Subproperty event filter expressions + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + */ + private $filter_expressions; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression[] $filter_expressions + * Required. Unordered list. A list of Subproperty event filter expressions + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\SubpropertyEventFilter::initOnce(); + parent::__construct($data); + } + + /** + * Required. Unordered list. A list of Subproperty event filter expressions + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * @return RepeatedField<\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression> + */ + public function getFilterExpressions() + { + return $this->filter_expressions; + } + + /** + * Required. Unordered list. A list of Subproperty event filter expressions + * + * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression[] $var + * @return $this + */ + public function setFilterExpressions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression::class); + $this->filter_expressions = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig.php new file mode 100644 index 000000000000..841698b1d65f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig.php @@ -0,0 +1,181 @@ +google.analytics.admin.v1alpha.SubpropertySyncConfig + */ +class SubpropertySyncConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Identifier. Format: + * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} + * Example: properties/1234/subpropertySyncConfigs/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Output only. Immutable. Resource name of the subproperty that these + * settings apply to. + * + * Generated from protobuf field string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $apply_to_property = ''; + /** + * Required. Specifies the Custom Dimension / Metric synchronization mode for + * the subproperty. + * If set to ALL, Custom Dimension / Metric synchronization will be + * immediately enabled. Local configuration of Custom Dimensions / Metrics + * will not be allowed on the subproperty so long as the synchronization mode + * is set to ALL. + * If set to NONE, Custom Dimensions / Metric synchronization is disabled. + * Custom Dimensions / Metrics must be configured explicitly on the + * Subproperty. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode custom_dimension_and_metric_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $custom_dimension_and_metric_sync_mode = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Identifier. Format: + * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} + * Example: properties/1234/subpropertySyncConfigs/5678 + * @type string $apply_to_property + * Output only. Immutable. Resource name of the subproperty that these + * settings apply to. + * @type int $custom_dimension_and_metric_sync_mode + * Required. Specifies the Custom Dimension / Metric synchronization mode for + * the subproperty. + * If set to ALL, Custom Dimension / Metric synchronization will be + * immediately enabled. Local configuration of Custom Dimensions / Metrics + * will not be allowed on the subproperty so long as the synchronization mode + * is set to ALL. + * If set to NONE, Custom Dimensions / Metric synchronization is disabled. + * Custom Dimensions / Metrics must be configured explicitly on the + * Subproperty. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Identifier. Format: + * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} + * Example: properties/1234/subpropertySyncConfigs/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Output only. Identifier. Format: + * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} + * Example: properties/1234/subpropertySyncConfigs/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. Immutable. Resource name of the subproperty that these + * settings apply to. + * + * Generated from protobuf field string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getApplyToProperty() + { + return $this->apply_to_property; + } + + /** + * Output only. Immutable. Resource name of the subproperty that these + * settings apply to. + * + * Generated from protobuf field string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setApplyToProperty($var) + { + GPBUtil::checkString($var, True); + $this->apply_to_property = $var; + + return $this; + } + + /** + * Required. Specifies the Custom Dimension / Metric synchronization mode for + * the subproperty. + * If set to ALL, Custom Dimension / Metric synchronization will be + * immediately enabled. Local configuration of Custom Dimensions / Metrics + * will not be allowed on the subproperty so long as the synchronization mode + * is set to ALL. + * If set to NONE, Custom Dimensions / Metric synchronization is disabled. + * Custom Dimensions / Metrics must be configured explicitly on the + * Subproperty. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode custom_dimension_and_metric_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getCustomDimensionAndMetricSyncMode() + { + return $this->custom_dimension_and_metric_sync_mode; + } + + /** + * Required. Specifies the Custom Dimension / Metric synchronization mode for + * the subproperty. + * If set to ALL, Custom Dimension / Metric synchronization will be + * immediately enabled. Local configuration of Custom Dimensions / Metrics + * will not be allowed on the subproperty so long as the synchronization mode + * is set to ALL. + * If set to NONE, Custom Dimensions / Metric synchronization is disabled. + * Custom Dimensions / Metrics must be configured explicitly on the + * Subproperty. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode custom_dimension_and_metric_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setCustomDimensionAndMetricSyncMode($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig\SynchronizationMode::class); + $this->custom_dimension_and_metric_sync_mode = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig/SynchronizationMode.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig/SynchronizationMode.php new file mode 100644 index 000000000000..c8df0ea49fd9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig/SynchronizationMode.php @@ -0,0 +1,64 @@ +google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode + */ +class SynchronizationMode +{ + /** + * Synchronization mode unknown or not specified. + * + * Generated from protobuf enum SYNCHRONIZATION_MODE_UNSPECIFIED = 0; + */ + const SYNCHRONIZATION_MODE_UNSPECIFIED = 0; + /** + * Entities are not synchronized. + * Local edits are allowed on the subproperty. + * + * Generated from protobuf enum NONE = 1; + */ + const NONE = 1; + /** + * Entities are synchronized from parent property. + * Local mutations are not allowed on the subproperty (Create / Update / + * Delete) + * + * Generated from protobuf enum ALL = 2; + */ + const ALL = 2; + + private static $valueToName = [ + self::SYNCHRONIZATION_MODE_UNSPECIFIED => 'SYNCHRONIZATION_MODE_UNSPECIFIED', + self::NONE => 'NONE', + self::ALL => 'ALL', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccessBindingRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccessBindingRequest.php new file mode 100644 index 000000000000..315994fabd7c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccessBindingRequest.php @@ -0,0 +1,90 @@ +google.analytics.admin.v1alpha.UpdateAccessBindingRequest + */ +class UpdateAccessBindingRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The access binding to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $access_binding = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\AccessBinding $accessBinding Required. The access binding to update. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateAccessBindingRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\AccessBinding $accessBinding): self + { + return (new self()) + ->setAccessBinding($accessBinding); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AccessBinding $access_binding + * Required. The access binding to update. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The access binding to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\AccessBinding|null + */ + public function getAccessBinding() + { + return $this->access_binding; + } + + public function hasAccessBinding() + { + return isset($this->access_binding); + } + + public function clearAccessBinding() + { + unset($this->access_binding); + } + + /** + * Required. The access binding to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\AccessBinding $var + * @return $this + */ + public function setAccessBinding($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessBinding::class); + $this->access_binding = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccountRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccountRequest.php new file mode 100644 index 000000000000..0b8fe9d5a5b8 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccountRequest.php @@ -0,0 +1,156 @@ +google.analytics.admin.v1alpha.UpdateAccountRequest + */ +class UpdateAccountRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The account to update. + * The account's `name` field is used to identify the account. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $account = null; + /** + * Required. The list of fields to be updated. Field names must be in snake + * case (for example, "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]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\Account $account Required. The account to update. + * The account's `name` field is used to identify the account. + * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake + * case (for example, "field_to_update"). Omitted fields will not be updated. + * To replace the entire entity, use one path with the string "*" to match all + * fields. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateAccountRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\Account $account, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setAccount($account) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\Account $account + * 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 (for example, "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) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The account to update. + * The account's `name` field is used to identify the account. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\Account|null + */ + public function getAccount() + { + return $this->account; + } + + public function hasAccount() + { + return isset($this->account); + } + + public function clearAccount() + { + unset($this->account); + } + + /** + * Required. The account to update. + * The account's `name` field is used to identify the account. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\Account $var + * @return $this + */ + public function setAccount($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Account::class); + $this->account = $var; + + return $this; + } + + /** + * Required. The list of fields to be updated. Field names must be in snake + * case (for example, "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 + */ + 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. Field names must be in snake + * case (for example, "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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAttributionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAttributionSettingsRequest.php new file mode 100644 index 000000000000..3db071dd0ffd --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAttributionSettingsRequest.php @@ -0,0 +1,156 @@ +google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest + */ +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. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\AttributionSettings $attributionSettings Required. The attribution settings to update. + * The `name` field is used to identify the settings to be updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateAttributionSettingsRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\AttributionSettings $attributionSettings, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setAttributionSettings($attributionSettings) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\AttributionSettings $attribution_settings + * 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The attribution settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\AttributionSettings|null + */ + public function getAttributionSettings() + { + return $this->attribution_settings; + } + + public function hasAttributionSettings() + { + return isset($this->attribution_settings); + } + + public function clearAttributionSettings() + { + unset($this->attribution_settings); + } + + /** + * Required. The attribution settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\AttributionSettings $var + * @return $this + */ + public function setAttributionSettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AttributionSettings::class); + $this->attribution_settings = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAudienceRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAudienceRequest.php new file mode 100644 index 000000000000..067823c0ffd2 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAudienceRequest.php @@ -0,0 +1,156 @@ +google.analytics.admin.v1alpha.UpdateAudienceRequest + */ +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. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\Audience $audience Required. The audience to update. + * The audience's `name` field is used to identify the audience to be updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateAudienceRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\Audience $audience, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setAudience($audience) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\Audience $audience + * 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The audience to update. + * The audience's `name` field is used to identify the audience to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\Audience|null + */ + public function getAudience() + { + return $this->audience; + } + + public function hasAudience() + { + return isset($this->audience); + } + + public function clearAudience() + { + unset($this->audience); + } + + /** + * Required. The audience to update. + * The audience's `name` field is used to identify the audience to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\Audience $var + * @return $this + */ + public function setAudience($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Audience::class); + $this->audience = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateBigQueryLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateBigQueryLinkRequest.php new file mode 100644 index 000000000000..311760c2141a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateBigQueryLinkRequest.php @@ -0,0 +1,156 @@ +google.analytics.admin.v1alpha.UpdateBigQueryLinkRequest + */ +class UpdateBigQueryLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $bigquery_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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\BigQueryLink $bigqueryLink Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateBigQueryLinkRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\BigQueryLink $bigqueryLink, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setBigqueryLink($bigqueryLink) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\BigQueryLink $bigquery_link + * 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\BigQueryLink|null + */ + public function getBigqueryLink() + { + return $this->bigquery_link; + } + + public function hasBigqueryLink() + { + return isset($this->bigquery_link); + } + + public function clearBigqueryLink() + { + unset($this->bigquery_link); + } + + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\BigQueryLink $var + * @return $this + */ + public function setBigqueryLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\BigQueryLink::class); + $this->bigquery_link = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCalculatedMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCalculatedMetricRequest.php new file mode 100644 index 000000000000..3ee876fc572c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCalculatedMetricRequest.php @@ -0,0 +1,146 @@ +google.analytics.admin.v1alpha.UpdateCalculatedMetricRequest + */ +class UpdateCalculatedMetricRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The CalculatedMetric to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $calculated_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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\CalculatedMetric $calculatedMetric Required. The CalculatedMetric to update + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateCalculatedMetricRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\CalculatedMetric $calculatedMetric, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setCalculatedMetric($calculatedMetric) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\CalculatedMetric $calculated_metric + * Required. The CalculatedMetric 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); + } + + /** + * Required. The CalculatedMetric to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\CalculatedMetric|null + */ + public function getCalculatedMetric() + { + return $this->calculated_metric; + } + + public function hasCalculatedMetric() + { + return isset($this->calculated_metric); + } + + public function clearCalculatedMetric() + { + unset($this->calculated_metric); + } + + /** + * Required. The CalculatedMetric to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\CalculatedMetric $var + * @return $this + */ + public function setCalculatedMetric($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CalculatedMetric::class); + $this->calculated_metric = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateChannelGroupRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateChannelGroupRequest.php new file mode 100644 index 000000000000..7089ae1b0375 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateChannelGroupRequest.php @@ -0,0 +1,161 @@ +google.analytics.admin.v1alpha.UpdateChannelGroupRequest + */ +class UpdateChannelGroupRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The ChannelGroup to update. + * The resource's `name` field is used to identify the ChannelGroup to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $channel_group = 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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\ChannelGroup $channelGroup Required. The ChannelGroup to update. + * The resource's `name` field is used to identify the ChannelGroup to be + * updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateChannelGroupRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\ChannelGroup $channelGroup, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setChannelGroup($channelGroup) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\ChannelGroup $channel_group + * Required. The ChannelGroup to update. + * The resource's `name` field is used to identify the ChannelGroup 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The ChannelGroup to update. + * The resource's `name` field is used to identify the ChannelGroup to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\ChannelGroup|null + */ + public function getChannelGroup() + { + return $this->channel_group; + } + + public function hasChannelGroup() + { + return isset($this->channel_group); + } + + public function clearChannelGroup() + { + unset($this->channel_group); + } + + /** + * Required. The ChannelGroup to update. + * The resource's `name` field is used to identify the ChannelGroup to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\ChannelGroup $var + * @return $this + */ + public function setChannelGroup($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroup::class); + $this->channel_group = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateConversionEventRequest.php new file mode 100644 index 000000000000..e59ece0d0123 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateConversionEventRequest.php @@ -0,0 +1,156 @@ +google.analytics.admin.v1alpha.UpdateConversionEventRequest + */ +class UpdateConversionEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The conversion event to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $conversion_event = 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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\ConversionEvent $conversionEvent Required. The conversion event to update. + * The `name` field is used to identify the settings to be updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateConversionEventRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\ConversionEvent $conversionEvent, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setConversionEvent($conversionEvent) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\ConversionEvent $conversion_event + * Required. The conversion event 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The conversion event to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\ConversionEvent|null + */ + public function getConversionEvent() + { + return $this->conversion_event; + } + + public function hasConversionEvent() + { + return isset($this->conversion_event); + } + + public function clearConversionEvent() + { + unset($this->conversion_event); + } + + /** + * Required. The conversion event to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\ConversionEvent $var + * @return $this + */ + public function setConversionEvent($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ConversionEvent::class); + $this->conversion_event = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomDimensionRequest.php new file mode 100644 index 000000000000..844d0d083265 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomDimensionRequest.php @@ -0,0 +1,146 @@ +google.analytics.admin.v1alpha.UpdateCustomDimensionRequest + */ +class UpdateCustomDimensionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The CustomDimension to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\CustomDimension $customDimension The CustomDimension to update + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateCustomDimensionRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\CustomDimension $customDimension, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setCustomDimension($customDimension) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The CustomDimension to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; + * @return \Google\Analytics\Admin\V1alpha\CustomDimension|null + */ + public function getCustomDimension() + { + return $this->custom_dimension; + } + + public function hasCustomDimension() + { + return isset($this->custom_dimension); + } + + public function clearCustomDimension() + { + unset($this->custom_dimension); + } + + /** + * The CustomDimension to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; + * @param \Google\Analytics\Admin\V1alpha\CustomDimension $var + * @return $this + */ + public function setCustomDimension($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CustomDimension::class); + $this->custom_dimension = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomMetricRequest.php new file mode 100644 index 000000000000..135ba1799847 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomMetricRequest.php @@ -0,0 +1,146 @@ +google.analytics.admin.v1alpha.UpdateCustomMetricRequest + */ +class UpdateCustomMetricRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The CustomMetric to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\CustomMetric $customMetric The CustomMetric to update + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateCustomMetricRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\CustomMetric $customMetric, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setCustomMetric($customMetric) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The CustomMetric to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; + * @return \Google\Analytics\Admin\V1alpha\CustomMetric|null + */ + public function getCustomMetric() + { + return $this->custom_metric; + } + + public function hasCustomMetric() + { + return isset($this->custom_metric); + } + + public function clearCustomMetric() + { + unset($this->custom_metric); + } + + /** + * The CustomMetric to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; + * @param \Google\Analytics\Admin\V1alpha\CustomMetric $var + * @return $this + */ + public function setCustomMetric($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CustomMetric::class); + $this->custom_metric = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRedactionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRedactionSettingsRequest.php new file mode 100644 index 000000000000..7b3b18bb9e69 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRedactionSettingsRequest.php @@ -0,0 +1,156 @@ +google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest + */ +class UpdateDataRedactionSettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $data_redaction_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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\DataRedactionSettings $dataRedactionSettings Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateDataRedactionSettingsRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\DataRedactionSettings $dataRedactionSettings, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setDataRedactionSettings($dataRedactionSettings) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\DataRedactionSettings $data_redaction_settings + * 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\DataRedactionSettings|null + */ + public function getDataRedactionSettings() + { + return $this->data_redaction_settings; + } + + public function hasDataRedactionSettings() + { + return isset($this->data_redaction_settings); + } + + public function clearDataRedactionSettings() + { + unset($this->data_redaction_settings); + } + + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\DataRedactionSettings $var + * @return $this + */ + public function setDataRedactionSettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataRedactionSettings::class); + $this->data_redaction_settings = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRetentionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRetentionSettingsRequest.php new file mode 100644 index 000000000000..65b6777ac258 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRetentionSettingsRequest.php @@ -0,0 +1,156 @@ +google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest + */ +class UpdateDataRetentionSettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\DataRetentionSettings $dataRetentionSettings Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateDataRetentionSettingsRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\DataRetentionSettings $dataRetentionSettings, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setDataRetentionSettings($dataRetentionSettings) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\DataRetentionSettings $data_retention_settings + * 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\DataRetentionSettings|null + */ + public function getDataRetentionSettings() + { + return $this->data_retention_settings; + } + + public function hasDataRetentionSettings() + { + return isset($this->data_retention_settings); + } + + public function clearDataRetentionSettings() + { + unset($this->data_retention_settings); + } + + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\DataRetentionSettings $var + * @return $this + */ + public function setDataRetentionSettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataRetentionSettings::class); + $this->data_retention_settings = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataStreamRequest.php new file mode 100644 index 000000000000..f5234dbf0e59 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataStreamRequest.php @@ -0,0 +1,146 @@ +google.analytics.admin.v1alpha.UpdateDataStreamRequest + */ +class UpdateDataStreamRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The DataStream to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 1; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\DataStream $dataStream The DataStream to update + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateDataStreamRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\DataStream $dataStream, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setDataStream($dataStream) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The DataStream to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 1; + * @return \Google\Analytics\Admin\V1alpha\DataStream|null + */ + public function getDataStream() + { + return $this->data_stream; + } + + public function hasDataStream() + { + return isset($this->data_stream); + } + + public function clearDataStream() + { + unset($this->data_stream); + } + + /** + * The DataStream to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 1; + * @param \Google\Analytics\Admin\V1alpha\DataStream $var + * @return $this + */ + public function setDataStream($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataStream::class); + $this->data_stream = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php new file mode 100644 index 000000000000..6ff14660f6c8 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php @@ -0,0 +1,146 @@ +google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest + */ +class UpdateDisplayVideo360AdvertiserLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The DisplayVideo360AdvertiserLink to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $displayVideo360AdvertiserLink The DisplayVideo360AdvertiserLink to update + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateDisplayVideo360AdvertiserLinkRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $displayVideo360AdvertiserLink, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setDisplayVideo360AdvertiserLink($displayVideo360AdvertiserLink) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The DisplayVideo360AdvertiserLink to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink|null + */ + public function getDisplayVideo360AdvertiserLink() + { + return $this->display_video_360_advertiser_link; + } + + public function hasDisplayVideo360AdvertiserLink() + { + return isset($this->display_video_360_advertiser_link); + } + + public function clearDisplayVideo360AdvertiserLink() + { + unset($this->display_video_360_advertiser_link); + } + + /** + * The DisplayVideo360AdvertiserLink to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; + * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $var + * @return $this + */ + public function setDisplayVideo360AdvertiserLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink::class); + $this->display_video_360_advertiser_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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEnhancedMeasurementSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEnhancedMeasurementSettingsRequest.php new file mode 100644 index 000000000000..7a31a29e620c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEnhancedMeasurementSettingsRequest.php @@ -0,0 +1,156 @@ +google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + */ +class UpdateEnhancedMeasurementSettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $enhanced_measurement_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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings $enhancedMeasurementSettings Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateEnhancedMeasurementSettingsRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings $enhancedMeasurementSettings, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setEnhancedMeasurementSettings($enhancedMeasurementSettings) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings $enhanced_measurement_settings + * 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings|null + */ + public function getEnhancedMeasurementSettings() + { + return $this->enhanced_measurement_settings; + } + + public function hasEnhancedMeasurementSettings() + { + return isset($this->enhanced_measurement_settings); + } + + public function clearEnhancedMeasurementSettings() + { + unset($this->enhanced_measurement_settings); + } + + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings $var + * @return $this + */ + public function setEnhancedMeasurementSettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings::class); + $this->enhanced_measurement_settings = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventCreateRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventCreateRuleRequest.php new file mode 100644 index 000000000000..31820c79489f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventCreateRuleRequest.php @@ -0,0 +1,161 @@ +google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest + */ +class UpdateEventCreateRuleRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The EventCreateRule to update. + * The resource's `name` field is used to identify the EventCreateRule to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $event_create_rule = 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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\EventCreateRule $eventCreateRule Required. The EventCreateRule to update. + * The resource's `name` field is used to identify the EventCreateRule to be + * updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateEventCreateRuleRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\EventCreateRule $eventCreateRule, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setEventCreateRule($eventCreateRule) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\EventCreateRule $event_create_rule + * Required. The EventCreateRule to update. + * The resource's `name` field is used to identify the EventCreateRule 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The EventCreateRule to update. + * The resource's `name` field is used to identify the EventCreateRule to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\EventCreateRule|null + */ + public function getEventCreateRule() + { + return $this->event_create_rule; + } + + public function hasEventCreateRule() + { + return isset($this->event_create_rule); + } + + public function clearEventCreateRule() + { + unset($this->event_create_rule); + } + + /** + * Required. The EventCreateRule to update. + * The resource's `name` field is used to identify the EventCreateRule to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\EventCreateRule $var + * @return $this + */ + public function setEventCreateRule($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\EventCreateRule::class); + $this->event_create_rule = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventEditRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventEditRuleRequest.php new file mode 100644 index 000000000000..0cdb187328e3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventEditRuleRequest.php @@ -0,0 +1,161 @@ +google.analytics.admin.v1alpha.UpdateEventEditRuleRequest + */ +class UpdateEventEditRuleRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The EventEditRule to update. + * The resource's `name` field is used to identify the EventEditRule to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $event_edit_rule = 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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\EventEditRule $eventEditRule Required. The EventEditRule to update. + * The resource's `name` field is used to identify the EventEditRule to be + * updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateEventEditRuleRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\EventEditRule $eventEditRule, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setEventEditRule($eventEditRule) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\EventEditRule $event_edit_rule + * Required. The EventEditRule to update. + * The resource's `name` field is used to identify the EventEditRule 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The EventEditRule to update. + * The resource's `name` field is used to identify the EventEditRule to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\EventEditRule|null + */ + public function getEventEditRule() + { + return $this->event_edit_rule; + } + + public function hasEventEditRule() + { + return isset($this->event_edit_rule); + } + + public function clearEventEditRule() + { + unset($this->event_edit_rule); + } + + /** + * Required. The EventEditRule to update. + * The resource's `name` field is used to identify the EventEditRule to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\EventEditRule $var + * @return $this + */ + public function setEventEditRule($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\EventEditRule::class); + $this->event_edit_rule = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateExpandedDataSetRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateExpandedDataSetRequest.php new file mode 100644 index 000000000000..f4be332a4d0b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateExpandedDataSetRequest.php @@ -0,0 +1,161 @@ +google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest + */ +class UpdateExpandedDataSetRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The ExpandedDataSet to update. + * The resource's `name` field is used to identify the ExpandedDataSet to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $expanded_data_set = 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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSet $expandedDataSet Required. The ExpandedDataSet to update. + * The resource's `name` field is used to identify the ExpandedDataSet to be + * updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateExpandedDataSetRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\ExpandedDataSet $expandedDataSet, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setExpandedDataSet($expandedDataSet) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSet $expanded_data_set + * Required. The ExpandedDataSet to update. + * The resource's `name` field is used to identify the ExpandedDataSet 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The ExpandedDataSet to update. + * The resource's `name` field is used to identify the ExpandedDataSet to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\ExpandedDataSet|null + */ + public function getExpandedDataSet() + { + return $this->expanded_data_set; + } + + public function hasExpandedDataSet() + { + return isset($this->expanded_data_set); + } + + public function clearExpandedDataSet() + { + unset($this->expanded_data_set); + } + + /** + * Required. The ExpandedDataSet to update. + * The resource's `name` field is used to identify the ExpandedDataSet to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSet $var + * @return $this + */ + public function setExpandedDataSet($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ExpandedDataSet::class); + $this->expanded_data_set = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleAdsLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleAdsLinkRequest.php new file mode 100644 index 000000000000..efd0ac7d41d7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleAdsLinkRequest.php @@ -0,0 +1,151 @@ +google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest + */ +class UpdateGoogleAdsLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The GoogleAdsLink to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\GoogleAdsLink $googleAdsLink The GoogleAdsLink to update + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateGoogleAdsLinkRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\GoogleAdsLink $googleAdsLink, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setGoogleAdsLink($googleAdsLink) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The GoogleAdsLink to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; + * @return \Google\Analytics\Admin\V1alpha\GoogleAdsLink|null + */ + public function getGoogleAdsLink() + { + return $this->google_ads_link; + } + + public function hasGoogleAdsLink() + { + return isset($this->google_ads_link); + } + + public function clearGoogleAdsLink() + { + unset($this->google_ads_link); + } + + /** + * The GoogleAdsLink to update + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; + * @param \Google\Analytics\Admin\V1alpha\GoogleAdsLink $var + * @return $this + */ + public function setGoogleAdsLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\GoogleAdsLink::class); + $this->google_ads_link = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleSignalsSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleSignalsSettingsRequest.php new file mode 100644 index 000000000000..0cfea757883b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleSignalsSettingsRequest.php @@ -0,0 +1,156 @@ +google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest + */ +class UpdateGoogleSignalsSettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings $googleSignalsSettings Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateGoogleSignalsSettingsRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\GoogleSignalsSettings $googleSignalsSettings, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setGoogleSignalsSettings($googleSignalsSettings) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings $google_signals_settings + * 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings|null + */ + public function getGoogleSignalsSettings() + { + return $this->google_signals_settings; + } + + public function hasGoogleSignalsSettings() + { + return isset($this->google_signals_settings); + } + + public function clearGoogleSignalsSettings() + { + unset($this->google_signals_settings); + } + + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings $var + * @return $this + */ + public function setGoogleSignalsSettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings::class); + $this->google_signals_settings = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateKeyEventRequest.php new file mode 100644 index 000000000000..dfc290da9e17 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateKeyEventRequest.php @@ -0,0 +1,156 @@ +google.analytics.admin.v1alpha.UpdateKeyEventRequest + */ +class UpdateKeyEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The Key Event to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $key_event = 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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\KeyEvent $keyEvent Required. The Key Event to update. + * The `name` field is used to identify the settings to be updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateKeyEventRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\KeyEvent $keyEvent, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setKeyEvent($keyEvent) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\KeyEvent $key_event + * Required. The Key Event 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The Key Event to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\KeyEvent|null + */ + public function getKeyEvent() + { + return $this->key_event; + } + + public function hasKeyEvent() + { + return isset($this->key_event); + } + + public function clearKeyEvent() + { + unset($this->key_event); + } + + /** + * Required. The Key Event to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\KeyEvent $var + * @return $this + */ + public function setKeyEvent($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\KeyEvent::class); + $this->key_event = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateMeasurementProtocolSecretRequest.php new file mode 100644 index 000000000000..ba4a68c69d2b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateMeasurementProtocolSecretRequest.php @@ -0,0 +1,141 @@ +google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest + */ +class UpdateMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The measurement protocol secret to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $measurement_protocol_secret = null; + /** + * Required. The list of fields to be updated. Omitted fields will not be + * updated. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurementProtocolSecret Required. The measurement protocol secret to update. + * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be + * updated. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateMeasurementProtocolSecretRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurementProtocolSecret, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setMeasurementProtocolSecret($measurementProtocolSecret) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurement_protocol_secret + * Required. The measurement protocol secret to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Required. The list of fields to be updated. Omitted fields will not be + * updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The measurement protocol secret to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret|null + */ + public function getMeasurementProtocolSecret() + { + return $this->measurement_protocol_secret; + } + + public function hasMeasurementProtocolSecret() + { + return isset($this->measurement_protocol_secret); + } + + public function clearMeasurementProtocolSecret() + { + unset($this->measurement_protocol_secret); + } + + /** + * Required. The measurement protocol secret to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $var + * @return $this + */ + public function setMeasurementProtocolSecret($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret::class); + $this->measurement_protocol_secret = $var; + + return $this; + } + + /** + * Required. The list of fields to be updated. Omitted fields will not be + * updated. + * + * 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. + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdatePropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdatePropertyRequest.php new file mode 100644 index 000000000000..0141870ed1ec --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdatePropertyRequest.php @@ -0,0 +1,161 @@ +google.analytics.admin.v1alpha.UpdatePropertyRequest + */ +class UpdatePropertyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The property to update. + * The property's `name` field is used to identify the property to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\Property $property Required. The property to update. + * The property's `name` field is used to identify the property to be + * updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdatePropertyRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\Property $property, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setProperty($property) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\Property $property + * Required. The property to update. + * 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The property to update. + * The property's `name` field is used to identify the property to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\Property|null + */ + public function getProperty() + { + return $this->property; + } + + public function hasProperty() + { + return isset($this->property); + } + + public function clearProperty() + { + unset($this->property); + } + + /** + * Required. The property to update. + * The property's `name` field is used to identify the property to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\Property $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Property::class); + $this->property = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateReportingDataAnnotationRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateReportingDataAnnotationRequest.php new file mode 100644 index 000000000000..4c3c5809e345 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateReportingDataAnnotationRequest.php @@ -0,0 +1,151 @@ +google.analytics.admin.v1alpha.UpdateReportingDataAnnotationRequest + */ +class UpdateReportingDataAnnotationRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The Reporting Data Annotation to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $reporting_data_annotation = null; + /** + * Optional. The list of fields to update. Field names must be in snake case + * (for example, "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) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $reportingDataAnnotation Required. The Reporting Data Annotation to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. Field names must be in snake case + * (for example, "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateReportingDataAnnotationRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $reportingDataAnnotation, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setReportingDataAnnotation($reportingDataAnnotation) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $reporting_data_annotation + * Required. The Reporting Data Annotation to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. Field names must be in snake case + * (for example, "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) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The Reporting Data Annotation to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation|null + */ + public function getReportingDataAnnotation() + { + return $this->reporting_data_annotation; + } + + public function hasReportingDataAnnotation() + { + return isset($this->reporting_data_annotation); + } + + public function clearReportingDataAnnotation() + { + unset($this->reporting_data_annotation); + } + + /** + * Required. The Reporting Data Annotation to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $var + * @return $this + */ + public function setReportingDataAnnotation($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation::class); + $this->reporting_data_annotation = $var; + + return $this; + } + + /** + * Optional. The list of fields to update. Field names must be in snake case + * (for example, "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) = OPTIONAL]; + * @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); + } + + /** + * Optional. The list of fields to update. Field names must be in snake case + * (for example, "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) = OPTIONAL]; + * @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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.php new file mode 100644 index 000000000000..b87eff0aeada --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.php @@ -0,0 +1,141 @@ +google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + */ +class UpdateSKAdNetworkConversionValueSchemaRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. SKAdNetwork conversion value schema to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $skadnetwork_conversion_value_schema = null; + /** + * Required. The list of fields to be updated. Omitted fields will not be + * updated. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetworkConversionValueSchema Required. SKAdNetwork conversion value schema to update. + * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be + * updated. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateSKAdNetworkConversionValueSchemaRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetworkConversionValueSchema, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetwork_conversion_value_schema + * Required. SKAdNetwork conversion value schema to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Required. The list of fields to be updated. Omitted fields will not be + * updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. SKAdNetwork conversion value schema to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema|null + */ + public function getSkadnetworkConversionValueSchema() + { + return $this->skadnetwork_conversion_value_schema; + } + + public function hasSkadnetworkConversionValueSchema() + { + return isset($this->skadnetwork_conversion_value_schema); + } + + public function clearSkadnetworkConversionValueSchema() + { + unset($this->skadnetwork_conversion_value_schema); + } + + /** + * Required. SKAdNetwork conversion value schema to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $var + * @return $this + */ + public function setSkadnetworkConversionValueSchema($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema::class); + $this->skadnetwork_conversion_value_schema = $var; + + return $this; + } + + /** + * Required. The list of fields to be updated. Omitted fields will not be + * updated. + * + * 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. + * + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSearchAds360LinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSearchAds360LinkRequest.php new file mode 100644 index 000000000000..bf40e01f5500 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSearchAds360LinkRequest.php @@ -0,0 +1,146 @@ +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; + */ + protected $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]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\SearchAds360Link $searchAds360Link The SearchAds360Link to update + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateSearchAds360LinkRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\SearchAds360Link $searchAds360Link, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setSearchAds360Link($searchAds360Link) + ->setUpdateMask($updateMask); + } + + /** + * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertyEventFilterRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertyEventFilterRequest.php new file mode 100644 index 000000000000..d220b0e16370 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertyEventFilterRequest.php @@ -0,0 +1,151 @@ +google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest + */ +class UpdateSubpropertyEventFilterRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The subproperty event filter to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $subproperty_event_filter = null; + /** + * Required. The list of fields to update. Field names must be in snake case + * (for example, "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]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subpropertyEventFilter Required. The subproperty event filter to update. + * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to update. Field names must be in snake case + * (for example, "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateSubpropertyEventFilterRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subpropertyEventFilter, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setSubpropertyEventFilter($subpropertyEventFilter) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subproperty_event_filter + * Required. The subproperty event filter to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Required. The list of fields to update. Field names must be in snake case + * (for example, "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) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The subproperty event filter to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter|null + */ + public function getSubpropertyEventFilter() + { + return $this->subproperty_event_filter; + } + + public function hasSubpropertyEventFilter() + { + return isset($this->subproperty_event_filter); + } + + public function clearSubpropertyEventFilter() + { + unset($this->subproperty_event_filter); + } + + /** + * Required. The subproperty event filter to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $var + * @return $this + */ + public function setSubpropertyEventFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter::class); + $this->subproperty_event_filter = $var; + + return $this; + } + + /** + * Required. The list of fields to update. Field names must be in snake case + * (for example, "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 + */ + 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 update. Field names must be in snake case + * (for example, "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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertySyncConfigRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertySyncConfigRequest.php new file mode 100644 index 000000000000..936faa54c9fa --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertySyncConfigRequest.php @@ -0,0 +1,151 @@ +google.analytics.admin.v1alpha.UpdateSubpropertySyncConfigRequest + */ +class UpdateSubpropertySyncConfigRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The `SubpropertySyncConfig` to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_config = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $subproperty_sync_config = null; + /** + * Optional. The list of fields to update. Field names must be in snake case + * (for example, "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) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig $subpropertySyncConfig Required. The `SubpropertySyncConfig` to update. + * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. Field names must be in snake case + * (for example, "field_to_update"). Omitted fields will not be updated. To + * replace the entire entity, use one path with the string "*" to match all + * fields. + * + * @return \Google\Analytics\Admin\V1alpha\UpdateSubpropertySyncConfigRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1alpha\SubpropertySyncConfig $subpropertySyncConfig, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setSubpropertySyncConfig($subpropertySyncConfig) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig $subproperty_sync_config + * Required. The `SubpropertySyncConfig` to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. The list of fields to update. Field names must be in snake case + * (for example, "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) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The `SubpropertySyncConfig` to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig|null + */ + public function getSubpropertySyncConfig() + { + return $this->subproperty_sync_config; + } + + public function hasSubpropertySyncConfig() + { + return isset($this->subproperty_sync_config); + } + + public function clearSubpropertySyncConfig() + { + unset($this->subproperty_sync_config); + } + + /** + * Required. The `SubpropertySyncConfig` to update. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_config = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig $var + * @return $this + */ + public function setSubpropertySyncConfig($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig::class); + $this->subproperty_sync_config = $var; + + return $this; + } + + /** + * Optional. The list of fields to update. Field names must be in snake case + * (for example, "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) = OPTIONAL]; + * @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); + } + + /** + * Optional. The list of fields to update. Field names must be in snake case + * (for example, "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) = OPTIONAL]; + * @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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UserProvidedDataSettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UserProvidedDataSettings.php new file mode 100644 index 000000000000..64125b12a219 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UserProvidedDataSettings.php @@ -0,0 +1,152 @@ +google.analytics.admin.v1alpha.UserProvidedDataSettings + */ +class UserProvidedDataSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Identifier. Resource name of this setting. + * Format: properties/{property}/userProvidedDataSettings + * Example: "properties/1000/userProvidedDataSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + */ + protected $name = ''; + /** + * Optional. Whether this property accepts user-provided data sent to it. + * + * Generated from protobuf field bool user_provided_data_collection_enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $user_provided_data_collection_enabled = false; + /** + * Optional. Whether this property allows a Google Tag to automatically + * collect user-provided data from your website. This setting only takes + * effect if `user_provided_data_collection_enabled` is also true. + * + * Generated from protobuf field bool automatically_detected_data_collection_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $automatically_detected_data_collection_enabled = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Identifier. Resource name of this setting. + * Format: properties/{property}/userProvidedDataSettings + * Example: "properties/1000/userProvidedDataSettings" + * @type bool $user_provided_data_collection_enabled + * Optional. Whether this property accepts user-provided data sent to it. + * @type bool $automatically_detected_data_collection_enabled + * Optional. Whether this property allows a Google Tag to automatically + * collect user-provided data from your website. This setting only takes + * effect if `user_provided_data_collection_enabled` is also true. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Identifier. Resource name of this setting. + * Format: properties/{property}/userProvidedDataSettings + * Example: "properties/1000/userProvidedDataSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Identifier. Resource name of this setting. + * Format: properties/{property}/userProvidedDataSettings + * Example: "properties/1000/userProvidedDataSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Optional. Whether this property accepts user-provided data sent to it. + * + * Generated from protobuf field bool user_provided_data_collection_enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getUserProvidedDataCollectionEnabled() + { + return $this->user_provided_data_collection_enabled; + } + + /** + * Optional. Whether this property accepts user-provided data sent to it. + * + * Generated from protobuf field bool user_provided_data_collection_enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setUserProvidedDataCollectionEnabled($var) + { + GPBUtil::checkBool($var); + $this->user_provided_data_collection_enabled = $var; + + return $this; + } + + /** + * Optional. Whether this property allows a Google Tag to automatically + * collect user-provided data from your website. This setting only takes + * effect if `user_provided_data_collection_enabled` is also true. + * + * Generated from protobuf field bool automatically_detected_data_collection_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAutomaticallyDetectedDataCollectionEnabled() + { + return $this->automatically_detected_data_collection_enabled; + } + + /** + * Optional. Whether this property allows a Google Tag to automatically + * collect user-provided data from your website. This setting only takes + * effect if `user_provided_data_collection_enabled` is also true. + * + * Generated from protobuf field bool automatically_detected_data_collection_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAutomaticallyDetectedDataCollectionEnabled($var) + { + GPBUtil::checkBool($var); + $this->automatically_detected_data_collection_enabled = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php new file mode 100644 index 000000000000..5ea86f35aee8 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php @@ -0,0 +1,87 @@ +setProperty($formattedProperty) + ->setAcknowledgement($acknowledgement); + + // Call the API and handle any network failures. + try { + /** @var AcknowledgeUserDataCollectionResponse $response */ + $response = $analyticsAdminServiceClient->acknowledgeUserDataCollection($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedProperty = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $acknowledgement = '[ACKNOWLEDGEMENT]'; + + acknowledge_user_data_collection_sample($formattedProperty, $acknowledgement); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_AcknowledgeUserDataCollection_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/approve_display_video360_advertiser_link_proposal.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/approve_display_video360_advertiser_link_proposal.php new file mode 100644 index 000000000000..820b46f9bc63 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/approve_display_video360_advertiser_link_proposal.php @@ -0,0 +1,77 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var ApproveDisplayVideo360AdvertiserLinkProposalResponse $response */ + $response = $analyticsAdminServiceClient->approveDisplayVideo360AdvertiserLinkProposal($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkProposalName( + '[PROPERTY]', + '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]' + ); + + approve_display_video360_advertiser_link_proposal_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ApproveDisplayVideo360AdvertiserLinkProposal_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_audience.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_audience.php new file mode 100644 index 000000000000..13852360abb7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_audience.php @@ -0,0 +1,69 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->archiveAudience($request); + 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::propertyName('[PROPERTY]'); + + archive_audience_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ArchiveAudience_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_dimension.php new file mode 100644 index 000000000000..a96903c59373 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_dimension.php @@ -0,0 +1,73 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->archiveCustomDimension($request); + 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::customDimensionName( + '[PROPERTY]', + '[CUSTOM_DIMENSION]' + ); + + archive_custom_dimension_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ArchiveCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_metric.php new file mode 100644 index 000000000000..247a29c81eb0 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_metric.php @@ -0,0 +1,70 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->archiveCustomMetric($request); + 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::customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); + + archive_custom_metric_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ArchiveCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_access_bindings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_access_bindings.php new file mode 100644 index 000000000000..109fa6884701 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_access_bindings.php @@ -0,0 +1,94 @@ +setParent($formattedRequestsParent) + ->setAccessBinding($requestsAccessBinding); + $requests = [$createAccessBindingRequest,]; + $request = (new BatchCreateAccessBindingsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchCreateAccessBindingsResponse $response */ + $response = $analyticsAdminServiceClient->batchCreateAccessBindings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); + $formattedRequestsParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); + + batch_create_access_bindings_sample($formattedParent, $formattedRequestsParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchCreateAccessBindings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_delete_access_bindings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_delete_access_bindings.php new file mode 100644 index 000000000000..1a118188a41d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_delete_access_bindings.php @@ -0,0 +1,88 @@ +setName($formattedRequestsName); + $requests = [$deleteAccessBindingRequest,]; + $request = (new BatchDeleteAccessBindingsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->batchDeleteAccessBindings($request); + printf('Call completed successfully.' . PHP_EOL); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); + $formattedRequestsName = AnalyticsAdminServiceClient::accessBindingName( + '[ACCOUNT]', + '[ACCESS_BINDING]' + ); + + batch_delete_access_bindings_sample($formattedParent, $formattedRequestsName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchDeleteAccessBindings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_get_access_bindings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_get_access_bindings.php new file mode 100644 index 000000000000..930dd91353eb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_get_access_bindings.php @@ -0,0 +1,89 @@ +setParent($formattedParent) + ->setNames($formattedNames); + + // Call the API and handle any network failures. + try { + /** @var BatchGetAccessBindingsResponse $response */ + $response = $analyticsAdminServiceClient->batchGetAccessBindings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); + $formattedNamesElement = AnalyticsAdminServiceClient::accessBindingName( + '[ACCOUNT]', + '[ACCESS_BINDING]' + ); + + batch_get_access_bindings_sample($formattedParent, $formattedNamesElement); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchGetAccessBindings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_update_access_bindings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_update_access_bindings.php new file mode 100644 index 000000000000..7f193271e38f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_update_access_bindings.php @@ -0,0 +1,84 @@ +setAccessBinding($requestsAccessBinding); + $requests = [$updateAccessBindingRequest,]; + $request = (new BatchUpdateAccessBindingsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + + // Call the API and handle any network failures. + try { + /** @var BatchUpdateAccessBindingsResponse $response */ + $response = $analyticsAdminServiceClient->batchUpdateAccessBindings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); + + batch_update_access_bindings_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchUpdateAccessBindings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/cancel_display_video360_advertiser_link_proposal.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/cancel_display_video360_advertiser_link_proposal.php new file mode 100644 index 000000000000..ff699d69ddcb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/cancel_display_video360_advertiser_link_proposal.php @@ -0,0 +1,79 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var DisplayVideo360AdvertiserLinkProposal $response */ + $response = $analyticsAdminServiceClient->cancelDisplayVideo360AdvertiserLinkProposal($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkProposalName( + '[PROPERTY]', + '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]' + ); + + cancel_display_video360_advertiser_link_proposal_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CancelDisplayVideo360AdvertiserLinkProposal_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_access_binding.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_access_binding.php new file mode 100644 index 000000000000..2202945134de --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_access_binding.php @@ -0,0 +1,75 @@ +setParent($formattedParent) + ->setAccessBinding($accessBinding); + + // Call the API and handle any network failures. + try { + /** @var AccessBinding $response */ + $response = $analyticsAdminServiceClient->createAccessBinding($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); + + create_access_binding_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateAccessBinding_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_ad_sense_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_ad_sense_link.php new file mode 100644 index 000000000000..ba0f3244a574 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_ad_sense_link.php @@ -0,0 +1,75 @@ +setParent($formattedParent) + ->setAdsenseLink($adsenseLink); + + // Call the API and handle any network failures. + try { + /** @var AdSenseLink $response */ + $response = $analyticsAdminServiceClient->createAdSenseLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + create_ad_sense_link_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateAdSenseLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_audience.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_audience.php new file mode 100644 index 000000000000..3a56148cd7d4 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_audience.php @@ -0,0 +1,102 @@ +setClauseType($audienceFilterClausesClauseType); + $audienceFilterClauses = [$audienceFilterClause,]; + $audience = (new Audience()) + ->setDisplayName($audienceDisplayName) + ->setDescription($audienceDescription) + ->setMembershipDurationDays($audienceMembershipDurationDays) + ->setFilterClauses($audienceFilterClauses); + $request = (new CreateAudienceRequest()) + ->setParent($formattedParent) + ->setAudience($audience); + + // Call the API and handle any network failures. + try { + /** @var Audience $response */ + $response = $analyticsAdminServiceClient->createAudience($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $audienceDisplayName = '[DISPLAY_NAME]'; + $audienceDescription = '[DESCRIPTION]'; + $audienceMembershipDurationDays = 0; + $audienceFilterClausesClauseType = AudienceClauseType::AUDIENCE_CLAUSE_TYPE_UNSPECIFIED; + + create_audience_sample( + $formattedParent, + $audienceDisplayName, + $audienceDescription, + $audienceMembershipDurationDays, + $audienceFilterClausesClauseType + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateAudience_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_big_query_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_big_query_link.php new file mode 100644 index 000000000000..9d887ad02d44 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_big_query_link.php @@ -0,0 +1,80 @@ +setDatasetLocation($bigqueryLinkDatasetLocation); + $request = (new CreateBigQueryLinkRequest()) + ->setParent($formattedParent) + ->setBigqueryLink($bigqueryLink); + + // Call the API and handle any network failures. + try { + /** @var BigQueryLink $response */ + $response = $analyticsAdminServiceClient->createBigQueryLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $bigqueryLinkDatasetLocation = '[DATASET_LOCATION]'; + + create_big_query_link_sample($formattedParent, $bigqueryLinkDatasetLocation); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateBigQueryLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_calculated_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_calculated_metric.php new file mode 100644 index 000000000000..80f603c0969c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_calculated_metric.php @@ -0,0 +1,112 @@ +setDisplayName($calculatedMetricDisplayName) + ->setMetricUnit($calculatedMetricMetricUnit) + ->setFormula($calculatedMetricFormula); + $request = (new CreateCalculatedMetricRequest()) + ->setParent($formattedParent) + ->setCalculatedMetricId($calculatedMetricId) + ->setCalculatedMetric($calculatedMetric); + + // Call the API and handle any network failures. + try { + /** @var CalculatedMetric $response */ + $response = $analyticsAdminServiceClient->createCalculatedMetric($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $calculatedMetricId = '[CALCULATED_METRIC_ID]'; + $calculatedMetricDisplayName = '[DISPLAY_NAME]'; + $calculatedMetricMetricUnit = MetricUnit::METRIC_UNIT_UNSPECIFIED; + $calculatedMetricFormula = '[FORMULA]'; + + create_calculated_metric_sample( + $formattedParent, + $calculatedMetricId, + $calculatedMetricDisplayName, + $calculatedMetricMetricUnit, + $calculatedMetricFormula + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateCalculatedMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_channel_group.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_channel_group.php new file mode 100644 index 000000000000..df970f2bcc3a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_channel_group.php @@ -0,0 +1,95 @@ +setDisplayName($channelGroupGroupingRuleDisplayName) + ->setExpression($channelGroupGroupingRuleExpression); + $channelGroupGroupingRule = [$groupingRule,]; + $channelGroup = (new ChannelGroup()) + ->setDisplayName($channelGroupDisplayName) + ->setGroupingRule($channelGroupGroupingRule); + $request = (new CreateChannelGroupRequest()) + ->setParent($formattedParent) + ->setChannelGroup($channelGroup); + + // Call the API and handle any network failures. + try { + /** @var ChannelGroup $response */ + $response = $analyticsAdminServiceClient->createChannelGroup($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $channelGroupDisplayName = '[DISPLAY_NAME]'; + $channelGroupGroupingRuleDisplayName = '[DISPLAY_NAME]'; + + create_channel_group_sample( + $formattedParent, + $channelGroupDisplayName, + $channelGroupGroupingRuleDisplayName + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateChannelGroup_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_conversion_event.php new file mode 100644 index 000000000000..fce79cdb0d41 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_conversion_event.php @@ -0,0 +1,75 @@ +setConversionEvent($conversionEvent) + ->setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var ConversionEvent $response */ + $response = $analyticsAdminServiceClient->createConversionEvent($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + create_conversion_event_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_dimension.php new file mode 100644 index 000000000000..4dbd6b547435 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_dimension.php @@ -0,0 +1,107 @@ +setParameterName($customDimensionParameterName) + ->setDisplayName($customDimensionDisplayName) + ->setScope($customDimensionScope); + $request = (new CreateCustomDimensionRequest()) + ->setParent($formattedParent) + ->setCustomDimension($customDimension); + + // Call the API and handle any network failures. + try { + /** @var CustomDimension $response */ + $response = $analyticsAdminServiceClient->createCustomDimension($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $customDimensionParameterName = '[PARAMETER_NAME]'; + $customDimensionDisplayName = '[DISPLAY_NAME]'; + $customDimensionScope = DimensionScope::DIMENSION_SCOPE_UNSPECIFIED; + + create_custom_dimension_sample( + $formattedParent, + $customDimensionParameterName, + $customDimensionDisplayName, + $customDimensionScope + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_metric.php new file mode 100644 index 000000000000..d5e387a595c2 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_metric.php @@ -0,0 +1,108 @@ +setParameterName($customMetricParameterName) + ->setDisplayName($customMetricDisplayName) + ->setMeasurementUnit($customMetricMeasurementUnit) + ->setScope($customMetricScope); + $request = (new CreateCustomMetricRequest()) + ->setParent($formattedParent) + ->setCustomMetric($customMetric); + + // Call the API and handle any network failures. + try { + /** @var CustomMetric $response */ + $response = $analyticsAdminServiceClient->createCustomMetric($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $customMetricParameterName = '[PARAMETER_NAME]'; + $customMetricDisplayName = '[DISPLAY_NAME]'; + $customMetricMeasurementUnit = MeasurementUnit::MEASUREMENT_UNIT_UNSPECIFIED; + $customMetricScope = MetricScope::METRIC_SCOPE_UNSPECIFIED; + + create_custom_metric_sample( + $formattedParent, + $customMetricParameterName, + $customMetricDisplayName, + $customMetricMeasurementUnit, + $customMetricScope + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_data_stream.php new file mode 100644 index 000000000000..4fdb88e289d6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_data_stream.php @@ -0,0 +1,77 @@ +setType($dataStreamType); + $request = (new CreateDataStreamRequest()) + ->setParent($formattedParent) + ->setDataStream($dataStream); + + // Call the API and handle any network failures. + try { + /** @var DataStream $response */ + $response = $analyticsAdminServiceClient->createDataStream($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $dataStreamType = DataStreamType::DATA_STREAM_TYPE_UNSPECIFIED; + + create_data_stream_sample($formattedParent, $dataStreamType); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link.php new file mode 100644 index 000000000000..3fc2cb6869fb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link.php @@ -0,0 +1,77 @@ +setParent($formattedParent) + ->setDisplayVideo360AdvertiserLink($displayVideo360AdvertiserLink); + + // Call the API and handle any network failures. + try { + /** @var DisplayVideo360AdvertiserLink $response */ + $response = $analyticsAdminServiceClient->createDisplayVideo360AdvertiserLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + create_display_video360_advertiser_link_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateDisplayVideo360AdvertiserLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link_proposal.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link_proposal.php new file mode 100644 index 000000000000..d1d95436bae6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link_proposal.php @@ -0,0 +1,73 @@ +setParent($formattedParent) + ->setDisplayVideo360AdvertiserLinkProposal($displayVideo360AdvertiserLinkProposal); + + // Call the API and handle any network failures. + try { + /** @var DisplayVideo360AdvertiserLinkProposal $response */ + $response = $analyticsAdminServiceClient->createDisplayVideo360AdvertiserLinkProposal($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + create_display_video360_advertiser_link_proposal_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateDisplayVideo360AdvertiserLinkProposal_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_create_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_create_rule.php new file mode 100644 index 000000000000..e28b6545b2e2 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_create_rule.php @@ -0,0 +1,113 @@ +setField($eventCreateRuleEventConditionsField) + ->setComparisonType($eventCreateRuleEventConditionsComparisonType) + ->setValue($eventCreateRuleEventConditionsValue); + $eventCreateRuleEventConditions = [$matchingCondition,]; + $eventCreateRule = (new EventCreateRule()) + ->setDestinationEvent($eventCreateRuleDestinationEvent) + ->setEventConditions($eventCreateRuleEventConditions); + $request = (new CreateEventCreateRuleRequest()) + ->setParent($formattedParent) + ->setEventCreateRule($eventCreateRule); + + // Call the API and handle any network failures. + try { + /** @var EventCreateRule $response */ + $response = $analyticsAdminServiceClient->createEventCreateRule($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $eventCreateRuleDestinationEvent = '[DESTINATION_EVENT]'; + $eventCreateRuleEventConditionsField = '[FIELD]'; + $eventCreateRuleEventConditionsComparisonType = ComparisonType::COMPARISON_TYPE_UNSPECIFIED; + $eventCreateRuleEventConditionsValue = '[VALUE]'; + + create_event_create_rule_sample( + $formattedParent, + $eventCreateRuleDestinationEvent, + $eventCreateRuleEventConditionsField, + $eventCreateRuleEventConditionsComparisonType, + $eventCreateRuleEventConditionsValue + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateEventCreateRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_edit_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_edit_rule.php new file mode 100644 index 000000000000..f278ade9731a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_edit_rule.php @@ -0,0 +1,134 @@ +setField($eventEditRuleEventConditionsField) + ->setComparisonType($eventEditRuleEventConditionsComparisonType) + ->setValue($eventEditRuleEventConditionsValue); + $eventEditRuleEventConditions = [$matchingCondition,]; + $parameterMutation = (new ParameterMutation()) + ->setParameter($eventEditRuleParameterMutationsParameter) + ->setParameterValue($eventEditRuleParameterMutationsParameterValue); + $eventEditRuleParameterMutations = [$parameterMutation,]; + $eventEditRule = (new EventEditRule()) + ->setDisplayName($eventEditRuleDisplayName) + ->setEventConditions($eventEditRuleEventConditions) + ->setParameterMutations($eventEditRuleParameterMutations); + $request = (new CreateEventEditRuleRequest()) + ->setParent($formattedParent) + ->setEventEditRule($eventEditRule); + + // Call the API and handle any network failures. + try { + /** @var EventEditRule $response */ + $response = $analyticsAdminServiceClient->createEventEditRule($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $eventEditRuleDisplayName = '[DISPLAY_NAME]'; + $eventEditRuleEventConditionsField = '[FIELD]'; + $eventEditRuleEventConditionsComparisonType = ComparisonType::COMPARISON_TYPE_UNSPECIFIED; + $eventEditRuleEventConditionsValue = '[VALUE]'; + $eventEditRuleParameterMutationsParameter = '[PARAMETER]'; + $eventEditRuleParameterMutationsParameterValue = '[PARAMETER_VALUE]'; + + create_event_edit_rule_sample( + $formattedParent, + $eventEditRuleDisplayName, + $eventEditRuleEventConditionsField, + $eventEditRuleEventConditionsComparisonType, + $eventEditRuleEventConditionsValue, + $eventEditRuleParameterMutationsParameter, + $eventEditRuleParameterMutationsParameterValue + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateEventEditRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_expanded_data_set.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_expanded_data_set.php new file mode 100644 index 000000000000..f92a0bb6237f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_expanded_data_set.php @@ -0,0 +1,79 @@ +setDisplayName($expandedDataSetDisplayName); + $request = (new CreateExpandedDataSetRequest()) + ->setParent($formattedParent) + ->setExpandedDataSet($expandedDataSet); + + // Call the API and handle any network failures. + try { + /** @var ExpandedDataSet $response */ + $response = $analyticsAdminServiceClient->createExpandedDataSet($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $expandedDataSetDisplayName = '[DISPLAY_NAME]'; + + create_expanded_data_set_sample($formattedParent, $expandedDataSetDisplayName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateExpandedDataSet_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_firebase_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_firebase_link.php new file mode 100644 index 000000000000..a81aab8e1ffe --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_firebase_link.php @@ -0,0 +1,77 @@ +setParent($formattedParent) + ->setFirebaseLink($firebaseLink); + + // Call the API and handle any network failures. + try { + /** @var FirebaseLink $response */ + $response = $analyticsAdminServiceClient->createFirebaseLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + create_firebase_link_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateFirebaseLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_google_ads_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_google_ads_link.php new file mode 100644 index 000000000000..bdb996b9fbf9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_google_ads_link.php @@ -0,0 +1,73 @@ +setParent($formattedParent) + ->setGoogleAdsLink($googleAdsLink); + + // Call the API and handle any network failures. + try { + /** @var GoogleAdsLink $response */ + $response = $analyticsAdminServiceClient->createGoogleAdsLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + create_google_ads_link_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateGoogleAdsLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_key_event.php new file mode 100644 index 000000000000..5a1023cc45c3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_key_event.php @@ -0,0 +1,79 @@ +setCountingMethod($keyEventCountingMethod); + $request = (new CreateKeyEventRequest()) + ->setKeyEvent($keyEvent) + ->setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var KeyEvent $response */ + $response = $analyticsAdminServiceClient->createKeyEvent($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + create_key_event_sample($keyEventCountingMethod, $formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php new file mode 100644 index 000000000000..c4760e3064fb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php @@ -0,0 +1,79 @@ +setDisplayName($measurementProtocolSecretDisplayName); + $request = (new CreateMeasurementProtocolSecretRequest()) + ->setParent($formattedParent) + ->setMeasurementProtocolSecret($measurementProtocolSecret); + + // Call the API and handle any network failures. + try { + /** @var MeasurementProtocolSecret $response */ + $response = $analyticsAdminServiceClient->createMeasurementProtocolSecret($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $measurementProtocolSecretDisplayName = '[DISPLAY_NAME]'; + + create_measurement_protocol_secret_sample($formattedParent, $measurementProtocolSecretDisplayName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_property.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_property.php new file mode 100644 index 000000000000..b8c391a9cb7b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_property.php @@ -0,0 +1,86 @@ +setDisplayName($propertyDisplayName) + ->setTimeZone($propertyTimeZone); + $request = (new CreatePropertyRequest()) + ->setProperty($property); + + // Call the API and handle any network failures. + try { + /** @var Property $response */ + $response = $analyticsAdminServiceClient->createProperty($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $propertyDisplayName = '[DISPLAY_NAME]'; + $propertyTimeZone = '[TIME_ZONE]'; + + create_property_sample($propertyDisplayName, $propertyTimeZone); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_reporting_data_annotation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_reporting_data_annotation.php new file mode 100644 index 000000000000..98a319b96a11 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_reporting_data_annotation.php @@ -0,0 +1,97 @@ +setName($reportingDataAnnotationName) + ->setTitle($reportingDataAnnotationTitle) + ->setColor($reportingDataAnnotationColor); + $request = (new CreateReportingDataAnnotationRequest()) + ->setParent($formattedParent) + ->setReportingDataAnnotation($reportingDataAnnotation); + + // Call the API and handle any network failures. + try { + /** @var ReportingDataAnnotation $response */ + $response = $analyticsAdminServiceClient->createReportingDataAnnotation($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $reportingDataAnnotationName = '[NAME]'; + $reportingDataAnnotationTitle = '[TITLE]'; + $reportingDataAnnotationColor = Color::COLOR_UNSPECIFIED; + + create_reporting_data_annotation_sample( + $formattedParent, + $reportingDataAnnotationName, + $reportingDataAnnotationTitle, + $reportingDataAnnotationColor + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateReportingDataAnnotation_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property.php new file mode 100644 index 000000000000..51559c2ced4b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property.php @@ -0,0 +1,88 @@ +setDisplayName($rollupPropertyDisplayName) + ->setTimeZone($rollupPropertyTimeZone); + $request = (new CreateRollupPropertyRequest()) + ->setRollupProperty($rollupProperty); + + // Call the API and handle any network failures. + try { + /** @var CreateRollupPropertyResponse $response */ + $response = $analyticsAdminServiceClient->createRollupProperty($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $rollupPropertyDisplayName = '[DISPLAY_NAME]'; + $rollupPropertyTimeZone = '[TIME_ZONE]'; + + create_rollup_property_sample($rollupPropertyDisplayName, $rollupPropertyTimeZone); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateRollupProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property_source_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property_source_link.php new file mode 100644 index 000000000000..796faa3539ff --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property_source_link.php @@ -0,0 +1,76 @@ +setParent($formattedParent) + ->setRollupPropertySourceLink($rollupPropertySourceLink); + + // Call the API and handle any network failures. + try { + /** @var RollupPropertySourceLink $response */ + $response = $analyticsAdminServiceClient->createRollupPropertySourceLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + create_rollup_property_source_link_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateRollupPropertySourceLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_search_ads360_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_search_ads360_link.php new file mode 100644 index 000000000000..cc8b57f6cb32 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_search_ads360_link.php @@ -0,0 +1,73 @@ +setParent($formattedParent) + ->setSearchAds360Link($searchAds360Link); + + // Call the API and handle any network failures. + try { + /** @var SearchAds360Link $response */ + $response = $analyticsAdminServiceClient->createSearchAds360Link($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + create_search_ads360_link_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSearchAds360Link_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_sk_ad_network_conversion_value_schema.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_sk_ad_network_conversion_value_schema.php new file mode 100644 index 000000000000..670f3c45c950 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_sk_ad_network_conversion_value_schema.php @@ -0,0 +1,77 @@ +setPostbackWindowOne($skadnetworkConversionValueSchemaPostbackWindowOne); + $request = (new CreateSKAdNetworkConversionValueSchemaRequest()) + ->setParent($formattedParent) + ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema); + + // Call the API and handle any network failures. + try { + /** @var SKAdNetworkConversionValueSchema $response */ + $response = $analyticsAdminServiceClient->createSKAdNetworkConversionValueSchema($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + + create_sk_ad_network_conversion_value_schema_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSKAdNetworkConversionValueSchema_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty_event_filter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty_event_filter.php new file mode 100644 index 000000000000..6b43230cd119 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty_event_filter.php @@ -0,0 +1,90 @@ +setFilterClauseType($subpropertyEventFilterFilterClausesFilterClauseType) + ->setFilterExpression($subpropertyEventFilterFilterClausesFilterExpression); + $subpropertyEventFilterFilterClauses = [$subpropertyEventFilterClause,]; + $subpropertyEventFilter = (new SubpropertyEventFilter()) + ->setFilterClauses($subpropertyEventFilterFilterClauses); + $request = (new CreateSubpropertyEventFilterRequest()) + ->setParent($formattedParent) + ->setSubpropertyEventFilter($subpropertyEventFilter); + + // Call the API and handle any network failures. + try { + /** @var SubpropertyEventFilter $response */ + $response = $analyticsAdminServiceClient->createSubpropertyEventFilter($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $subpropertyEventFilterFilterClausesFilterClauseType = FilterClauseType::FILTER_CLAUSE_TYPE_UNSPECIFIED; + + create_subproperty_event_filter_sample( + $formattedParent, + $subpropertyEventFilterFilterClausesFilterClauseType + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSubpropertyEventFilter_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_access_binding.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_access_binding.php new file mode 100644 index 000000000000..79419c9d19d9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_access_binding.php @@ -0,0 +1,71 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteAccessBinding($request); + 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::accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); + + delete_access_binding_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteAccessBinding_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_account.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_account.php new file mode 100644 index 000000000000..779301e2f04b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_account.php @@ -0,0 +1,81 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteAccount($request); + 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::accountName('[ACCOUNT]'); + + delete_account_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteAccount_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_ad_sense_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_ad_sense_link.php new file mode 100644 index 000000000000..7eeecb458ddf --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_ad_sense_link.php @@ -0,0 +1,71 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteAdSenseLink($request); + 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::adSenseLinkName('[PROPERTY]', '[ADSENSE_LINK]'); + + delete_ad_sense_link_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteAdSenseLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_big_query_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_big_query_link.php new file mode 100644 index 000000000000..19bc8bc3e396 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_big_query_link.php @@ -0,0 +1,70 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteBigQueryLink($request); + 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::bigQueryLinkName('[PROPERTY]', '[BIGQUERY_LINK]'); + + delete_big_query_link_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteBigQueryLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_calculated_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_calculated_metric.php new file mode 100644 index 000000000000..2387685c55ff --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_calculated_metric.php @@ -0,0 +1,74 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteCalculatedMetric($request); + 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::calculatedMetricName( + '[PROPERTY]', + '[CALCULATED_METRIC]' + ); + + delete_calculated_metric_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteCalculatedMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_channel_group.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_channel_group.php new file mode 100644 index 000000000000..a6e96a05d9ae --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_channel_group.php @@ -0,0 +1,70 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteChannelGroup($request); + 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::channelGroupName('[PROPERTY]', '[CHANNEL_GROUP]'); + + delete_channel_group_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteChannelGroup_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_conversion_event.php new file mode 100644 index 000000000000..6f746f7e3ea4 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_conversion_event.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteConversionEvent($request); + 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::conversionEventName( + '[PROPERTY]', + '[CONVERSION_EVENT]' + ); + + delete_conversion_event_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_data_stream.php new file mode 100644 index 000000000000..171152a4d648 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_data_stream.php @@ -0,0 +1,70 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteDataStream($request); + 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::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + + delete_data_stream_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link.php new file mode 100644 index 000000000000..61091a7d0452 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link.php @@ -0,0 +1,73 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteDisplayVideo360AdvertiserLink($request); + 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::displayVideo360AdvertiserLinkName( + '[PROPERTY]', + '[DISPLAY_VIDEO_360_ADVERTISER_LINK]' + ); + + delete_display_video360_advertiser_link_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteDisplayVideo360AdvertiserLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link_proposal.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link_proposal.php new file mode 100644 index 000000000000..d55b2bb1481b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link_proposal.php @@ -0,0 +1,74 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteDisplayVideo360AdvertiserLinkProposal($request); + 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::displayVideo360AdvertiserLinkProposalName( + '[PROPERTY]', + '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]' + ); + + delete_display_video360_advertiser_link_proposal_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteDisplayVideo360AdvertiserLinkProposal_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_create_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_create_rule.php new file mode 100644 index 000000000000..00b8bd04e55f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_create_rule.php @@ -0,0 +1,74 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteEventCreateRule($request); + 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::eventCreateRuleName( + '[PROPERTY]', + '[DATA_STREAM]', + '[EVENT_CREATE_RULE]' + ); + + delete_event_create_rule_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteEventCreateRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_edit_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_edit_rule.php new file mode 100644 index 000000000000..f955a41cde51 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_edit_rule.php @@ -0,0 +1,73 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteEventEditRule($request); + 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::eventEditRuleName( + '[PROPERTY]', + '[DATA_STREAM]', + '[EVENT_EDIT_RULE]' + ); + + delete_event_edit_rule_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteEventEditRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_expanded_data_set.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_expanded_data_set.php new file mode 100644 index 000000000000..4ab0dbe69bb5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_expanded_data_set.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteExpandedDataSet($request); + 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::expandedDataSetName( + '[PROPERTY]', + '[EXPANDED_DATA_SET]' + ); + + delete_expanded_data_set_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteExpandedDataSet_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_firebase_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_firebase_link.php new file mode 100644 index 000000000000..4ccf92a00738 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_firebase_link.php @@ -0,0 +1,71 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteFirebaseLink($request); + 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::firebaseLinkName('[PROPERTY]', '[FIREBASE_LINK]'); + + delete_firebase_link_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteFirebaseLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_google_ads_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_google_ads_link.php new file mode 100644 index 000000000000..bdf8e7d3202d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_google_ads_link.php @@ -0,0 +1,69 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteGoogleAdsLink($request); + 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::googleAdsLinkName('[PROPERTY]', '[GOOGLE_ADS_LINK]'); + + delete_google_ads_link_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteGoogleAdsLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_key_event.php new file mode 100644 index 000000000000..a20ceeac2227 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_key_event.php @@ -0,0 +1,71 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteKeyEvent($request); + 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::keyEventName('[PROPERTY]', '[KEY_EVENT]'); + + delete_key_event_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php new file mode 100644 index 000000000000..599450ffb103 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteMeasurementProtocolSecret($request); + 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::measurementProtocolSecretName( + '[PROPERTY]', + '[DATA_STREAM]', + '[MEASUREMENT_PROTOCOL_SECRET]' + ); + + delete_measurement_protocol_secret_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php new file mode 100644 index 000000000000..a87cc9421b2b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php @@ -0,0 +1,83 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Property $response */ + $response = $analyticsAdminServiceClient->deleteProperty($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + delete_property_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_reporting_data_annotation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_reporting_data_annotation.php new file mode 100644 index 000000000000..1ebe442c9477 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_reporting_data_annotation.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteReportingDataAnnotation($request); + 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::reportingDataAnnotationName( + '[PROPERTY]', + '[REPORTING_DATA_ANNOTATION]' + ); + + delete_reporting_data_annotation_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteReportingDataAnnotation_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_rollup_property_source_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_rollup_property_source_link.php new file mode 100644 index 000000000000..5e00c8330ede --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_rollup_property_source_link.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteRollupPropertySourceLink($request); + 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::rollupPropertySourceLinkName( + '[PROPERTY]', + '[ROLLUP_PROPERTY_SOURCE_LINK]' + ); + + delete_rollup_property_source_link_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteRollupPropertySourceLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_search_ads360_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_search_ads360_link.php new file mode 100644 index 000000000000..68a31fd18015 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_search_ads360_link.php @@ -0,0 +1,73 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteSearchAds360Link($request); + 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/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_sk_ad_network_conversion_value_schema.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_sk_ad_network_conversion_value_schema.php new file mode 100644 index 000000000000..1107e891503d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_sk_ad_network_conversion_value_schema.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteSKAdNetworkConversionValueSchema($request); + 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::sKAdNetworkConversionValueSchemaName( + '[PROPERTY]', + '[DATA_STREAM]', + '[SKADNETWORK_CONVERSION_VALUE_SCHEMA]' + ); + + delete_sk_ad_network_conversion_value_schema_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSKAdNetworkConversionValueSchema_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_subproperty_event_filter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_subproperty_event_filter.php new file mode 100644 index 000000000000..5a2d5dae86c8 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_subproperty_event_filter.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteSubpropertyEventFilter($request); + 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::subpropertyEventFilterName( + '[PROPERTY]', + '[SUB_PROPERTY_EVENT_FILTER]' + ); + + delete_subproperty_event_filter_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSubpropertyEventFilter_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_access_binding.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_access_binding.php new file mode 100644 index 000000000000..6b9ababbf4cb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_access_binding.php @@ -0,0 +1,74 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var AccessBinding $response */ + $response = $analyticsAdminServiceClient->getAccessBinding($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); + + get_access_binding_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAccessBinding_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_account.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_account.php new file mode 100644 index 000000000000..bb75365e420f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_account.php @@ -0,0 +1,73 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Account $response */ + $response = $analyticsAdminServiceClient->getAccount($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); + + get_account_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAccount_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_ad_sense_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_ad_sense_link.php new file mode 100644 index 000000000000..926a6ad854e3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_ad_sense_link.php @@ -0,0 +1,73 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var AdSenseLink $response */ + $response = $analyticsAdminServiceClient->getAdSenseLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::adSenseLinkName('[PROPERTY]', '[ADSENSE_LINK]'); + + get_ad_sense_link_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAdSenseLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_attribution_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_attribution_settings.php new file mode 100644 index 000000000000..c410e87e600d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_attribution_settings.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var AttributionSettings $response */ + $response = $analyticsAdminServiceClient->getAttributionSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::attributionSettingsName('[PROPERTY]'); + + get_attribution_settings_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAttributionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_audience.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_audience.php new file mode 100644 index 000000000000..68a757a18198 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_audience.php @@ -0,0 +1,74 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Audience $response */ + $response = $analyticsAdminServiceClient->getAudience($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::audienceName('[PROPERTY]', '[AUDIENCE]'); + + get_audience_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAudience_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_big_query_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_big_query_link.php new file mode 100644 index 000000000000..de2074600bad --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_big_query_link.php @@ -0,0 +1,73 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var BigQueryLink $response */ + $response = $analyticsAdminServiceClient->getBigQueryLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::bigQueryLinkName('[PROPERTY]', '[BIGQUERY_LINK]'); + + get_big_query_link_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetBigQueryLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_calculated_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_calculated_metric.php new file mode 100644 index 000000000000..2ba7263e9a15 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_calculated_metric.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var CalculatedMetric $response */ + $response = $analyticsAdminServiceClient->getCalculatedMetric($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::calculatedMetricName( + '[PROPERTY]', + '[CALCULATED_METRIC]' + ); + + get_calculated_metric_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetCalculatedMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_channel_group.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_channel_group.php new file mode 100644 index 000000000000..960869854d54 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_channel_group.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var ChannelGroup $response */ + $response = $analyticsAdminServiceClient->getChannelGroup($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::channelGroupName('[PROPERTY]', '[CHANNEL_GROUP]'); + + get_channel_group_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetChannelGroup_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_conversion_event.php new file mode 100644 index 000000000000..25e12867c3e5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_conversion_event.php @@ -0,0 +1,77 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var ConversionEvent $response */ + $response = $analyticsAdminServiceClient->getConversionEvent($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::conversionEventName( + '[PROPERTY]', + '[CONVERSION_EVENT]' + ); + + get_conversion_event_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_dimension.php new file mode 100644 index 000000000000..4934a648ce2a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_dimension.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var CustomDimension $response */ + $response = $analyticsAdminServiceClient->getCustomDimension($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::customDimensionName( + '[PROPERTY]', + '[CUSTOM_DIMENSION]' + ); + + get_custom_dimension_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_metric.php new file mode 100644 index 000000000000..e4ea3486bc1f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_metric.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var CustomMetric $response */ + $response = $analyticsAdminServiceClient->getCustomMetric($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); + + get_custom_metric_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_redaction_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_redaction_settings.php new file mode 100644 index 000000000000..3ba007b8a9db --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_redaction_settings.php @@ -0,0 +1,77 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var DataRedactionSettings $response */ + $response = $analyticsAdminServiceClient->getDataRedactionSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::dataRedactionSettingsName( + '[PROPERTY]', + '[DATA_STREAM]' + ); + + get_data_redaction_settings_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataRedactionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_retention_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_retention_settings.php new file mode 100644 index 000000000000..a9032e3efecd --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_retention_settings.php @@ -0,0 +1,74 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var DataRetentionSettings $response */ + $response = $analyticsAdminServiceClient->getDataRetentionSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::dataRetentionSettingsName('[PROPERTY]'); + + get_data_retention_settings_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataRetentionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_sharing_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_sharing_settings.php new file mode 100644 index 000000000000..f52ac82e88e5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_sharing_settings.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var DataSharingSettings $response */ + $response = $analyticsAdminServiceClient->getDataSharingSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::dataSharingSettingsName('[ACCOUNT]'); + + get_data_sharing_settings_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataSharingSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_stream.php new file mode 100644 index 000000000000..05cdffe346bf --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_stream.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var DataStream $response */ + $response = $analyticsAdminServiceClient->getDataStream($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + + get_data_stream_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link.php new file mode 100644 index 000000000000..79305efbbe44 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var DisplayVideo360AdvertiserLink $response */ + $response = $analyticsAdminServiceClient->getDisplayVideo360AdvertiserLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkName( + '[PROPERTY]', + '[DISPLAY_VIDEO_360_ADVERTISER_LINK]' + ); + + get_display_video360_advertiser_link_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDisplayVideo360AdvertiserLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link_proposal.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link_proposal.php new file mode 100644 index 000000000000..d756583a8039 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link_proposal.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var DisplayVideo360AdvertiserLinkProposal $response */ + $response = $analyticsAdminServiceClient->getDisplayVideo360AdvertiserLinkProposal($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkProposalName( + '[PROPERTY]', + '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]' + ); + + get_display_video360_advertiser_link_proposal_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDisplayVideo360AdvertiserLinkProposal_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_enhanced_measurement_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_enhanced_measurement_settings.php new file mode 100644 index 000000000000..9f69e6325bda --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_enhanced_measurement_settings.php @@ -0,0 +1,79 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var EnhancedMeasurementSettings $response */ + $response = $analyticsAdminServiceClient->getEnhancedMeasurementSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::enhancedMeasurementSettingsName( + '[PROPERTY]', + '[DATA_STREAM]' + ); + + get_enhanced_measurement_settings_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetEnhancedMeasurementSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_create_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_create_rule.php new file mode 100644 index 000000000000..d0352e98bca9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_create_rule.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var EventCreateRule $response */ + $response = $analyticsAdminServiceClient->getEventCreateRule($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::eventCreateRuleName( + '[PROPERTY]', + '[DATA_STREAM]', + '[EVENT_CREATE_RULE]' + ); + + get_event_create_rule_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetEventCreateRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_edit_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_edit_rule.php new file mode 100644 index 000000000000..bff503f8e0dc --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_edit_rule.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var EventEditRule $response */ + $response = $analyticsAdminServiceClient->getEventEditRule($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::eventEditRuleName( + '[PROPERTY]', + '[DATA_STREAM]', + '[EVENT_EDIT_RULE]' + ); + + get_event_edit_rule_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetEventEditRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_expanded_data_set.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_expanded_data_set.php new file mode 100644 index 000000000000..899fb37cc3fd --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_expanded_data_set.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var ExpandedDataSet $response */ + $response = $analyticsAdminServiceClient->getExpandedDataSet($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::expandedDataSetName( + '[PROPERTY]', + '[EXPANDED_DATA_SET]' + ); + + get_expanded_data_set_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetExpandedDataSet_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_global_site_tag.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_global_site_tag.php new file mode 100644 index 000000000000..c720fa2cbbc8 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_global_site_tag.php @@ -0,0 +1,76 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var GlobalSiteTag $response */ + $response = $analyticsAdminServiceClient->getGlobalSiteTag($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::globalSiteTagName('[PROPERTY]', '[DATA_STREAM]'); + + get_global_site_tag_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetGlobalSiteTag_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_google_signals_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_google_signals_settings.php new file mode 100644 index 000000000000..8c39fbd4c05c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_google_signals_settings.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var GoogleSignalsSettings $response */ + $response = $analyticsAdminServiceClient->getGoogleSignalsSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::googleSignalsSettingsName('[PROPERTY]'); + + get_google_signals_settings_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetGoogleSignalsSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_key_event.php new file mode 100644 index 000000000000..3754bd4a1606 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_key_event.php @@ -0,0 +1,73 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var KeyEvent $response */ + $response = $analyticsAdminServiceClient->getKeyEvent($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::keyEventName('[PROPERTY]', '[KEY_EVENT]'); + + get_key_event_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php new file mode 100644 index 000000000000..79ba7d0dd990 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php @@ -0,0 +1,77 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var MeasurementProtocolSecret $response */ + $response = $analyticsAdminServiceClient->getMeasurementProtocolSecret($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::measurementProtocolSecretName( + '[PROPERTY]', + '[DATA_STREAM]', + '[MEASUREMENT_PROTOCOL_SECRET]' + ); + + get_measurement_protocol_secret_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_property.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_property.php new file mode 100644 index 000000000000..ddb077f06e08 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_property.php @@ -0,0 +1,73 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Property $response */ + $response = $analyticsAdminServiceClient->getProperty($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + get_property_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_data_annotation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_data_annotation.php new file mode 100644 index 000000000000..d3d31275dcd8 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_data_annotation.php @@ -0,0 +1,77 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var ReportingDataAnnotation $response */ + $response = $analyticsAdminServiceClient->getReportingDataAnnotation($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::reportingDataAnnotationName( + '[PROPERTY]', + '[REPORTING_DATA_ANNOTATION]' + ); + + get_reporting_data_annotation_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetReportingDataAnnotation_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_identity_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_identity_settings.php new file mode 100644 index 000000000000..524c9dcb2af7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_identity_settings.php @@ -0,0 +1,74 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var ReportingIdentitySettings $response */ + $response = $analyticsAdminServiceClient->getReportingIdentitySettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::reportingIdentitySettingsName('[PROPERTY]'); + + get_reporting_identity_settings_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetReportingIdentitySettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_rollup_property_source_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_rollup_property_source_link.php new file mode 100644 index 000000000000..fa86821df1be --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_rollup_property_source_link.php @@ -0,0 +1,79 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var RollupPropertySourceLink $response */ + $response = $analyticsAdminServiceClient->getRollupPropertySourceLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::rollupPropertySourceLinkName( + '[PROPERTY]', + '[ROLLUP_PROPERTY_SOURCE_LINK]' + ); + + get_rollup_property_source_link_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetRollupPropertySourceLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_search_ads360_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_search_ads360_link.php new file mode 100644 index 000000000000..07b3948d8694 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_search_ads360_link.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var SearchAds360Link $response */ + $response = $analyticsAdminServiceClient->getSearchAds360Link($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::searchAds360LinkName( + '[PROPERTY]', + '[SEARCH_ADS_360_LINK]' + ); + + get_search_ads360_link_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSearchAds360Link_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_sk_ad_network_conversion_value_schema.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_sk_ad_network_conversion_value_schema.php new file mode 100644 index 000000000000..bd8f64923a5b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_sk_ad_network_conversion_value_schema.php @@ -0,0 +1,77 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var SKAdNetworkConversionValueSchema $response */ + $response = $analyticsAdminServiceClient->getSKAdNetworkConversionValueSchema($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::sKAdNetworkConversionValueSchemaName( + '[PROPERTY]', + '[DATA_STREAM]', + '[SKADNETWORK_CONVERSION_VALUE_SCHEMA]' + ); + + get_sk_ad_network_conversion_value_schema_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSKAdNetworkConversionValueSchema_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_event_filter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_event_filter.php new file mode 100644 index 000000000000..0cd4f59a1217 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_event_filter.php @@ -0,0 +1,77 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var SubpropertyEventFilter $response */ + $response = $analyticsAdminServiceClient->getSubpropertyEventFilter($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::subpropertyEventFilterName( + '[PROPERTY]', + '[SUB_PROPERTY_EVENT_FILTER]' + ); + + get_subproperty_event_filter_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSubpropertyEventFilter_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_sync_config.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_sync_config.php new file mode 100644 index 000000000000..2386cb4fa4bb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_sync_config.php @@ -0,0 +1,77 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var SubpropertySyncConfig $response */ + $response = $analyticsAdminServiceClient->getSubpropertySyncConfig($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::subpropertySyncConfigName( + '[PROPERTY]', + '[SUBPROPERTY_SYNC_CONFIG]' + ); + + get_subproperty_sync_config_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSubpropertySyncConfig_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_user_provided_data_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_user_provided_data_settings.php new file mode 100644 index 000000000000..90feafcefdb2 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_user_provided_data_settings.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var UserProvidedDataSettings $response */ + $response = $analyticsAdminServiceClient->getUserProvidedDataSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::userProvidedDataSettingsName('[PROPERTY]'); + + get_user_provided_data_settings_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetUserProvidedDataSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_access_bindings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_access_bindings.php new file mode 100644 index 000000000000..fa675c779ccc --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_access_bindings.php @@ -0,0 +1,78 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listAccessBindings($request); + + /** @var AccessBinding $element */ + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); + + list_access_bindings_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAccessBindings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_account_summaries.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_account_summaries.php new file mode 100644 index 000000000000..25d014a8240e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_account_summaries.php @@ -0,0 +1,62 @@ +listAccountSummaries($request); + + /** @var AccountSummary $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()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAccountSummaries_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_accounts.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_accounts.php new file mode 100644 index 000000000000..da7c743ca343 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_accounts.php @@ -0,0 +1,66 @@ +listAccounts($request); + + /** @var Account $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()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAccounts_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_ad_sense_links.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_ad_sense_links.php new file mode 100644 index 000000000000..3aa80b04bf04 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_ad_sense_links.php @@ -0,0 +1,78 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listAdSenseLinks($request); + + /** @var AdSenseLink $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_ad_sense_links_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAdSenseLinks_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_audiences.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_audiences.php new file mode 100644 index 000000000000..0c056c015ef0 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_audiences.php @@ -0,0 +1,78 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listAudiences($request); + + /** @var Audience $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_audiences_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAudiences_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_big_query_links.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_big_query_links.php new file mode 100644 index 000000000000..6c4699614a45 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_big_query_links.php @@ -0,0 +1,78 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listBigQueryLinks($request); + + /** @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/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_calculated_metrics.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_calculated_metrics.php new file mode 100644 index 000000000000..1f325caf7c2e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_calculated_metrics.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listCalculatedMetrics($request); + + /** @var CalculatedMetric $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_calculated_metrics_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListCalculatedMetrics_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_channel_groups.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_channel_groups.php new file mode 100644 index 000000000000..b418ff4a3cb5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_channel_groups.php @@ -0,0 +1,77 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listChannelGroups($request); + + /** @var ChannelGroup $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_channel_groups_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListChannelGroups_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_conversion_events.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_conversion_events.php new file mode 100644 index 000000000000..22b685a07fff --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_conversion_events.php @@ -0,0 +1,80 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listConversionEvents($request); + + /** @var ConversionEvent $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_conversion_events_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListConversionEvents_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_dimensions.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_dimensions.php new file mode 100644 index 000000000000..aa0d08c8a224 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_dimensions.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listCustomDimensions($request); + + /** @var CustomDimension $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_custom_dimensions_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListCustomDimensions_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_metrics.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_metrics.php new file mode 100644 index 000000000000..0ce8ceb84615 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_metrics.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listCustomMetrics($request); + + /** @var CustomMetric $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_custom_metrics_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListCustomMetrics_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_data_streams.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_data_streams.php new file mode 100644 index 000000000000..30748b08cc6e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_data_streams.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listDataStreams($request); + + /** @var DataStream $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_data_streams_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListDataStreams_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_link_proposals.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_link_proposals.php new file mode 100644 index 000000000000..1cbeeac4e2a9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_link_proposals.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listDisplayVideo360AdvertiserLinkProposals($request); + + /** @var DisplayVideo360AdvertiserLinkProposal $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_display_video360_advertiser_link_proposals_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListDisplayVideo360AdvertiserLinkProposals_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_links.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_links.php new file mode 100644 index 000000000000..1349c748a408 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_links.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listDisplayVideo360AdvertiserLinks($request); + + /** @var DisplayVideo360AdvertiserLink $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_display_video360_advertiser_links_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListDisplayVideo360AdvertiserLinks_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_create_rules.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_create_rules.php new file mode 100644 index 000000000000..5ab89141410e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_create_rules.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listEventCreateRules($request); + + /** @var EventCreateRule $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::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + + list_event_create_rules_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListEventCreateRules_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_edit_rules.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_edit_rules.php new file mode 100644 index 000000000000..64a45c8bb4d8 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_edit_rules.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listEventEditRules($request); + + /** @var EventEditRule $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::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + + list_event_edit_rules_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListEventEditRules_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_expanded_data_sets.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_expanded_data_sets.php new file mode 100644 index 000000000000..51cdb6525c06 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_expanded_data_sets.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listExpandedDataSets($request); + + /** @var ExpandedDataSet $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_expanded_data_sets_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListExpandedDataSets_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_firebase_links.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_firebase_links.php new file mode 100644 index 000000000000..9d3a3be010e9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_firebase_links.php @@ -0,0 +1,79 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listFirebaseLinks($request); + + /** @var FirebaseLink $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_firebase_links_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListFirebaseLinks_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_google_ads_links.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_google_ads_links.php new file mode 100644 index 000000000000..621d1a1e3e9e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_google_ads_links.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listGoogleAdsLinks($request); + + /** @var GoogleAdsLink $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_google_ads_links_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListGoogleAdsLinks_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_key_events.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_key_events.php new file mode 100644 index 000000000000..fa7fd19f935e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_key_events.php @@ -0,0 +1,78 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listKeyEvents($request); + + /** @var KeyEvent $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_key_events_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListKeyEvents_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php new file mode 100644 index 000000000000..7a2c9a124269 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php @@ -0,0 +1,79 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listMeasurementProtocolSecrets($request); + + /** @var MeasurementProtocolSecret $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::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + + list_measurement_protocol_secrets_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListMeasurementProtocolSecrets_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_properties.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_properties.php new file mode 100644 index 000000000000..a3e8f107f591 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_properties.php @@ -0,0 +1,94 @@ +setFilter($filter); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listProperties($request); + + /** @var Property $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 +{ + $filter = '[FILTER]'; + + list_properties_sample($filter); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListProperties_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_reporting_data_annotations.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_reporting_data_annotations.php new file mode 100644 index 000000000000..e278f6ae00d3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_reporting_data_annotations.php @@ -0,0 +1,78 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listReportingDataAnnotations($request); + + /** @var ReportingDataAnnotation $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_reporting_data_annotations_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListReportingDataAnnotations_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_rollup_property_source_links.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_rollup_property_source_links.php new file mode 100644 index 000000000000..728421507b3a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_rollup_property_source_links.php @@ -0,0 +1,79 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listRollupPropertySourceLinks($request); + + /** @var RollupPropertySourceLink $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_rollup_property_source_links_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListRollupPropertySourceLinks_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_search_ads360_links.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_search_ads360_links.php new file mode 100644 index 000000000000..eaf941b77862 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_search_ads360_links.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listSearchAds360Links($request); + + /** @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/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_sk_ad_network_conversion_value_schemas.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_sk_ad_network_conversion_value_schemas.php new file mode 100644 index 000000000000..ac74f04268a9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_sk_ad_network_conversion_value_schemas.php @@ -0,0 +1,80 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listSKAdNetworkConversionValueSchemas($request); + + /** @var SKAdNetworkConversionValueSchema $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::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + + list_sk_ad_network_conversion_value_schemas_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSKAdNetworkConversionValueSchemas_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_event_filters.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_event_filters.php new file mode 100644 index 000000000000..22f18da927b9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_event_filters.php @@ -0,0 +1,78 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listSubpropertyEventFilters($request); + + /** @var SubpropertyEventFilter $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_subproperty_event_filters_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSubpropertyEventFilters_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_sync_configs.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_sync_configs.php new file mode 100644 index 000000000000..712c4dd2e7a0 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_sync_configs.php @@ -0,0 +1,78 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listSubpropertySyncConfigs($request); + + /** @var SubpropertySyncConfig $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_subproperty_sync_configs_sample($formattedParent); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSubpropertySyncConfigs_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_account_ticket.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_account_ticket.php new file mode 100644 index 000000000000..6e891006e8c9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_account_ticket.php @@ -0,0 +1,57 @@ +provisionAccountTicket($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ProvisionAccountTicket_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_subproperty.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_subproperty.php new file mode 100644 index 000000000000..e09641aff4a5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_subproperty.php @@ -0,0 +1,89 @@ +setDisplayName($subpropertyDisplayName) + ->setTimeZone($subpropertyTimeZone); + $request = (new ProvisionSubpropertyRequest()) + ->setSubproperty($subproperty); + + // Call the API and handle any network failures. + try { + /** @var ProvisionSubpropertyResponse $response */ + $response = $analyticsAdminServiceClient->provisionSubproperty($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $subpropertyDisplayName = '[DISPLAY_NAME]'; + $subpropertyTimeZone = '[TIME_ZONE]'; + + provision_subproperty_sample($subpropertyDisplayName, $subpropertyTimeZone); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ProvisionSubproperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/reorder_event_edit_rules.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/reorder_event_edit_rules.php new file mode 100644 index 000000000000..ac3fafde5735 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/reorder_event_edit_rules.php @@ -0,0 +1,77 @@ +setParent($formattedParent) + ->setEventEditRules($eventEditRules); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->reorderEventEditRules($request); + printf('Call completed successfully.' . PHP_EOL); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $eventEditRulesElement = '[EVENT_EDIT_RULES]'; + + reorder_event_edit_rules_sample($formattedParent, $eventEditRulesElement); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ReorderEventEditRules_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/run_access_report.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/run_access_report.php new file mode 100644 index 000000000000..877ac95ab994 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/run_access_report.php @@ -0,0 +1,76 @@ +runAccessReport($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_RunAccessReport_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php new file mode 100644 index 000000000000..6d3ea2fc3fac --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php @@ -0,0 +1,83 @@ +setAccount($formattedAccount); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->searchChangeHistoryEvents($request); + + /** @var ChangeHistoryEvent $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 +{ + $formattedAccount = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); + + search_change_history_events_sample($formattedAccount); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_SearchChangeHistoryEvents_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/submit_user_deletion.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/submit_user_deletion.php new file mode 100644 index 000000000000..ffb77d1dfc1c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/submit_user_deletion.php @@ -0,0 +1,71 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var SubmitUserDeletionResponse $response */ + $response = $analyticsAdminServiceClient->submitUserDeletion($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + submit_user_deletion_sample($formattedName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_SubmitUserDeletion_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_access_binding.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_access_binding.php new file mode 100644 index 000000000000..6454a2edd2f7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_access_binding.php @@ -0,0 +1,59 @@ +setAccessBinding($accessBinding); + + // Call the API and handle any network failures. + try { + /** @var AccessBinding $response */ + $response = $analyticsAdminServiceClient->updateAccessBinding($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAccessBinding_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_account.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_account.php new file mode 100644 index 000000000000..c2d27ced850e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_account.php @@ -0,0 +1,75 @@ +setDisplayName($accountDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateAccountRequest()) + ->setAccount($account) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var Account $response */ + $response = $analyticsAdminServiceClient->updateAccount($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $accountDisplayName = '[DISPLAY_NAME]'; + + update_account_sample($accountDisplayName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAccount_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_attribution_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_attribution_settings.php new file mode 100644 index 000000000000..7b099b9d8fe0 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_attribution_settings.php @@ -0,0 +1,107 @@ +setAcquisitionConversionEventLookbackWindow( + $attributionSettingsAcquisitionConversionEventLookbackWindow + ) + ->setOtherConversionEventLookbackWindow($attributionSettingsOtherConversionEventLookbackWindow) + ->setReportingAttributionModel($attributionSettingsReportingAttributionModel) + ->setAdsWebConversionDataExportScope($attributionSettingsAdsWebConversionDataExportScope); + $updateMask = new FieldMask(); + $request = (new UpdateAttributionSettingsRequest()) + ->setAttributionSettings($attributionSettings) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var AttributionSettings $response */ + $response = $analyticsAdminServiceClient->updateAttributionSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $attributionSettingsAcquisitionConversionEventLookbackWindow = AcquisitionConversionEventLookbackWindow::ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; + $attributionSettingsOtherConversionEventLookbackWindow = OtherConversionEventLookbackWindow::OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; + $attributionSettingsReportingAttributionModel = ReportingAttributionModel::REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED; + $attributionSettingsAdsWebConversionDataExportScope = AdsWebConversionDataExportScope::ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED; + + update_attribution_settings_sample( + $attributionSettingsAcquisitionConversionEventLookbackWindow, + $attributionSettingsOtherConversionEventLookbackWindow, + $attributionSettingsReportingAttributionModel, + $attributionSettingsAdsWebConversionDataExportScope + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAttributionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_audience.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_audience.php new file mode 100644 index 000000000000..c7b4954f6b13 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_audience.php @@ -0,0 +1,99 @@ +setClauseType($audienceFilterClausesClauseType); + $audienceFilterClauses = [$audienceFilterClause,]; + $audience = (new Audience()) + ->setDisplayName($audienceDisplayName) + ->setDescription($audienceDescription) + ->setMembershipDurationDays($audienceMembershipDurationDays) + ->setFilterClauses($audienceFilterClauses); + $updateMask = new FieldMask(); + $request = (new UpdateAudienceRequest()) + ->setAudience($audience) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var Audience $response */ + $response = $analyticsAdminServiceClient->updateAudience($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $audienceDisplayName = '[DISPLAY_NAME]'; + $audienceDescription = '[DESCRIPTION]'; + $audienceMembershipDurationDays = 0; + $audienceFilterClausesClauseType = AudienceClauseType::AUDIENCE_CLAUSE_TYPE_UNSPECIFIED; + + update_audience_sample( + $audienceDisplayName, + $audienceDescription, + $audienceMembershipDurationDays, + $audienceFilterClausesClauseType + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAudience_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_big_query_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_big_query_link.php new file mode 100644 index 000000000000..9337a26ea549 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_big_query_link.php @@ -0,0 +1,77 @@ +setDatasetLocation($bigqueryLinkDatasetLocation); + $updateMask = new FieldMask(); + $request = (new UpdateBigQueryLinkRequest()) + ->setBigqueryLink($bigqueryLink) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var BigQueryLink $response */ + $response = $analyticsAdminServiceClient->updateBigQueryLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $bigqueryLinkDatasetLocation = '[DATASET_LOCATION]'; + + update_big_query_link_sample($bigqueryLinkDatasetLocation); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateBigQueryLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_calculated_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_calculated_metric.php new file mode 100644 index 000000000000..9a6c24dad49f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_calculated_metric.php @@ -0,0 +1,96 @@ +setDisplayName($calculatedMetricDisplayName) + ->setMetricUnit($calculatedMetricMetricUnit) + ->setFormula($calculatedMetricFormula); + $updateMask = new FieldMask(); + $request = (new UpdateCalculatedMetricRequest()) + ->setCalculatedMetric($calculatedMetric) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var CalculatedMetric $response */ + $response = $analyticsAdminServiceClient->updateCalculatedMetric($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $calculatedMetricDisplayName = '[DISPLAY_NAME]'; + $calculatedMetricMetricUnit = MetricUnit::METRIC_UNIT_UNSPECIFIED; + $calculatedMetricFormula = '[FORMULA]'; + + update_calculated_metric_sample( + $calculatedMetricDisplayName, + $calculatedMetricMetricUnit, + $calculatedMetricFormula + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateCalculatedMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_channel_group.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_channel_group.php new file mode 100644 index 000000000000..840957d9b92e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_channel_group.php @@ -0,0 +1,88 @@ +setDisplayName($channelGroupGroupingRuleDisplayName) + ->setExpression($channelGroupGroupingRuleExpression); + $channelGroupGroupingRule = [$groupingRule,]; + $channelGroup = (new ChannelGroup()) + ->setDisplayName($channelGroupDisplayName) + ->setGroupingRule($channelGroupGroupingRule); + $updateMask = new FieldMask(); + $request = (new UpdateChannelGroupRequest()) + ->setChannelGroup($channelGroup) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var ChannelGroup $response */ + $response = $analyticsAdminServiceClient->updateChannelGroup($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $channelGroupDisplayName = '[DISPLAY_NAME]'; + $channelGroupGroupingRuleDisplayName = '[DISPLAY_NAME]'; + + update_channel_group_sample($channelGroupDisplayName, $channelGroupGroupingRuleDisplayName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateChannelGroup_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_conversion_event.php new file mode 100644 index 000000000000..430cc0467e4d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_conversion_event.php @@ -0,0 +1,63 @@ +setConversionEvent($conversionEvent) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var ConversionEvent $response */ + $response = $analyticsAdminServiceClient->updateConversionEvent($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_dimension.php new file mode 100644 index 000000000000..fdf872769d51 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_dimension.php @@ -0,0 +1,60 @@ +setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var CustomDimension $response */ + $response = $analyticsAdminServiceClient->updateCustomDimension($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_metric.php new file mode 100644 index 000000000000..5a64e487289d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_metric.php @@ -0,0 +1,60 @@ +setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var CustomMetric $response */ + $response = $analyticsAdminServiceClient->updateCustomMetric($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_redaction_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_redaction_settings.php new file mode 100644 index 000000000000..082a9d1e3e70 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_redaction_settings.php @@ -0,0 +1,62 @@ +setDataRedactionSettings($dataRedactionSettings) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var DataRedactionSettings $response */ + $response = $analyticsAdminServiceClient->updateDataRedactionSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDataRedactionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_retention_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_retention_settings.php new file mode 100644 index 000000000000..6c539b883413 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_retention_settings.php @@ -0,0 +1,84 @@ +setEventDataRetention($dataRetentionSettingsEventDataRetention) + ->setUserDataRetention($dataRetentionSettingsUserDataRetention); + $updateMask = new FieldMask(); + $request = (new UpdateDataRetentionSettingsRequest()) + ->setDataRetentionSettings($dataRetentionSettings) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var DataRetentionSettings $response */ + $response = $analyticsAdminServiceClient->updateDataRetentionSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $dataRetentionSettingsEventDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; + $dataRetentionSettingsUserDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; + + update_data_retention_settings_sample( + $dataRetentionSettingsEventDataRetention, + $dataRetentionSettingsUserDataRetention + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDataRetentionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_stream.php new file mode 100644 index 000000000000..6f16d1dcbd5b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_stream.php @@ -0,0 +1,60 @@ +setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var DataStream $response */ + $response = $analyticsAdminServiceClient->updateDataStream($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_display_video360_advertiser_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_display_video360_advertiser_link.php new file mode 100644 index 000000000000..4818bb9788c0 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_display_video360_advertiser_link.php @@ -0,0 +1,60 @@ +setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var DisplayVideo360AdvertiserLink $response */ + $response = $analyticsAdminServiceClient->updateDisplayVideo360AdvertiserLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDisplayVideo360AdvertiserLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_enhanced_measurement_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_enhanced_measurement_settings.php new file mode 100644 index 000000000000..cdeb1c2c8ae2 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_enhanced_measurement_settings.php @@ -0,0 +1,79 @@ +setSearchQueryParameter($enhancedMeasurementSettingsSearchQueryParameter); + $updateMask = new FieldMask(); + $request = (new UpdateEnhancedMeasurementSettingsRequest()) + ->setEnhancedMeasurementSettings($enhancedMeasurementSettings) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var EnhancedMeasurementSettings $response */ + $response = $analyticsAdminServiceClient->updateEnhancedMeasurementSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $enhancedMeasurementSettingsSearchQueryParameter = '[SEARCH_QUERY_PARAMETER]'; + + update_enhanced_measurement_settings_sample($enhancedMeasurementSettingsSearchQueryParameter); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateEnhancedMeasurementSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_create_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_create_rule.php new file mode 100644 index 000000000000..9173932444c5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_create_rule.php @@ -0,0 +1,110 @@ +setField($eventCreateRuleEventConditionsField) + ->setComparisonType($eventCreateRuleEventConditionsComparisonType) + ->setValue($eventCreateRuleEventConditionsValue); + $eventCreateRuleEventConditions = [$matchingCondition,]; + $eventCreateRule = (new EventCreateRule()) + ->setDestinationEvent($eventCreateRuleDestinationEvent) + ->setEventConditions($eventCreateRuleEventConditions); + $updateMask = new FieldMask(); + $request = (new UpdateEventCreateRuleRequest()) + ->setEventCreateRule($eventCreateRule) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var EventCreateRule $response */ + $response = $analyticsAdminServiceClient->updateEventCreateRule($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $eventCreateRuleDestinationEvent = '[DESTINATION_EVENT]'; + $eventCreateRuleEventConditionsField = '[FIELD]'; + $eventCreateRuleEventConditionsComparisonType = ComparisonType::COMPARISON_TYPE_UNSPECIFIED; + $eventCreateRuleEventConditionsValue = '[VALUE]'; + + update_event_create_rule_sample( + $eventCreateRuleDestinationEvent, + $eventCreateRuleEventConditionsField, + $eventCreateRuleEventConditionsComparisonType, + $eventCreateRuleEventConditionsValue + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateEventCreateRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_edit_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_edit_rule.php new file mode 100644 index 000000000000..9c0bc0e32fb7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_edit_rule.php @@ -0,0 +1,131 @@ +setField($eventEditRuleEventConditionsField) + ->setComparisonType($eventEditRuleEventConditionsComparisonType) + ->setValue($eventEditRuleEventConditionsValue); + $eventEditRuleEventConditions = [$matchingCondition,]; + $parameterMutation = (new ParameterMutation()) + ->setParameter($eventEditRuleParameterMutationsParameter) + ->setParameterValue($eventEditRuleParameterMutationsParameterValue); + $eventEditRuleParameterMutations = [$parameterMutation,]; + $eventEditRule = (new EventEditRule()) + ->setDisplayName($eventEditRuleDisplayName) + ->setEventConditions($eventEditRuleEventConditions) + ->setParameterMutations($eventEditRuleParameterMutations); + $updateMask = new FieldMask(); + $request = (new UpdateEventEditRuleRequest()) + ->setEventEditRule($eventEditRule) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var EventEditRule $response */ + $response = $analyticsAdminServiceClient->updateEventEditRule($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $eventEditRuleDisplayName = '[DISPLAY_NAME]'; + $eventEditRuleEventConditionsField = '[FIELD]'; + $eventEditRuleEventConditionsComparisonType = ComparisonType::COMPARISON_TYPE_UNSPECIFIED; + $eventEditRuleEventConditionsValue = '[VALUE]'; + $eventEditRuleParameterMutationsParameter = '[PARAMETER]'; + $eventEditRuleParameterMutationsParameterValue = '[PARAMETER_VALUE]'; + + update_event_edit_rule_sample( + $eventEditRuleDisplayName, + $eventEditRuleEventConditionsField, + $eventEditRuleEventConditionsComparisonType, + $eventEditRuleEventConditionsValue, + $eventEditRuleParameterMutationsParameter, + $eventEditRuleParameterMutationsParameterValue + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateEventEditRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_expanded_data_set.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_expanded_data_set.php new file mode 100644 index 000000000000..3e27ab48d13b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_expanded_data_set.php @@ -0,0 +1,76 @@ +setDisplayName($expandedDataSetDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateExpandedDataSetRequest()) + ->setExpandedDataSet($expandedDataSet) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var ExpandedDataSet $response */ + $response = $analyticsAdminServiceClient->updateExpandedDataSet($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $expandedDataSetDisplayName = '[DISPLAY_NAME]'; + + update_expanded_data_set_sample($expandedDataSetDisplayName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateExpandedDataSet_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_ads_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_ads_link.php new file mode 100644 index 000000000000..1a5c8ece5541 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_ads_link.php @@ -0,0 +1,60 @@ +setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var GoogleAdsLink $response */ + $response = $analyticsAdminServiceClient->updateGoogleAdsLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateGoogleAdsLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_signals_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_signals_settings.php new file mode 100644 index 000000000000..35997c7ad7e3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_signals_settings.php @@ -0,0 +1,62 @@ +setGoogleSignalsSettings($googleSignalsSettings) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var GoogleSignalsSettings $response */ + $response = $analyticsAdminServiceClient->updateGoogleSignalsSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateGoogleSignalsSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_key_event.php new file mode 100644 index 000000000000..2329a8a145b2 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_key_event.php @@ -0,0 +1,77 @@ +setCountingMethod($keyEventCountingMethod); + $updateMask = new FieldMask(); + $request = (new UpdateKeyEventRequest()) + ->setKeyEvent($keyEvent) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var KeyEvent $response */ + $response = $analyticsAdminServiceClient->updateKeyEvent($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; + + update_key_event_sample($keyEventCountingMethod); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php new file mode 100644 index 000000000000..2e1594d33474 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php @@ -0,0 +1,76 @@ +setDisplayName($measurementProtocolSecretDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateMeasurementProtocolSecretRequest()) + ->setMeasurementProtocolSecret($measurementProtocolSecret) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var MeasurementProtocolSecret $response */ + $response = $analyticsAdminServiceClient->updateMeasurementProtocolSecret($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $measurementProtocolSecretDisplayName = '[DISPLAY_NAME]'; + + update_measurement_protocol_secret_sample($measurementProtocolSecretDisplayName); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_property.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_property.php new file mode 100644 index 000000000000..4a24018d4e89 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_property.php @@ -0,0 +1,88 @@ +setDisplayName($propertyDisplayName) + ->setTimeZone($propertyTimeZone); + $updateMask = new FieldMask(); + $request = (new UpdatePropertyRequest()) + ->setProperty($property) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var Property $response */ + $response = $analyticsAdminServiceClient->updateProperty($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $propertyDisplayName = '[DISPLAY_NAME]'; + $propertyTimeZone = '[TIME_ZONE]'; + + update_property_sample($propertyDisplayName, $propertyTimeZone); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_reporting_data_annotation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_reporting_data_annotation.php new file mode 100644 index 000000000000..2995ae14ca51 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_reporting_data_annotation.php @@ -0,0 +1,89 @@ +setName($reportingDataAnnotationName) + ->setTitle($reportingDataAnnotationTitle) + ->setColor($reportingDataAnnotationColor); + $request = (new UpdateReportingDataAnnotationRequest()) + ->setReportingDataAnnotation($reportingDataAnnotation); + + // Call the API and handle any network failures. + try { + /** @var ReportingDataAnnotation $response */ + $response = $analyticsAdminServiceClient->updateReportingDataAnnotation($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $reportingDataAnnotationName = '[NAME]'; + $reportingDataAnnotationTitle = '[TITLE]'; + $reportingDataAnnotationColor = Color::COLOR_UNSPECIFIED; + + update_reporting_data_annotation_sample( + $reportingDataAnnotationName, + $reportingDataAnnotationTitle, + $reportingDataAnnotationColor + ); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateReportingDataAnnotation_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_search_ads360_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_search_ads360_link.php new file mode 100644 index 000000000000..e683e3703023 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_search_ads360_link.php @@ -0,0 +1,60 @@ +setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var SearchAds360Link $response */ + $response = $analyticsAdminServiceClient->updateSearchAds360Link($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSearchAds360Link_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_sk_ad_network_conversion_value_schema.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_sk_ad_network_conversion_value_schema.php new file mode 100644 index 000000000000..0af0725d36ac --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_sk_ad_network_conversion_value_schema.php @@ -0,0 +1,65 @@ +setPostbackWindowOne($skadnetworkConversionValueSchemaPostbackWindowOne); + $updateMask = new FieldMask(); + $request = (new UpdateSKAdNetworkConversionValueSchemaRequest()) + ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var SKAdNetworkConversionValueSchema $response */ + $response = $analyticsAdminServiceClient->updateSKAdNetworkConversionValueSchema($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSKAdNetworkConversionValueSchema_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_event_filter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_event_filter.php new file mode 100644 index 000000000000..b5d403abe513 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_event_filter.php @@ -0,0 +1,84 @@ +setFilterClauseType($subpropertyEventFilterFilterClausesFilterClauseType) + ->setFilterExpression($subpropertyEventFilterFilterClausesFilterExpression); + $subpropertyEventFilterFilterClauses = [$subpropertyEventFilterClause,]; + $subpropertyEventFilter = (new SubpropertyEventFilter()) + ->setFilterClauses($subpropertyEventFilterFilterClauses); + $updateMask = new FieldMask(); + $request = (new UpdateSubpropertyEventFilterRequest()) + ->setSubpropertyEventFilter($subpropertyEventFilter) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var SubpropertyEventFilter $response */ + $response = $analyticsAdminServiceClient->updateSubpropertyEventFilter($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $subpropertyEventFilterFilterClausesFilterClauseType = FilterClauseType::FILTER_CLAUSE_TYPE_UNSPECIFIED; + + update_subproperty_event_filter_sample($subpropertyEventFilterFilterClausesFilterClauseType); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSubpropertyEventFilter_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_sync_config.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_sync_config.php new file mode 100644 index 000000000000..54d68e8db9ed --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_sync_config.php @@ -0,0 +1,84 @@ +setCustomDimensionAndMetricSyncMode($subpropertySyncConfigCustomDimensionAndMetricSyncMode); + $request = (new UpdateSubpropertySyncConfigRequest()) + ->setSubpropertySyncConfig($subpropertySyncConfig); + + // Call the API and handle any network failures. + try { + /** @var SubpropertySyncConfig $response */ + $response = $analyticsAdminServiceClient->updateSubpropertySyncConfig($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $subpropertySyncConfigCustomDimensionAndMetricSyncMode = SynchronizationMode::SYNCHRONIZATION_MODE_UNSPECIFIED; + + update_subproperty_sync_config_sample($subpropertySyncConfigCustomDimensionAndMetricSyncMode); +} +// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSubpropertySyncConfig_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/Client/AnalyticsAdminServiceClient.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/Client/AnalyticsAdminServiceClient.php new file mode 100644 index 000000000000..626206bdfb1f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/Client/AnalyticsAdminServiceClient.php @@ -0,0 +1,5889 @@ + acknowledgeUserDataCollectionAsync(AcknowledgeUserDataCollectionRequest $request, array $optionalArgs = []) + * @method PromiseInterface approveDisplayVideo360AdvertiserLinkProposalAsync(ApproveDisplayVideo360AdvertiserLinkProposalRequest $request, array $optionalArgs = []) + * @method PromiseInterface archiveAudienceAsync(ArchiveAudienceRequest $request, array $optionalArgs = []) + * @method PromiseInterface archiveCustomDimensionAsync(ArchiveCustomDimensionRequest $request, array $optionalArgs = []) + * @method PromiseInterface archiveCustomMetricAsync(ArchiveCustomMetricRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchCreateAccessBindingsAsync(BatchCreateAccessBindingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchDeleteAccessBindingsAsync(BatchDeleteAccessBindingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchGetAccessBindingsAsync(BatchGetAccessBindingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface batchUpdateAccessBindingsAsync(BatchUpdateAccessBindingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface cancelDisplayVideo360AdvertiserLinkProposalAsync(CancelDisplayVideo360AdvertiserLinkProposalRequest $request, array $optionalArgs = []) + * @method PromiseInterface createAccessBindingAsync(CreateAccessBindingRequest $request, array $optionalArgs = []) + * @method PromiseInterface createAdSenseLinkAsync(CreateAdSenseLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface createAudienceAsync(CreateAudienceRequest $request, array $optionalArgs = []) + * @method PromiseInterface createBigQueryLinkAsync(CreateBigQueryLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface createCalculatedMetricAsync(CreateCalculatedMetricRequest $request, array $optionalArgs = []) + * @method PromiseInterface createChannelGroupAsync(CreateChannelGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface createConversionEventAsync(CreateConversionEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface createCustomDimensionAsync(CreateCustomDimensionRequest $request, array $optionalArgs = []) + * @method PromiseInterface createCustomMetricAsync(CreateCustomMetricRequest $request, array $optionalArgs = []) + * @method PromiseInterface createDataStreamAsync(CreateDataStreamRequest $request, array $optionalArgs = []) + * @method PromiseInterface createDisplayVideo360AdvertiserLinkAsync(CreateDisplayVideo360AdvertiserLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface createDisplayVideo360AdvertiserLinkProposalAsync(CreateDisplayVideo360AdvertiserLinkProposalRequest $request, array $optionalArgs = []) + * @method PromiseInterface createEventCreateRuleAsync(CreateEventCreateRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface createEventEditRuleAsync(CreateEventEditRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface createExpandedDataSetAsync(CreateExpandedDataSetRequest $request, array $optionalArgs = []) + * @method PromiseInterface createFirebaseLinkAsync(CreateFirebaseLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface createGoogleAdsLinkAsync(CreateGoogleAdsLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface createKeyEventAsync(CreateKeyEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface createMeasurementProtocolSecretAsync(CreateMeasurementProtocolSecretRequest $request, array $optionalArgs = []) + * @method PromiseInterface createPropertyAsync(CreatePropertyRequest $request, array $optionalArgs = []) + * @method PromiseInterface createReportingDataAnnotationAsync(CreateReportingDataAnnotationRequest $request, array $optionalArgs = []) + * @method PromiseInterface createRollupPropertyAsync(CreateRollupPropertyRequest $request, array $optionalArgs = []) + * @method PromiseInterface createRollupPropertySourceLinkAsync(CreateRollupPropertySourceLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface createSKAdNetworkConversionValueSchemaAsync(CreateSKAdNetworkConversionValueSchemaRequest $request, array $optionalArgs = []) + * @method PromiseInterface createSearchAds360LinkAsync(CreateSearchAds360LinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface createSubpropertyEventFilterAsync(CreateSubpropertyEventFilterRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAccessBindingAsync(DeleteAccessBindingRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAccountAsync(DeleteAccountRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAdSenseLinkAsync(DeleteAdSenseLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteBigQueryLinkAsync(DeleteBigQueryLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteCalculatedMetricAsync(DeleteCalculatedMetricRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteChannelGroupAsync(DeleteChannelGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteConversionEventAsync(DeleteConversionEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteDataStreamAsync(DeleteDataStreamRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteDisplayVideo360AdvertiserLinkAsync(DeleteDisplayVideo360AdvertiserLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteDisplayVideo360AdvertiserLinkProposalAsync(DeleteDisplayVideo360AdvertiserLinkProposalRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteEventCreateRuleAsync(DeleteEventCreateRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteEventEditRuleAsync(DeleteEventEditRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteExpandedDataSetAsync(DeleteExpandedDataSetRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteFirebaseLinkAsync(DeleteFirebaseLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteGoogleAdsLinkAsync(DeleteGoogleAdsLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteKeyEventAsync(DeleteKeyEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteMeasurementProtocolSecretAsync(DeleteMeasurementProtocolSecretRequest $request, array $optionalArgs = []) + * @method PromiseInterface deletePropertyAsync(DeletePropertyRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteReportingDataAnnotationAsync(DeleteReportingDataAnnotationRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteRollupPropertySourceLinkAsync(DeleteRollupPropertySourceLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteSKAdNetworkConversionValueSchemaAsync(DeleteSKAdNetworkConversionValueSchemaRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteSearchAds360LinkAsync(DeleteSearchAds360LinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteSubpropertyEventFilterAsync(DeleteSubpropertyEventFilterRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAccessBindingAsync(GetAccessBindingRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAccountAsync(GetAccountRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAdSenseLinkAsync(GetAdSenseLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAttributionSettingsAsync(GetAttributionSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAudienceAsync(GetAudienceRequest $request, array $optionalArgs = []) + * @method PromiseInterface getBigQueryLinkAsync(GetBigQueryLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface getCalculatedMetricAsync(GetCalculatedMetricRequest $request, array $optionalArgs = []) + * @method PromiseInterface getChannelGroupAsync(GetChannelGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface getConversionEventAsync(GetConversionEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface getCustomDimensionAsync(GetCustomDimensionRequest $request, array $optionalArgs = []) + * @method PromiseInterface getCustomMetricAsync(GetCustomMetricRequest $request, array $optionalArgs = []) + * @method PromiseInterface getDataRedactionSettingsAsync(GetDataRedactionSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface getDataRetentionSettingsAsync(GetDataRetentionSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface getDataSharingSettingsAsync(GetDataSharingSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface getDataStreamAsync(GetDataStreamRequest $request, array $optionalArgs = []) + * @method PromiseInterface getDisplayVideo360AdvertiserLinkAsync(GetDisplayVideo360AdvertiserLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface getDisplayVideo360AdvertiserLinkProposalAsync(GetDisplayVideo360AdvertiserLinkProposalRequest $request, array $optionalArgs = []) + * @method PromiseInterface getEnhancedMeasurementSettingsAsync(GetEnhancedMeasurementSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface getEventCreateRuleAsync(GetEventCreateRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface getEventEditRuleAsync(GetEventEditRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface getExpandedDataSetAsync(GetExpandedDataSetRequest $request, array $optionalArgs = []) + * @method PromiseInterface getGlobalSiteTagAsync(GetGlobalSiteTagRequest $request, array $optionalArgs = []) + * @method PromiseInterface getGoogleSignalsSettingsAsync(GetGoogleSignalsSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface getKeyEventAsync(GetKeyEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface getMeasurementProtocolSecretAsync(GetMeasurementProtocolSecretRequest $request, array $optionalArgs = []) + * @method PromiseInterface getPropertyAsync(GetPropertyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getReportingDataAnnotationAsync(GetReportingDataAnnotationRequest $request, array $optionalArgs = []) + * @method PromiseInterface getReportingIdentitySettingsAsync(GetReportingIdentitySettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface getRollupPropertySourceLinkAsync(GetRollupPropertySourceLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface getSKAdNetworkConversionValueSchemaAsync(GetSKAdNetworkConversionValueSchemaRequest $request, array $optionalArgs = []) + * @method PromiseInterface getSearchAds360LinkAsync(GetSearchAds360LinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface getSubpropertyEventFilterAsync(GetSubpropertyEventFilterRequest $request, array $optionalArgs = []) + * @method PromiseInterface getSubpropertySyncConfigAsync(GetSubpropertySyncConfigRequest $request, array $optionalArgs = []) + * @method PromiseInterface getUserProvidedDataSettingsAsync(GetUserProvidedDataSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAccessBindingsAsync(ListAccessBindingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAccountSummariesAsync(ListAccountSummariesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAccountsAsync(ListAccountsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAdSenseLinksAsync(ListAdSenseLinksRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAudiencesAsync(ListAudiencesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listBigQueryLinksAsync(ListBigQueryLinksRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCalculatedMetricsAsync(ListCalculatedMetricsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listChannelGroupsAsync(ListChannelGroupsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listConversionEventsAsync(ListConversionEventsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCustomDimensionsAsync(ListCustomDimensionsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCustomMetricsAsync(ListCustomMetricsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listDataStreamsAsync(ListDataStreamsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listDisplayVideo360AdvertiserLinkProposalsAsync(ListDisplayVideo360AdvertiserLinkProposalsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listDisplayVideo360AdvertiserLinksAsync(ListDisplayVideo360AdvertiserLinksRequest $request, array $optionalArgs = []) + * @method PromiseInterface listEventCreateRulesAsync(ListEventCreateRulesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listEventEditRulesAsync(ListEventEditRulesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listExpandedDataSetsAsync(ListExpandedDataSetsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listFirebaseLinksAsync(ListFirebaseLinksRequest $request, array $optionalArgs = []) + * @method PromiseInterface listGoogleAdsLinksAsync(ListGoogleAdsLinksRequest $request, array $optionalArgs = []) + * @method PromiseInterface listKeyEventsAsync(ListKeyEventsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listMeasurementProtocolSecretsAsync(ListMeasurementProtocolSecretsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listPropertiesAsync(ListPropertiesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listReportingDataAnnotationsAsync(ListReportingDataAnnotationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listRollupPropertySourceLinksAsync(ListRollupPropertySourceLinksRequest $request, array $optionalArgs = []) + * @method PromiseInterface listSKAdNetworkConversionValueSchemasAsync(ListSKAdNetworkConversionValueSchemasRequest $request, array $optionalArgs = []) + * @method PromiseInterface listSearchAds360LinksAsync(ListSearchAds360LinksRequest $request, array $optionalArgs = []) + * @method PromiseInterface listSubpropertyEventFiltersAsync(ListSubpropertyEventFiltersRequest $request, array $optionalArgs = []) + * @method PromiseInterface listSubpropertySyncConfigsAsync(ListSubpropertySyncConfigsRequest $request, array $optionalArgs = []) + * @method PromiseInterface provisionAccountTicketAsync(ProvisionAccountTicketRequest $request, array $optionalArgs = []) + * @method PromiseInterface provisionSubpropertyAsync(ProvisionSubpropertyRequest $request, array $optionalArgs = []) + * @method PromiseInterface reorderEventEditRulesAsync(ReorderEventEditRulesRequest $request, array $optionalArgs = []) + * @method PromiseInterface runAccessReportAsync(RunAccessReportRequest $request, array $optionalArgs = []) + * @method PromiseInterface searchChangeHistoryEventsAsync(SearchChangeHistoryEventsRequest $request, array $optionalArgs = []) + * @method PromiseInterface submitUserDeletionAsync(SubmitUserDeletionRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAccessBindingAsync(UpdateAccessBindingRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAccountAsync(UpdateAccountRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAttributionSettingsAsync(UpdateAttributionSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAudienceAsync(UpdateAudienceRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateBigQueryLinkAsync(UpdateBigQueryLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateCalculatedMetricAsync(UpdateCalculatedMetricRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateChannelGroupAsync(UpdateChannelGroupRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateConversionEventAsync(UpdateConversionEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateCustomDimensionAsync(UpdateCustomDimensionRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateCustomMetricAsync(UpdateCustomMetricRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateDataRedactionSettingsAsync(UpdateDataRedactionSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateDataRetentionSettingsAsync(UpdateDataRetentionSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateDataStreamAsync(UpdateDataStreamRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateDisplayVideo360AdvertiserLinkAsync(UpdateDisplayVideo360AdvertiserLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateEnhancedMeasurementSettingsAsync(UpdateEnhancedMeasurementSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateEventCreateRuleAsync(UpdateEventCreateRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateEventEditRuleAsync(UpdateEventEditRuleRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateExpandedDataSetAsync(UpdateExpandedDataSetRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateGoogleAdsLinkAsync(UpdateGoogleAdsLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateGoogleSignalsSettingsAsync(UpdateGoogleSignalsSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateKeyEventAsync(UpdateKeyEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateMeasurementProtocolSecretAsync(UpdateMeasurementProtocolSecretRequest $request, array $optionalArgs = []) + * @method PromiseInterface updatePropertyAsync(UpdatePropertyRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateReportingDataAnnotationAsync(UpdateReportingDataAnnotationRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateSKAdNetworkConversionValueSchemaAsync(UpdateSKAdNetworkConversionValueSchemaRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateSearchAds360LinkAsync(UpdateSearchAds360LinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateSubpropertyEventFilterAsync(UpdateSubpropertyEventFilterRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateSubpropertySyncConfigAsync(UpdateSubpropertySyncConfigRequest $request, array $optionalArgs = []) + */ +final class AnalyticsAdminServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.analytics.admin.v1alpha.AnalyticsAdminService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'analyticsadmin.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'analyticsadmin.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + '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.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/analytics_admin_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/analytics_admin_service_descriptor_config.php', + 'gcpApiConfigPath' => __DIR__ . '/../resources/analytics_admin_service_grpc_config.json', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/analytics_admin_service_rest_client_config.php', + ], + ], + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a + * access_binding resource. + * + * @param string $account + * @param string $accessBinding + * + * @return string The formatted access_binding resource. + * + * @experimental + */ + public static function accessBindingName(string $account, string $accessBinding): string + { + return self::getPathTemplate('accessBinding')->render([ + 'account' => $account, + 'access_binding' => $accessBinding, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a account + * resource. + * + * @param string $account + * + * @return string The formatted account resource. + * + * @experimental + */ + public static function accountName(string $account): string + { + return self::getPathTemplate('account')->render([ + 'account' => $account, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * account_access_binding resource. + * + * @param string $account + * @param string $accessBinding + * + * @return string The formatted account_access_binding resource. + * + * @experimental + */ + public static function accountAccessBindingName(string $account, string $accessBinding): string + { + return self::getPathTemplate('accountAccessBinding')->render([ + 'account' => $account, + 'access_binding' => $accessBinding, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * ad_sense_link resource. + * + * @param string $property + * @param string $adsenseLink + * + * @return string The formatted ad_sense_link resource. + * + * @experimental + */ + public static function adSenseLinkName(string $property, string $adsenseLink): string + { + return self::getPathTemplate('adSenseLink')->render([ + 'property' => $property, + 'adsense_link' => $adsenseLink, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * attribution_settings resource. + * + * @param string $property + * + * @return string The formatted attribution_settings resource. + * + * @experimental + */ + public static function attributionSettingsName(string $property): string + { + return self::getPathTemplate('attributionSettings')->render([ + 'property' => $property, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a audience + * resource. + * + * @param string $property + * @param string $audience + * + * @return string The formatted audience resource. + * + * @experimental + */ + public static function audienceName(string $property, string $audience): string + { + return self::getPathTemplate('audience')->render([ + 'property' => $property, + 'audience' => $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(string $property, string $bigqueryLink): string + { + return self::getPathTemplate('bigQueryLink')->render([ + 'property' => $property, + 'bigquery_link' => $bigqueryLink, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * calculated_metric resource. + * + * @param string $property + * @param string $calculatedMetric + * + * @return string The formatted calculated_metric resource. + * + * @experimental + */ + public static function calculatedMetricName(string $property, string $calculatedMetric): string + { + return self::getPathTemplate('calculatedMetric')->render([ + 'property' => $property, + 'calculated_metric' => $calculatedMetric, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * channel_group resource. + * + * @param string $property + * @param string $channelGroup + * + * @return string The formatted channel_group resource. + * + * @experimental + */ + public static function channelGroupName(string $property, string $channelGroup): string + { + return self::getPathTemplate('channelGroup')->render([ + 'property' => $property, + 'channel_group' => $channelGroup, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * conversion_event resource. + * + * @param string $property + * @param string $conversionEvent + * + * @return string The formatted conversion_event resource. + * + * @experimental + */ + public static function conversionEventName(string $property, string $conversionEvent): string + { + return self::getPathTemplate('conversionEvent')->render([ + 'property' => $property, + 'conversion_event' => $conversionEvent, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * custom_dimension resource. + * + * @param string $property + * @param string $customDimension + * + * @return string The formatted custom_dimension resource. + * + * @experimental + */ + public static function customDimensionName(string $property, string $customDimension): string + { + return self::getPathTemplate('customDimension')->render([ + 'property' => $property, + 'custom_dimension' => $customDimension, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * custom_metric resource. + * + * @param string $property + * @param string $customMetric + * + * @return string The formatted custom_metric resource. + * + * @experimental + */ + public static function customMetricName(string $property, string $customMetric): string + { + return self::getPathTemplate('customMetric')->render([ + 'property' => $property, + 'custom_metric' => $customMetric, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * data_redaction_settings resource. + * + * @param string $property + * @param string $dataStream + * + * @return string The formatted data_redaction_settings resource. + * + * @experimental + */ + public static function dataRedactionSettingsName(string $property, string $dataStream): string + { + return self::getPathTemplate('dataRedactionSettings')->render([ + 'property' => $property, + 'data_stream' => $dataStream, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * data_retention_settings resource. + * + * @param string $property + * + * @return string The formatted data_retention_settings resource. + * + * @experimental + */ + public static function dataRetentionSettingsName(string $property): string + { + return self::getPathTemplate('dataRetentionSettings')->render([ + 'property' => $property, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * data_sharing_settings resource. + * + * @param string $account + * + * @return string The formatted data_sharing_settings resource. + * + * @experimental + */ + public static function dataSharingSettingsName(string $account): string + { + return self::getPathTemplate('dataSharingSettings')->render([ + 'account' => $account, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a data_stream + * resource. + * + * @param string $property + * @param string $dataStream + * + * @return string The formatted data_stream resource. + * + * @experimental + */ + public static function dataStreamName(string $property, string $dataStream): string + { + return self::getPathTemplate('dataStream')->render([ + 'property' => $property, + 'data_stream' => $dataStream, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * display_video360_advertiser_link resource. + * + * @param string $property + * @param string $displayVideo360AdvertiserLink + * + * @return string The formatted display_video360_advertiser_link resource. + * + * @experimental + */ + public static function displayVideo360AdvertiserLinkName(string $property, string $displayVideo360AdvertiserLink): string + { + return self::getPathTemplate('displayVideo360AdvertiserLink')->render([ + 'property' => $property, + 'display_video_360_advertiser_link' => $displayVideo360AdvertiserLink, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * display_video360_advertiser_link_proposal resource. + * + * @param string $property + * @param string $displayVideo360AdvertiserLinkProposal + * + * @return string The formatted display_video360_advertiser_link_proposal resource. + * + * @experimental + */ + public static function displayVideo360AdvertiserLinkProposalName(string $property, string $displayVideo360AdvertiserLinkProposal): string + { + return self::getPathTemplate('displayVideo360AdvertiserLinkProposal')->render([ + 'property' => $property, + 'display_video_360_advertiser_link_proposal' => $displayVideo360AdvertiserLinkProposal, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * enhanced_measurement_settings resource. + * + * @param string $property + * @param string $dataStream + * + * @return string The formatted enhanced_measurement_settings resource. + * + * @experimental + */ + public static function enhancedMeasurementSettingsName(string $property, string $dataStream): string + { + return self::getPathTemplate('enhancedMeasurementSettings')->render([ + 'property' => $property, + 'data_stream' => $dataStream, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * event_create_rule resource. + * + * @param string $property + * @param string $dataStream + * @param string $eventCreateRule + * + * @return string The formatted event_create_rule resource. + * + * @experimental + */ + public static function eventCreateRuleName(string $property, string $dataStream, string $eventCreateRule): string + { + return self::getPathTemplate('eventCreateRule')->render([ + 'property' => $property, + 'data_stream' => $dataStream, + 'event_create_rule' => $eventCreateRule, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * event_edit_rule resource. + * + * @param string $property + * @param string $dataStream + * @param string $eventEditRule + * + * @return string The formatted event_edit_rule resource. + * + * @experimental + */ + public static function eventEditRuleName(string $property, string $dataStream, string $eventEditRule): string + { + return self::getPathTemplate('eventEditRule')->render([ + 'property' => $property, + 'data_stream' => $dataStream, + 'event_edit_rule' => $eventEditRule, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * expanded_data_set resource. + * + * @param string $property + * @param string $expandedDataSet + * + * @return string The formatted expanded_data_set resource. + * + * @experimental + */ + public static function expandedDataSetName(string $property, string $expandedDataSet): string + { + return self::getPathTemplate('expandedDataSet')->render([ + 'property' => $property, + 'expanded_data_set' => $expandedDataSet, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * firebase_link resource. + * + * @param string $property + * @param string $firebaseLink + * + * @return string The formatted firebase_link resource. + * + * @experimental + */ + public static function firebaseLinkName(string $property, string $firebaseLink): string + { + return self::getPathTemplate('firebaseLink')->render([ + 'property' => $property, + 'firebase_link' => $firebaseLink, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * global_site_tag resource. + * + * @param string $property + * @param string $dataStream + * + * @return string The formatted global_site_tag resource. + * + * @experimental + */ + public static function globalSiteTagName(string $property, string $dataStream): string + { + return self::getPathTemplate('globalSiteTag')->render([ + 'property' => $property, + 'data_stream' => $dataStream, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * google_ads_link resource. + * + * @param string $property + * @param string $googleAdsLink + * + * @return string The formatted google_ads_link resource. + * + * @experimental + */ + public static function googleAdsLinkName(string $property, string $googleAdsLink): string + { + return self::getPathTemplate('googleAdsLink')->render([ + 'property' => $property, + 'google_ads_link' => $googleAdsLink, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * google_signals_settings resource. + * + * @param string $property + * + * @return string The formatted google_signals_settings resource. + * + * @experimental + */ + public static function googleSignalsSettingsName(string $property): string + { + return self::getPathTemplate('googleSignalsSettings')->render([ + 'property' => $property, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a key_event + * resource. + * + * @param string $property + * @param string $keyEvent + * + * @return string The formatted key_event resource. + * + * @experimental + */ + public static function keyEventName(string $property, string $keyEvent): string + { + return self::getPathTemplate('keyEvent')->render([ + 'property' => $property, + 'key_event' => $keyEvent, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * measurement_protocol_secret resource. + * + * @param string $property + * @param string $dataStream + * @param string $measurementProtocolSecret + * + * @return string The formatted measurement_protocol_secret resource. + * + * @experimental + */ + public static function measurementProtocolSecretName(string $property, string $dataStream, string $measurementProtocolSecret): string + { + return self::getPathTemplate('measurementProtocolSecret')->render([ + 'property' => $property, + 'data_stream' => $dataStream, + 'measurement_protocol_secret' => $measurementProtocolSecret, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a organization + * resource. + * + * @param string $organization + * + * @return string The formatted organization resource. + * + * @experimental + */ + public static function organizationName(string $organization): string + { + return self::getPathTemplate('organization')->render([ + 'organization' => $organization, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a property + * resource. + * + * @param string $property + * + * @return string The formatted property resource. + * + * @experimental + */ + public static function propertyName(string $property): string + { + return self::getPathTemplate('property')->render([ + 'property' => $property, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * property_access_binding resource. + * + * @param string $property + * @param string $accessBinding + * + * @return string The formatted property_access_binding resource. + * + * @experimental + */ + public static function propertyAccessBindingName(string $property, string $accessBinding): string + { + return self::getPathTemplate('propertyAccessBinding')->render([ + 'property' => $property, + 'access_binding' => $accessBinding, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * reporting_data_annotation resource. + * + * @param string $property + * @param string $reportingDataAnnotation + * + * @return string The formatted reporting_data_annotation resource. + * + * @experimental + */ + public static function reportingDataAnnotationName(string $property, string $reportingDataAnnotation): string + { + return self::getPathTemplate('reportingDataAnnotation')->render([ + 'property' => $property, + 'reporting_data_annotation' => $reportingDataAnnotation, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * reporting_identity_settings resource. + * + * @param string $property + * + * @return string The formatted reporting_identity_settings resource. + * + * @experimental + */ + public static function reportingIdentitySettingsName(string $property): string + { + return self::getPathTemplate('reportingIdentitySettings')->render([ + 'property' => $property, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * rollup_property_source_link resource. + * + * @param string $property + * @param string $rollupPropertySourceLink + * + * @return string The formatted rollup_property_source_link resource. + * + * @experimental + */ + public static function rollupPropertySourceLinkName(string $property, string $rollupPropertySourceLink): string + { + return self::getPathTemplate('rollupPropertySourceLink')->render([ + 'property' => $property, + 'rollup_property_source_link' => $rollupPropertySourceLink, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * sk_ad_network_conversion_value_schema resource. + * + * @param string $property + * @param string $dataStream + * @param string $skadnetworkConversionValueSchema + * + * @return string The formatted sk_ad_network_conversion_value_schema resource. + * + * @experimental + */ + public static function sKAdNetworkConversionValueSchemaName(string $property, string $dataStream, string $skadnetworkConversionValueSchema): string + { + return self::getPathTemplate('sKAdNetworkConversionValueSchema')->render([ + 'property' => $property, + 'data_stream' => $dataStream, + 'skadnetwork_conversion_value_schema' => $skadnetworkConversionValueSchema, + ]); + } + + /** + * 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(string $property, string $searchAds360Link): string + { + return self::getPathTemplate('searchAds360Link')->render([ + 'property' => $property, + 'search_ads_360_link' => $searchAds360Link, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * subproperty_event_filter resource. + * + * @param string $property + * @param string $subPropertyEventFilter + * + * @return string The formatted subproperty_event_filter resource. + * + * @experimental + */ + public static function subpropertyEventFilterName(string $property, string $subPropertyEventFilter): string + { + return self::getPathTemplate('subpropertyEventFilter')->render([ + 'property' => $property, + 'sub_property_event_filter' => $subPropertyEventFilter, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * subproperty_sync_config resource. + * + * @param string $property + * @param string $subpropertySyncConfig + * + * @return string The formatted subproperty_sync_config resource. + * + * @experimental + */ + public static function subpropertySyncConfigName(string $property, string $subpropertySyncConfig): string + { + return self::getPathTemplate('subpropertySyncConfig')->render([ + 'property' => $property, + 'subproperty_sync_config' => $subpropertySyncConfig, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * user_provided_data_settings resource. + * + * @param string $property + * + * @return string The formatted user_provided_data_settings resource. + * + * @experimental + */ + public static function userProvidedDataSettingsName(string $property): string + { + return self::getPathTemplate('userProvidedDataSettings')->render([ + 'property' => $property, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - accessBinding: accounts/{account}/accessBindings/{access_binding} + * - account: accounts/{account} + * - accountAccessBinding: accounts/{account}/accessBindings/{access_binding} + * - adSenseLink: properties/{property}/adSenseLinks/{adsense_link} + * - attributionSettings: properties/{property}/attributionSettings + * - audience: properties/{property}/audiences/{audience} + * - bigQueryLink: properties/{property}/bigQueryLinks/{bigquery_link} + * - calculatedMetric: properties/{property}/calculatedMetrics/{calculated_metric} + * - channelGroup: properties/{property}/channelGroups/{channel_group} + * - conversionEvent: properties/{property}/conversionEvents/{conversion_event} + * - customDimension: properties/{property}/customDimensions/{custom_dimension} + * - customMetric: properties/{property}/customMetrics/{custom_metric} + * - dataRedactionSettings: properties/{property}/dataStreams/{data_stream}/dataRedactionSettings + * - dataRetentionSettings: properties/{property}/dataRetentionSettings + * - dataSharingSettings: accounts/{account}/dataSharingSettings + * - dataStream: properties/{property}/dataStreams/{data_stream} + * - displayVideo360AdvertiserLink: properties/{property}/displayVideo360AdvertiserLinks/{display_video_360_advertiser_link} + * - displayVideo360AdvertiserLinkProposal: properties/{property}/displayVideo360AdvertiserLinkProposals/{display_video_360_advertiser_link_proposal} + * - enhancedMeasurementSettings: properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings + * - eventCreateRule: properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule} + * - eventEditRule: properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule} + * - expandedDataSet: properties/{property}/expandedDataSets/{expanded_data_set} + * - firebaseLink: properties/{property}/firebaseLinks/{firebase_link} + * - globalSiteTag: properties/{property}/dataStreams/{data_stream}/globalSiteTag + * - googleAdsLink: properties/{property}/googleAdsLinks/{google_ads_link} + * - googleSignalsSettings: properties/{property}/googleSignalsSettings + * - keyEvent: properties/{property}/keyEvents/{key_event} + * - measurementProtocolSecret: properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret} + * - organization: organizations/{organization} + * - property: properties/{property} + * - propertyAccessBinding: properties/{property}/accessBindings/{access_binding} + * - reportingDataAnnotation: properties/{property}/reportingDataAnnotations/{reporting_data_annotation} + * - reportingIdentitySettings: properties/{property}/reportingIdentitySettings + * - rollupPropertySourceLink: properties/{property}/rollupPropertySourceLinks/{rollup_property_source_link} + * - sKAdNetworkConversionValueSchema: properties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + * - searchAds360Link: properties/{property}/searchAds360Links/{search_ads_360_link} + * - subpropertyEventFilter: properties/{property}/subpropertyEventFilters/{sub_property_event_filter} + * - subpropertySyncConfig: properties/{property}/subpropertySyncConfigs/{subproperty_sync_config} + * - userProvidedDataSettings: properties/{property}/userProvidedDataSettings + * + * The optional $template argument can be supplied to specify a particular pattern, + * and must match one of the templates listed above. If no $template argument is + * provided, or if the $template argument does not match one of the templates + * listed, then parseName will check each of the supported templates, and return + * the first match. + * + * @param string $formattedName The formatted name string + * @param ?string $template Optional name of template to match + * + * @return array An associative array from name component IDs to component values. + * + * @throws ValidationException If $formattedName could not be matched. + * + * @experimental + */ + public static function parseName(string $formattedName, ?string $template = null): array + { + return self::parseFormattedName($formattedName, $template); + } + + /** + * Constructor. + * + * @param array|ClientOptions $options { + * Optional. Options for configuring the service API wrapper. + * + * @type string $apiEndpoint + * The address of the API remote host. May optionally include the port, formatted + * as ":". Default 'analyticsadmin.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Analytics\Admin\V1alpha\AnalyticsAdminServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new AnalyticsAdminServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @type array $credentialsConfig + * Options used to configure credentials, including auth token caching, for the + * client. For a full list of supporting configuration options, see + * {@see \Google\ApiCore\CredentialsWrapper::build()} . + * @type bool $disableRetries + * Determines whether or not retries defined by the client configuration should be + * disabled. Defaults to `false`. + * @type string|array $clientConfig + * Client method configuration, including retry settings. This option can be either + * a path to a JSON file, or a PHP array containing the decoded JSON data. By + * default this settings points to the default client config file, which is + * provided in the resources folder. + * @type string|TransportInterface $transport + * The transport used for executing network requests. May be either the string + * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. + * *Advanced usage*: Additionally, it is possible to pass in an already + * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note + * that when this object is provided, any settings in $transportConfig, and any + * $apiEndpoint setting, will be ignored. + * @type array $transportConfig + * Configuration options that will be used to construct the transport. Options for + * each supported transport type should be passed in a key for that transport. For + * example: + * $transportConfig = [ + * 'grpc' => [...], + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and + * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the + * supported options. + * @type callable $clientCertSource + * A callable which returns the client cert as a string. This can be used to + * provide a certificate and private key to the transport layer for mTLS. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + * + * @experimental + */ + public function __construct(array|ClientOptions $options = []) + { + $clientOptions = $this->buildClientOptions($options); + $this->setClientOptions($clientOptions); + } + + /** Handles execution of the async variants for each documented method. */ + public function __call($method, $args) + { + if (substr($method, -5) !== 'Async') { + trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); + } + + array_unshift($args, substr($method, 0, -5)); + return call_user_func_array([$this, 'startAsyncCall'], $args); + } + + /** + * Acknowledges the terms of user data collection for the specified property. + * + * This acknowledgement must be completed (either in the Google Analytics UI + * or through this API) before MeasurementProtocolSecret resources may be + * created. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::acknowledgeUserDataCollectionAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php + * + * @param AcknowledgeUserDataCollectionRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 AcknowledgeUserDataCollectionResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function acknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest $request, array $callOptions = []): AcknowledgeUserDataCollectionResponse + { + return $this->startApiCall('AcknowledgeUserDataCollection', $request, $callOptions)->wait(); + } + + /** + * Approves a DisplayVideo360AdvertiserLinkProposal. + * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new + * DisplayVideo360AdvertiserLink will be created. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::approveDisplayVideo360AdvertiserLinkProposalAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/approve_display_video360_advertiser_link_proposal.php + * + * @param ApproveDisplayVideo360AdvertiserLinkProposalRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ApproveDisplayVideo360AdvertiserLinkProposalResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function approveDisplayVideo360AdvertiserLinkProposal(ApproveDisplayVideo360AdvertiserLinkProposalRequest $request, array $callOptions = []): ApproveDisplayVideo360AdvertiserLinkProposalResponse + { + return $this->startApiCall('ApproveDisplayVideo360AdvertiserLinkProposal', $request, $callOptions)->wait(); + } + + /** + * Archives an Audience on a property. + * + * The async variant is {@see AnalyticsAdminServiceClient::archiveAudienceAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/archive_audience.php + * + * @param ArchiveAudienceRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function archiveAudience(ArchiveAudienceRequest $request, array $callOptions = []): void + { + $this->startApiCall('ArchiveAudience', $request, $callOptions)->wait(); + } + + /** + * Archives a CustomDimension on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::archiveCustomDimensionAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_dimension.php + * + * @param ArchiveCustomDimensionRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function archiveCustomDimension(ArchiveCustomDimensionRequest $request, array $callOptions = []): void + { + $this->startApiCall('ArchiveCustomDimension', $request, $callOptions)->wait(); + } + + /** + * Archives a CustomMetric on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::archiveCustomMetricAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_metric.php + * + * @param ArchiveCustomMetricRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function archiveCustomMetric(ArchiveCustomMetricRequest $request, array $callOptions = []): void + { + $this->startApiCall('ArchiveCustomMetric', $request, $callOptions)->wait(); + } + + /** + * Creates information about multiple access bindings to an account or + * property. + * + * This method is transactional. If any AccessBinding cannot be created, none + * of the AccessBindings will be created. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::batchCreateAccessBindingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/batch_create_access_bindings.php + * + * @param BatchCreateAccessBindingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 BatchCreateAccessBindingsResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function batchCreateAccessBindings(BatchCreateAccessBindingsRequest $request, array $callOptions = []): BatchCreateAccessBindingsResponse + { + return $this->startApiCall('BatchCreateAccessBindings', $request, $callOptions)->wait(); + } + + /** + * Deletes information about multiple users' links to an account or property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::batchDeleteAccessBindingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/batch_delete_access_bindings.php + * + * @param BatchDeleteAccessBindingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function batchDeleteAccessBindings(BatchDeleteAccessBindingsRequest $request, array $callOptions = []): void + { + $this->startApiCall('BatchDeleteAccessBindings', $request, $callOptions)->wait(); + } + + /** + * Gets information about multiple access bindings to an account or property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::batchGetAccessBindingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/batch_get_access_bindings.php + * + * @param BatchGetAccessBindingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 BatchGetAccessBindingsResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function batchGetAccessBindings(BatchGetAccessBindingsRequest $request, array $callOptions = []): BatchGetAccessBindingsResponse + { + return $this->startApiCall('BatchGetAccessBindings', $request, $callOptions)->wait(); + } + + /** + * Updates information about multiple access bindings to an account or + * property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::batchUpdateAccessBindingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/batch_update_access_bindings.php + * + * @param BatchUpdateAccessBindingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 BatchUpdateAccessBindingsResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function batchUpdateAccessBindings(BatchUpdateAccessBindingsRequest $request, array $callOptions = []): BatchUpdateAccessBindingsResponse + { + return $this->startApiCall('BatchUpdateAccessBindings', $request, $callOptions)->wait(); + } + + /** + * Cancels a DisplayVideo360AdvertiserLinkProposal. + * Cancelling can mean either: + * - Declining a proposal initiated from Display & Video 360 + * - Withdrawing a proposal initiated from Google Analytics + * After being cancelled, a proposal will eventually be deleted automatically. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::cancelDisplayVideo360AdvertiserLinkProposalAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/cancel_display_video360_advertiser_link_proposal.php + * + * @param CancelDisplayVideo360AdvertiserLinkProposalRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DisplayVideo360AdvertiserLinkProposal + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function cancelDisplayVideo360AdvertiserLinkProposal(CancelDisplayVideo360AdvertiserLinkProposalRequest $request, array $callOptions = []): DisplayVideo360AdvertiserLinkProposal + { + return $this->startApiCall('CancelDisplayVideo360AdvertiserLinkProposal', $request, $callOptions)->wait(); + } + + /** + * Creates an access binding on an account or property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createAccessBindingAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_access_binding.php + * + * @param CreateAccessBindingRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 AccessBinding + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createAccessBinding(CreateAccessBindingRequest $request, array $callOptions = []): AccessBinding + { + return $this->startApiCall('CreateAccessBinding', $request, $callOptions)->wait(); + } + + /** + * Creates an AdSenseLink. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createAdSenseLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_ad_sense_link.php + * + * @param CreateAdSenseLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 AdSenseLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createAdSenseLink(CreateAdSenseLinkRequest $request, array $callOptions = []): AdSenseLink + { + return $this->startApiCall('CreateAdSenseLink', $request, $callOptions)->wait(); + } + + /** + * Creates an Audience. + * + * The async variant is {@see AnalyticsAdminServiceClient::createAudienceAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_audience.php + * + * @param CreateAudienceRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Audience + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createAudience(CreateAudienceRequest $request, array $callOptions = []): Audience + { + return $this->startApiCall('CreateAudience', $request, $callOptions)->wait(); + } + + /** + * Creates a BigQueryLink. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createBigQueryLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_big_query_link.php + * + * @param CreateBigQueryLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 BigQueryLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createBigQueryLink(CreateBigQueryLinkRequest $request, array $callOptions = []): BigQueryLink + { + return $this->startApiCall('CreateBigQueryLink', $request, $callOptions)->wait(); + } + + /** + * Creates a CalculatedMetric. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createCalculatedMetricAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_calculated_metric.php + * + * @param CreateCalculatedMetricRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CalculatedMetric + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createCalculatedMetric(CreateCalculatedMetricRequest $request, array $callOptions = []): CalculatedMetric + { + return $this->startApiCall('CreateCalculatedMetric', $request, $callOptions)->wait(); + } + + /** + * Creates a ChannelGroup. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createChannelGroupAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_channel_group.php + * + * @param CreateChannelGroupRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ChannelGroup + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createChannelGroup(CreateChannelGroupRequest $request, array $callOptions = []): ChannelGroup + { + return $this->startApiCall('CreateChannelGroup', $request, $callOptions)->wait(); + } + + /** + * Deprecated: Use `CreateKeyEvent` instead. + * Creates a conversion event with the specified attributes. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createConversionEventAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_conversion_event.php + * + * @param CreateConversionEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ConversionEvent + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + * + * @deprecated This method will be removed in the next major version update. + */ + public function createConversionEvent(CreateConversionEventRequest $request, array $callOptions = []): ConversionEvent + { + return $this->startApiCall('CreateConversionEvent', $request, $callOptions)->wait(); + } + + /** + * Creates a CustomDimension. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createCustomDimensionAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_custom_dimension.php + * + * @param CreateCustomDimensionRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CustomDimension + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createCustomDimension(CreateCustomDimensionRequest $request, array $callOptions = []): CustomDimension + { + return $this->startApiCall('CreateCustomDimension', $request, $callOptions)->wait(); + } + + /** + * Creates a CustomMetric. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createCustomMetricAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_custom_metric.php + * + * @param CreateCustomMetricRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CustomMetric + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createCustomMetric(CreateCustomMetricRequest $request, array $callOptions = []): CustomMetric + { + return $this->startApiCall('CreateCustomMetric', $request, $callOptions)->wait(); + } + + /** + * Creates a DataStream. + * + * The async variant is {@see AnalyticsAdminServiceClient::createDataStreamAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_data_stream.php + * + * @param CreateDataStreamRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DataStream + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createDataStream(CreateDataStreamRequest $request, array $callOptions = []): DataStream + { + return $this->startApiCall('CreateDataStream', $request, $callOptions)->wait(); + } + + /** + * Creates a DisplayVideo360AdvertiserLink. + * This can only be utilized by users who have proper authorization both on + * the Google Analytics property and on the Display & Video 360 advertiser. + * Users who do not have access to the Display & Video 360 advertiser should + * instead seek to create a DisplayVideo360LinkProposal. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createDisplayVideo360AdvertiserLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link.php + * + * @param CreateDisplayVideo360AdvertiserLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DisplayVideo360AdvertiserLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createDisplayVideo360AdvertiserLink(CreateDisplayVideo360AdvertiserLinkRequest $request, array $callOptions = []): DisplayVideo360AdvertiserLink + { + return $this->startApiCall('CreateDisplayVideo360AdvertiserLink', $request, $callOptions)->wait(); + } + + /** + * Creates a DisplayVideo360AdvertiserLinkProposal. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createDisplayVideo360AdvertiserLinkProposalAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link_proposal.php + * + * @param CreateDisplayVideo360AdvertiserLinkProposalRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DisplayVideo360AdvertiserLinkProposal + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createDisplayVideo360AdvertiserLinkProposal(CreateDisplayVideo360AdvertiserLinkProposalRequest $request, array $callOptions = []): DisplayVideo360AdvertiserLinkProposal + { + return $this->startApiCall('CreateDisplayVideo360AdvertiserLinkProposal', $request, $callOptions)->wait(); + } + + /** + * Creates an EventCreateRule. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createEventCreateRuleAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_event_create_rule.php + * + * @param CreateEventCreateRuleRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 EventCreateRule + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createEventCreateRule(CreateEventCreateRuleRequest $request, array $callOptions = []): EventCreateRule + { + return $this->startApiCall('CreateEventCreateRule', $request, $callOptions)->wait(); + } + + /** + * Creates an EventEditRule. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createEventEditRuleAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_event_edit_rule.php + * + * @param CreateEventEditRuleRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 EventEditRule + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createEventEditRule(CreateEventEditRuleRequest $request, array $callOptions = []): EventEditRule + { + return $this->startApiCall('CreateEventEditRule', $request, $callOptions)->wait(); + } + + /** + * Creates a ExpandedDataSet. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createExpandedDataSetAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_expanded_data_set.php + * + * @param CreateExpandedDataSetRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ExpandedDataSet + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createExpandedDataSet(CreateExpandedDataSetRequest $request, array $callOptions = []): ExpandedDataSet + { + return $this->startApiCall('CreateExpandedDataSet', $request, $callOptions)->wait(); + } + + /** + * Creates a FirebaseLink. + * + * Properties can have at most one FirebaseLink. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createFirebaseLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_firebase_link.php + * + * @param CreateFirebaseLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 FirebaseLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createFirebaseLink(CreateFirebaseLinkRequest $request, array $callOptions = []): FirebaseLink + { + return $this->startApiCall('CreateFirebaseLink', $request, $callOptions)->wait(); + } + + /** + * Creates a GoogleAdsLink. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createGoogleAdsLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_google_ads_link.php + * + * @param CreateGoogleAdsLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 GoogleAdsLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createGoogleAdsLink(CreateGoogleAdsLinkRequest $request, array $callOptions = []): GoogleAdsLink + { + return $this->startApiCall('CreateGoogleAdsLink', $request, $callOptions)->wait(); + } + + /** + * Creates a Key Event. + * + * The async variant is {@see AnalyticsAdminServiceClient::createKeyEventAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_key_event.php + * + * @param CreateKeyEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 KeyEvent + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createKeyEvent(CreateKeyEventRequest $request, array $callOptions = []): KeyEvent + { + return $this->startApiCall('CreateKeyEvent', $request, $callOptions)->wait(); + } + + /** + * Creates a measurement protocol secret. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createMeasurementProtocolSecretAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php + * + * @param CreateMeasurementProtocolSecretRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 MeasurementProtocolSecret + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest $request, array $callOptions = []): MeasurementProtocolSecret + { + return $this->startApiCall('CreateMeasurementProtocolSecret', $request, $callOptions)->wait(); + } + + /** + * Creates a Google Analytics property with the specified location and + * attributes. + * + * The async variant is {@see AnalyticsAdminServiceClient::createPropertyAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_property.php + * + * @param CreatePropertyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Property + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createProperty(CreatePropertyRequest $request, array $callOptions = []): Property + { + return $this->startApiCall('CreateProperty', $request, $callOptions)->wait(); + } + + /** + * Creates a Reporting Data Annotation. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createReportingDataAnnotationAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_reporting_data_annotation.php + * + * @param CreateReportingDataAnnotationRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ReportingDataAnnotation + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createReportingDataAnnotation(CreateReportingDataAnnotationRequest $request, array $callOptions = []): ReportingDataAnnotation + { + return $this->startApiCall('CreateReportingDataAnnotation', $request, $callOptions)->wait(); + } + + /** + * Create a roll-up property and all roll-up property source links. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createRollupPropertyAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property.php + * + * @param CreateRollupPropertyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CreateRollupPropertyResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createRollupProperty(CreateRollupPropertyRequest $request, array $callOptions = []): CreateRollupPropertyResponse + { + return $this->startApiCall('CreateRollupProperty', $request, $callOptions)->wait(); + } + + /** + * Creates a roll-up property source link. + * Only roll-up properties can have source links, so this method will throw an + * error if used on other types of properties. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createRollupPropertySourceLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property_source_link.php + * + * @param CreateRollupPropertySourceLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 RollupPropertySourceLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createRollupPropertySourceLink(CreateRollupPropertySourceLinkRequest $request, array $callOptions = []): RollupPropertySourceLink + { + return $this->startApiCall('CreateRollupPropertySourceLink', $request, $callOptions)->wait(); + } + + /** + * Creates a SKAdNetworkConversionValueSchema. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createSKAdNetworkConversionValueSchemaAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_sk_ad_network_conversion_value_schema.php + * + * @param CreateSKAdNetworkConversionValueSchemaRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 SKAdNetworkConversionValueSchema + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createSKAdNetworkConversionValueSchema(CreateSKAdNetworkConversionValueSchemaRequest $request, array $callOptions = []): SKAdNetworkConversionValueSchema + { + return $this->startApiCall('CreateSKAdNetworkConversionValueSchema', $request, $callOptions)->wait(); + } + + /** + * Creates a SearchAds360Link. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createSearchAds360LinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_search_ads360_link.php + * + * @param CreateSearchAds360LinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 SearchAds360Link + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createSearchAds360Link(CreateSearchAds360LinkRequest $request, array $callOptions = []): SearchAds360Link + { + return $this->startApiCall('CreateSearchAds360Link', $request, $callOptions)->wait(); + } + + /** + * Creates a subproperty Event Filter. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createSubpropertyEventFilterAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty_event_filter.php + * + * @param CreateSubpropertyEventFilterRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 SubpropertyEventFilter + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createSubpropertyEventFilter(CreateSubpropertyEventFilterRequest $request, array $callOptions = []): SubpropertyEventFilter + { + return $this->startApiCall('CreateSubpropertyEventFilter', $request, $callOptions)->wait(); + } + + /** + * Deletes an access binding on an account or property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteAccessBindingAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_access_binding.php + * + * @param DeleteAccessBindingRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteAccessBinding(DeleteAccessBindingRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteAccessBinding', $request, $callOptions)->wait(); + } + + /** + * Marks target Account as soft-deleted (ie: "trashed") and returns it. + * + * This API does not have a method to restore soft-deleted accounts. + * However, they can be restored using the Trash Can UI. + * + * If the accounts are not restored before the expiration time, the account + * and all child resources (eg: Properties, GoogleAdsLinks, Streams, + * AccessBindings) will be permanently purged. + * https://support.google.com/analytics/answer/6154772 + * + * Returns an error if the target is not found. + * + * The async variant is {@see AnalyticsAdminServiceClient::deleteAccountAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_account.php + * + * @param DeleteAccountRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteAccount(DeleteAccountRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteAccount', $request, $callOptions)->wait(); + } + + /** + * Deletes an AdSenseLink. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteAdSenseLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_ad_sense_link.php + * + * @param DeleteAdSenseLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteAdSenseLink(DeleteAdSenseLinkRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteAdSenseLink', $request, $callOptions)->wait(); + } + + /** + * Deletes a BigQueryLink on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteBigQueryLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_big_query_link.php + * + * @param DeleteBigQueryLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteBigQueryLink(DeleteBigQueryLinkRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteBigQueryLink', $request, $callOptions)->wait(); + } + + /** + * Deletes a CalculatedMetric on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteCalculatedMetricAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_calculated_metric.php + * + * @param DeleteCalculatedMetricRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteCalculatedMetric(DeleteCalculatedMetricRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteCalculatedMetric', $request, $callOptions)->wait(); + } + + /** + * Deletes a ChannelGroup on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteChannelGroupAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_channel_group.php + * + * @param DeleteChannelGroupRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteChannelGroup(DeleteChannelGroupRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteChannelGroup', $request, $callOptions)->wait(); + } + + /** + * Deprecated: Use `DeleteKeyEvent` instead. + * Deletes a conversion event in a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteConversionEventAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_conversion_event.php + * + * @param DeleteConversionEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + * + * @deprecated This method will be removed in the next major version update. + */ + public function deleteConversionEvent(DeleteConversionEventRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteConversionEvent', $request, $callOptions)->wait(); + } + + /** + * Deletes a DataStream on a property. + * + * The async variant is {@see AnalyticsAdminServiceClient::deleteDataStreamAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_data_stream.php + * + * @param DeleteDataStreamRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteDataStream(DeleteDataStreamRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteDataStream', $request, $callOptions)->wait(); + } + + /** + * Deletes a DisplayVideo360AdvertiserLink on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteDisplayVideo360AdvertiserLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link.php + * + * @param DeleteDisplayVideo360AdvertiserLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteDisplayVideo360AdvertiserLink(DeleteDisplayVideo360AdvertiserLinkRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteDisplayVideo360AdvertiserLink', $request, $callOptions)->wait(); + } + + /** + * Deletes a DisplayVideo360AdvertiserLinkProposal on a property. + * This can only be used on cancelled proposals. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteDisplayVideo360AdvertiserLinkProposalAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link_proposal.php + * + * @param DeleteDisplayVideo360AdvertiserLinkProposalRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteDisplayVideo360AdvertiserLinkProposal(DeleteDisplayVideo360AdvertiserLinkProposalRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteDisplayVideo360AdvertiserLinkProposal', $request, $callOptions)->wait(); + } + + /** + * Deletes an EventCreateRule. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteEventCreateRuleAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_event_create_rule.php + * + * @param DeleteEventCreateRuleRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteEventCreateRule(DeleteEventCreateRuleRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteEventCreateRule', $request, $callOptions)->wait(); + } + + /** + * Deletes an EventEditRule. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteEventEditRuleAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_event_edit_rule.php + * + * @param DeleteEventEditRuleRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteEventEditRule(DeleteEventEditRuleRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteEventEditRule', $request, $callOptions)->wait(); + } + + /** + * Deletes a ExpandedDataSet on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteExpandedDataSetAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_expanded_data_set.php + * + * @param DeleteExpandedDataSetRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteExpandedDataSet(DeleteExpandedDataSetRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteExpandedDataSet', $request, $callOptions)->wait(); + } + + /** + * Deletes a FirebaseLink on a property + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteFirebaseLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_firebase_link.php + * + * @param DeleteFirebaseLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteFirebaseLink(DeleteFirebaseLinkRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteFirebaseLink', $request, $callOptions)->wait(); + } + + /** + * Deletes a GoogleAdsLink on a property + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteGoogleAdsLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_google_ads_link.php + * + * @param DeleteGoogleAdsLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteGoogleAdsLink(DeleteGoogleAdsLinkRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteGoogleAdsLink', $request, $callOptions)->wait(); + } + + /** + * Deletes a Key Event. + * + * The async variant is {@see AnalyticsAdminServiceClient::deleteKeyEventAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_key_event.php + * + * @param DeleteKeyEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteKeyEvent(DeleteKeyEventRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteKeyEvent', $request, $callOptions)->wait(); + } + + /** + * Deletes target MeasurementProtocolSecret. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteMeasurementProtocolSecretAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php + * + * @param DeleteMeasurementProtocolSecretRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteMeasurementProtocolSecret', $request, $callOptions)->wait(); + } + + /** + * Marks target Property as soft-deleted (ie: "trashed") and returns it. + * + * This API does not have a method to restore soft-deleted properties. + * However, they can be restored using the Trash Can UI. + * + * If the properties are not restored before the expiration time, the Property + * and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) + * will be permanently purged. + * https://support.google.com/analytics/answer/6154772 + * + * Returns an error if the target is not found. + * + * The async variant is {@see AnalyticsAdminServiceClient::deletePropertyAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php + * + * @param DeletePropertyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Property + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function deleteProperty(DeletePropertyRequest $request, array $callOptions = []): Property + { + return $this->startApiCall('DeleteProperty', $request, $callOptions)->wait(); + } + + /** + * Deletes a Reporting Data Annotation. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteReportingDataAnnotationAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_reporting_data_annotation.php + * + * @param DeleteReportingDataAnnotationRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteReportingDataAnnotation(DeleteReportingDataAnnotationRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteReportingDataAnnotation', $request, $callOptions)->wait(); + } + + /** + * Deletes a roll-up property source link. + * Only roll-up properties can have source links, so this method will throw an + * error if used on other types of properties. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteRollupPropertySourceLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_rollup_property_source_link.php + * + * @param DeleteRollupPropertySourceLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteRollupPropertySourceLink(DeleteRollupPropertySourceLinkRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteRollupPropertySourceLink', $request, $callOptions)->wait(); + } + + /** + * Deletes target SKAdNetworkConversionValueSchema. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteSKAdNetworkConversionValueSchemaAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_sk_ad_network_conversion_value_schema.php + * + * @param DeleteSKAdNetworkConversionValueSchemaRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteSKAdNetworkConversionValueSchema(DeleteSKAdNetworkConversionValueSchemaRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteSKAdNetworkConversionValueSchema', $request, $callOptions)->wait(); + } + + /** + * Deletes a SearchAds360Link on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteSearchAds360LinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_search_ads360_link.php + * + * @param DeleteSearchAds360LinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteSearchAds360Link(DeleteSearchAds360LinkRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteSearchAds360Link', $request, $callOptions)->wait(); + } + + /** + * Deletes a subproperty event filter. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteSubpropertyEventFilterAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_subproperty_event_filter.php + * + * @param DeleteSubpropertyEventFilterRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteSubpropertyEventFilter(DeleteSubpropertyEventFilterRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteSubpropertyEventFilter', $request, $callOptions)->wait(); + } + + /** + * Gets information about an access binding. + * + * The async variant is {@see AnalyticsAdminServiceClient::getAccessBindingAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_access_binding.php + * + * @param GetAccessBindingRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 AccessBinding + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getAccessBinding(GetAccessBindingRequest $request, array $callOptions = []): AccessBinding + { + return $this->startApiCall('GetAccessBinding', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single Account. + * + * The async variant is {@see AnalyticsAdminServiceClient::getAccountAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_account.php + * + * @param GetAccountRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Account + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getAccount(GetAccountRequest $request, array $callOptions = []): Account + { + return $this->startApiCall('GetAccount', $request, $callOptions)->wait(); + } + + /** + * Looks up a single AdSenseLink. + * + * The async variant is {@see AnalyticsAdminServiceClient::getAdSenseLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_ad_sense_link.php + * + * @param GetAdSenseLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 AdSenseLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getAdSenseLink(GetAdSenseLinkRequest $request, array $callOptions = []): AdSenseLink + { + return $this->startApiCall('GetAdSenseLink', $request, $callOptions)->wait(); + } + + /** + * Lookup for a AttributionSettings singleton. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getAttributionSettingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_attribution_settings.php + * + * @param GetAttributionSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 AttributionSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getAttributionSettings(GetAttributionSettingsRequest $request, array $callOptions = []): AttributionSettings + { + return $this->startApiCall('GetAttributionSettings', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single Audience. + * Audiences created before 2020 may not be supported. + * Default audiences will not show filter definitions. + * + * The async variant is {@see AnalyticsAdminServiceClient::getAudienceAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_audience.php + * + * @param GetAudienceRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Audience + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getAudience(GetAudienceRequest $request, array $callOptions = []): Audience + { + return $this->startApiCall('GetAudience', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single BigQuery Link. + * + * The async variant is {@see AnalyticsAdminServiceClient::getBigQueryLinkAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_big_query_link.php + * + * @param GetBigQueryLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 BigQueryLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getBigQueryLink(GetBigQueryLinkRequest $request, array $callOptions = []): BigQueryLink + { + return $this->startApiCall('GetBigQueryLink', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single CalculatedMetric. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getCalculatedMetricAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_calculated_metric.php + * + * @param GetCalculatedMetricRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CalculatedMetric + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getCalculatedMetric(GetCalculatedMetricRequest $request, array $callOptions = []): CalculatedMetric + { + return $this->startApiCall('GetCalculatedMetric', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single ChannelGroup. + * + * The async variant is {@see AnalyticsAdminServiceClient::getChannelGroupAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_channel_group.php + * + * @param GetChannelGroupRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ChannelGroup + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getChannelGroup(GetChannelGroupRequest $request, array $callOptions = []): ChannelGroup + { + return $this->startApiCall('GetChannelGroup', $request, $callOptions)->wait(); + } + + /** + * Deprecated: Use `GetKeyEvent` instead. + * Retrieve a single conversion event. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getConversionEventAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_conversion_event.php + * + * @param GetConversionEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ConversionEvent + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + * + * @deprecated This method will be removed in the next major version update. + */ + public function getConversionEvent(GetConversionEventRequest $request, array $callOptions = []): ConversionEvent + { + return $this->startApiCall('GetConversionEvent', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single CustomDimension. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getCustomDimensionAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_custom_dimension.php + * + * @param GetCustomDimensionRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CustomDimension + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getCustomDimension(GetCustomDimensionRequest $request, array $callOptions = []): CustomDimension + { + return $this->startApiCall('GetCustomDimension', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single CustomMetric. + * + * The async variant is {@see AnalyticsAdminServiceClient::getCustomMetricAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_custom_metric.php + * + * @param GetCustomMetricRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CustomMetric + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getCustomMetric(GetCustomMetricRequest $request, array $callOptions = []): CustomMetric + { + return $this->startApiCall('GetCustomMetric', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single DataRedactionSettings. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getDataRedactionSettingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_data_redaction_settings.php + * + * @param GetDataRedactionSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DataRedactionSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getDataRedactionSettings(GetDataRedactionSettingsRequest $request, array $callOptions = []): DataRedactionSettings + { + return $this->startApiCall('GetDataRedactionSettings', $request, $callOptions)->wait(); + } + + /** + * Returns the singleton data retention settings for this property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getDataRetentionSettingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_data_retention_settings.php + * + * @param GetDataRetentionSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DataRetentionSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getDataRetentionSettings(GetDataRetentionSettingsRequest $request, array $callOptions = []): DataRetentionSettings + { + return $this->startApiCall('GetDataRetentionSettings', $request, $callOptions)->wait(); + } + + /** + * Get data sharing settings on an account. + * Data sharing settings are singletons. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getDataSharingSettingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_data_sharing_settings.php + * + * @param GetDataSharingSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DataSharingSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getDataSharingSettings(GetDataSharingSettingsRequest $request, array $callOptions = []): DataSharingSettings + { + return $this->startApiCall('GetDataSharingSettings', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single DataStream. + * + * The async variant is {@see AnalyticsAdminServiceClient::getDataStreamAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_data_stream.php + * + * @param GetDataStreamRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DataStream + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getDataStream(GetDataStreamRequest $request, array $callOptions = []): DataStream + { + return $this->startApiCall('GetDataStream', $request, $callOptions)->wait(); + } + + /** + * Look up a single DisplayVideo360AdvertiserLink + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getDisplayVideo360AdvertiserLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link.php + * + * @param GetDisplayVideo360AdvertiserLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DisplayVideo360AdvertiserLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getDisplayVideo360AdvertiserLink(GetDisplayVideo360AdvertiserLinkRequest $request, array $callOptions = []): DisplayVideo360AdvertiserLink + { + return $this->startApiCall('GetDisplayVideo360AdvertiserLink', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single DisplayVideo360AdvertiserLinkProposal. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getDisplayVideo360AdvertiserLinkProposalAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link_proposal.php + * + * @param GetDisplayVideo360AdvertiserLinkProposalRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DisplayVideo360AdvertiserLinkProposal + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getDisplayVideo360AdvertiserLinkProposal(GetDisplayVideo360AdvertiserLinkProposalRequest $request, array $callOptions = []): DisplayVideo360AdvertiserLinkProposal + { + return $this->startApiCall('GetDisplayVideo360AdvertiserLinkProposal', $request, $callOptions)->wait(); + } + + /** + * Returns the enhanced measurement settings for this data stream. + * Note that the stream must enable enhanced measurement for these settings to + * take effect. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getEnhancedMeasurementSettingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_enhanced_measurement_settings.php + * + * @param GetEnhancedMeasurementSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 EnhancedMeasurementSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getEnhancedMeasurementSettings(GetEnhancedMeasurementSettingsRequest $request, array $callOptions = []): EnhancedMeasurementSettings + { + return $this->startApiCall('GetEnhancedMeasurementSettings', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single EventCreateRule. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getEventCreateRuleAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_event_create_rule.php + * + * @param GetEventCreateRuleRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 EventCreateRule + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getEventCreateRule(GetEventCreateRuleRequest $request, array $callOptions = []): EventCreateRule + { + return $this->startApiCall('GetEventCreateRule', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single EventEditRule. + * + * The async variant is {@see AnalyticsAdminServiceClient::getEventEditRuleAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_event_edit_rule.php + * + * @param GetEventEditRuleRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 EventEditRule + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getEventEditRule(GetEventEditRuleRequest $request, array $callOptions = []): EventEditRule + { + return $this->startApiCall('GetEventEditRule', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single ExpandedDataSet. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getExpandedDataSetAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_expanded_data_set.php + * + * @param GetExpandedDataSetRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ExpandedDataSet + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getExpandedDataSet(GetExpandedDataSetRequest $request, array $callOptions = []): ExpandedDataSet + { + return $this->startApiCall('GetExpandedDataSet', $request, $callOptions)->wait(); + } + + /** + * Returns the Site Tag for the specified web stream. + * Site Tags are immutable singletons. + * + * The async variant is {@see AnalyticsAdminServiceClient::getGlobalSiteTagAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_global_site_tag.php + * + * @param GetGlobalSiteTagRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 GlobalSiteTag + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getGlobalSiteTag(GetGlobalSiteTagRequest $request, array $callOptions = []): GlobalSiteTag + { + return $this->startApiCall('GetGlobalSiteTag', $request, $callOptions)->wait(); + } + + /** + * Lookup for Google Signals settings for a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getGoogleSignalsSettingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_google_signals_settings.php + * + * @param GetGoogleSignalsSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 GoogleSignalsSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getGoogleSignalsSettings(GetGoogleSignalsSettingsRequest $request, array $callOptions = []): GoogleSignalsSettings + { + return $this->startApiCall('GetGoogleSignalsSettings', $request, $callOptions)->wait(); + } + + /** + * Retrieve a single Key Event. + * + * The async variant is {@see AnalyticsAdminServiceClient::getKeyEventAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_key_event.php + * + * @param GetKeyEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 KeyEvent + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getKeyEvent(GetKeyEventRequest $request, array $callOptions = []): KeyEvent + { + return $this->startApiCall('GetKeyEvent', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single MeasurementProtocolSecret. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getMeasurementProtocolSecretAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php + * + * @param GetMeasurementProtocolSecretRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 MeasurementProtocolSecret + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest $request, array $callOptions = []): MeasurementProtocolSecret + { + return $this->startApiCall('GetMeasurementProtocolSecret', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single GA Property. + * + * The async variant is {@see AnalyticsAdminServiceClient::getPropertyAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_property.php + * + * @param GetPropertyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Property + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getProperty(GetPropertyRequest $request, array $callOptions = []): Property + { + return $this->startApiCall('GetProperty', $request, $callOptions)->wait(); + } + + /** + * Lookup a single Reporting Data Annotation. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getReportingDataAnnotationAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_data_annotation.php + * + * @param GetReportingDataAnnotationRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ReportingDataAnnotation + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getReportingDataAnnotation(GetReportingDataAnnotationRequest $request, array $callOptions = []): ReportingDataAnnotation + { + return $this->startApiCall('GetReportingDataAnnotation', $request, $callOptions)->wait(); + } + + /** + * Returns the reporting identity settings for this property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getReportingIdentitySettingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_identity_settings.php + * + * @param GetReportingIdentitySettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ReportingIdentitySettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getReportingIdentitySettings(GetReportingIdentitySettingsRequest $request, array $callOptions = []): ReportingIdentitySettings + { + return $this->startApiCall('GetReportingIdentitySettings', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single roll-up property source Link. + * Only roll-up properties can have source links, so this method will throw an + * error if used on other types of properties. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getRollupPropertySourceLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_rollup_property_source_link.php + * + * @param GetRollupPropertySourceLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 RollupPropertySourceLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getRollupPropertySourceLink(GetRollupPropertySourceLinkRequest $request, array $callOptions = []): RollupPropertySourceLink + { + return $this->startApiCall('GetRollupPropertySourceLink', $request, $callOptions)->wait(); + } + + /** + * Looks up a single SKAdNetworkConversionValueSchema. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getSKAdNetworkConversionValueSchemaAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_sk_ad_network_conversion_value_schema.php + * + * @param GetSKAdNetworkConversionValueSchemaRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 SKAdNetworkConversionValueSchema + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getSKAdNetworkConversionValueSchema(GetSKAdNetworkConversionValueSchemaRequest $request, array $callOptions = []): SKAdNetworkConversionValueSchema + { + return $this->startApiCall('GetSKAdNetworkConversionValueSchema', $request, $callOptions)->wait(); + } + + /** + * Look up a single SearchAds360Link + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getSearchAds360LinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_search_ads360_link.php + * + * @param GetSearchAds360LinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 SearchAds360Link + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getSearchAds360Link(GetSearchAds360LinkRequest $request, array $callOptions = []): SearchAds360Link + { + return $this->startApiCall('GetSearchAds360Link', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single subproperty Event Filter. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getSubpropertyEventFilterAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_event_filter.php + * + * @param GetSubpropertyEventFilterRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 SubpropertyEventFilter + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getSubpropertyEventFilter(GetSubpropertyEventFilterRequest $request, array $callOptions = []): SubpropertyEventFilter + { + return $this->startApiCall('GetSubpropertyEventFilter', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single `SubpropertySyncConfig`. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getSubpropertySyncConfigAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_sync_config.php + * + * @param GetSubpropertySyncConfigRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 SubpropertySyncConfig + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getSubpropertySyncConfig(GetSubpropertySyncConfigRequest $request, array $callOptions = []): SubpropertySyncConfig + { + return $this->startApiCall('GetSubpropertySyncConfig', $request, $callOptions)->wait(); + } + + /** + * Looks up settings related to user-provided data for a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getUserProvidedDataSettingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_user_provided_data_settings.php + * + * @param GetUserProvidedDataSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 UserProvidedDataSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getUserProvidedDataSettings(GetUserProvidedDataSettingsRequest $request, array $callOptions = []): UserProvidedDataSettings + { + return $this->startApiCall('GetUserProvidedDataSettings', $request, $callOptions)->wait(); + } + + /** + * Lists all access bindings on an account or property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listAccessBindingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_access_bindings.php + * + * @param ListAccessBindingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listAccessBindings(ListAccessBindingsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListAccessBindings', $request, $callOptions); + } + + /** + * Returns summaries of all accounts accessible by the caller. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listAccountSummariesAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_account_summaries.php + * + * @param ListAccountSummariesRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listAccountSummaries(ListAccountSummariesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListAccountSummaries', $request, $callOptions); + } + + /** + * Returns all accounts accessible by the caller. + * + * Note that these accounts might not currently have GA properties. + * Soft-deleted (ie: "trashed") accounts are excluded by default. + * Returns an empty list if no relevant accounts are found. + * + * The async variant is {@see AnalyticsAdminServiceClient::listAccountsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_accounts.php + * + * @param ListAccountsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listAccounts(ListAccountsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListAccounts', $request, $callOptions); + } + + /** + * Lists AdSenseLinks on a property. + * + * The async variant is {@see AnalyticsAdminServiceClient::listAdSenseLinksAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_ad_sense_links.php + * + * @param ListAdSenseLinksRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listAdSenseLinks(ListAdSenseLinksRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListAdSenseLinks', $request, $callOptions); + } + + /** + * Lists Audiences on a property. + * Audiences created before 2020 may not be supported. + * Default audiences will not show filter definitions. + * + * The async variant is {@see AnalyticsAdminServiceClient::listAudiencesAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_audiences.php + * + * @param ListAudiencesRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listAudiences(ListAudiencesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListAudiences', $request, $callOptions); + } + + /** + * Lists BigQuery Links on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listBigQueryLinksAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_big_query_links.php + * + * @param ListBigQueryLinksRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listBigQueryLinks(ListBigQueryLinksRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListBigQueryLinks', $request, $callOptions); + } + + /** + * Lists CalculatedMetrics on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listCalculatedMetricsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_calculated_metrics.php + * + * @param ListCalculatedMetricsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listCalculatedMetrics(ListCalculatedMetricsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListCalculatedMetrics', $request, $callOptions); + } + + /** + * Lists ChannelGroups on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listChannelGroupsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_channel_groups.php + * + * @param ListChannelGroupsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listChannelGroups(ListChannelGroupsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListChannelGroups', $request, $callOptions); + } + + /** + * Deprecated: Use `ListKeyEvents` instead. + * Returns a list of conversion events in the specified parent property. + * + * Returns an empty list if no conversion events are found. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listConversionEventsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_conversion_events.php + * + * @param ListConversionEventsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + * + * @deprecated This method will be removed in the next major version update. + */ + public function listConversionEvents(ListConversionEventsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListConversionEvents', $request, $callOptions); + } + + /** + * Lists CustomDimensions on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listCustomDimensionsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_custom_dimensions.php + * + * @param ListCustomDimensionsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listCustomDimensions(ListCustomDimensionsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListCustomDimensions', $request, $callOptions); + } + + /** + * Lists CustomMetrics on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listCustomMetricsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_custom_metrics.php + * + * @param ListCustomMetricsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listCustomMetrics(ListCustomMetricsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListCustomMetrics', $request, $callOptions); + } + + /** + * Lists DataStreams on a property. + * + * The async variant is {@see AnalyticsAdminServiceClient::listDataStreamsAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_data_streams.php + * + * @param ListDataStreamsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listDataStreams(ListDataStreamsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListDataStreams', $request, $callOptions); + } + + /** + * Lists DisplayVideo360AdvertiserLinkProposals on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listDisplayVideo360AdvertiserLinkProposalsAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_link_proposals.php + * + * @param ListDisplayVideo360AdvertiserLinkProposalsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listDisplayVideo360AdvertiserLinkProposals(ListDisplayVideo360AdvertiserLinkProposalsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListDisplayVideo360AdvertiserLinkProposals', $request, $callOptions); + } + + /** + * Lists all DisplayVideo360AdvertiserLinks on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listDisplayVideo360AdvertiserLinksAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_links.php + * + * @param ListDisplayVideo360AdvertiserLinksRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listDisplayVideo360AdvertiserLinks(ListDisplayVideo360AdvertiserLinksRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListDisplayVideo360AdvertiserLinks', $request, $callOptions); + } + + /** + * Lists EventCreateRules on a web data stream. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listEventCreateRulesAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_event_create_rules.php + * + * @param ListEventCreateRulesRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listEventCreateRules(ListEventCreateRulesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListEventCreateRules', $request, $callOptions); + } + + /** + * Lists EventEditRules on a web data stream. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listEventEditRulesAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_event_edit_rules.php + * + * @param ListEventEditRulesRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listEventEditRules(ListEventEditRulesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListEventEditRules', $request, $callOptions); + } + + /** + * Lists ExpandedDataSets on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listExpandedDataSetsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_expanded_data_sets.php + * + * @param ListExpandedDataSetsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listExpandedDataSets(ListExpandedDataSetsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListExpandedDataSets', $request, $callOptions); + } + + /** + * Lists FirebaseLinks on a property. + * Properties can have at most one FirebaseLink. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listFirebaseLinksAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_firebase_links.php + * + * @param ListFirebaseLinksRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listFirebaseLinks(ListFirebaseLinksRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListFirebaseLinks', $request, $callOptions); + } + + /** + * Lists GoogleAdsLinks on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listGoogleAdsLinksAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_google_ads_links.php + * + * @param ListGoogleAdsLinksRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listGoogleAdsLinks(ListGoogleAdsLinksRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListGoogleAdsLinks', $request, $callOptions); + } + + /** + * Returns a list of Key Events in the specified parent property. + * Returns an empty list if no Key Events are found. + * + * The async variant is {@see AnalyticsAdminServiceClient::listKeyEventsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_key_events.php + * + * @param ListKeyEventsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listKeyEvents(ListKeyEventsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListKeyEvents', $request, $callOptions); + } + + /** + * Returns child MeasurementProtocolSecrets under the specified parent + * Property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listMeasurementProtocolSecretsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php + * + * @param ListMeasurementProtocolSecretsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListMeasurementProtocolSecrets', $request, $callOptions); + } + + /** + * Returns child Properties under the specified parent Account. + * + * Properties will be excluded if the caller does not have access. + * Soft-deleted (ie: "trashed") properties are excluded by default. + * Returns an empty list if no relevant properties are found. + * + * The async variant is {@see AnalyticsAdminServiceClient::listPropertiesAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_properties.php + * + * @param ListPropertiesRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listProperties(ListPropertiesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListProperties', $request, $callOptions); + } + + /** + * List all Reporting Data Annotations on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listReportingDataAnnotationsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_reporting_data_annotations.php + * + * @param ListReportingDataAnnotationsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listReportingDataAnnotations(ListReportingDataAnnotationsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListReportingDataAnnotations', $request, $callOptions); + } + + /** + * Lists roll-up property source Links on a property. + * Only roll-up properties can have source links, so this method will throw an + * error if used on other types of properties. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listRollupPropertySourceLinksAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_rollup_property_source_links.php + * + * @param ListRollupPropertySourceLinksRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listRollupPropertySourceLinks(ListRollupPropertySourceLinksRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListRollupPropertySourceLinks', $request, $callOptions); + } + + /** + * Lists SKAdNetworkConversionValueSchema on a stream. + * Properties can have at most one SKAdNetworkConversionValueSchema. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listSKAdNetworkConversionValueSchemasAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_sk_ad_network_conversion_value_schemas.php + * + * @param ListSKAdNetworkConversionValueSchemasRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listSKAdNetworkConversionValueSchemas(ListSKAdNetworkConversionValueSchemasRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListSKAdNetworkConversionValueSchemas', $request, $callOptions); + } + + /** + * Lists all SearchAds360Links on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listSearchAds360LinksAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_search_ads360_links.php + * + * @param ListSearchAds360LinksRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listSearchAds360Links(ListSearchAds360LinksRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListSearchAds360Links', $request, $callOptions); + } + + /** + * List all subproperty Event Filters on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listSubpropertyEventFiltersAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_event_filters.php + * + * @param ListSubpropertyEventFiltersRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listSubpropertyEventFilters(ListSubpropertyEventFiltersRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListSubpropertyEventFilters', $request, $callOptions); + } + + /** + * List all `SubpropertySyncConfig` resources for a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listSubpropertySyncConfigsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_sync_configs.php + * + * @param ListSubpropertySyncConfigsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listSubpropertySyncConfigs(ListSubpropertySyncConfigsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListSubpropertySyncConfigs', $request, $callOptions); + } + + /** + * Requests a ticket for creating an account. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::provisionAccountTicketAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/provision_account_ticket.php + * + * @param ProvisionAccountTicketRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ProvisionAccountTicketResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function provisionAccountTicket(ProvisionAccountTicketRequest $request, array $callOptions = []): ProvisionAccountTicketResponse + { + return $this->startApiCall('ProvisionAccountTicket', $request, $callOptions)->wait(); + } + + /** + * Create a subproperty and a subproperty event filter that applies to the + * created subproperty. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::provisionSubpropertyAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/provision_subproperty.php + * + * @param ProvisionSubpropertyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ProvisionSubpropertyResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function provisionSubproperty(ProvisionSubpropertyRequest $request, array $callOptions = []): ProvisionSubpropertyResponse + { + return $this->startApiCall('ProvisionSubproperty', $request, $callOptions)->wait(); + } + + /** + * Changes the processing order of event edit rules on the specified stream. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::reorderEventEditRulesAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/reorder_event_edit_rules.php + * + * @param ReorderEventEditRulesRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function reorderEventEditRules(ReorderEventEditRulesRequest $request, array $callOptions = []): void + { + $this->startApiCall('ReorderEventEditRules', $request, $callOptions)->wait(); + } + + /** + * Returns a customized report of data access records. The report provides + * records of each time a user reads Google Analytics reporting data. Access + * records are retained for up to 2 years. + * + * Data Access Reports can be requested for a property. Reports may be + * requested for any property, but dimensions that aren't related to quota can + * only be requested on Google Analytics 360 properties. This method is only + * available to Administrators. + * + * These data access records include GA UI Reporting, GA UI Explorations, + * GA Data API, and other products like Firebase & Admob that can retrieve + * data from Google Analytics through a linkage. These records don't include + * property configuration changes like adding a stream or changing a + * property's time zone. For configuration change history, see + * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + * + * To give your feedback on this API, complete the [Google Analytics Access + * Reports + * feedback](https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) + * form. + * + * The async variant is {@see AnalyticsAdminServiceClient::runAccessReportAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/run_access_report.php + * + * @param RunAccessReportRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 RunAccessReportResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function runAccessReport(RunAccessReportRequest $request, array $callOptions = []): RunAccessReportResponse + { + return $this->startApiCall('RunAccessReport', $request, $callOptions)->wait(); + } + + /** + * Searches through all changes to an account or its children given the + * specified set of filters. + * + * Only returns the subset of changes supported by the API. The UI may return + * additional changes. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::searchChangeHistoryEventsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php + * + * @param SearchChangeHistoryEventsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function searchChangeHistoryEvents(SearchChangeHistoryEventsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('SearchChangeHistoryEvents', $request, $callOptions); + } + + /** + * Submits a request for user deletion for a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::submitUserDeletionAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/submit_user_deletion.php + * + * @param SubmitUserDeletionRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 SubmitUserDeletionResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function submitUserDeletion(SubmitUserDeletionRequest $request, array $callOptions = []): SubmitUserDeletionResponse + { + return $this->startApiCall('SubmitUserDeletion', $request, $callOptions)->wait(); + } + + /** + * Updates an access binding on an account or property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateAccessBindingAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_access_binding.php + * + * @param UpdateAccessBindingRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 AccessBinding + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateAccessBinding(UpdateAccessBindingRequest $request, array $callOptions = []): AccessBinding + { + return $this->startApiCall('UpdateAccessBinding', $request, $callOptions)->wait(); + } + + /** + * Updates an account. + * + * The async variant is {@see AnalyticsAdminServiceClient::updateAccountAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_account.php + * + * @param UpdateAccountRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Account + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateAccount(UpdateAccountRequest $request, array $callOptions = []): Account + { + return $this->startApiCall('UpdateAccount', $request, $callOptions)->wait(); + } + + /** + * Updates attribution settings on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateAttributionSettingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_attribution_settings.php + * + * @param UpdateAttributionSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 AttributionSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateAttributionSettings(UpdateAttributionSettingsRequest $request, array $callOptions = []): AttributionSettings + { + return $this->startApiCall('UpdateAttributionSettings', $request, $callOptions)->wait(); + } + + /** + * Updates an Audience on a property. + * + * The async variant is {@see AnalyticsAdminServiceClient::updateAudienceAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_audience.php + * + * @param UpdateAudienceRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Audience + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateAudience(UpdateAudienceRequest $request, array $callOptions = []): Audience + { + return $this->startApiCall('UpdateAudience', $request, $callOptions)->wait(); + } + + /** + * Updates a BigQueryLink. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateBigQueryLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_big_query_link.php + * + * @param UpdateBigQueryLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 BigQueryLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateBigQueryLink(UpdateBigQueryLinkRequest $request, array $callOptions = []): BigQueryLink + { + return $this->startApiCall('UpdateBigQueryLink', $request, $callOptions)->wait(); + } + + /** + * Updates a CalculatedMetric on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateCalculatedMetricAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_calculated_metric.php + * + * @param UpdateCalculatedMetricRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CalculatedMetric + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateCalculatedMetric(UpdateCalculatedMetricRequest $request, array $callOptions = []): CalculatedMetric + { + return $this->startApiCall('UpdateCalculatedMetric', $request, $callOptions)->wait(); + } + + /** + * Updates a ChannelGroup. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateChannelGroupAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_channel_group.php + * + * @param UpdateChannelGroupRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ChannelGroup + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateChannelGroup(UpdateChannelGroupRequest $request, array $callOptions = []): ChannelGroup + { + return $this->startApiCall('UpdateChannelGroup', $request, $callOptions)->wait(); + } + + /** + * Deprecated: Use `UpdateKeyEvent` instead. + * Updates a conversion event with the specified attributes. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateConversionEventAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_conversion_event.php + * + * @param UpdateConversionEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ConversionEvent + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + * + * @deprecated This method will be removed in the next major version update. + */ + public function updateConversionEvent(UpdateConversionEventRequest $request, array $callOptions = []): ConversionEvent + { + return $this->startApiCall('UpdateConversionEvent', $request, $callOptions)->wait(); + } + + /** + * Updates a CustomDimension on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateCustomDimensionAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_custom_dimension.php + * + * @param UpdateCustomDimensionRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CustomDimension + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateCustomDimension(UpdateCustomDimensionRequest $request, array $callOptions = []): CustomDimension + { + return $this->startApiCall('UpdateCustomDimension', $request, $callOptions)->wait(); + } + + /** + * Updates a CustomMetric on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateCustomMetricAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_custom_metric.php + * + * @param UpdateCustomMetricRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CustomMetric + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateCustomMetric(UpdateCustomMetricRequest $request, array $callOptions = []): CustomMetric + { + return $this->startApiCall('UpdateCustomMetric', $request, $callOptions)->wait(); + } + + /** + * Updates a DataRedactionSettings on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateDataRedactionSettingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_data_redaction_settings.php + * + * @param UpdateDataRedactionSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DataRedactionSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateDataRedactionSettings(UpdateDataRedactionSettingsRequest $request, array $callOptions = []): DataRedactionSettings + { + return $this->startApiCall('UpdateDataRedactionSettings', $request, $callOptions)->wait(); + } + + /** + * Updates the singleton data retention settings for this property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateDataRetentionSettingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_data_retention_settings.php + * + * @param UpdateDataRetentionSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DataRetentionSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateDataRetentionSettings(UpdateDataRetentionSettingsRequest $request, array $callOptions = []): DataRetentionSettings + { + return $this->startApiCall('UpdateDataRetentionSettings', $request, $callOptions)->wait(); + } + + /** + * Updates a DataStream on a property. + * + * The async variant is {@see AnalyticsAdminServiceClient::updateDataStreamAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_data_stream.php + * + * @param UpdateDataStreamRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DataStream + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateDataStream(UpdateDataStreamRequest $request, array $callOptions = []): DataStream + { + return $this->startApiCall('UpdateDataStream', $request, $callOptions)->wait(); + } + + /** + * Updates a DisplayVideo360AdvertiserLink on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateDisplayVideo360AdvertiserLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_display_video360_advertiser_link.php + * + * @param UpdateDisplayVideo360AdvertiserLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DisplayVideo360AdvertiserLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateDisplayVideo360AdvertiserLink(UpdateDisplayVideo360AdvertiserLinkRequest $request, array $callOptions = []): DisplayVideo360AdvertiserLink + { + return $this->startApiCall('UpdateDisplayVideo360AdvertiserLink', $request, $callOptions)->wait(); + } + + /** + * Updates the enhanced measurement settings for this data stream. + * Note that the stream must enable enhanced measurement for these settings to + * take effect. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateEnhancedMeasurementSettingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_enhanced_measurement_settings.php + * + * @param UpdateEnhancedMeasurementSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 EnhancedMeasurementSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateEnhancedMeasurementSettings(UpdateEnhancedMeasurementSettingsRequest $request, array $callOptions = []): EnhancedMeasurementSettings + { + return $this->startApiCall('UpdateEnhancedMeasurementSettings', $request, $callOptions)->wait(); + } + + /** + * Updates an EventCreateRule. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateEventCreateRuleAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_event_create_rule.php + * + * @param UpdateEventCreateRuleRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 EventCreateRule + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateEventCreateRule(UpdateEventCreateRuleRequest $request, array $callOptions = []): EventCreateRule + { + return $this->startApiCall('UpdateEventCreateRule', $request, $callOptions)->wait(); + } + + /** + * Updates an EventEditRule. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateEventEditRuleAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_event_edit_rule.php + * + * @param UpdateEventEditRuleRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 EventEditRule + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateEventEditRule(UpdateEventEditRuleRequest $request, array $callOptions = []): EventEditRule + { + return $this->startApiCall('UpdateEventEditRule', $request, $callOptions)->wait(); + } + + /** + * Updates a ExpandedDataSet on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateExpandedDataSetAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_expanded_data_set.php + * + * @param UpdateExpandedDataSetRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ExpandedDataSet + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateExpandedDataSet(UpdateExpandedDataSetRequest $request, array $callOptions = []): ExpandedDataSet + { + return $this->startApiCall('UpdateExpandedDataSet', $request, $callOptions)->wait(); + } + + /** + * Updates a GoogleAdsLink on a property + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateGoogleAdsLinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_google_ads_link.php + * + * @param UpdateGoogleAdsLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 GoogleAdsLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateGoogleAdsLink(UpdateGoogleAdsLinkRequest $request, array $callOptions = []): GoogleAdsLink + { + return $this->startApiCall('UpdateGoogleAdsLink', $request, $callOptions)->wait(); + } + + /** + * Updates Google Signals settings for a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateGoogleSignalsSettingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_google_signals_settings.php + * + * @param UpdateGoogleSignalsSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 GoogleSignalsSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateGoogleSignalsSettings(UpdateGoogleSignalsSettingsRequest $request, array $callOptions = []): GoogleSignalsSettings + { + return $this->startApiCall('UpdateGoogleSignalsSettings', $request, $callOptions)->wait(); + } + + /** + * Updates a Key Event. + * + * The async variant is {@see AnalyticsAdminServiceClient::updateKeyEventAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_key_event.php + * + * @param UpdateKeyEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 KeyEvent + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateKeyEvent(UpdateKeyEventRequest $request, array $callOptions = []): KeyEvent + { + return $this->startApiCall('UpdateKeyEvent', $request, $callOptions)->wait(); + } + + /** + * Updates a measurement protocol secret. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateMeasurementProtocolSecretAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php + * + * @param UpdateMeasurementProtocolSecretRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 MeasurementProtocolSecret + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest $request, array $callOptions = []): MeasurementProtocolSecret + { + return $this->startApiCall('UpdateMeasurementProtocolSecret', $request, $callOptions)->wait(); + } + + /** + * Updates a property. + * + * The async variant is {@see AnalyticsAdminServiceClient::updatePropertyAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_property.php + * + * @param UpdatePropertyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Property + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateProperty(UpdatePropertyRequest $request, array $callOptions = []): Property + { + return $this->startApiCall('UpdateProperty', $request, $callOptions)->wait(); + } + + /** + * Updates a Reporting Data Annotation. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateReportingDataAnnotationAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_reporting_data_annotation.php + * + * @param UpdateReportingDataAnnotationRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ReportingDataAnnotation + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateReportingDataAnnotation(UpdateReportingDataAnnotationRequest $request, array $callOptions = []): ReportingDataAnnotation + { + return $this->startApiCall('UpdateReportingDataAnnotation', $request, $callOptions)->wait(); + } + + /** + * Updates a SKAdNetworkConversionValueSchema. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateSKAdNetworkConversionValueSchemaAsync()} + * . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_sk_ad_network_conversion_value_schema.php + * + * @param UpdateSKAdNetworkConversionValueSchemaRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 SKAdNetworkConversionValueSchema + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateSKAdNetworkConversionValueSchema(UpdateSKAdNetworkConversionValueSchemaRequest $request, array $callOptions = []): SKAdNetworkConversionValueSchema + { + return $this->startApiCall('UpdateSKAdNetworkConversionValueSchema', $request, $callOptions)->wait(); + } + + /** + * Updates a SearchAds360Link on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateSearchAds360LinkAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_search_ads360_link.php + * + * @param UpdateSearchAds360LinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 SearchAds360Link + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateSearchAds360Link(UpdateSearchAds360LinkRequest $request, array $callOptions = []): SearchAds360Link + { + return $this->startApiCall('UpdateSearchAds360Link', $request, $callOptions)->wait(); + } + + /** + * Updates a subproperty Event Filter. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateSubpropertyEventFilterAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_event_filter.php + * + * @param UpdateSubpropertyEventFilterRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 SubpropertyEventFilter + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateSubpropertyEventFilter(UpdateSubpropertyEventFilterRequest $request, array $callOptions = []): SubpropertyEventFilter + { + return $this->startApiCall('UpdateSubpropertyEventFilter', $request, $callOptions)->wait(); + } + + /** + * Updates a `SubpropertySyncConfig`. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateSubpropertySyncConfigAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_sync_config.php + * + * @param UpdateSubpropertySyncConfigRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 SubpropertySyncConfig + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateSubpropertySyncConfig(UpdateSubpropertySyncConfigRequest $request, array $callOptions = []): SubpropertySyncConfig + { + return $this->startApiCall('UpdateSubpropertySyncConfig', $request, $callOptions)->wait(); + } +} diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/gapic_metadata.json b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/gapic_metadata.json new file mode 100644 index 000000000000..44c634c25141 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/gapic_metadata.json @@ -0,0 +1,793 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services\/RPCs to the corresponding library clients\/methods", + "language": "php", + "protoPackage": "google.analytics.admin.v1alpha", + "libraryPackage": "Google\\Analytics\\Admin\\V1alpha", + "services": { + "AnalyticsAdminService": { + "clients": { + "grpc": { + "libraryClient": "AnalyticsAdminServiceGapicClient", + "rpcs": { + "AcknowledgeUserDataCollection": { + "methods": [ + "acknowledgeUserDataCollection" + ] + }, + "ApproveDisplayVideo360AdvertiserLinkProposal": { + "methods": [ + "approveDisplayVideo360AdvertiserLinkProposal" + ] + }, + "ArchiveAudience": { + "methods": [ + "archiveAudience" + ] + }, + "ArchiveCustomDimension": { + "methods": [ + "archiveCustomDimension" + ] + }, + "ArchiveCustomMetric": { + "methods": [ + "archiveCustomMetric" + ] + }, + "BatchCreateAccessBindings": { + "methods": [ + "batchCreateAccessBindings" + ] + }, + "BatchDeleteAccessBindings": { + "methods": [ + "batchDeleteAccessBindings" + ] + }, + "BatchGetAccessBindings": { + "methods": [ + "batchGetAccessBindings" + ] + }, + "BatchUpdateAccessBindings": { + "methods": [ + "batchUpdateAccessBindings" + ] + }, + "CancelDisplayVideo360AdvertiserLinkProposal": { + "methods": [ + "cancelDisplayVideo360AdvertiserLinkProposal" + ] + }, + "CreateAccessBinding": { + "methods": [ + "createAccessBinding" + ] + }, + "CreateAdSenseLink": { + "methods": [ + "createAdSenseLink" + ] + }, + "CreateAudience": { + "methods": [ + "createAudience" + ] + }, + "CreateBigQueryLink": { + "methods": [ + "createBigQueryLink" + ] + }, + "CreateCalculatedMetric": { + "methods": [ + "createCalculatedMetric" + ] + }, + "CreateChannelGroup": { + "methods": [ + "createChannelGroup" + ] + }, + "CreateConversionEvent": { + "methods": [ + "createConversionEvent" + ] + }, + "CreateCustomDimension": { + "methods": [ + "createCustomDimension" + ] + }, + "CreateCustomMetric": { + "methods": [ + "createCustomMetric" + ] + }, + "CreateDataStream": { + "methods": [ + "createDataStream" + ] + }, + "CreateDisplayVideo360AdvertiserLink": { + "methods": [ + "createDisplayVideo360AdvertiserLink" + ] + }, + "CreateDisplayVideo360AdvertiserLinkProposal": { + "methods": [ + "createDisplayVideo360AdvertiserLinkProposal" + ] + }, + "CreateEventCreateRule": { + "methods": [ + "createEventCreateRule" + ] + }, + "CreateEventEditRule": { + "methods": [ + "createEventEditRule" + ] + }, + "CreateExpandedDataSet": { + "methods": [ + "createExpandedDataSet" + ] + }, + "CreateFirebaseLink": { + "methods": [ + "createFirebaseLink" + ] + }, + "CreateGoogleAdsLink": { + "methods": [ + "createGoogleAdsLink" + ] + }, + "CreateKeyEvent": { + "methods": [ + "createKeyEvent" + ] + }, + "CreateMeasurementProtocolSecret": { + "methods": [ + "createMeasurementProtocolSecret" + ] + }, + "CreateProperty": { + "methods": [ + "createProperty" + ] + }, + "CreateReportingDataAnnotation": { + "methods": [ + "createReportingDataAnnotation" + ] + }, + "CreateRollupProperty": { + "methods": [ + "createRollupProperty" + ] + }, + "CreateRollupPropertySourceLink": { + "methods": [ + "createRollupPropertySourceLink" + ] + }, + "CreateSKAdNetworkConversionValueSchema": { + "methods": [ + "createSKAdNetworkConversionValueSchema" + ] + }, + "CreateSearchAds360Link": { + "methods": [ + "createSearchAds360Link" + ] + }, + "CreateSubpropertyEventFilter": { + "methods": [ + "createSubpropertyEventFilter" + ] + }, + "DeleteAccessBinding": { + "methods": [ + "deleteAccessBinding" + ] + }, + "DeleteAccount": { + "methods": [ + "deleteAccount" + ] + }, + "DeleteAdSenseLink": { + "methods": [ + "deleteAdSenseLink" + ] + }, + "DeleteBigQueryLink": { + "methods": [ + "deleteBigQueryLink" + ] + }, + "DeleteCalculatedMetric": { + "methods": [ + "deleteCalculatedMetric" + ] + }, + "DeleteChannelGroup": { + "methods": [ + "deleteChannelGroup" + ] + }, + "DeleteConversionEvent": { + "methods": [ + "deleteConversionEvent" + ] + }, + "DeleteDataStream": { + "methods": [ + "deleteDataStream" + ] + }, + "DeleteDisplayVideo360AdvertiserLink": { + "methods": [ + "deleteDisplayVideo360AdvertiserLink" + ] + }, + "DeleteDisplayVideo360AdvertiserLinkProposal": { + "methods": [ + "deleteDisplayVideo360AdvertiserLinkProposal" + ] + }, + "DeleteEventCreateRule": { + "methods": [ + "deleteEventCreateRule" + ] + }, + "DeleteEventEditRule": { + "methods": [ + "deleteEventEditRule" + ] + }, + "DeleteExpandedDataSet": { + "methods": [ + "deleteExpandedDataSet" + ] + }, + "DeleteFirebaseLink": { + "methods": [ + "deleteFirebaseLink" + ] + }, + "DeleteGoogleAdsLink": { + "methods": [ + "deleteGoogleAdsLink" + ] + }, + "DeleteKeyEvent": { + "methods": [ + "deleteKeyEvent" + ] + }, + "DeleteMeasurementProtocolSecret": { + "methods": [ + "deleteMeasurementProtocolSecret" + ] + }, + "DeleteProperty": { + "methods": [ + "deleteProperty" + ] + }, + "DeleteReportingDataAnnotation": { + "methods": [ + "deleteReportingDataAnnotation" + ] + }, + "DeleteRollupPropertySourceLink": { + "methods": [ + "deleteRollupPropertySourceLink" + ] + }, + "DeleteSKAdNetworkConversionValueSchema": { + "methods": [ + "deleteSKAdNetworkConversionValueSchema" + ] + }, + "DeleteSearchAds360Link": { + "methods": [ + "deleteSearchAds360Link" + ] + }, + "DeleteSubpropertyEventFilter": { + "methods": [ + "deleteSubpropertyEventFilter" + ] + }, + "GetAccessBinding": { + "methods": [ + "getAccessBinding" + ] + }, + "GetAccount": { + "methods": [ + "getAccount" + ] + }, + "GetAdSenseLink": { + "methods": [ + "getAdSenseLink" + ] + }, + "GetAttributionSettings": { + "methods": [ + "getAttributionSettings" + ] + }, + "GetAudience": { + "methods": [ + "getAudience" + ] + }, + "GetBigQueryLink": { + "methods": [ + "getBigQueryLink" + ] + }, + "GetCalculatedMetric": { + "methods": [ + "getCalculatedMetric" + ] + }, + "GetChannelGroup": { + "methods": [ + "getChannelGroup" + ] + }, + "GetConversionEvent": { + "methods": [ + "getConversionEvent" + ] + }, + "GetCustomDimension": { + "methods": [ + "getCustomDimension" + ] + }, + "GetCustomMetric": { + "methods": [ + "getCustomMetric" + ] + }, + "GetDataRedactionSettings": { + "methods": [ + "getDataRedactionSettings" + ] + }, + "GetDataRetentionSettings": { + "methods": [ + "getDataRetentionSettings" + ] + }, + "GetDataSharingSettings": { + "methods": [ + "getDataSharingSettings" + ] + }, + "GetDataStream": { + "methods": [ + "getDataStream" + ] + }, + "GetDisplayVideo360AdvertiserLink": { + "methods": [ + "getDisplayVideo360AdvertiserLink" + ] + }, + "GetDisplayVideo360AdvertiserLinkProposal": { + "methods": [ + "getDisplayVideo360AdvertiserLinkProposal" + ] + }, + "GetEnhancedMeasurementSettings": { + "methods": [ + "getEnhancedMeasurementSettings" + ] + }, + "GetEventCreateRule": { + "methods": [ + "getEventCreateRule" + ] + }, + "GetEventEditRule": { + "methods": [ + "getEventEditRule" + ] + }, + "GetExpandedDataSet": { + "methods": [ + "getExpandedDataSet" + ] + }, + "GetGlobalSiteTag": { + "methods": [ + "getGlobalSiteTag" + ] + }, + "GetGoogleSignalsSettings": { + "methods": [ + "getGoogleSignalsSettings" + ] + }, + "GetKeyEvent": { + "methods": [ + "getKeyEvent" + ] + }, + "GetMeasurementProtocolSecret": { + "methods": [ + "getMeasurementProtocolSecret" + ] + }, + "GetProperty": { + "methods": [ + "getProperty" + ] + }, + "GetReportingDataAnnotation": { + "methods": [ + "getReportingDataAnnotation" + ] + }, + "GetReportingIdentitySettings": { + "methods": [ + "getReportingIdentitySettings" + ] + }, + "GetRollupPropertySourceLink": { + "methods": [ + "getRollupPropertySourceLink" + ] + }, + "GetSKAdNetworkConversionValueSchema": { + "methods": [ + "getSKAdNetworkConversionValueSchema" + ] + }, + "GetSearchAds360Link": { + "methods": [ + "getSearchAds360Link" + ] + }, + "GetSubpropertyEventFilter": { + "methods": [ + "getSubpropertyEventFilter" + ] + }, + "GetSubpropertySyncConfig": { + "methods": [ + "getSubpropertySyncConfig" + ] + }, + "GetUserProvidedDataSettings": { + "methods": [ + "getUserProvidedDataSettings" + ] + }, + "ListAccessBindings": { + "methods": [ + "listAccessBindings" + ] + }, + "ListAccountSummaries": { + "methods": [ + "listAccountSummaries" + ] + }, + "ListAccounts": { + "methods": [ + "listAccounts" + ] + }, + "ListAdSenseLinks": { + "methods": [ + "listAdSenseLinks" + ] + }, + "ListAudiences": { + "methods": [ + "listAudiences" + ] + }, + "ListBigQueryLinks": { + "methods": [ + "listBigQueryLinks" + ] + }, + "ListCalculatedMetrics": { + "methods": [ + "listCalculatedMetrics" + ] + }, + "ListChannelGroups": { + "methods": [ + "listChannelGroups" + ] + }, + "ListConversionEvents": { + "methods": [ + "listConversionEvents" + ] + }, + "ListCustomDimensions": { + "methods": [ + "listCustomDimensions" + ] + }, + "ListCustomMetrics": { + "methods": [ + "listCustomMetrics" + ] + }, + "ListDataStreams": { + "methods": [ + "listDataStreams" + ] + }, + "ListDisplayVideo360AdvertiserLinkProposals": { + "methods": [ + "listDisplayVideo360AdvertiserLinkProposals" + ] + }, + "ListDisplayVideo360AdvertiserLinks": { + "methods": [ + "listDisplayVideo360AdvertiserLinks" + ] + }, + "ListEventCreateRules": { + "methods": [ + "listEventCreateRules" + ] + }, + "ListEventEditRules": { + "methods": [ + "listEventEditRules" + ] + }, + "ListExpandedDataSets": { + "methods": [ + "listExpandedDataSets" + ] + }, + "ListFirebaseLinks": { + "methods": [ + "listFirebaseLinks" + ] + }, + "ListGoogleAdsLinks": { + "methods": [ + "listGoogleAdsLinks" + ] + }, + "ListKeyEvents": { + "methods": [ + "listKeyEvents" + ] + }, + "ListMeasurementProtocolSecrets": { + "methods": [ + "listMeasurementProtocolSecrets" + ] + }, + "ListProperties": { + "methods": [ + "listProperties" + ] + }, + "ListReportingDataAnnotations": { + "methods": [ + "listReportingDataAnnotations" + ] + }, + "ListRollupPropertySourceLinks": { + "methods": [ + "listRollupPropertySourceLinks" + ] + }, + "ListSKAdNetworkConversionValueSchemas": { + "methods": [ + "listSKAdNetworkConversionValueSchemas" + ] + }, + "ListSearchAds360Links": { + "methods": [ + "listSearchAds360Links" + ] + }, + "ListSubpropertyEventFilters": { + "methods": [ + "listSubpropertyEventFilters" + ] + }, + "ListSubpropertySyncConfigs": { + "methods": [ + "listSubpropertySyncConfigs" + ] + }, + "ProvisionAccountTicket": { + "methods": [ + "provisionAccountTicket" + ] + }, + "ProvisionSubproperty": { + "methods": [ + "provisionSubproperty" + ] + }, + "ReorderEventEditRules": { + "methods": [ + "reorderEventEditRules" + ] + }, + "RunAccessReport": { + "methods": [ + "runAccessReport" + ] + }, + "SearchChangeHistoryEvents": { + "methods": [ + "searchChangeHistoryEvents" + ] + }, + "SubmitUserDeletion": { + "methods": [ + "submitUserDeletion" + ] + }, + "UpdateAccessBinding": { + "methods": [ + "updateAccessBinding" + ] + }, + "UpdateAccount": { + "methods": [ + "updateAccount" + ] + }, + "UpdateAttributionSettings": { + "methods": [ + "updateAttributionSettings" + ] + }, + "UpdateAudience": { + "methods": [ + "updateAudience" + ] + }, + "UpdateBigQueryLink": { + "methods": [ + "updateBigQueryLink" + ] + }, + "UpdateCalculatedMetric": { + "methods": [ + "updateCalculatedMetric" + ] + }, + "UpdateChannelGroup": { + "methods": [ + "updateChannelGroup" + ] + }, + "UpdateConversionEvent": { + "methods": [ + "updateConversionEvent" + ] + }, + "UpdateCustomDimension": { + "methods": [ + "updateCustomDimension" + ] + }, + "UpdateCustomMetric": { + "methods": [ + "updateCustomMetric" + ] + }, + "UpdateDataRedactionSettings": { + "methods": [ + "updateDataRedactionSettings" + ] + }, + "UpdateDataRetentionSettings": { + "methods": [ + "updateDataRetentionSettings" + ] + }, + "UpdateDataStream": { + "methods": [ + "updateDataStream" + ] + }, + "UpdateDisplayVideo360AdvertiserLink": { + "methods": [ + "updateDisplayVideo360AdvertiserLink" + ] + }, + "UpdateEnhancedMeasurementSettings": { + "methods": [ + "updateEnhancedMeasurementSettings" + ] + }, + "UpdateEventCreateRule": { + "methods": [ + "updateEventCreateRule" + ] + }, + "UpdateEventEditRule": { + "methods": [ + "updateEventEditRule" + ] + }, + "UpdateExpandedDataSet": { + "methods": [ + "updateExpandedDataSet" + ] + }, + "UpdateGoogleAdsLink": { + "methods": [ + "updateGoogleAdsLink" + ] + }, + "UpdateGoogleSignalsSettings": { + "methods": [ + "updateGoogleSignalsSettings" + ] + }, + "UpdateKeyEvent": { + "methods": [ + "updateKeyEvent" + ] + }, + "UpdateMeasurementProtocolSecret": { + "methods": [ + "updateMeasurementProtocolSecret" + ] + }, + "UpdateProperty": { + "methods": [ + "updateProperty" + ] + }, + "UpdateReportingDataAnnotation": { + "methods": [ + "updateReportingDataAnnotation" + ] + }, + "UpdateSKAdNetworkConversionValueSchema": { + "methods": [ + "updateSKAdNetworkConversionValueSchema" + ] + }, + "UpdateSearchAds360Link": { + "methods": [ + "updateSearchAds360Link" + ] + }, + "UpdateSubpropertyEventFilter": { + "methods": [ + "updateSubpropertyEventFilter" + ] + }, + "UpdateSubpropertySyncConfig": { + "methods": [ + "updateSubpropertySyncConfig" + ] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_client_config.json b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_client_config.json new file mode 100644 index 000000000000..59467eed40b8 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_client_config.json @@ -0,0 +1,820 @@ +{ + "interfaces": { + "google.analytics.admin.v1alpha.AnalyticsAdminService": { + "retry_codes": { + "no_retry_codes": [], + "retry_policy_1_codes": [ + "UNAVAILABLE", + "UNKNOWN" + ], + "no_retry_1_codes": [] + }, + "retry_params": { + "no_retry_params": { + "initial_retry_delay_millis": 0, + "retry_delay_multiplier": 0.0, + "max_retry_delay_millis": 0, + "initial_rpc_timeout_millis": 0, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 0, + "total_timeout_millis": 0 + }, + "retry_policy_1_params": { + "initial_retry_delay_millis": 1000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 60000, + "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": { + "AcknowledgeUserDataCollection": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ApproveDisplayVideo360AdvertiserLinkProposal": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ArchiveAudience": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ArchiveCustomDimension": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ArchiveCustomMetric": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "BatchCreateAccessBindings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "BatchDeleteAccessBindings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "BatchGetAccessBindings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "BatchUpdateAccessBindings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CancelDisplayVideo360AdvertiserLinkProposal": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateAccessBinding": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateAdSenseLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateAudience": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateBigQueryLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateCalculatedMetric": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateChannelGroup": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateConversionEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateCustomDimension": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateCustomMetric": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateDataStream": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateDisplayVideo360AdvertiserLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateDisplayVideo360AdvertiserLinkProposal": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateEventCreateRule": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateEventEditRule": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateExpandedDataSet": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateFirebaseLink": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "CreateGoogleAdsLink": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "CreateKeyEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateMeasurementProtocolSecret": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "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" + }, + "CreateReportingDataAnnotation": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateRollupProperty": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateRollupPropertySourceLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateSKAdNetworkConversionValueSchema": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateSearchAds360Link": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateSubpropertyEventFilter": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteAccessBinding": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteAccount": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "DeleteAdSenseLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteBigQueryLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteCalculatedMetric": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteChannelGroup": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteConversionEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteDataStream": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteDisplayVideo360AdvertiserLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteDisplayVideo360AdvertiserLinkProposal": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteEventCreateRule": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteEventEditRule": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteExpandedDataSet": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteFirebaseLink": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "DeleteGoogleAdsLink": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "DeleteKeyEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteMeasurementProtocolSecret": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "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" + }, + "DeleteReportingDataAnnotation": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteRollupPropertySourceLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteSKAdNetworkConversionValueSchema": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteSearchAds360Link": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteSubpropertyEventFilter": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetAccessBinding": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetAccount": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "GetAdSenseLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetAttributionSettings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetAudience": { + "timeout_millis": 60000, + "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" + }, + "GetCalculatedMetric": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetChannelGroup": { + "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", + "retry_params_name": "retry_policy_1_params" + }, + "GetCustomDimension": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetCustomMetric": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetDataRedactionSettings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetDataRetentionSettings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetDataSharingSettings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetDataStream": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetDisplayVideo360AdvertiserLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetDisplayVideo360AdvertiserLinkProposal": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetEnhancedMeasurementSettings": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "GetEventCreateRule": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetEventEditRule": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetExpandedDataSet": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetGlobalSiteTag": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "GetGoogleSignalsSettings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetKeyEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetMeasurementProtocolSecret": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "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" + }, + "GetReportingDataAnnotation": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetReportingIdentitySettings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetRollupPropertySourceLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetSKAdNetworkConversionValueSchema": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetSearchAds360Link": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetSubpropertyEventFilter": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetSubpropertySyncConfig": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetUserProvidedDataSettings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListAccessBindings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListAccountSummaries": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "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" + }, + "ListAdSenseLinks": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListAudiences": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListBigQueryLinks": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListCalculatedMetrics": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListChannelGroups": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListConversionEvents": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListCustomDimensions": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListCustomMetrics": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListDataStreams": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListDisplayVideo360AdvertiserLinkProposals": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListDisplayVideo360AdvertiserLinks": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListEventCreateRules": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListEventEditRules": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListExpandedDataSets": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListFirebaseLinks": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "ListGoogleAdsLinks": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "ListKeyEvents": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListMeasurementProtocolSecrets": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "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" + }, + "ListReportingDataAnnotations": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListRollupPropertySourceLinks": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListSKAdNetworkConversionValueSchemas": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListSearchAds360Links": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListSubpropertyEventFilters": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListSubpropertySyncConfigs": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ProvisionAccountTicket": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "ProvisionSubproperty": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ReorderEventEditRules": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "RunAccessReport": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "SearchChangeHistoryEvents": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "SubmitUserDeletion": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateAccessBinding": { + "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", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateAudience": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateBigQueryLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateCalculatedMetric": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateChannelGroup": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateConversionEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateCustomDimension": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateCustomMetric": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateDataRedactionSettings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateDataRetentionSettings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateDataStream": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateDisplayVideo360AdvertiserLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateEnhancedMeasurementSettings": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "UpdateEventCreateRule": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateEventEditRule": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateExpandedDataSet": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateGoogleAdsLink": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_1_codes", + "retry_params_name": "no_retry_1_params" + }, + "UpdateGoogleSignalsSettings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateKeyEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateMeasurementProtocolSecret": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "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" + }, + "UpdateReportingDataAnnotation": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateSKAdNetworkConversionValueSchema": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateSearchAds360Link": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateSubpropertyEventFilter": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateSubpropertySyncConfig": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + } + } + } + } +} diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_descriptor_config.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_descriptor_config.php new file mode 100644 index 000000000000..4eaf04ed527b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_descriptor_config.php @@ -0,0 +1,2133 @@ + [ + 'google.analytics.admin.v1alpha.AnalyticsAdminService' => [ + 'AcknowledgeUserDataCollection' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\AcknowledgeUserDataCollectionResponse', + 'headerParams' => [ + [ + 'keyName' => 'property', + 'fieldAccessors' => [ + 'getProperty', + ], + ], + ], + ], + 'ApproveDisplayVideo360AdvertiserLinkProposal' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ApproveDisplayVideo360AdvertiserLinkProposalResponse', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'ArchiveAudience' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'ArchiveCustomDimension' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'ArchiveCustomMetric' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'BatchCreateAccessBindings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\BatchCreateAccessBindingsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'BatchDeleteAccessBindings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'BatchGetAccessBindings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\BatchGetAccessBindingsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'BatchUpdateAccessBindings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\BatchUpdateAccessBindingsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CancelDisplayVideo360AdvertiserLinkProposal' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'CreateAccessBinding' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\AccessBinding', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateAdSenseLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\AdSenseLink', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateAudience' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\Audience', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateBigQueryLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\BigQueryLink', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateCalculatedMetric' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\CalculatedMetric', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateChannelGroup' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ChannelGroup', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateConversionEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ConversionEvent', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateCustomDimension' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\CustomDimension', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateCustomMetric' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\CustomMetric', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateDataStream' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\DataStream', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateDisplayVideo360AdvertiserLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateDisplayVideo360AdvertiserLinkProposal' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateEventCreateRule' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\EventCreateRule', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateEventEditRule' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\EventEditRule', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateExpandedDataSet' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ExpandedDataSet', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateFirebaseLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\FirebaseLink', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateGoogleAdsLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\GoogleAdsLink', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateKeyEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\KeyEvent', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateMeasurementProtocolSecret' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateProperty' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\Property', + ], + 'CreateReportingDataAnnotation' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ReportingDataAnnotation', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateRollupProperty' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\CreateRollupPropertyResponse', + ], + 'CreateRollupPropertySourceLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\RollupPropertySourceLink', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateSKAdNetworkConversionValueSchema' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateSearchAds360Link' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\SearchAds360Link', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateSubpropertyEventFilter' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\SubpropertyEventFilter', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'DeleteAccessBinding' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteAccount' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteAdSenseLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteBigQueryLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteCalculatedMetric' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteChannelGroup' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteConversionEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteDataStream' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteDisplayVideo360AdvertiserLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteDisplayVideo360AdvertiserLinkProposal' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteEventCreateRule' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteEventEditRule' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteExpandedDataSet' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteFirebaseLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteGoogleAdsLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteKeyEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteMeasurementProtocolSecret' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteProperty' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\Property', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteReportingDataAnnotation' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteRollupPropertySourceLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteSKAdNetworkConversionValueSchema' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteSearchAds360Link' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteSubpropertyEventFilter' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetAccessBinding' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\AccessBinding', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetAccount' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\Account', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetAdSenseLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\AdSenseLink', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetAttributionSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\AttributionSettings', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetAudience' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\Audience', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetBigQueryLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\BigQueryLink', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetCalculatedMetric' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\CalculatedMetric', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetChannelGroup' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ChannelGroup', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetConversionEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ConversionEvent', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetCustomDimension' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\CustomDimension', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetCustomMetric' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\CustomMetric', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetDataRedactionSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\DataRedactionSettings', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetDataRetentionSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\DataRetentionSettings', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetDataSharingSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\DataSharingSettings', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetDataStream' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\DataStream', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetDisplayVideo360AdvertiserLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetDisplayVideo360AdvertiserLinkProposal' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetEnhancedMeasurementSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetEventCreateRule' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\EventCreateRule', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetEventEditRule' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\EventEditRule', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetExpandedDataSet' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ExpandedDataSet', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetGlobalSiteTag' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\GlobalSiteTag', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetGoogleSignalsSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\GoogleSignalsSettings', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetKeyEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\KeyEvent', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetMeasurementProtocolSecret' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetProperty' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\Property', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetReportingDataAnnotation' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ReportingDataAnnotation', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetReportingIdentitySettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ReportingIdentitySettings', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetRollupPropertySourceLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\RollupPropertySourceLink', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetSKAdNetworkConversionValueSchema' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetSearchAds360Link' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\SearchAds360Link', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetSubpropertyEventFilter' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\SubpropertyEventFilter', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetSubpropertySyncConfig' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\SubpropertySyncConfig', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetUserProvidedDataSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\UserProvidedDataSettings', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'ListAccessBindings' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getAccessBindings', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListAccessBindingsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListAccountSummaries' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getAccountSummaries', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListAccountSummariesResponse', + ], + 'ListAccounts' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getAccounts', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListAccountsResponse', + ], + 'ListAdSenseLinks' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getAdsenseLinks', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListAdSenseLinksResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListAudiences' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getAudiences', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListAudiencesResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListBigQueryLinks' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getBigqueryLinks', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListBigQueryLinksResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListCalculatedMetrics' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getCalculatedMetrics', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListCalculatedMetricsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListChannelGroups' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getChannelGroups', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListChannelGroupsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListConversionEvents' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getConversionEvents', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListConversionEventsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListCustomDimensions' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getCustomDimensions', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListCustomDimensionsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListCustomMetrics' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getCustomMetrics', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListCustomMetricsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListDataStreams' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getDataStreams', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListDataStreamsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListDisplayVideo360AdvertiserLinkProposals' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getDisplayVideo360AdvertiserLinkProposals', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinkProposalsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListDisplayVideo360AdvertiserLinks' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getDisplayVideo360AdvertiserLinks', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinksResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListEventCreateRules' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getEventCreateRules', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListEventCreateRulesResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListEventEditRules' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getEventEditRules', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListEventEditRulesResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListExpandedDataSets' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getExpandedDataSets', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListExpandedDataSetsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListFirebaseLinks' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getFirebaseLinks', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListFirebaseLinksResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListGoogleAdsLinks' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getGoogleAdsLinks', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListGoogleAdsLinksResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListKeyEvents' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getKeyEvents', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListKeyEventsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListMeasurementProtocolSecrets' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getMeasurementProtocolSecrets', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListMeasurementProtocolSecretsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListProperties' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getProperties', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListPropertiesResponse', + ], + 'ListReportingDataAnnotations' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getReportingDataAnnotations', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListReportingDataAnnotationsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListRollupPropertySourceLinks' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getRollupPropertySourceLinks', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListRollupPropertySourceLinksResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListSKAdNetworkConversionValueSchemas' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getSkadnetworkConversionValueSchemas', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListSKAdNetworkConversionValueSchemasResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListSearchAds360Links' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getSearchAds360Links', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListSearchAds360LinksResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListSubpropertyEventFilters' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getSubpropertyEventFilters', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListSubpropertyEventFiltersResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListSubpropertySyncConfigs' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getSubpropertySyncConfigs', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ListSubpropertySyncConfigsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ProvisionAccountTicket' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ProvisionAccountTicketResponse', + ], + 'ProvisionSubproperty' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ProvisionSubpropertyResponse', + ], + 'ReorderEventEditRules' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'RunAccessReport' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\RunAccessReportResponse', + 'headerParams' => [ + [ + 'keyName' => 'entity', + 'fieldAccessors' => [ + 'getEntity', + ], + ], + ], + ], + 'SearchChangeHistoryEvents' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getChangeHistoryEvents', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\SearchChangeHistoryEventsResponse', + 'headerParams' => [ + [ + 'keyName' => 'account', + 'fieldAccessors' => [ + 'getAccount', + ], + ], + ], + ], + 'SubmitUserDeletion' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\SubmitUserDeletionResponse', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'UpdateAccessBinding' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\AccessBinding', + 'headerParams' => [ + [ + 'keyName' => 'access_binding.name', + 'fieldAccessors' => [ + 'getAccessBinding', + 'getName', + ], + ], + ], + ], + 'UpdateAccount' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\Account', + 'headerParams' => [ + [ + 'keyName' => 'account.name', + 'fieldAccessors' => [ + 'getAccount', + 'getName', + ], + ], + ], + ], + 'UpdateAttributionSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\AttributionSettings', + 'headerParams' => [ + [ + 'keyName' => 'attribution_settings.name', + 'fieldAccessors' => [ + 'getAttributionSettings', + 'getName', + ], + ], + ], + ], + 'UpdateAudience' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\Audience', + 'headerParams' => [ + [ + 'keyName' => 'audience.name', + 'fieldAccessors' => [ + 'getAudience', + 'getName', + ], + ], + ], + ], + 'UpdateBigQueryLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\BigQueryLink', + 'headerParams' => [ + [ + 'keyName' => 'bigquery_link.name', + 'fieldAccessors' => [ + 'getBigqueryLink', + 'getName', + ], + ], + ], + ], + 'UpdateCalculatedMetric' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\CalculatedMetric', + 'headerParams' => [ + [ + 'keyName' => 'calculated_metric.name', + 'fieldAccessors' => [ + 'getCalculatedMetric', + 'getName', + ], + ], + ], + ], + 'UpdateChannelGroup' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ChannelGroup', + 'headerParams' => [ + [ + 'keyName' => 'channel_group.name', + 'fieldAccessors' => [ + 'getChannelGroup', + 'getName', + ], + ], + ], + ], + 'UpdateConversionEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ConversionEvent', + 'headerParams' => [ + [ + 'keyName' => 'conversion_event.name', + 'fieldAccessors' => [ + 'getConversionEvent', + 'getName', + ], + ], + ], + ], + 'UpdateCustomDimension' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\CustomDimension', + 'headerParams' => [ + [ + 'keyName' => 'custom_dimension.name', + 'fieldAccessors' => [ + 'getCustomDimension', + 'getName', + ], + ], + ], + ], + 'UpdateCustomMetric' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\CustomMetric', + 'headerParams' => [ + [ + 'keyName' => 'custom_metric.name', + 'fieldAccessors' => [ + 'getCustomMetric', + 'getName', + ], + ], + ], + ], + 'UpdateDataRedactionSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\DataRedactionSettings', + 'headerParams' => [ + [ + 'keyName' => 'data_redaction_settings.name', + 'fieldAccessors' => [ + 'getDataRedactionSettings', + 'getName', + ], + ], + ], + ], + 'UpdateDataRetentionSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\DataRetentionSettings', + 'headerParams' => [ + [ + 'keyName' => 'data_retention_settings.name', + 'fieldAccessors' => [ + 'getDataRetentionSettings', + 'getName', + ], + ], + ], + ], + 'UpdateDataStream' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\DataStream', + 'headerParams' => [ + [ + 'keyName' => 'data_stream.name', + 'fieldAccessors' => [ + 'getDataStream', + 'getName', + ], + ], + ], + ], + 'UpdateDisplayVideo360AdvertiserLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink', + 'headerParams' => [ + [ + 'keyName' => 'display_video_360_advertiser_link.name', + 'fieldAccessors' => [ + 'getDisplayVideo360AdvertiserLink', + 'getName', + ], + ], + ], + ], + 'UpdateEnhancedMeasurementSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings', + 'headerParams' => [ + [ + 'keyName' => 'enhanced_measurement_settings.name', + 'fieldAccessors' => [ + 'getEnhancedMeasurementSettings', + 'getName', + ], + ], + ], + ], + 'UpdateEventCreateRule' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\EventCreateRule', + 'headerParams' => [ + [ + 'keyName' => 'event_create_rule.name', + 'fieldAccessors' => [ + 'getEventCreateRule', + 'getName', + ], + ], + ], + ], + 'UpdateEventEditRule' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\EventEditRule', + 'headerParams' => [ + [ + 'keyName' => 'event_edit_rule.name', + 'fieldAccessors' => [ + 'getEventEditRule', + 'getName', + ], + ], + ], + ], + 'UpdateExpandedDataSet' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ExpandedDataSet', + 'headerParams' => [ + [ + 'keyName' => 'expanded_data_set.name', + 'fieldAccessors' => [ + 'getExpandedDataSet', + 'getName', + ], + ], + ], + ], + 'UpdateGoogleAdsLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\GoogleAdsLink', + 'headerParams' => [ + [ + 'keyName' => 'google_ads_link.name', + 'fieldAccessors' => [ + 'getGoogleAdsLink', + 'getName', + ], + ], + ], + ], + 'UpdateGoogleSignalsSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\GoogleSignalsSettings', + 'headerParams' => [ + [ + 'keyName' => 'google_signals_settings.name', + 'fieldAccessors' => [ + 'getGoogleSignalsSettings', + 'getName', + ], + ], + ], + ], + 'UpdateKeyEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\KeyEvent', + 'headerParams' => [ + [ + 'keyName' => 'key_event.name', + 'fieldAccessors' => [ + 'getKeyEvent', + 'getName', + ], + ], + ], + ], + 'UpdateMeasurementProtocolSecret' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret', + 'headerParams' => [ + [ + 'keyName' => 'measurement_protocol_secret.name', + 'fieldAccessors' => [ + 'getMeasurementProtocolSecret', + 'getName', + ], + ], + ], + ], + 'UpdateProperty' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\Property', + 'headerParams' => [ + [ + 'keyName' => 'property.name', + 'fieldAccessors' => [ + 'getProperty', + 'getName', + ], + ], + ], + ], + 'UpdateReportingDataAnnotation' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\ReportingDataAnnotation', + 'headerParams' => [ + [ + 'keyName' => 'reporting_data_annotation.name', + 'fieldAccessors' => [ + 'getReportingDataAnnotation', + 'getName', + ], + ], + ], + ], + 'UpdateSKAdNetworkConversionValueSchema' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema', + 'headerParams' => [ + [ + 'keyName' => 'skadnetwork_conversion_value_schema.name', + 'fieldAccessors' => [ + 'getSkadnetworkConversionValueSchema', + 'getName', + ], + ], + ], + ], + 'UpdateSearchAds360Link' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\SearchAds360Link', + 'headerParams' => [ + [ + 'keyName' => 'search_ads_360_link.name', + 'fieldAccessors' => [ + 'getSearchAds360Link', + 'getName', + ], + ], + ], + ], + 'UpdateSubpropertyEventFilter' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\SubpropertyEventFilter', + 'headerParams' => [ + [ + 'keyName' => 'subproperty_event_filter.name', + 'fieldAccessors' => [ + 'getSubpropertyEventFilter', + 'getName', + ], + ], + ], + ], + 'UpdateSubpropertySyncConfig' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\SubpropertySyncConfig', + 'headerParams' => [ + [ + 'keyName' => 'subproperty_sync_config.name', + 'fieldAccessors' => [ + 'getSubpropertySyncConfig', + 'getName', + ], + ], + ], + ], + 'templateMap' => [ + 'accessBinding' => 'accounts/{account}/accessBindings/{access_binding}', + 'account' => 'accounts/{account}', + 'accountAccessBinding' => 'accounts/{account}/accessBindings/{access_binding}', + 'adSenseLink' => 'properties/{property}/adSenseLinks/{adsense_link}', + 'attributionSettings' => 'properties/{property}/attributionSettings', + 'audience' => 'properties/{property}/audiences/{audience}', + 'bigQueryLink' => 'properties/{property}/bigQueryLinks/{bigquery_link}', + 'calculatedMetric' => 'properties/{property}/calculatedMetrics/{calculated_metric}', + 'channelGroup' => 'properties/{property}/channelGroups/{channel_group}', + 'conversionEvent' => 'properties/{property}/conversionEvents/{conversion_event}', + 'customDimension' => 'properties/{property}/customDimensions/{custom_dimension}', + 'customMetric' => 'properties/{property}/customMetrics/{custom_metric}', + 'dataRedactionSettings' => 'properties/{property}/dataStreams/{data_stream}/dataRedactionSettings', + 'dataRetentionSettings' => 'properties/{property}/dataRetentionSettings', + 'dataSharingSettings' => 'accounts/{account}/dataSharingSettings', + 'dataStream' => 'properties/{property}/dataStreams/{data_stream}', + 'displayVideo360AdvertiserLink' => 'properties/{property}/displayVideo360AdvertiserLinks/{display_video_360_advertiser_link}', + 'displayVideo360AdvertiserLinkProposal' => 'properties/{property}/displayVideo360AdvertiserLinkProposals/{display_video_360_advertiser_link_proposal}', + 'enhancedMeasurementSettings' => 'properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings', + 'eventCreateRule' => 'properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}', + 'eventEditRule' => 'properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule}', + 'expandedDataSet' => 'properties/{property}/expandedDataSets/{expanded_data_set}', + 'firebaseLink' => 'properties/{property}/firebaseLinks/{firebase_link}', + 'globalSiteTag' => 'properties/{property}/dataStreams/{data_stream}/globalSiteTag', + 'googleAdsLink' => 'properties/{property}/googleAdsLinks/{google_ads_link}', + 'googleSignalsSettings' => 'properties/{property}/googleSignalsSettings', + 'keyEvent' => 'properties/{property}/keyEvents/{key_event}', + 'measurementProtocolSecret' => 'properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}', + 'organization' => 'organizations/{organization}', + 'property' => 'properties/{property}', + 'propertyAccessBinding' => 'properties/{property}/accessBindings/{access_binding}', + 'reportingDataAnnotation' => 'properties/{property}/reportingDataAnnotations/{reporting_data_annotation}', + 'reportingIdentitySettings' => 'properties/{property}/reportingIdentitySettings', + 'rollupPropertySourceLink' => 'properties/{property}/rollupPropertySourceLinks/{rollup_property_source_link}', + 'sKAdNetworkConversionValueSchema' => 'properties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}', + 'searchAds360Link' => 'properties/{property}/searchAds360Links/{search_ads_360_link}', + 'subpropertyEventFilter' => 'properties/{property}/subpropertyEventFilters/{sub_property_event_filter}', + 'subpropertySyncConfig' => 'properties/{property}/subpropertySyncConfigs/{subproperty_sync_config}', + 'userProvidedDataSettings' => 'properties/{property}/userProvidedDataSettings', + ], + ], + ], +]; diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_rest_client_config.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_rest_client_config.php new file mode 100644 index 000000000000..03b35af80d36 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_rest_client_config.php @@ -0,0 +1,1929 @@ + [ + 'google.analytics.admin.v1alpha.AnalyticsAdminService' => [ + 'AcknowledgeUserDataCollection' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{property=properties/*}:acknowledgeUserDataCollection', + 'body' => '*', + 'placeholders' => [ + 'property' => [ + 'getters' => [ + 'getProperty', + ], + ], + ], + ], + 'ApproveDisplayVideo360AdvertiserLinkProposal' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve', + 'body' => '*', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'ArchiveAudience' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{name=properties/*/audiences/*}:archive', + 'body' => '*', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'ArchiveCustomDimension' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{name=properties/*/customDimensions/*}:archive', + 'body' => '*', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'ArchiveCustomMetric' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{name=properties/*/customMetrics/*}:archive', + 'body' => '*', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'BatchCreateAccessBindings' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=accounts/*}/accessBindings:batchCreate', + 'body' => '*', + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/accessBindings:batchCreate', + 'body' => '*', + ], + ], + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'BatchDeleteAccessBindings' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=accounts/*}/accessBindings:batchDelete', + 'body' => '*', + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/accessBindings:batchDelete', + 'body' => '*', + ], + ], + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'BatchGetAccessBindings' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=accounts/*}/accessBindings:batchGet', + 'additionalBindings' => [ + [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/accessBindings:batchGet', + ], + ], + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'BatchUpdateAccessBindings' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=accounts/*}/accessBindings:batchUpdate', + 'body' => '*', + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/accessBindings:batchUpdate', + 'body' => '*', + ], + ], + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CancelDisplayVideo360AdvertiserLinkProposal' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:cancel', + 'body' => '*', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'CreateAccessBinding' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=accounts/*}/accessBindings', + 'body' => 'access_binding', + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/accessBindings', + 'body' => 'access_binding', + ], + ], + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateAdSenseLink' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/adSenseLinks', + 'body' => 'adsense_link', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateAudience' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/audiences', + 'body' => 'audience', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateBigQueryLink' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/bigQueryLinks', + 'body' => 'bigquery_link', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateCalculatedMetric' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/calculatedMetrics', + 'body' => 'calculated_metric', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + 'queryParams' => [ + 'calculated_metric_id', + ], + ], + 'CreateChannelGroup' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/channelGroups', + 'body' => 'channel_group', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateConversionEvent' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/conversionEvents', + 'body' => 'conversion_event', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateCustomDimension' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/customDimensions', + 'body' => 'custom_dimension', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateCustomMetric' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/customMetrics', + 'body' => 'custom_metric', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateDataStream' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/dataStreams', + 'body' => 'data_stream', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateDisplayVideo360AdvertiserLink' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks', + 'body' => 'display_video_360_advertiser_link', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateDisplayVideo360AdvertiserLinkProposal' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals', + 'body' => 'display_video_360_advertiser_link_proposal', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateEventCreateRule' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules', + 'body' => 'event_create_rule', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateEventEditRule' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules', + 'body' => 'event_edit_rule', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateExpandedDataSet' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/expandedDataSets', + 'body' => 'expanded_data_set', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateFirebaseLink' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/firebaseLinks', + 'body' => 'firebase_link', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateGoogleAdsLink' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/googleAdsLinks', + 'body' => 'google_ads_link', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateKeyEvent' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/keyEvents', + 'body' => 'key_event', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateMeasurementProtocolSecret' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets', + 'body' => 'measurement_protocol_secret', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateProperty' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/properties', + 'body' => 'property', + ], + 'CreateReportingDataAnnotation' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/reportingDataAnnotations', + 'body' => 'reporting_data_annotation', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateRollupProperty' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/properties:createRollupProperty', + 'body' => '*', + ], + 'CreateRollupPropertySourceLink' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/rollupPropertySourceLinks', + 'body' => 'rollup_property_source_link', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateSKAdNetworkConversionValueSchema' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema', + 'body' => 'skadnetwork_conversion_value_schema', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateSearchAds360Link' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/searchAds360Links', + 'body' => 'search_ads_360_link', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateSubpropertyEventFilter' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/subpropertyEventFilters', + 'body' => 'subproperty_event_filter', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'DeleteAccessBinding' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=accounts/*/accessBindings/*}', + 'additionalBindings' => [ + [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/accessBindings/*}', + ], + ], + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteAccount' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=accounts/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteAdSenseLink' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/adSenseLinks/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteBigQueryLink' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/bigQueryLinks/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteCalculatedMetric' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/calculatedMetrics/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteChannelGroup' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/channelGroups/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteConversionEvent' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/conversionEvents/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteDataStream' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteDisplayVideo360AdvertiserLink' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteDisplayVideo360AdvertiserLinkProposal' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteEventCreateRule' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteEventEditRule' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/eventEditRules/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteExpandedDataSet' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/expandedDataSets/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteFirebaseLink' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/firebaseLinks/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteGoogleAdsLink' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/googleAdsLinks/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteKeyEvent' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/keyEvents/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteMeasurementProtocolSecret' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteProperty' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteReportingDataAnnotation' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/reportingDataAnnotations/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteRollupPropertySourceLink' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteSKAdNetworkConversionValueSchema' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteSearchAds360Link' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/searchAds360Links/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteSubpropertyEventFilter' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1alpha/{name=properties/*/subpropertyEventFilters/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetAccessBinding' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=accounts/*/accessBindings/*}', + 'additionalBindings' => [ + [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/accessBindings/*}', + ], + ], + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetAccount' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=accounts/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetAdSenseLink' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/adSenseLinks/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetAttributionSettings' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/attributionSettings}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetAudience' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/audiences/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetBigQueryLink' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/bigQueryLinks/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetCalculatedMetric' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/calculatedMetrics/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetChannelGroup' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/channelGroups/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetConversionEvent' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/conversionEvents/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetCustomDimension' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/customDimensions/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetCustomMetric' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/customMetrics/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetDataRedactionSettings' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/dataRedactionSettings}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetDataRetentionSettings' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/dataRetentionSettings}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetDataSharingSettings' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=accounts/*/dataSharingSettings}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetDataStream' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetDisplayVideo360AdvertiserLink' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetDisplayVideo360AdvertiserLinkProposal' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetEnhancedMeasurementSettings' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/enhancedMeasurementSettings}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetEventCreateRule' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetEventEditRule' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/eventEditRules/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetExpandedDataSet' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/expandedDataSets/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetGlobalSiteTag' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/globalSiteTag}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetGoogleSignalsSettings' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/googleSignalsSettings}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetKeyEvent' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/keyEvents/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetMeasurementProtocolSecret' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetProperty' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetReportingDataAnnotation' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/reportingDataAnnotations/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetReportingIdentitySettings' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/reportingIdentitySettings}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetRollupPropertySourceLink' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetSKAdNetworkConversionValueSchema' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetSearchAds360Link' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/searchAds360Links/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetSubpropertyEventFilter' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/subpropertyEventFilters/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetSubpropertySyncConfig' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/subpropertySyncConfigs/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetUserProvidedDataSettings' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/userProvidedDataSettings}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'ListAccessBindings' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=accounts/*}/accessBindings', + 'additionalBindings' => [ + [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/accessBindings', + ], + ], + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListAccountSummaries' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/accountSummaries', + ], + 'ListAccounts' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/accounts', + ], + 'ListAdSenseLinks' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/adSenseLinks', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListAudiences' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/audiences', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListBigQueryLinks' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/bigQueryLinks', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListCalculatedMetrics' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/calculatedMetrics', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListChannelGroups' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/channelGroups', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListConversionEvents' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/conversionEvents', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListCustomDimensions' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/customDimensions', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListCustomMetrics' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/customMetrics', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListDataStreams' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/dataStreams', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListDisplayVideo360AdvertiserLinkProposals' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListDisplayVideo360AdvertiserLinks' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListEventCreateRules' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListEventEditRules' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListExpandedDataSets' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/expandedDataSets', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListFirebaseLinks' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/firebaseLinks', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListGoogleAdsLinks' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/googleAdsLinks', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListKeyEvents' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/keyEvents', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListMeasurementProtocolSecrets' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListProperties' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/properties', + 'queryParams' => [ + 'filter', + ], + ], + 'ListReportingDataAnnotations' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/reportingDataAnnotations', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListRollupPropertySourceLinks' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/rollupPropertySourceLinks', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListSKAdNetworkConversionValueSchemas' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListSearchAds360Links' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/searchAds360Links', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListSubpropertyEventFilters' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/subpropertyEventFilters', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListSubpropertySyncConfigs' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{parent=properties/*}/subpropertySyncConfigs', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ProvisionAccountTicket' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/accounts:provisionAccountTicket', + 'body' => '*', + ], + 'ProvisionSubproperty' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/properties:provisionSubproperty', + 'body' => '*', + ], + 'ReorderEventEditRules' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules:reorder', + 'body' => '*', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'RunAccessReport' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{entity=properties/*}:runAccessReport', + 'body' => '*', + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{entity=accounts/*}:runAccessReport', + 'body' => '*', + ], + ], + 'placeholders' => [ + 'entity' => [ + 'getters' => [ + 'getEntity', + ], + ], + ], + ], + 'SearchChangeHistoryEvents' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{account=accounts/*}:searchChangeHistoryEvents', + 'body' => '*', + 'placeholders' => [ + 'account' => [ + 'getters' => [ + 'getAccount', + ], + ], + ], + ], + 'SubmitUserDeletion' => [ + 'method' => 'post', + 'uriTemplate' => '/v1alpha/{name=properties/*}:submitUserDeletion', + 'body' => '*', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'UpdateAccessBinding' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{access_binding.name=accounts/*/accessBindings/*}', + 'body' => 'access_binding', + 'additionalBindings' => [ + [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{access_binding.name=properties/*/accessBindings/*}', + 'body' => 'access_binding', + ], + ], + 'placeholders' => [ + 'access_binding.name' => [ + 'getters' => [ + 'getAccessBinding', + 'getName', + ], + ], + ], + ], + 'UpdateAccount' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{account.name=accounts/*}', + 'body' => 'account', + 'placeholders' => [ + 'account.name' => [ + 'getters' => [ + 'getAccount', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateAttributionSettings' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{attribution_settings.name=properties/*/attributionSettings}', + 'body' => 'attribution_settings', + 'placeholders' => [ + 'attribution_settings.name' => [ + 'getters' => [ + 'getAttributionSettings', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateAudience' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{audience.name=properties/*/audiences/*}', + 'body' => 'audience', + 'placeholders' => [ + 'audience.name' => [ + 'getters' => [ + 'getAudience', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateBigQueryLink' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{bigquery_link.name=properties/*/bigQueryLinks/*}', + 'body' => 'bigquery_link', + 'placeholders' => [ + 'bigquery_link.name' => [ + 'getters' => [ + 'getBigqueryLink', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateCalculatedMetric' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{calculated_metric.name=properties/*/calculatedMetrics/*}', + 'body' => 'calculated_metric', + 'placeholders' => [ + 'calculated_metric.name' => [ + 'getters' => [ + 'getCalculatedMetric', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateChannelGroup' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{channel_group.name=properties/*/channelGroups/*}', + 'body' => 'channel_group', + 'placeholders' => [ + 'channel_group.name' => [ + 'getters' => [ + 'getChannelGroup', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateConversionEvent' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{conversion_event.name=properties/*/conversionEvents/*}', + 'body' => 'conversion_event', + 'placeholders' => [ + 'conversion_event.name' => [ + 'getters' => [ + 'getConversionEvent', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateCustomDimension' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{custom_dimension.name=properties/*/customDimensions/*}', + 'body' => 'custom_dimension', + 'placeholders' => [ + 'custom_dimension.name' => [ + 'getters' => [ + 'getCustomDimension', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateCustomMetric' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{custom_metric.name=properties/*/customMetrics/*}', + 'body' => 'custom_metric', + 'placeholders' => [ + 'custom_metric.name' => [ + 'getters' => [ + 'getCustomMetric', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateDataRedactionSettings' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{data_redaction_settings.name=properties/*/dataStreams/*/dataRedactionSettings}', + 'body' => 'data_redaction_settings', + 'placeholders' => [ + 'data_redaction_settings.name' => [ + 'getters' => [ + 'getDataRedactionSettings', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateDataRetentionSettings' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{data_retention_settings.name=properties/*/dataRetentionSettings}', + 'body' => 'data_retention_settings', + 'placeholders' => [ + 'data_retention_settings.name' => [ + 'getters' => [ + 'getDataRetentionSettings', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateDataStream' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{data_stream.name=properties/*/dataStreams/*}', + 'body' => 'data_stream', + 'placeholders' => [ + 'data_stream.name' => [ + 'getters' => [ + 'getDataStream', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateDisplayVideo360AdvertiserLink' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{display_video_360_advertiser_link.name=properties/*/displayVideo360AdvertiserLinks/*}', + 'body' => 'display_video_360_advertiser_link', + 'placeholders' => [ + 'display_video_360_advertiser_link.name' => [ + 'getters' => [ + 'getDisplayVideo360AdvertiserLink', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateEnhancedMeasurementSettings' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{enhanced_measurement_settings.name=properties/*/dataStreams/*/enhancedMeasurementSettings}', + 'body' => 'enhanced_measurement_settings', + 'placeholders' => [ + 'enhanced_measurement_settings.name' => [ + 'getters' => [ + 'getEnhancedMeasurementSettings', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateEventCreateRule' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{event_create_rule.name=properties/*/dataStreams/*/eventCreateRules/*}', + 'body' => 'event_create_rule', + 'placeholders' => [ + 'event_create_rule.name' => [ + 'getters' => [ + 'getEventCreateRule', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateEventEditRule' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{event_edit_rule.name=properties/*/dataStreams/*/eventEditRules/*}', + 'body' => 'event_edit_rule', + 'placeholders' => [ + 'event_edit_rule.name' => [ + 'getters' => [ + 'getEventEditRule', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateExpandedDataSet' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{expanded_data_set.name=properties/*/expandedDataSets/*}', + 'body' => 'expanded_data_set', + 'placeholders' => [ + 'expanded_data_set.name' => [ + 'getters' => [ + 'getExpandedDataSet', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateGoogleAdsLink' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{google_ads_link.name=properties/*/googleAdsLinks/*}', + 'body' => 'google_ads_link', + 'placeholders' => [ + 'google_ads_link.name' => [ + 'getters' => [ + 'getGoogleAdsLink', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateGoogleSignalsSettings' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{google_signals_settings.name=properties/*/googleSignalsSettings}', + 'body' => 'google_signals_settings', + 'placeholders' => [ + 'google_signals_settings.name' => [ + 'getters' => [ + 'getGoogleSignalsSettings', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateKeyEvent' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{key_event.name=properties/*/keyEvents/*}', + 'body' => 'key_event', + 'placeholders' => [ + 'key_event.name' => [ + 'getters' => [ + 'getKeyEvent', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateMeasurementProtocolSecret' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', + 'body' => 'measurement_protocol_secret', + 'placeholders' => [ + 'measurement_protocol_secret.name' => [ + 'getters' => [ + 'getMeasurementProtocolSecret', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateProperty' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{property.name=properties/*}', + 'body' => 'property', + 'placeholders' => [ + 'property.name' => [ + 'getters' => [ + 'getProperty', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateReportingDataAnnotation' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{reporting_data_annotation.name=properties/*/reportingDataAnnotations/*}', + 'body' => 'reporting_data_annotation', + 'placeholders' => [ + 'reporting_data_annotation.name' => [ + 'getters' => [ + 'getReportingDataAnnotation', + 'getName', + ], + ], + ], + ], + 'UpdateSKAdNetworkConversionValueSchema' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{skadnetwork_conversion_value_schema.name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}', + 'body' => 'skadnetwork_conversion_value_schema', + 'placeholders' => [ + 'skadnetwork_conversion_value_schema.name' => [ + 'getters' => [ + 'getSkadnetworkConversionValueSchema', + 'getName', + ], + ], + ], + 'queryParams' => [ + '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', + ], + ], + 'UpdateSubpropertyEventFilter' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{subproperty_event_filter.name=properties/*/subpropertyEventFilters/*}', + 'body' => 'subproperty_event_filter', + 'placeholders' => [ + 'subproperty_event_filter.name' => [ + 'getters' => [ + 'getSubpropertyEventFilter', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateSubpropertySyncConfig' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1alpha/{subproperty_sync_config.name=properties/*/subpropertySyncConfigs/*}', + 'body' => 'subproperty_sync_config', + 'placeholders' => [ + 'subproperty_sync_config.name' => [ + 'getters' => [ + 'getSubpropertySyncConfig', + 'getName', + ], + ], + ], + ], + ], + ], + 'numericEnums' => true, +]; diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/tests/Unit/V1alpha/Client/AnalyticsAdminServiceClientTest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/tests/Unit/V1alpha/Client/AnalyticsAdminServiceClientTest.php new file mode 100644 index 000000000000..cea26eaaf433 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1alpha/tests/Unit/V1alpha/Client/AnalyticsAdminServiceClientTest.php @@ -0,0 +1,11424 @@ +getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); + } + + /** @return AnalyticsAdminServiceClient */ + private function createClient(array $options = []) + { + $options += [ + 'credentials' => $this->createCredentials(), + ]; + return new AnalyticsAdminServiceClient($options); + } + + /** @test */ + public function acknowledgeUserDataCollectionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new AcknowledgeUserDataCollectionResponse(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedProperty = $gapicClient->propertyName('[PROPERTY]'); + $acknowledgement = 'acknowledgement1769490938'; + $request = (new AcknowledgeUserDataCollectionRequest()) + ->setProperty($formattedProperty) + ->setAcknowledgement($acknowledgement); + $response = $gapicClient->acknowledgeUserDataCollection($request); + $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/AcknowledgeUserDataCollection', $actualFuncCall); + $actualValue = $actualRequestObject->getProperty(); + $this->assertProtobufEquals($formattedProperty, $actualValue); + $actualValue = $actualRequestObject->getAcknowledgement(); + $this->assertProtobufEquals($acknowledgement, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function acknowledgeUserDataCollectionExceptionTest() + { + $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 + $formattedProperty = $gapicClient->propertyName('[PROPERTY]'); + $acknowledgement = 'acknowledgement1769490938'; + $request = (new AcknowledgeUserDataCollectionRequest()) + ->setProperty($formattedProperty) + ->setAcknowledgement($acknowledgement); + try { + $gapicClient->acknowledgeUserDataCollection($request); + // 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 approveDisplayVideo360AdvertiserLinkProposalTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new ApproveDisplayVideo360AdvertiserLinkProposalResponse(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); + $request = (new ApproveDisplayVideo360AdvertiserLinkProposalRequest()) + ->setName($formattedName); + $response = $gapicClient->approveDisplayVideo360AdvertiserLinkProposal($request); + $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/ApproveDisplayVideo360AdvertiserLinkProposal', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function approveDisplayVideo360AdvertiserLinkProposalExceptionTest() + { + $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->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); + $request = (new ApproveDisplayVideo360AdvertiserLinkProposalRequest()) + ->setName($formattedName); + try { + $gapicClient->approveDisplayVideo360AdvertiserLinkProposal($request); + // 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 archiveAudienceTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ArchiveAudienceRequest()) + ->setName($formattedName); + $gapicClient->archiveAudience($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/ArchiveAudience', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function archiveAudienceExceptionTest() + { + $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->propertyName('[PROPERTY]'); + $request = (new ArchiveAudienceRequest()) + ->setName($formattedName); + try { + $gapicClient->archiveAudience($request); + // 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 archiveCustomDimensionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); + $request = (new ArchiveCustomDimensionRequest()) + ->setName($formattedName); + $gapicClient->archiveCustomDimension($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/ArchiveCustomDimension', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function archiveCustomDimensionExceptionTest() + { + $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->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); + $request = (new ArchiveCustomDimensionRequest()) + ->setName($formattedName); + try { + $gapicClient->archiveCustomDimension($request); + // 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 archiveCustomMetricTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); + $request = (new ArchiveCustomMetricRequest()) + ->setName($formattedName); + $gapicClient->archiveCustomMetric($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/ArchiveCustomMetric', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function archiveCustomMetricExceptionTest() + { + $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->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); + $request = (new ArchiveCustomMetricRequest()) + ->setName($formattedName); + try { + $gapicClient->archiveCustomMetric($request); + // 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 batchCreateAccessBindingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new BatchCreateAccessBindingsResponse(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->accountName('[ACCOUNT]'); + $requests = []; + $request = (new BatchCreateAccessBindingsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + $response = $gapicClient->batchCreateAccessBindings($request); + $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/BatchCreateAccessBindings', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getRequests(); + $this->assertProtobufEquals($requests, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function batchCreateAccessBindingsExceptionTest() + { + $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->accountName('[ACCOUNT]'); + $requests = []; + $request = (new BatchCreateAccessBindingsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + try { + $gapicClient->batchCreateAccessBindings($request); + // 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 batchDeleteAccessBindingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->accountName('[ACCOUNT]'); + $requests = []; + $request = (new BatchDeleteAccessBindingsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + $gapicClient->batchDeleteAccessBindings($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/BatchDeleteAccessBindings', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getRequests(); + $this->assertProtobufEquals($requests, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function batchDeleteAccessBindingsExceptionTest() + { + $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->accountName('[ACCOUNT]'); + $requests = []; + $request = (new BatchDeleteAccessBindingsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + try { + $gapicClient->batchDeleteAccessBindings($request); + // 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 batchGetAccessBindingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new BatchGetAccessBindingsResponse(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->accountName('[ACCOUNT]'); + $formattedNames = [ + $gapicClient->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'), + ]; + $request = (new BatchGetAccessBindingsRequest()) + ->setParent($formattedParent) + ->setNames($formattedNames); + $response = $gapicClient->batchGetAccessBindings($request); + $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/BatchGetAccessBindings', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getNames(); + $this->assertProtobufEquals($formattedNames, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function batchGetAccessBindingsExceptionTest() + { + $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->accountName('[ACCOUNT]'); + $formattedNames = [ + $gapicClient->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'), + ]; + $request = (new BatchGetAccessBindingsRequest()) + ->setParent($formattedParent) + ->setNames($formattedNames); + try { + $gapicClient->batchGetAccessBindings($request); + // 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 batchUpdateAccessBindingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new BatchUpdateAccessBindingsResponse(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->accountName('[ACCOUNT]'); + $requests = []; + $request = (new BatchUpdateAccessBindingsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + $response = $gapicClient->batchUpdateAccessBindings($request); + $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/BatchUpdateAccessBindings', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getRequests(); + $this->assertProtobufEquals($requests, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function batchUpdateAccessBindingsExceptionTest() + { + $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->accountName('[ACCOUNT]'); + $requests = []; + $request = (new BatchUpdateAccessBindingsRequest()) + ->setParent($formattedParent) + ->setRequests($requests); + try { + $gapicClient->batchUpdateAccessBindings($request); + // 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 cancelDisplayVideo360AdvertiserLinkProposalTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $advertiserId = 'advertiserId-127926097'; + $advertiserDisplayName = 'advertiserDisplayName-674771332'; + $validationEmail = 'validationEmail2105669718'; + $expectedResponse = new DisplayVideo360AdvertiserLinkProposal(); + $expectedResponse->setName($name2); + $expectedResponse->setAdvertiserId($advertiserId); + $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName); + $expectedResponse->setValidationEmail($validationEmail); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); + $request = (new CancelDisplayVideo360AdvertiserLinkProposalRequest()) + ->setName($formattedName); + $response = $gapicClient->cancelDisplayVideo360AdvertiserLinkProposal($request); + $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/CancelDisplayVideo360AdvertiserLinkProposal', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function cancelDisplayVideo360AdvertiserLinkProposalExceptionTest() + { + $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->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); + $request = (new CancelDisplayVideo360AdvertiserLinkProposalRequest()) + ->setName($formattedName); + try { + $gapicClient->cancelDisplayVideo360AdvertiserLinkProposal($request); + // 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 createAccessBindingTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $user = 'user3599307'; + $name = 'name3373707'; + $expectedResponse = new AccessBinding(); + $expectedResponse->setUser($user); + $expectedResponse->setName($name); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->accountName('[ACCOUNT]'); + $accessBinding = new AccessBinding(); + $request = (new CreateAccessBindingRequest()) + ->setParent($formattedParent) + ->setAccessBinding($accessBinding); + $response = $gapicClient->createAccessBinding($request); + $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/CreateAccessBinding', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getAccessBinding(); + $this->assertProtobufEquals($accessBinding, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createAccessBindingExceptionTest() + { + $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->accountName('[ACCOUNT]'); + $accessBinding = new AccessBinding(); + $request = (new CreateAccessBindingRequest()) + ->setParent($formattedParent) + ->setAccessBinding($accessBinding); + try { + $gapicClient->createAccessBinding($request); + // 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 createAdSenseLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $adClientCode = 'adClientCode-1866307643'; + $expectedResponse = new AdSenseLink(); + $expectedResponse->setName($name); + $expectedResponse->setAdClientCode($adClientCode); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $adsenseLink = new AdSenseLink(); + $request = (new CreateAdSenseLinkRequest()) + ->setParent($formattedParent) + ->setAdsenseLink($adsenseLink); + $response = $gapicClient->createAdSenseLink($request); + $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/CreateAdSenseLink', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getAdsenseLink(); + $this->assertProtobufEquals($adsenseLink, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createAdSenseLinkExceptionTest() + { + $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]'); + $adsenseLink = new AdSenseLink(); + $request = (new CreateAdSenseLinkRequest()) + ->setParent($formattedParent) + ->setAdsenseLink($adsenseLink); + try { + $gapicClient->createAdSenseLink($request); + // 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 createAudienceTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $membershipDurationDays = 1702404985; + $adsPersonalizationEnabled = false; + $expectedResponse = new Audience(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $expectedResponse->setMembershipDurationDays($membershipDurationDays); + $expectedResponse->setAdsPersonalizationEnabled($adsPersonalizationEnabled); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $audience = new Audience(); + $audienceDisplayName = 'audienceDisplayName1537141193'; + $audience->setDisplayName($audienceDisplayName); + $audienceDescription = 'audienceDescription-1901553832'; + $audience->setDescription($audienceDescription); + $audienceMembershipDurationDays = 1530655195; + $audience->setMembershipDurationDays($audienceMembershipDurationDays); + $audienceFilterClauses = []; + $audience->setFilterClauses($audienceFilterClauses); + $request = (new CreateAudienceRequest()) + ->setParent($formattedParent) + ->setAudience($audience); + $response = $gapicClient->createAudience($request); + $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/CreateAudience', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getAudience(); + $this->assertProtobufEquals($audience, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createAudienceExceptionTest() + { + $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]'); + $audience = new Audience(); + $audienceDisplayName = 'audienceDisplayName1537141193'; + $audience->setDisplayName($audienceDisplayName); + $audienceDescription = 'audienceDescription-1901553832'; + $audience->setDescription($audienceDescription); + $audienceMembershipDurationDays = 1530655195; + $audience->setMembershipDurationDays($audienceMembershipDurationDays); + $audienceFilterClauses = []; + $audience->setFilterClauses($audienceFilterClauses); + $request = (new CreateAudienceRequest()) + ->setParent($formattedParent) + ->setAudience($audience); + try { + $gapicClient->createAudience($request); + // 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 createBigQueryLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $project = 'project-309310695'; + $dailyExportEnabled = true; + $streamingExportEnabled = false; + $freshDailyExportEnabled = false; + $includeAdvertisingId = false; + $datasetLocation = 'datasetLocation1011262364'; + $expectedResponse = new BigQueryLink(); + $expectedResponse->setName($name); + $expectedResponse->setProject($project); + $expectedResponse->setDailyExportEnabled($dailyExportEnabled); + $expectedResponse->setStreamingExportEnabled($streamingExportEnabled); + $expectedResponse->setFreshDailyExportEnabled($freshDailyExportEnabled); + $expectedResponse->setIncludeAdvertisingId($includeAdvertisingId); + $expectedResponse->setDatasetLocation($datasetLocation); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $bigqueryLink = new BigQueryLink(); + $bigqueryLinkDatasetLocation = 'bigqueryLinkDatasetLocation714488843'; + $bigqueryLink->setDatasetLocation($bigqueryLinkDatasetLocation); + $request = (new CreateBigQueryLinkRequest()) + ->setParent($formattedParent) + ->setBigqueryLink($bigqueryLink); + $response = $gapicClient->createBigQueryLink($request); + $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/CreateBigQueryLink', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getBigqueryLink(); + $this->assertProtobufEquals($bigqueryLink, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createBigQueryLinkExceptionTest() + { + $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]'); + $bigqueryLink = new BigQueryLink(); + $bigqueryLinkDatasetLocation = 'bigqueryLinkDatasetLocation714488843'; + $bigqueryLink->setDatasetLocation($bigqueryLinkDatasetLocation); + $request = (new CreateBigQueryLinkRequest()) + ->setParent($formattedParent) + ->setBigqueryLink($bigqueryLink); + try { + $gapicClient->createBigQueryLink($request); + // 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 createCalculatedMetricTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $description = 'description-1724546052'; + $displayName = 'displayName1615086568'; + $calculatedMetricId2 = 'calculatedMetricId2-706401732'; + $formula = 'formula-677424794'; + $invalidMetricReference = true; + $expectedResponse = new CalculatedMetric(); + $expectedResponse->setName($name); + $expectedResponse->setDescription($description); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setCalculatedMetricId($calculatedMetricId2); + $expectedResponse->setFormula($formula); + $expectedResponse->setInvalidMetricReference($invalidMetricReference); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $calculatedMetricId = 'calculatedMetricId8203465'; + $calculatedMetric = new CalculatedMetric(); + $calculatedMetricDisplayName = 'calculatedMetricDisplayName-1927551873'; + $calculatedMetric->setDisplayName($calculatedMetricDisplayName); + $calculatedMetricMetricUnit = MetricUnit::METRIC_UNIT_UNSPECIFIED; + $calculatedMetric->setMetricUnit($calculatedMetricMetricUnit); + $calculatedMetricFormula = 'calculatedMetricFormula752695416'; + $calculatedMetric->setFormula($calculatedMetricFormula); + $request = (new CreateCalculatedMetricRequest()) + ->setParent($formattedParent) + ->setCalculatedMetricId($calculatedMetricId) + ->setCalculatedMetric($calculatedMetric); + $response = $gapicClient->createCalculatedMetric($request); + $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/CreateCalculatedMetric', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getCalculatedMetricId(); + $this->assertProtobufEquals($calculatedMetricId, $actualValue); + $actualValue = $actualRequestObject->getCalculatedMetric(); + $this->assertProtobufEquals($calculatedMetric, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createCalculatedMetricExceptionTest() + { + $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]'); + $calculatedMetricId = 'calculatedMetricId8203465'; + $calculatedMetric = new CalculatedMetric(); + $calculatedMetricDisplayName = 'calculatedMetricDisplayName-1927551873'; + $calculatedMetric->setDisplayName($calculatedMetricDisplayName); + $calculatedMetricMetricUnit = MetricUnit::METRIC_UNIT_UNSPECIFIED; + $calculatedMetric->setMetricUnit($calculatedMetricMetricUnit); + $calculatedMetricFormula = 'calculatedMetricFormula752695416'; + $calculatedMetric->setFormula($calculatedMetricFormula); + $request = (new CreateCalculatedMetricRequest()) + ->setParent($formattedParent) + ->setCalculatedMetricId($calculatedMetricId) + ->setCalculatedMetric($calculatedMetric); + try { + $gapicClient->createCalculatedMetric($request); + // 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 createChannelGroupTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $systemDefined = false; + $primary = true; + $expectedResponse = new ChannelGroup(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $expectedResponse->setSystemDefined($systemDefined); + $expectedResponse->setPrimary($primary); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $channelGroup = new ChannelGroup(); + $channelGroupDisplayName = 'channelGroupDisplayName1156787601'; + $channelGroup->setDisplayName($channelGroupDisplayName); + $channelGroupGroupingRule = []; + $channelGroup->setGroupingRule($channelGroupGroupingRule); + $request = (new CreateChannelGroupRequest()) + ->setParent($formattedParent) + ->setChannelGroup($channelGroup); + $response = $gapicClient->createChannelGroup($request); + $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/CreateChannelGroup', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getChannelGroup(); + $this->assertProtobufEquals($channelGroup, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createChannelGroupExceptionTest() + { + $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]'); + $channelGroup = new ChannelGroup(); + $channelGroupDisplayName = 'channelGroupDisplayName1156787601'; + $channelGroup->setDisplayName($channelGroupDisplayName); + $channelGroupGroupingRule = []; + $channelGroup->setGroupingRule($channelGroupGroupingRule); + $request = (new CreateChannelGroupRequest()) + ->setParent($formattedParent) + ->setChannelGroup($channelGroup); + try { + $gapicClient->createChannelGroup($request); + // 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 createConversionEventTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $eventName = 'eventName984174864'; + $deletable = true; + $custom = false; + $expectedResponse = new ConversionEvent(); + $expectedResponse->setName($name); + $expectedResponse->setEventName($eventName); + $expectedResponse->setDeletable($deletable); + $expectedResponse->setCustom($custom); + $transport->addResponse($expectedResponse); + // Mock request + $conversionEvent = new ConversionEvent(); + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new CreateConversionEventRequest()) + ->setConversionEvent($conversionEvent) + ->setParent($formattedParent); + $response = $gapicClient->createConversionEvent($request); + $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/CreateConversionEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getConversionEvent(); + $this->assertProtobufEquals($conversionEvent, $actualValue); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createConversionEventExceptionTest() + { + $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 + $conversionEvent = new ConversionEvent(); + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new CreateConversionEventRequest()) + ->setConversionEvent($conversionEvent) + ->setParent($formattedParent); + try { + $gapicClient->createConversionEvent($request); + // 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 createCustomDimensionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $parameterName = 'parameterName1133142369'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $disallowAdsPersonalization = false; + $expectedResponse = new CustomDimension(); + $expectedResponse->setName($name); + $expectedResponse->setParameterName($parameterName); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $expectedResponse->setDisallowAdsPersonalization($disallowAdsPersonalization); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $customDimension = new CustomDimension(); + $customDimensionParameterName = 'customDimensionParameterName-405505313'; + $customDimension->setParameterName($customDimensionParameterName); + $customDimensionDisplayName = 'customDimensionDisplayName2102948408'; + $customDimension->setDisplayName($customDimensionDisplayName); + $customDimensionScope = DimensionScope::DIMENSION_SCOPE_UNSPECIFIED; + $customDimension->setScope($customDimensionScope); + $request = (new CreateCustomDimensionRequest()) + ->setParent($formattedParent) + ->setCustomDimension($customDimension); + $response = $gapicClient->createCustomDimension($request); + $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/CreateCustomDimension', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getCustomDimension(); + $this->assertProtobufEquals($customDimension, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createCustomDimensionExceptionTest() + { + $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]'); + $customDimension = new CustomDimension(); + $customDimensionParameterName = 'customDimensionParameterName-405505313'; + $customDimension->setParameterName($customDimensionParameterName); + $customDimensionDisplayName = 'customDimensionDisplayName2102948408'; + $customDimension->setDisplayName($customDimensionDisplayName); + $customDimensionScope = DimensionScope::DIMENSION_SCOPE_UNSPECIFIED; + $customDimension->setScope($customDimensionScope); + $request = (new CreateCustomDimensionRequest()) + ->setParent($formattedParent) + ->setCustomDimension($customDimension); + try { + $gapicClient->createCustomDimension($request); + // 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 createCustomMetricTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $parameterName = 'parameterName1133142369'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $expectedResponse = new CustomMetric(); + $expectedResponse->setName($name); + $expectedResponse->setParameterName($parameterName); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $customMetric = new CustomMetric(); + $customMetricParameterName = 'customMetricParameterName1627167443'; + $customMetric->setParameterName($customMetricParameterName); + $customMetricDisplayName = 'customMetricDisplayName-835715284'; + $customMetric->setDisplayName($customMetricDisplayName); + $customMetricMeasurementUnit = MeasurementUnit::MEASUREMENT_UNIT_UNSPECIFIED; + $customMetric->setMeasurementUnit($customMetricMeasurementUnit); + $customMetricScope = MetricScope::METRIC_SCOPE_UNSPECIFIED; + $customMetric->setScope($customMetricScope); + $request = (new CreateCustomMetricRequest()) + ->setParent($formattedParent) + ->setCustomMetric($customMetric); + $response = $gapicClient->createCustomMetric($request); + $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/CreateCustomMetric', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getCustomMetric(); + $this->assertProtobufEquals($customMetric, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createCustomMetricExceptionTest() + { + $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]'); + $customMetric = new CustomMetric(); + $customMetricParameterName = 'customMetricParameterName1627167443'; + $customMetric->setParameterName($customMetricParameterName); + $customMetricDisplayName = 'customMetricDisplayName-835715284'; + $customMetric->setDisplayName($customMetricDisplayName); + $customMetricMeasurementUnit = MeasurementUnit::MEASUREMENT_UNIT_UNSPECIFIED; + $customMetric->setMeasurementUnit($customMetricMeasurementUnit); + $customMetricScope = MetricScope::METRIC_SCOPE_UNSPECIFIED; + $customMetric->setScope($customMetricScope); + $request = (new CreateCustomMetricRequest()) + ->setParent($formattedParent) + ->setCustomMetric($customMetric); + try { + $gapicClient->createCustomMetric($request); + // 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 createDataStreamTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $expectedResponse = new DataStream(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $dataStream = new DataStream(); + $dataStreamType = DataStreamType::DATA_STREAM_TYPE_UNSPECIFIED; + $dataStream->setType($dataStreamType); + $request = (new CreateDataStreamRequest()) + ->setParent($formattedParent) + ->setDataStream($dataStream); + $response = $gapicClient->createDataStream($request); + $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/CreateDataStream', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getDataStream(); + $this->assertProtobufEquals($dataStream, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createDataStreamExceptionTest() + { + $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]'); + $dataStream = new DataStream(); + $dataStreamType = DataStreamType::DATA_STREAM_TYPE_UNSPECIFIED; + $dataStream->setType($dataStreamType); + $request = (new CreateDataStreamRequest()) + ->setParent($formattedParent) + ->setDataStream($dataStream); + try { + $gapicClient->createDataStream($request); + // 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 createDisplayVideo360AdvertiserLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $advertiserId = 'advertiserId-127926097'; + $advertiserDisplayName = 'advertiserDisplayName-674771332'; + $expectedResponse = new DisplayVideo360AdvertiserLink(); + $expectedResponse->setName($name); + $expectedResponse->setAdvertiserId($advertiserId); + $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $displayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink(); + $request = (new CreateDisplayVideo360AdvertiserLinkRequest()) + ->setParent($formattedParent) + ->setDisplayVideo360AdvertiserLink($displayVideo360AdvertiserLink); + $response = $gapicClient->createDisplayVideo360AdvertiserLink($request); + $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/CreateDisplayVideo360AdvertiserLink', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getDisplayVideo360AdvertiserLink(); + $this->assertProtobufEquals($displayVideo360AdvertiserLink, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createDisplayVideo360AdvertiserLinkExceptionTest() + { + $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]'); + $displayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink(); + $request = (new CreateDisplayVideo360AdvertiserLinkRequest()) + ->setParent($formattedParent) + ->setDisplayVideo360AdvertiserLink($displayVideo360AdvertiserLink); + try { + $gapicClient->createDisplayVideo360AdvertiserLink($request); + // 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 createDisplayVideo360AdvertiserLinkProposalTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $advertiserId = 'advertiserId-127926097'; + $advertiserDisplayName = 'advertiserDisplayName-674771332'; + $validationEmail = 'validationEmail2105669718'; + $expectedResponse = new DisplayVideo360AdvertiserLinkProposal(); + $expectedResponse->setName($name); + $expectedResponse->setAdvertiserId($advertiserId); + $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName); + $expectedResponse->setValidationEmail($validationEmail); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $displayVideo360AdvertiserLinkProposal = new DisplayVideo360AdvertiserLinkProposal(); + $request = (new CreateDisplayVideo360AdvertiserLinkProposalRequest()) + ->setParent($formattedParent) + ->setDisplayVideo360AdvertiserLinkProposal($displayVideo360AdvertiserLinkProposal); + $response = $gapicClient->createDisplayVideo360AdvertiserLinkProposal($request); + $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/CreateDisplayVideo360AdvertiserLinkProposal', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getDisplayVideo360AdvertiserLinkProposal(); + $this->assertProtobufEquals($displayVideo360AdvertiserLinkProposal, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createDisplayVideo360AdvertiserLinkProposalExceptionTest() + { + $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]'); + $displayVideo360AdvertiserLinkProposal = new DisplayVideo360AdvertiserLinkProposal(); + $request = (new CreateDisplayVideo360AdvertiserLinkProposalRequest()) + ->setParent($formattedParent) + ->setDisplayVideo360AdvertiserLinkProposal($displayVideo360AdvertiserLinkProposal); + try { + $gapicClient->createDisplayVideo360AdvertiserLinkProposal($request); + // 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 createEventCreateRuleTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $destinationEvent = 'destinationEvent-1300408535'; + $sourceCopyParameters = true; + $expectedResponse = new EventCreateRule(); + $expectedResponse->setName($name); + $expectedResponse->setDestinationEvent($destinationEvent); + $expectedResponse->setSourceCopyParameters($sourceCopyParameters); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $eventCreateRule = new EventCreateRule(); + $eventCreateRuleDestinationEvent = 'eventCreateRuleDestinationEvent598875038'; + $eventCreateRule->setDestinationEvent($eventCreateRuleDestinationEvent); + $eventCreateRuleEventConditions = []; + $eventCreateRule->setEventConditions($eventCreateRuleEventConditions); + $request = (new CreateEventCreateRuleRequest()) + ->setParent($formattedParent) + ->setEventCreateRule($eventCreateRule); + $response = $gapicClient->createEventCreateRule($request); + $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/CreateEventCreateRule', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getEventCreateRule(); + $this->assertProtobufEquals($eventCreateRule, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createEventCreateRuleExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $eventCreateRule = new EventCreateRule(); + $eventCreateRuleDestinationEvent = 'eventCreateRuleDestinationEvent598875038'; + $eventCreateRule->setDestinationEvent($eventCreateRuleDestinationEvent); + $eventCreateRuleEventConditions = []; + $eventCreateRule->setEventConditions($eventCreateRuleEventConditions); + $request = (new CreateEventCreateRuleRequest()) + ->setParent($formattedParent) + ->setEventCreateRule($eventCreateRule); + try { + $gapicClient->createEventCreateRule($request); + // 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 createEventEditRuleTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $processingOrder = 334545118; + $expectedResponse = new EventEditRule(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setProcessingOrder($processingOrder); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $eventEditRule = new EventEditRule(); + $eventEditRuleDisplayName = 'eventEditRuleDisplayName160444781'; + $eventEditRule->setDisplayName($eventEditRuleDisplayName); + $eventEditRuleEventConditions = []; + $eventEditRule->setEventConditions($eventEditRuleEventConditions); + $eventEditRuleParameterMutations = []; + $eventEditRule->setParameterMutations($eventEditRuleParameterMutations); + $request = (new CreateEventEditRuleRequest()) + ->setParent($formattedParent) + ->setEventEditRule($eventEditRule); + $response = $gapicClient->createEventEditRule($request); + $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/CreateEventEditRule', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getEventEditRule(); + $this->assertProtobufEquals($eventEditRule, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createEventEditRuleExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $eventEditRule = new EventEditRule(); + $eventEditRuleDisplayName = 'eventEditRuleDisplayName160444781'; + $eventEditRule->setDisplayName($eventEditRuleDisplayName); + $eventEditRuleEventConditions = []; + $eventEditRule->setEventConditions($eventEditRuleEventConditions); + $eventEditRuleParameterMutations = []; + $eventEditRule->setParameterMutations($eventEditRuleParameterMutations); + $request = (new CreateEventEditRuleRequest()) + ->setParent($formattedParent) + ->setEventEditRule($eventEditRule); + try { + $gapicClient->createEventEditRule($request); + // 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 createExpandedDataSetTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $expectedResponse = new ExpandedDataSet(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $expandedDataSet = new ExpandedDataSet(); + $expandedDataSetDisplayName = 'expandedDataSetDisplayName629188494'; + $expandedDataSet->setDisplayName($expandedDataSetDisplayName); + $request = (new CreateExpandedDataSetRequest()) + ->setParent($formattedParent) + ->setExpandedDataSet($expandedDataSet); + $response = $gapicClient->createExpandedDataSet($request); + $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/CreateExpandedDataSet', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getExpandedDataSet(); + $this->assertProtobufEquals($expandedDataSet, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createExpandedDataSetExceptionTest() + { + $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]'); + $expandedDataSet = new ExpandedDataSet(); + $expandedDataSetDisplayName = 'expandedDataSetDisplayName629188494'; + $expandedDataSet->setDisplayName($expandedDataSetDisplayName); + $request = (new CreateExpandedDataSetRequest()) + ->setParent($formattedParent) + ->setExpandedDataSet($expandedDataSet); + try { + $gapicClient->createExpandedDataSet($request); + // 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 createFirebaseLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $project = 'project-309310695'; + $expectedResponse = new FirebaseLink(); + $expectedResponse->setName($name); + $expectedResponse->setProject($project); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $firebaseLink = new FirebaseLink(); + $request = (new CreateFirebaseLinkRequest()) + ->setParent($formattedParent) + ->setFirebaseLink($firebaseLink); + $response = $gapicClient->createFirebaseLink($request); + $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/CreateFirebaseLink', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getFirebaseLink(); + $this->assertProtobufEquals($firebaseLink, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createFirebaseLinkExceptionTest() + { + $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]'); + $firebaseLink = new FirebaseLink(); + $request = (new CreateFirebaseLinkRequest()) + ->setParent($formattedParent) + ->setFirebaseLink($firebaseLink); + try { + $gapicClient->createFirebaseLink($request); + // 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 createGoogleAdsLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $customerId = 'customerId-1772061412'; + $canManageClients = false; + $creatorEmailAddress = 'creatorEmailAddress-1491810434'; + $expectedResponse = new GoogleAdsLink(); + $expectedResponse->setName($name); + $expectedResponse->setCustomerId($customerId); + $expectedResponse->setCanManageClients($canManageClients); + $expectedResponse->setCreatorEmailAddress($creatorEmailAddress); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $googleAdsLink = new GoogleAdsLink(); + $request = (new CreateGoogleAdsLinkRequest()) + ->setParent($formattedParent) + ->setGoogleAdsLink($googleAdsLink); + $response = $gapicClient->createGoogleAdsLink($request); + $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/CreateGoogleAdsLink', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getGoogleAdsLink(); + $this->assertProtobufEquals($googleAdsLink, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createGoogleAdsLinkExceptionTest() + { + $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]'); + $googleAdsLink = new GoogleAdsLink(); + $request = (new CreateGoogleAdsLinkRequest()) + ->setParent($formattedParent) + ->setGoogleAdsLink($googleAdsLink); + try { + $gapicClient->createGoogleAdsLink($request); + // 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 createKeyEventTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $eventName = 'eventName984174864'; + $deletable = true; + $custom = false; + $expectedResponse = new KeyEvent(); + $expectedResponse->setName($name); + $expectedResponse->setEventName($eventName); + $expectedResponse->setDeletable($deletable); + $expectedResponse->setCustom($custom); + $transport->addResponse($expectedResponse); + // Mock request + $keyEvent = new KeyEvent(); + $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; + $keyEvent->setCountingMethod($keyEventCountingMethod); + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new CreateKeyEventRequest()) + ->setKeyEvent($keyEvent) + ->setParent($formattedParent); + $response = $gapicClient->createKeyEvent($request); + $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/CreateKeyEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getKeyEvent(); + $this->assertProtobufEquals($keyEvent, $actualValue); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createKeyEventExceptionTest() + { + $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 + $keyEvent = new KeyEvent(); + $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; + $keyEvent->setCountingMethod($keyEventCountingMethod); + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new CreateKeyEventRequest()) + ->setKeyEvent($keyEvent) + ->setParent($formattedParent); + try { + $gapicClient->createKeyEvent($request); + // 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 createMeasurementProtocolSecretTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $secretValue = 'secretValue1322942242'; + $expectedResponse = new MeasurementProtocolSecret(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setSecretValue($secretValue); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $measurementProtocolSecret = new MeasurementProtocolSecret(); + $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; + $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); + $request = (new CreateMeasurementProtocolSecretRequest()) + ->setParent($formattedParent) + ->setMeasurementProtocolSecret($measurementProtocolSecret); + $response = $gapicClient->createMeasurementProtocolSecret($request); + $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/CreateMeasurementProtocolSecret', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getMeasurementProtocolSecret(); + $this->assertProtobufEquals($measurementProtocolSecret, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createMeasurementProtocolSecretExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $measurementProtocolSecret = new MeasurementProtocolSecret(); + $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; + $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); + $request = (new CreateMeasurementProtocolSecretRequest()) + ->setParent($formattedParent) + ->setMeasurementProtocolSecret($measurementProtocolSecret); + try { + $gapicClient->createMeasurementProtocolSecret($request); + // 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 createPropertyTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $parent = 'parent-995424086'; + $displayName = 'displayName1615086568'; + $timeZone = 'timeZone36848094'; + $currencyCode = 'currencyCode1108728155'; + $account = 'account-1177318867'; + $expectedResponse = new Property(); + $expectedResponse->setName($name); + $expectedResponse->setParent($parent); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setTimeZone($timeZone); + $expectedResponse->setCurrencyCode($currencyCode); + $expectedResponse->setAccount($account); + $transport->addResponse($expectedResponse); + // Mock request + $property = new Property(); + $propertyDisplayName = 'propertyDisplayName-1254483624'; + $property->setDisplayName($propertyDisplayName); + $propertyTimeZone = 'propertyTimeZone-1600366322'; + $property->setTimeZone($propertyTimeZone); + $request = (new CreatePropertyRequest()) + ->setProperty($property); + $response = $gapicClient->createProperty($request); + $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/CreateProperty', $actualFuncCall); + $actualValue = $actualRequestObject->getProperty(); + $this->assertProtobufEquals($property, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createPropertyExceptionTest() + { + $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 = new Property(); + $propertyDisplayName = 'propertyDisplayName-1254483624'; + $property->setDisplayName($propertyDisplayName); + $propertyTimeZone = 'propertyTimeZone-1600366322'; + $property->setTimeZone($propertyTimeZone); + $request = (new CreatePropertyRequest()) + ->setProperty($property); + try { + $gapicClient->createProperty($request); + // 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 createReportingDataAnnotationTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $title = 'title110371416'; + $description = 'description-1724546052'; + $systemGenerated = false; + $expectedResponse = new ReportingDataAnnotation(); + $expectedResponse->setName($name); + $expectedResponse->setTitle($title); + $expectedResponse->setDescription($description); + $expectedResponse->setSystemGenerated($systemGenerated); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $reportingDataAnnotation = new ReportingDataAnnotation(); + $reportingDataAnnotationName = 'reportingDataAnnotationName-286898318'; + $reportingDataAnnotation->setName($reportingDataAnnotationName); + $reportingDataAnnotationTitle = 'reportingDataAnnotationTitle-298126767'; + $reportingDataAnnotation->setTitle($reportingDataAnnotationTitle); + $reportingDataAnnotationColor = Color::COLOR_UNSPECIFIED; + $reportingDataAnnotation->setColor($reportingDataAnnotationColor); + $request = (new CreateReportingDataAnnotationRequest()) + ->setParent($formattedParent) + ->setReportingDataAnnotation($reportingDataAnnotation); + $response = $gapicClient->createReportingDataAnnotation($request); + $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/CreateReportingDataAnnotation', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getReportingDataAnnotation(); + $this->assertProtobufEquals($reportingDataAnnotation, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createReportingDataAnnotationExceptionTest() + { + $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]'); + $reportingDataAnnotation = new ReportingDataAnnotation(); + $reportingDataAnnotationName = 'reportingDataAnnotationName-286898318'; + $reportingDataAnnotation->setName($reportingDataAnnotationName); + $reportingDataAnnotationTitle = 'reportingDataAnnotationTitle-298126767'; + $reportingDataAnnotation->setTitle($reportingDataAnnotationTitle); + $reportingDataAnnotationColor = Color::COLOR_UNSPECIFIED; + $reportingDataAnnotation->setColor($reportingDataAnnotationColor); + $request = (new CreateReportingDataAnnotationRequest()) + ->setParent($formattedParent) + ->setReportingDataAnnotation($reportingDataAnnotation); + try { + $gapicClient->createReportingDataAnnotation($request); + // 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 createRollupPropertyTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new CreateRollupPropertyResponse(); + $transport->addResponse($expectedResponse); + // Mock request + $rollupProperty = new Property(); + $rollupPropertyDisplayName = 'rollupPropertyDisplayName1210744416'; + $rollupProperty->setDisplayName($rollupPropertyDisplayName); + $rollupPropertyTimeZone = 'rollupPropertyTimeZone1768247558'; + $rollupProperty->setTimeZone($rollupPropertyTimeZone); + $request = (new CreateRollupPropertyRequest()) + ->setRollupProperty($rollupProperty); + $response = $gapicClient->createRollupProperty($request); + $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/CreateRollupProperty', $actualFuncCall); + $actualValue = $actualRequestObject->getRollupProperty(); + $this->assertProtobufEquals($rollupProperty, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createRollupPropertyExceptionTest() + { + $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 + $rollupProperty = new Property(); + $rollupPropertyDisplayName = 'rollupPropertyDisplayName1210744416'; + $rollupProperty->setDisplayName($rollupPropertyDisplayName); + $rollupPropertyTimeZone = 'rollupPropertyTimeZone1768247558'; + $rollupProperty->setTimeZone($rollupPropertyTimeZone); + $request = (new CreateRollupPropertyRequest()) + ->setRollupProperty($rollupProperty); + try { + $gapicClient->createRollupProperty($request); + // 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 createRollupPropertySourceLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $sourceProperty = 'sourceProperty2069271929'; + $expectedResponse = new RollupPropertySourceLink(); + $expectedResponse->setName($name); + $expectedResponse->setSourceProperty($sourceProperty); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $rollupPropertySourceLink = new RollupPropertySourceLink(); + $request = (new CreateRollupPropertySourceLinkRequest()) + ->setParent($formattedParent) + ->setRollupPropertySourceLink($rollupPropertySourceLink); + $response = $gapicClient->createRollupPropertySourceLink($request); + $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/CreateRollupPropertySourceLink', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getRollupPropertySourceLink(); + $this->assertProtobufEquals($rollupPropertySourceLink, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createRollupPropertySourceLinkExceptionTest() + { + $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]'); + $rollupPropertySourceLink = new RollupPropertySourceLink(); + $request = (new CreateRollupPropertySourceLinkRequest()) + ->setParent($formattedParent) + ->setRollupPropertySourceLink($rollupPropertySourceLink); + try { + $gapicClient->createRollupPropertySourceLink($request); + // 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 createSKAdNetworkConversionValueSchemaTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $applyConversionValues = true; + $expectedResponse = new SKAdNetworkConversionValueSchema(); + $expectedResponse->setName($name); + $expectedResponse->setApplyConversionValues($applyConversionValues); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(); + $skadnetworkConversionValueSchemaPostbackWindowOne = new PostbackWindow(); + $skadnetworkConversionValueSchema->setPostbackWindowOne($skadnetworkConversionValueSchemaPostbackWindowOne); + $request = (new CreateSKAdNetworkConversionValueSchemaRequest()) + ->setParent($formattedParent) + ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema); + $response = $gapicClient->createSKAdNetworkConversionValueSchema($request); + $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/CreateSKAdNetworkConversionValueSchema', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getSkadnetworkConversionValueSchema(); + $this->assertProtobufEquals($skadnetworkConversionValueSchema, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createSKAdNetworkConversionValueSchemaExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(); + $skadnetworkConversionValueSchemaPostbackWindowOne = new PostbackWindow(); + $skadnetworkConversionValueSchema->setPostbackWindowOne($skadnetworkConversionValueSchemaPostbackWindowOne); + $request = (new CreateSKAdNetworkConversionValueSchemaRequest()) + ->setParent($formattedParent) + ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema); + try { + $gapicClient->createSKAdNetworkConversionValueSchema($request); + // 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 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(); + $request = (new CreateSearchAds360LinkRequest()) + ->setParent($formattedParent) + ->setSearchAds360Link($searchAds360Link); + $response = $gapicClient->createSearchAds360Link($request); + $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(); + $request = (new CreateSearchAds360LinkRequest()) + ->setParent($formattedParent) + ->setSearchAds360Link($searchAds360Link); + try { + $gapicClient->createSearchAds360Link($request); + // 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 createSubpropertyEventFilterTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $applyToProperty = 'applyToProperty-1639692344'; + $expectedResponse = new SubpropertyEventFilter(); + $expectedResponse->setName($name); + $expectedResponse->setApplyToProperty($applyToProperty); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $subpropertyEventFilter = new SubpropertyEventFilter(); + $subpropertyEventFilterFilterClauses = []; + $subpropertyEventFilter->setFilterClauses($subpropertyEventFilterFilterClauses); + $request = (new CreateSubpropertyEventFilterRequest()) + ->setParent($formattedParent) + ->setSubpropertyEventFilter($subpropertyEventFilter); + $response = $gapicClient->createSubpropertyEventFilter($request); + $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/CreateSubpropertyEventFilter', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getSubpropertyEventFilter(); + $this->assertProtobufEquals($subpropertyEventFilter, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createSubpropertyEventFilterExceptionTest() + { + $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]'); + $subpropertyEventFilter = new SubpropertyEventFilter(); + $subpropertyEventFilterFilterClauses = []; + $subpropertyEventFilter->setFilterClauses($subpropertyEventFilterFilterClauses); + $request = (new CreateSubpropertyEventFilterRequest()) + ->setParent($formattedParent) + ->setSubpropertyEventFilter($subpropertyEventFilter); + try { + $gapicClient->createSubpropertyEventFilter($request); + // 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 deleteAccessBindingTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); + $request = (new DeleteAccessBindingRequest()) + ->setName($formattedName); + $gapicClient->deleteAccessBinding($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteAccessBinding', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteAccessBindingExceptionTest() + { + $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->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); + $request = (new DeleteAccessBindingRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteAccessBinding($request); + // 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 deleteAccountTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->accountName('[ACCOUNT]'); + $request = (new DeleteAccountRequest()) + ->setName($formattedName); + $gapicClient->deleteAccount($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteAccount', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteAccountExceptionTest() + { + $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->accountName('[ACCOUNT]'); + $request = (new DeleteAccountRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteAccount($request); + // 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 deleteAdSenseLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->adSenseLinkName('[PROPERTY]', '[ADSENSE_LINK]'); + $request = (new DeleteAdSenseLinkRequest()) + ->setName($formattedName); + $gapicClient->deleteAdSenseLink($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteAdSenseLink', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteAdSenseLinkExceptionTest() + { + $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->adSenseLinkName('[PROPERTY]', '[ADSENSE_LINK]'); + $request = (new DeleteAdSenseLinkRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteAdSenseLink($request); + // 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 deleteBigQueryLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->bigQueryLinkName('[PROPERTY]', '[BIGQUERY_LINK]'); + $request = (new DeleteBigQueryLinkRequest()) + ->setName($formattedName); + $gapicClient->deleteBigQueryLink($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteBigQueryLink', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteBigQueryLinkExceptionTest() + { + $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]'); + $request = (new DeleteBigQueryLinkRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteBigQueryLink($request); + // 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 deleteCalculatedMetricTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->calculatedMetricName('[PROPERTY]', '[CALCULATED_METRIC]'); + $request = (new DeleteCalculatedMetricRequest()) + ->setName($formattedName); + $gapicClient->deleteCalculatedMetric($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteCalculatedMetric', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteCalculatedMetricExceptionTest() + { + $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->calculatedMetricName('[PROPERTY]', '[CALCULATED_METRIC]'); + $request = (new DeleteCalculatedMetricRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteCalculatedMetric($request); + // 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 deleteChannelGroupTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->channelGroupName('[PROPERTY]', '[CHANNEL_GROUP]'); + $request = (new DeleteChannelGroupRequest()) + ->setName($formattedName); + $gapicClient->deleteChannelGroup($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteChannelGroup', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteChannelGroupExceptionTest() + { + $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->channelGroupName('[PROPERTY]', '[CHANNEL_GROUP]'); + $request = (new DeleteChannelGroupRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteChannelGroup($request); + // 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 deleteConversionEventTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); + $request = (new DeleteConversionEventRequest()) + ->setName($formattedName); + $gapicClient->deleteConversionEvent($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteConversionEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteConversionEventExceptionTest() + { + $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->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); + $request = (new DeleteConversionEventRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteConversionEvent($request); + // 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 deleteDataStreamTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new DeleteDataStreamRequest()) + ->setName($formattedName); + $gapicClient->deleteDataStream($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDataStream', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteDataStreamExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new DeleteDataStreamRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteDataStream($request); + // 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 deleteDisplayVideo360AdvertiserLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->displayVideo360AdvertiserLinkName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK]'); + $request = (new DeleteDisplayVideo360AdvertiserLinkRequest()) + ->setName($formattedName); + $gapicClient->deleteDisplayVideo360AdvertiserLink($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDisplayVideo360AdvertiserLink', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteDisplayVideo360AdvertiserLinkExceptionTest() + { + $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->displayVideo360AdvertiserLinkName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK]'); + $request = (new DeleteDisplayVideo360AdvertiserLinkRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteDisplayVideo360AdvertiserLink($request); + // 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 deleteDisplayVideo360AdvertiserLinkProposalTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); + $request = (new DeleteDisplayVideo360AdvertiserLinkProposalRequest()) + ->setName($formattedName); + $gapicClient->deleteDisplayVideo360AdvertiserLinkProposal($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDisplayVideo360AdvertiserLinkProposal', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteDisplayVideo360AdvertiserLinkProposalExceptionTest() + { + $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->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); + $request = (new DeleteDisplayVideo360AdvertiserLinkProposalRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteDisplayVideo360AdvertiserLinkProposal($request); + // 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 deleteEventCreateRuleTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->eventCreateRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_CREATE_RULE]'); + $request = (new DeleteEventCreateRuleRequest()) + ->setName($formattedName); + $gapicClient->deleteEventCreateRule($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteEventCreateRule', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteEventCreateRuleExceptionTest() + { + $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->eventCreateRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_CREATE_RULE]'); + $request = (new DeleteEventCreateRuleRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteEventCreateRule($request); + // 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 deleteEventEditRuleTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->eventEditRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_EDIT_RULE]'); + $request = (new DeleteEventEditRuleRequest()) + ->setName($formattedName); + $gapicClient->deleteEventEditRule($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteEventEditRule', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteEventEditRuleExceptionTest() + { + $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->eventEditRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_EDIT_RULE]'); + $request = (new DeleteEventEditRuleRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteEventEditRule($request); + // 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 deleteExpandedDataSetTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->expandedDataSetName('[PROPERTY]', '[EXPANDED_DATA_SET]'); + $request = (new DeleteExpandedDataSetRequest()) + ->setName($formattedName); + $gapicClient->deleteExpandedDataSet($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteExpandedDataSet', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteExpandedDataSetExceptionTest() + { + $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->expandedDataSetName('[PROPERTY]', '[EXPANDED_DATA_SET]'); + $request = (new DeleteExpandedDataSetRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteExpandedDataSet($request); + // 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 deleteFirebaseLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->firebaseLinkName('[PROPERTY]', '[FIREBASE_LINK]'); + $request = (new DeleteFirebaseLinkRequest()) + ->setName($formattedName); + $gapicClient->deleteFirebaseLink($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteFirebaseLink', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteFirebaseLinkExceptionTest() + { + $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->firebaseLinkName('[PROPERTY]', '[FIREBASE_LINK]'); + $request = (new DeleteFirebaseLinkRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteFirebaseLink($request); + // 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 deleteGoogleAdsLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->googleAdsLinkName('[PROPERTY]', '[GOOGLE_ADS_LINK]'); + $request = (new DeleteGoogleAdsLinkRequest()) + ->setName($formattedName); + $gapicClient->deleteGoogleAdsLink($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteGoogleAdsLink', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteGoogleAdsLinkExceptionTest() + { + $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->googleAdsLinkName('[PROPERTY]', '[GOOGLE_ADS_LINK]'); + $request = (new DeleteGoogleAdsLinkRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteGoogleAdsLink($request); + // 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 deleteKeyEventTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->keyEventName('[PROPERTY]', '[KEY_EVENT]'); + $request = (new DeleteKeyEventRequest()) + ->setName($formattedName); + $gapicClient->deleteKeyEvent($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteKeyEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteKeyEventExceptionTest() + { + $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->keyEventName('[PROPERTY]', '[KEY_EVENT]'); + $request = (new DeleteKeyEventRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteKeyEvent($request); + // 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 deleteMeasurementProtocolSecretTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); + $request = (new DeleteMeasurementProtocolSecretRequest()) + ->setName($formattedName); + $gapicClient->deleteMeasurementProtocolSecret($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteMeasurementProtocolSecret', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteMeasurementProtocolSecretExceptionTest() + { + $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->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); + $request = (new DeleteMeasurementProtocolSecretRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteMeasurementProtocolSecret($request); + // 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 deletePropertyTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $parent = 'parent-995424086'; + $displayName = 'displayName1615086568'; + $timeZone = 'timeZone36848094'; + $currencyCode = 'currencyCode1108728155'; + $account = 'account-1177318867'; + $expectedResponse = new Property(); + $expectedResponse->setName($name2); + $expectedResponse->setParent($parent); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setTimeZone($timeZone); + $expectedResponse->setCurrencyCode($currencyCode); + $expectedResponse->setAccount($account); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->propertyName('[PROPERTY]'); + $request = (new DeletePropertyRequest()) + ->setName($formattedName); + $response = $gapicClient->deleteProperty($request); + $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/DeleteProperty', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deletePropertyExceptionTest() + { + $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->propertyName('[PROPERTY]'); + $request = (new DeletePropertyRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteProperty($request); + // 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 deleteReportingDataAnnotationTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->reportingDataAnnotationName('[PROPERTY]', '[REPORTING_DATA_ANNOTATION]'); + $request = (new DeleteReportingDataAnnotationRequest()) + ->setName($formattedName); + $gapicClient->deleteReportingDataAnnotation($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteReportingDataAnnotation', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteReportingDataAnnotationExceptionTest() + { + $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->reportingDataAnnotationName('[PROPERTY]', '[REPORTING_DATA_ANNOTATION]'); + $request = (new DeleteReportingDataAnnotationRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteReportingDataAnnotation($request); + // 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 deleteRollupPropertySourceLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->rollupPropertySourceLinkName('[PROPERTY]', '[ROLLUP_PROPERTY_SOURCE_LINK]'); + $request = (new DeleteRollupPropertySourceLinkRequest()) + ->setName($formattedName); + $gapicClient->deleteRollupPropertySourceLink($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteRollupPropertySourceLink', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteRollupPropertySourceLinkExceptionTest() + { + $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->rollupPropertySourceLinkName('[PROPERTY]', '[ROLLUP_PROPERTY_SOURCE_LINK]'); + $request = (new DeleteRollupPropertySourceLinkRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteRollupPropertySourceLink($request); + // 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 deleteSKAdNetworkConversionValueSchemaTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->sKAdNetworkConversionValueSchemaName('[PROPERTY]', '[DATA_STREAM]', '[SKADNETWORK_CONVERSION_VALUE_SCHEMA]'); + $request = (new DeleteSKAdNetworkConversionValueSchemaRequest()) + ->setName($formattedName); + $gapicClient->deleteSKAdNetworkConversionValueSchema($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteSKAdNetworkConversionValueSchema', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteSKAdNetworkConversionValueSchemaExceptionTest() + { + $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->sKAdNetworkConversionValueSchemaName('[PROPERTY]', '[DATA_STREAM]', '[SKADNETWORK_CONVERSION_VALUE_SCHEMA]'); + $request = (new DeleteSKAdNetworkConversionValueSchemaRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteSKAdNetworkConversionValueSchema($request); + // 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 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]'); + $request = (new DeleteSearchAds360LinkRequest()) + ->setName($formattedName); + $gapicClient->deleteSearchAds360Link($request); + $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]'); + $request = (new DeleteSearchAds360LinkRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteSearchAds360Link($request); + // 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 deleteSubpropertyEventFilterTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->subpropertyEventFilterName('[PROPERTY]', '[SUB_PROPERTY_EVENT_FILTER]'); + $request = (new DeleteSubpropertyEventFilterRequest()) + ->setName($formattedName); + $gapicClient->deleteSubpropertyEventFilter($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteSubpropertyEventFilter', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteSubpropertyEventFilterExceptionTest() + { + $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->subpropertyEventFilterName('[PROPERTY]', '[SUB_PROPERTY_EVENT_FILTER]'); + $request = (new DeleteSubpropertyEventFilterRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteSubpropertyEventFilter($request); + // 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 getAccessBindingTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $user = 'user3599307'; + $name2 = 'name2-1052831874'; + $expectedResponse = new AccessBinding(); + $expectedResponse->setUser($user); + $expectedResponse->setName($name2); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); + $request = (new GetAccessBindingRequest()) + ->setName($formattedName); + $response = $gapicClient->getAccessBinding($request); + $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/GetAccessBinding', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getAccessBindingExceptionTest() + { + $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->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); + $request = (new GetAccessBindingRequest()) + ->setName($formattedName); + try { + $gapicClient->getAccessBinding($request); + // 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() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $displayName = 'displayName1615086568'; + $regionCode = 'regionCode-1566082984'; + $deleted = false; + $gmpOrganization = 'gmpOrganization-1643573496'; + $expectedResponse = new Account(); + $expectedResponse->setName($name2); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setRegionCode($regionCode); + $expectedResponse->setDeleted($deleted); + $expectedResponse->setGmpOrganization($gmpOrganization); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->accountName('[ACCOUNT]'); + $request = (new GetAccountRequest()) + ->setName($formattedName); + $response = $gapicClient->getAccount($request); + $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/GetAccount', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getAccountExceptionTest() + { + $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->accountName('[ACCOUNT]'); + $request = (new GetAccountRequest()) + ->setName($formattedName); + try { + $gapicClient->getAccount($request); + // 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 getAdSenseLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $adClientCode = 'adClientCode-1866307643'; + $expectedResponse = new AdSenseLink(); + $expectedResponse->setName($name2); + $expectedResponse->setAdClientCode($adClientCode); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->adSenseLinkName('[PROPERTY]', '[ADSENSE_LINK]'); + $request = (new GetAdSenseLinkRequest()) + ->setName($formattedName); + $response = $gapicClient->getAdSenseLink($request); + $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/GetAdSenseLink', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getAdSenseLinkExceptionTest() + { + $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->adSenseLinkName('[PROPERTY]', '[ADSENSE_LINK]'); + $request = (new GetAdSenseLinkRequest()) + ->setName($formattedName); + try { + $gapicClient->getAdSenseLink($request); + // 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 getAttributionSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $expectedResponse = new AttributionSettings(); + $expectedResponse->setName($name2); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->attributionSettingsName('[PROPERTY]'); + $request = (new GetAttributionSettingsRequest()) + ->setName($formattedName); + $response = $gapicClient->getAttributionSettings($request); + $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/GetAttributionSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getAttributionSettingsExceptionTest() + { + $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->attributionSettingsName('[PROPERTY]'); + $request = (new GetAttributionSettingsRequest()) + ->setName($formattedName); + try { + $gapicClient->getAttributionSettings($request); + // 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 getAudienceTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $membershipDurationDays = 1702404985; + $adsPersonalizationEnabled = false; + $expectedResponse = new Audience(); + $expectedResponse->setName($name2); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $expectedResponse->setMembershipDurationDays($membershipDurationDays); + $expectedResponse->setAdsPersonalizationEnabled($adsPersonalizationEnabled); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->audienceName('[PROPERTY]', '[AUDIENCE]'); + $request = (new GetAudienceRequest()) + ->setName($formattedName); + $response = $gapicClient->getAudience($request); + $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/GetAudience', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getAudienceExceptionTest() + { + $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->audienceName('[PROPERTY]', '[AUDIENCE]'); + $request = (new GetAudienceRequest()) + ->setName($formattedName); + try { + $gapicClient->getAudience($request); + // 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 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; + $freshDailyExportEnabled = false; + $includeAdvertisingId = false; + $datasetLocation = 'datasetLocation1011262364'; + $expectedResponse = new BigQueryLink(); + $expectedResponse->setName($name2); + $expectedResponse->setProject($project); + $expectedResponse->setDailyExportEnabled($dailyExportEnabled); + $expectedResponse->setStreamingExportEnabled($streamingExportEnabled); + $expectedResponse->setFreshDailyExportEnabled($freshDailyExportEnabled); + $expectedResponse->setIncludeAdvertisingId($includeAdvertisingId); + $expectedResponse->setDatasetLocation($datasetLocation); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->bigQueryLinkName('[PROPERTY]', '[BIGQUERY_LINK]'); + $request = (new GetBigQueryLinkRequest()) + ->setName($formattedName); + $response = $gapicClient->getBigQueryLink($request); + $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]'); + $request = (new GetBigQueryLinkRequest()) + ->setName($formattedName); + try { + $gapicClient->getBigQueryLink($request); + // 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 getCalculatedMetricTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $description = 'description-1724546052'; + $displayName = 'displayName1615086568'; + $calculatedMetricId = 'calculatedMetricId8203465'; + $formula = 'formula-677424794'; + $invalidMetricReference = true; + $expectedResponse = new CalculatedMetric(); + $expectedResponse->setName($name2); + $expectedResponse->setDescription($description); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setCalculatedMetricId($calculatedMetricId); + $expectedResponse->setFormula($formula); + $expectedResponse->setInvalidMetricReference($invalidMetricReference); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->calculatedMetricName('[PROPERTY]', '[CALCULATED_METRIC]'); + $request = (new GetCalculatedMetricRequest()) + ->setName($formattedName); + $response = $gapicClient->getCalculatedMetric($request); + $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/GetCalculatedMetric', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getCalculatedMetricExceptionTest() + { + $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->calculatedMetricName('[PROPERTY]', '[CALCULATED_METRIC]'); + $request = (new GetCalculatedMetricRequest()) + ->setName($formattedName); + try { + $gapicClient->getCalculatedMetric($request); + // 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 getChannelGroupTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $systemDefined = false; + $primary = true; + $expectedResponse = new ChannelGroup(); + $expectedResponse->setName($name2); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $expectedResponse->setSystemDefined($systemDefined); + $expectedResponse->setPrimary($primary); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->channelGroupName('[PROPERTY]', '[CHANNEL_GROUP]'); + $request = (new GetChannelGroupRequest()) + ->setName($formattedName); + $response = $gapicClient->getChannelGroup($request); + $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/GetChannelGroup', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getChannelGroupExceptionTest() + { + $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->channelGroupName('[PROPERTY]', '[CHANNEL_GROUP]'); + $request = (new GetChannelGroupRequest()) + ->setName($formattedName); + try { + $gapicClient->getChannelGroup($request); + // 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() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $eventName = 'eventName984174864'; + $deletable = true; + $custom = false; + $expectedResponse = new ConversionEvent(); + $expectedResponse->setName($name2); + $expectedResponse->setEventName($eventName); + $expectedResponse->setDeletable($deletable); + $expectedResponse->setCustom($custom); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); + $request = (new GetConversionEventRequest()) + ->setName($formattedName); + $response = $gapicClient->getConversionEvent($request); + $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/GetConversionEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getConversionEventExceptionTest() + { + $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->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); + $request = (new GetConversionEventRequest()) + ->setName($formattedName); + try { + $gapicClient->getConversionEvent($request); + // 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 getCustomDimensionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $parameterName = 'parameterName1133142369'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $disallowAdsPersonalization = false; + $expectedResponse = new CustomDimension(); + $expectedResponse->setName($name2); + $expectedResponse->setParameterName($parameterName); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $expectedResponse->setDisallowAdsPersonalization($disallowAdsPersonalization); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); + $request = (new GetCustomDimensionRequest()) + ->setName($formattedName); + $response = $gapicClient->getCustomDimension($request); + $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/GetCustomDimension', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getCustomDimensionExceptionTest() + { + $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->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); + $request = (new GetCustomDimensionRequest()) + ->setName($formattedName); + try { + $gapicClient->getCustomDimension($request); + // 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 getCustomMetricTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $parameterName = 'parameterName1133142369'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $expectedResponse = new CustomMetric(); + $expectedResponse->setName($name2); + $expectedResponse->setParameterName($parameterName); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); + $request = (new GetCustomMetricRequest()) + ->setName($formattedName); + $response = $gapicClient->getCustomMetric($request); + $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/GetCustomMetric', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getCustomMetricExceptionTest() + { + $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->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); + $request = (new GetCustomMetricRequest()) + ->setName($formattedName); + try { + $gapicClient->getCustomMetric($request); + // 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 getDataRedactionSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $emailRedactionEnabled = true; + $queryParameterRedactionEnabled = true; + $expectedResponse = new DataRedactionSettings(); + $expectedResponse->setName($name2); + $expectedResponse->setEmailRedactionEnabled($emailRedactionEnabled); + $expectedResponse->setQueryParameterRedactionEnabled($queryParameterRedactionEnabled); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->dataRedactionSettingsName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new GetDataRedactionSettingsRequest()) + ->setName($formattedName); + $response = $gapicClient->getDataRedactionSettings($request); + $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/GetDataRedactionSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getDataRedactionSettingsExceptionTest() + { + $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->dataRedactionSettingsName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new GetDataRedactionSettingsRequest()) + ->setName($formattedName); + try { + $gapicClient->getDataRedactionSettings($request); + // 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 getDataRetentionSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $resetUserDataOnNewActivity = false; + $expectedResponse = new DataRetentionSettings(); + $expectedResponse->setName($name2); + $expectedResponse->setResetUserDataOnNewActivity($resetUserDataOnNewActivity); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->dataRetentionSettingsName('[PROPERTY]'); + $request = (new GetDataRetentionSettingsRequest()) + ->setName($formattedName); + $response = $gapicClient->getDataRetentionSettings($request); + $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/GetDataRetentionSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getDataRetentionSettingsExceptionTest() + { + $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->dataRetentionSettingsName('[PROPERTY]'); + $request = (new GetDataRetentionSettingsRequest()) + ->setName($formattedName); + try { + $gapicClient->getDataRetentionSettings($request); + // 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 getDataSharingSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $sharingWithGoogleSupportEnabled = false; + $sharingWithGoogleAssignedSalesEnabled = false; + $sharingWithGoogleAnySalesEnabled = false; + $sharingWithGoogleProductsEnabled = true; + $sharingWithOthersEnabled = false; + $expectedResponse = new DataSharingSettings(); + $expectedResponse->setName($name2); + $expectedResponse->setSharingWithGoogleSupportEnabled($sharingWithGoogleSupportEnabled); + $expectedResponse->setSharingWithGoogleAssignedSalesEnabled($sharingWithGoogleAssignedSalesEnabled); + $expectedResponse->setSharingWithGoogleAnySalesEnabled($sharingWithGoogleAnySalesEnabled); + $expectedResponse->setSharingWithGoogleProductsEnabled($sharingWithGoogleProductsEnabled); + $expectedResponse->setSharingWithOthersEnabled($sharingWithOthersEnabled); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->dataSharingSettingsName('[ACCOUNT]'); + $request = (new GetDataSharingSettingsRequest()) + ->setName($formattedName); + $response = $gapicClient->getDataSharingSettings($request); + $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/GetDataSharingSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getDataSharingSettingsExceptionTest() + { + $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->dataSharingSettingsName('[ACCOUNT]'); + $request = (new GetDataSharingSettingsRequest()) + ->setName($formattedName); + try { + $gapicClient->getDataSharingSettings($request); + // 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 getDataStreamTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $displayName = 'displayName1615086568'; + $expectedResponse = new DataStream(); + $expectedResponse->setName($name2); + $expectedResponse->setDisplayName($displayName); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new GetDataStreamRequest()) + ->setName($formattedName); + $response = $gapicClient->getDataStream($request); + $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/GetDataStream', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getDataStreamExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new GetDataStreamRequest()) + ->setName($formattedName); + try { + $gapicClient->getDataStream($request); + // 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 getDisplayVideo360AdvertiserLinkTest() + { + $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 DisplayVideo360AdvertiserLink(); + $expectedResponse->setName($name2); + $expectedResponse->setAdvertiserId($advertiserId); + $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->displayVideo360AdvertiserLinkName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK]'); + $request = (new GetDisplayVideo360AdvertiserLinkRequest()) + ->setName($formattedName); + $response = $gapicClient->getDisplayVideo360AdvertiserLink($request); + $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/GetDisplayVideo360AdvertiserLink', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getDisplayVideo360AdvertiserLinkExceptionTest() + { + $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->displayVideo360AdvertiserLinkName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK]'); + $request = (new GetDisplayVideo360AdvertiserLinkRequest()) + ->setName($formattedName); + try { + $gapicClient->getDisplayVideo360AdvertiserLink($request); + // 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 getDisplayVideo360AdvertiserLinkProposalTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $advertiserId = 'advertiserId-127926097'; + $advertiserDisplayName = 'advertiserDisplayName-674771332'; + $validationEmail = 'validationEmail2105669718'; + $expectedResponse = new DisplayVideo360AdvertiserLinkProposal(); + $expectedResponse->setName($name2); + $expectedResponse->setAdvertiserId($advertiserId); + $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName); + $expectedResponse->setValidationEmail($validationEmail); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); + $request = (new GetDisplayVideo360AdvertiserLinkProposalRequest()) + ->setName($formattedName); + $response = $gapicClient->getDisplayVideo360AdvertiserLinkProposal($request); + $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/GetDisplayVideo360AdvertiserLinkProposal', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getDisplayVideo360AdvertiserLinkProposalExceptionTest() + { + $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->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); + $request = (new GetDisplayVideo360AdvertiserLinkProposalRequest()) + ->setName($formattedName); + try { + $gapicClient->getDisplayVideo360AdvertiserLinkProposal($request); + // 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 getEnhancedMeasurementSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $streamEnabled = true; + $scrollsEnabled = true; + $outboundClicksEnabled = true; + $siteSearchEnabled = true; + $videoEngagementEnabled = false; + $fileDownloadsEnabled = true; + $pageChangesEnabled = false; + $formInteractionsEnabled = true; + $searchQueryParameter = 'searchQueryParameter638048347'; + $uriQueryParameter = 'uriQueryParameter964636703'; + $expectedResponse = new EnhancedMeasurementSettings(); + $expectedResponse->setName($name2); + $expectedResponse->setStreamEnabled($streamEnabled); + $expectedResponse->setScrollsEnabled($scrollsEnabled); + $expectedResponse->setOutboundClicksEnabled($outboundClicksEnabled); + $expectedResponse->setSiteSearchEnabled($siteSearchEnabled); + $expectedResponse->setVideoEngagementEnabled($videoEngagementEnabled); + $expectedResponse->setFileDownloadsEnabled($fileDownloadsEnabled); + $expectedResponse->setPageChangesEnabled($pageChangesEnabled); + $expectedResponse->setFormInteractionsEnabled($formInteractionsEnabled); + $expectedResponse->setSearchQueryParameter($searchQueryParameter); + $expectedResponse->setUriQueryParameter($uriQueryParameter); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->enhancedMeasurementSettingsName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new GetEnhancedMeasurementSettingsRequest()) + ->setName($formattedName); + $response = $gapicClient->getEnhancedMeasurementSettings($request); + $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/GetEnhancedMeasurementSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getEnhancedMeasurementSettingsExceptionTest() + { + $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->enhancedMeasurementSettingsName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new GetEnhancedMeasurementSettingsRequest()) + ->setName($formattedName); + try { + $gapicClient->getEnhancedMeasurementSettings($request); + // 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 getEventCreateRuleTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $destinationEvent = 'destinationEvent-1300408535'; + $sourceCopyParameters = true; + $expectedResponse = new EventCreateRule(); + $expectedResponse->setName($name2); + $expectedResponse->setDestinationEvent($destinationEvent); + $expectedResponse->setSourceCopyParameters($sourceCopyParameters); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->eventCreateRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_CREATE_RULE]'); + $request = (new GetEventCreateRuleRequest()) + ->setName($formattedName); + $response = $gapicClient->getEventCreateRule($request); + $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/GetEventCreateRule', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getEventCreateRuleExceptionTest() + { + $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->eventCreateRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_CREATE_RULE]'); + $request = (new GetEventCreateRuleRequest()) + ->setName($formattedName); + try { + $gapicClient->getEventCreateRule($request); + // 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 getEventEditRuleTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $displayName = 'displayName1615086568'; + $processingOrder = 334545118; + $expectedResponse = new EventEditRule(); + $expectedResponse->setName($name2); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setProcessingOrder($processingOrder); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->eventEditRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_EDIT_RULE]'); + $request = (new GetEventEditRuleRequest()) + ->setName($formattedName); + $response = $gapicClient->getEventEditRule($request); + $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/GetEventEditRule', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getEventEditRuleExceptionTest() + { + $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->eventEditRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_EDIT_RULE]'); + $request = (new GetEventEditRuleRequest()) + ->setName($formattedName); + try { + $gapicClient->getEventEditRule($request); + // 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 getExpandedDataSetTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $expectedResponse = new ExpandedDataSet(); + $expectedResponse->setName($name2); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->expandedDataSetName('[PROPERTY]', '[EXPANDED_DATA_SET]'); + $request = (new GetExpandedDataSetRequest()) + ->setName($formattedName); + $response = $gapicClient->getExpandedDataSet($request); + $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/GetExpandedDataSet', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getExpandedDataSetExceptionTest() + { + $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->expandedDataSetName('[PROPERTY]', '[EXPANDED_DATA_SET]'); + $request = (new GetExpandedDataSetRequest()) + ->setName($formattedName); + try { + $gapicClient->getExpandedDataSet($request); + // 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 getGlobalSiteTagTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $snippet = 'snippet-2061635299'; + $expectedResponse = new GlobalSiteTag(); + $expectedResponse->setName($name2); + $expectedResponse->setSnippet($snippet); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->globalSiteTagName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new GetGlobalSiteTagRequest()) + ->setName($formattedName); + $response = $gapicClient->getGlobalSiteTag($request); + $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/GetGlobalSiteTag', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getGlobalSiteTagExceptionTest() + { + $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->globalSiteTagName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new GetGlobalSiteTagRequest()) + ->setName($formattedName); + try { + $gapicClient->getGlobalSiteTag($request); + // 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 getGoogleSignalsSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $expectedResponse = new GoogleSignalsSettings(); + $expectedResponse->setName($name2); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->googleSignalsSettingsName('[PROPERTY]'); + $request = (new GetGoogleSignalsSettingsRequest()) + ->setName($formattedName); + $response = $gapicClient->getGoogleSignalsSettings($request); + $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/GetGoogleSignalsSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getGoogleSignalsSettingsExceptionTest() + { + $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->googleSignalsSettingsName('[PROPERTY]'); + $request = (new GetGoogleSignalsSettingsRequest()) + ->setName($formattedName); + try { + $gapicClient->getGoogleSignalsSettings($request); + // 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 getKeyEventTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $eventName = 'eventName984174864'; + $deletable = true; + $custom = false; + $expectedResponse = new KeyEvent(); + $expectedResponse->setName($name2); + $expectedResponse->setEventName($eventName); + $expectedResponse->setDeletable($deletable); + $expectedResponse->setCustom($custom); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->keyEventName('[PROPERTY]', '[KEY_EVENT]'); + $request = (new GetKeyEventRequest()) + ->setName($formattedName); + $response = $gapicClient->getKeyEvent($request); + $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/GetKeyEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getKeyEventExceptionTest() + { + $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->keyEventName('[PROPERTY]', '[KEY_EVENT]'); + $request = (new GetKeyEventRequest()) + ->setName($formattedName); + try { + $gapicClient->getKeyEvent($request); + // 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 getMeasurementProtocolSecretTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $displayName = 'displayName1615086568'; + $secretValue = 'secretValue1322942242'; + $expectedResponse = new MeasurementProtocolSecret(); + $expectedResponse->setName($name2); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setSecretValue($secretValue); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); + $request = (new GetMeasurementProtocolSecretRequest()) + ->setName($formattedName); + $response = $gapicClient->getMeasurementProtocolSecret($request); + $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/GetMeasurementProtocolSecret', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getMeasurementProtocolSecretExceptionTest() + { + $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->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); + $request = (new GetMeasurementProtocolSecretRequest()) + ->setName($formattedName); + try { + $gapicClient->getMeasurementProtocolSecret($request); + // 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 getPropertyTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $parent = 'parent-995424086'; + $displayName = 'displayName1615086568'; + $timeZone = 'timeZone36848094'; + $currencyCode = 'currencyCode1108728155'; + $account = 'account-1177318867'; + $expectedResponse = new Property(); + $expectedResponse->setName($name2); + $expectedResponse->setParent($parent); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setTimeZone($timeZone); + $expectedResponse->setCurrencyCode($currencyCode); + $expectedResponse->setAccount($account); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->propertyName('[PROPERTY]'); + $request = (new GetPropertyRequest()) + ->setName($formattedName); + $response = $gapicClient->getProperty($request); + $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/GetProperty', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getPropertyExceptionTest() + { + $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->propertyName('[PROPERTY]'); + $request = (new GetPropertyRequest()) + ->setName($formattedName); + try { + $gapicClient->getProperty($request); + // 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 getReportingDataAnnotationTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $title = 'title110371416'; + $description = 'description-1724546052'; + $systemGenerated = false; + $expectedResponse = new ReportingDataAnnotation(); + $expectedResponse->setName($name2); + $expectedResponse->setTitle($title); + $expectedResponse->setDescription($description); + $expectedResponse->setSystemGenerated($systemGenerated); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->reportingDataAnnotationName('[PROPERTY]', '[REPORTING_DATA_ANNOTATION]'); + $request = (new GetReportingDataAnnotationRequest()) + ->setName($formattedName); + $response = $gapicClient->getReportingDataAnnotation($request); + $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/GetReportingDataAnnotation', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getReportingDataAnnotationExceptionTest() + { + $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->reportingDataAnnotationName('[PROPERTY]', '[REPORTING_DATA_ANNOTATION]'); + $request = (new GetReportingDataAnnotationRequest()) + ->setName($formattedName); + try { + $gapicClient->getReportingDataAnnotation($request); + // 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 getReportingIdentitySettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $expectedResponse = new ReportingIdentitySettings(); + $expectedResponse->setName($name2); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->reportingIdentitySettingsName('[PROPERTY]'); + $request = (new GetReportingIdentitySettingsRequest()) + ->setName($formattedName); + $response = $gapicClient->getReportingIdentitySettings($request); + $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/GetReportingIdentitySettings', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getReportingIdentitySettingsExceptionTest() + { + $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->reportingIdentitySettingsName('[PROPERTY]'); + $request = (new GetReportingIdentitySettingsRequest()) + ->setName($formattedName); + try { + $gapicClient->getReportingIdentitySettings($request); + // 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 getRollupPropertySourceLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $sourceProperty = 'sourceProperty2069271929'; + $expectedResponse = new RollupPropertySourceLink(); + $expectedResponse->setName($name2); + $expectedResponse->setSourceProperty($sourceProperty); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->rollupPropertySourceLinkName('[PROPERTY]', '[ROLLUP_PROPERTY_SOURCE_LINK]'); + $request = (new GetRollupPropertySourceLinkRequest()) + ->setName($formattedName); + $response = $gapicClient->getRollupPropertySourceLink($request); + $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/GetRollupPropertySourceLink', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getRollupPropertySourceLinkExceptionTest() + { + $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->rollupPropertySourceLinkName('[PROPERTY]', '[ROLLUP_PROPERTY_SOURCE_LINK]'); + $request = (new GetRollupPropertySourceLinkRequest()) + ->setName($formattedName); + try { + $gapicClient->getRollupPropertySourceLink($request); + // 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 getSKAdNetworkConversionValueSchemaTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $applyConversionValues = true; + $expectedResponse = new SKAdNetworkConversionValueSchema(); + $expectedResponse->setName($name2); + $expectedResponse->setApplyConversionValues($applyConversionValues); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->sKAdNetworkConversionValueSchemaName('[PROPERTY]', '[DATA_STREAM]', '[SKADNETWORK_CONVERSION_VALUE_SCHEMA]'); + $request = (new GetSKAdNetworkConversionValueSchemaRequest()) + ->setName($formattedName); + $response = $gapicClient->getSKAdNetworkConversionValueSchema($request); + $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/GetSKAdNetworkConversionValueSchema', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getSKAdNetworkConversionValueSchemaExceptionTest() + { + $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->sKAdNetworkConversionValueSchemaName('[PROPERTY]', '[DATA_STREAM]', '[SKADNETWORK_CONVERSION_VALUE_SCHEMA]'); + $request = (new GetSKAdNetworkConversionValueSchemaRequest()) + ->setName($formattedName); + try { + $gapicClient->getSKAdNetworkConversionValueSchema($request); + // 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 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]'); + $request = (new GetSearchAds360LinkRequest()) + ->setName($formattedName); + $response = $gapicClient->getSearchAds360Link($request); + $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]'); + $request = (new GetSearchAds360LinkRequest()) + ->setName($formattedName); + try { + $gapicClient->getSearchAds360Link($request); + // 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 getSubpropertyEventFilterTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $applyToProperty = 'applyToProperty-1639692344'; + $expectedResponse = new SubpropertyEventFilter(); + $expectedResponse->setName($name2); + $expectedResponse->setApplyToProperty($applyToProperty); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->subpropertyEventFilterName('[PROPERTY]', '[SUB_PROPERTY_EVENT_FILTER]'); + $request = (new GetSubpropertyEventFilterRequest()) + ->setName($formattedName); + $response = $gapicClient->getSubpropertyEventFilter($request); + $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/GetSubpropertyEventFilter', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getSubpropertyEventFilterExceptionTest() + { + $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->subpropertyEventFilterName('[PROPERTY]', '[SUB_PROPERTY_EVENT_FILTER]'); + $request = (new GetSubpropertyEventFilterRequest()) + ->setName($formattedName); + try { + $gapicClient->getSubpropertyEventFilter($request); + // 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 getSubpropertySyncConfigTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $applyToProperty = 'applyToProperty-1639692344'; + $expectedResponse = new SubpropertySyncConfig(); + $expectedResponse->setName($name2); + $expectedResponse->setApplyToProperty($applyToProperty); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->subpropertySyncConfigName('[PROPERTY]', '[SUBPROPERTY_SYNC_CONFIG]'); + $request = (new GetSubpropertySyncConfigRequest()) + ->setName($formattedName); + $response = $gapicClient->getSubpropertySyncConfig($request); + $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/GetSubpropertySyncConfig', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getSubpropertySyncConfigExceptionTest() + { + $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->subpropertySyncConfigName('[PROPERTY]', '[SUBPROPERTY_SYNC_CONFIG]'); + $request = (new GetSubpropertySyncConfigRequest()) + ->setName($formattedName); + try { + $gapicClient->getSubpropertySyncConfig($request); + // 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 getUserProvidedDataSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $userProvidedDataCollectionEnabled = false; + $automaticallyDetectedDataCollectionEnabled = true; + $expectedResponse = new UserProvidedDataSettings(); + $expectedResponse->setName($name2); + $expectedResponse->setUserProvidedDataCollectionEnabled($userProvidedDataCollectionEnabled); + $expectedResponse->setAutomaticallyDetectedDataCollectionEnabled($automaticallyDetectedDataCollectionEnabled); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->userProvidedDataSettingsName('[PROPERTY]'); + $request = (new GetUserProvidedDataSettingsRequest()) + ->setName($formattedName); + $response = $gapicClient->getUserProvidedDataSettings($request); + $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/GetUserProvidedDataSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getUserProvidedDataSettingsExceptionTest() + { + $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->userProvidedDataSettingsName('[PROPERTY]'); + $request = (new GetUserProvidedDataSettingsRequest()) + ->setName($formattedName); + try { + $gapicClient->getUserProvidedDataSettings($request); + // 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 listAccessBindingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $accessBindingsElement = new AccessBinding(); + $accessBindings = [ + $accessBindingsElement, + ]; + $expectedResponse = new ListAccessBindingsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setAccessBindings($accessBindings); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->accountName('[ACCOUNT]'); + $request = (new ListAccessBindingsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listAccessBindings($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getAccessBindings()[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/ListAccessBindings', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listAccessBindingsExceptionTest() + { + $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->accountName('[ACCOUNT]'); + $request = (new ListAccessBindingsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listAccessBindings($request); + // 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 listAccountSummariesTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $accountSummariesElement = new AccountSummary(); + $accountSummaries = [ + $accountSummariesElement, + ]; + $expectedResponse = new ListAccountSummariesResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setAccountSummaries($accountSummaries); + $transport->addResponse($expectedResponse); + $request = new ListAccountSummariesRequest(); + $response = $gapicClient->listAccountSummaries($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getAccountSummaries()[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/ListAccountSummaries', $actualFuncCall); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listAccountSummariesExceptionTest() + { + $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); + $request = new ListAccountSummariesRequest(); + try { + $gapicClient->listAccountSummaries($request); + // 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 listAccountsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $accountsElement = new Account(); + $accounts = [ + $accountsElement, + ]; + $expectedResponse = new ListAccountsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setAccounts($accounts); + $transport->addResponse($expectedResponse); + $request = new ListAccountsRequest(); + $response = $gapicClient->listAccounts($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getAccounts()[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/ListAccounts', $actualFuncCall); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listAccountsExceptionTest() + { + $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); + $request = new ListAccountsRequest(); + try { + $gapicClient->listAccounts($request); + // 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 listAdSenseLinksTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $adsenseLinksElement = new AdSenseLink(); + $adsenseLinks = [ + $adsenseLinksElement, + ]; + $expectedResponse = new ListAdSenseLinksResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setAdsenseLinks($adsenseLinks); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListAdSenseLinksRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listAdSenseLinks($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getAdsenseLinks()[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/ListAdSenseLinks', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listAdSenseLinksExceptionTest() + { + $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]'); + $request = (new ListAdSenseLinksRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listAdSenseLinks($request); + // 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 listAudiencesTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $audiencesElement = new Audience(); + $audiences = [ + $audiencesElement, + ]; + $expectedResponse = new ListAudiencesResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setAudiences($audiences); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListAudiencesRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listAudiences($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getAudiences()[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/ListAudiences', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listAudiencesExceptionTest() + { + $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]'); + $request = (new ListAudiencesRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listAudiences($request); + // 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 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]'); + $request = (new ListBigQueryLinksRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listBigQueryLinks($request); + $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]'); + $request = (new ListBigQueryLinksRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listBigQueryLinks($request); + // 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 listCalculatedMetricsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $calculatedMetricsElement = new CalculatedMetric(); + $calculatedMetrics = [ + $calculatedMetricsElement, + ]; + $expectedResponse = new ListCalculatedMetricsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setCalculatedMetrics($calculatedMetrics); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListCalculatedMetricsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listCalculatedMetrics($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getCalculatedMetrics()[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/ListCalculatedMetrics', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listCalculatedMetricsExceptionTest() + { + $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]'); + $request = (new ListCalculatedMetricsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listCalculatedMetrics($request); + // 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 listChannelGroupsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $channelGroupsElement = new ChannelGroup(); + $channelGroups = [ + $channelGroupsElement, + ]; + $expectedResponse = new ListChannelGroupsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setChannelGroups($channelGroups); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListChannelGroupsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listChannelGroups($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getChannelGroups()[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/ListChannelGroups', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listChannelGroupsExceptionTest() + { + $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]'); + $request = (new ListChannelGroupsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listChannelGroups($request); + // 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() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $conversionEventsElement = new ConversionEvent(); + $conversionEvents = [ + $conversionEventsElement, + ]; + $expectedResponse = new ListConversionEventsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setConversionEvents($conversionEvents); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListConversionEventsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listConversionEvents($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getConversionEvents()[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/ListConversionEvents', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listConversionEventsExceptionTest() + { + $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]'); + $request = (new ListConversionEventsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listConversionEvents($request); + // 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 listCustomDimensionsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $customDimensionsElement = new CustomDimension(); + $customDimensions = [ + $customDimensionsElement, + ]; + $expectedResponse = new ListCustomDimensionsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setCustomDimensions($customDimensions); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListCustomDimensionsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listCustomDimensions($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getCustomDimensions()[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/ListCustomDimensions', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listCustomDimensionsExceptionTest() + { + $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]'); + $request = (new ListCustomDimensionsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listCustomDimensions($request); + // 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 listCustomMetricsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $customMetricsElement = new CustomMetric(); + $customMetrics = [ + $customMetricsElement, + ]; + $expectedResponse = new ListCustomMetricsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setCustomMetrics($customMetrics); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListCustomMetricsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listCustomMetrics($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getCustomMetrics()[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/ListCustomMetrics', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listCustomMetricsExceptionTest() + { + $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]'); + $request = (new ListCustomMetricsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listCustomMetrics($request); + // 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 listDataStreamsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $dataStreamsElement = new DataStream(); + $dataStreams = [ + $dataStreamsElement, + ]; + $expectedResponse = new ListDataStreamsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setDataStreams($dataStreams); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListDataStreamsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listDataStreams($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getDataStreams()[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/ListDataStreams', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listDataStreamsExceptionTest() + { + $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]'); + $request = (new ListDataStreamsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listDataStreams($request); + // 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 listDisplayVideo360AdvertiserLinkProposalsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $displayVideo360AdvertiserLinkProposalsElement = new DisplayVideo360AdvertiserLinkProposal(); + $displayVideo360AdvertiserLinkProposals = [ + $displayVideo360AdvertiserLinkProposalsElement, + ]; + $expectedResponse = new ListDisplayVideo360AdvertiserLinkProposalsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setDisplayVideo360AdvertiserLinkProposals($displayVideo360AdvertiserLinkProposals); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListDisplayVideo360AdvertiserLinkProposalsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listDisplayVideo360AdvertiserLinkProposals($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getDisplayVideo360AdvertiserLinkProposals()[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/ListDisplayVideo360AdvertiserLinkProposals', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listDisplayVideo360AdvertiserLinkProposalsExceptionTest() + { + $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]'); + $request = (new ListDisplayVideo360AdvertiserLinkProposalsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listDisplayVideo360AdvertiserLinkProposals($request); + // 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 listDisplayVideo360AdvertiserLinksTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $displayVideo360AdvertiserLinksElement = new DisplayVideo360AdvertiserLink(); + $displayVideo360AdvertiserLinks = [ + $displayVideo360AdvertiserLinksElement, + ]; + $expectedResponse = new ListDisplayVideo360AdvertiserLinksResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setDisplayVideo360AdvertiserLinks($displayVideo360AdvertiserLinks); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListDisplayVideo360AdvertiserLinksRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listDisplayVideo360AdvertiserLinks($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getDisplayVideo360AdvertiserLinks()[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/ListDisplayVideo360AdvertiserLinks', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listDisplayVideo360AdvertiserLinksExceptionTest() + { + $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]'); + $request = (new ListDisplayVideo360AdvertiserLinksRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listDisplayVideo360AdvertiserLinks($request); + // 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 listEventCreateRulesTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $eventCreateRulesElement = new EventCreateRule(); + $eventCreateRules = [ + $eventCreateRulesElement, + ]; + $expectedResponse = new ListEventCreateRulesResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setEventCreateRules($eventCreateRules); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new ListEventCreateRulesRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listEventCreateRules($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getEventCreateRules()[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/ListEventCreateRules', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listEventCreateRulesExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new ListEventCreateRulesRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listEventCreateRules($request); + // 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 listEventEditRulesTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $eventEditRulesElement = new EventEditRule(); + $eventEditRules = [ + $eventEditRulesElement, + ]; + $expectedResponse = new ListEventEditRulesResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setEventEditRules($eventEditRules); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new ListEventEditRulesRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listEventEditRules($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getEventEditRules()[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/ListEventEditRules', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listEventEditRulesExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new ListEventEditRulesRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listEventEditRules($request); + // 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 listExpandedDataSetsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $expandedDataSetsElement = new ExpandedDataSet(); + $expandedDataSets = [ + $expandedDataSetsElement, + ]; + $expectedResponse = new ListExpandedDataSetsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setExpandedDataSets($expandedDataSets); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListExpandedDataSetsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listExpandedDataSets($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getExpandedDataSets()[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/ListExpandedDataSets', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listExpandedDataSetsExceptionTest() + { + $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]'); + $request = (new ListExpandedDataSetsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listExpandedDataSets($request); + // 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 listFirebaseLinksTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $firebaseLinksElement = new FirebaseLink(); + $firebaseLinks = [ + $firebaseLinksElement, + ]; + $expectedResponse = new ListFirebaseLinksResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setFirebaseLinks($firebaseLinks); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListFirebaseLinksRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listFirebaseLinks($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getFirebaseLinks()[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/ListFirebaseLinks', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listFirebaseLinksExceptionTest() + { + $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]'); + $request = (new ListFirebaseLinksRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listFirebaseLinks($request); + // 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 listGoogleAdsLinksTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $googleAdsLinksElement = new GoogleAdsLink(); + $googleAdsLinks = [ + $googleAdsLinksElement, + ]; + $expectedResponse = new ListGoogleAdsLinksResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setGoogleAdsLinks($googleAdsLinks); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListGoogleAdsLinksRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listGoogleAdsLinks($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getGoogleAdsLinks()[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/ListGoogleAdsLinks', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listGoogleAdsLinksExceptionTest() + { + $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]'); + $request = (new ListGoogleAdsLinksRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listGoogleAdsLinks($request); + // 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 listKeyEventsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $keyEventsElement = new KeyEvent(); + $keyEvents = [ + $keyEventsElement, + ]; + $expectedResponse = new ListKeyEventsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setKeyEvents($keyEvents); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListKeyEventsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listKeyEvents($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getKeyEvents()[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/ListKeyEvents', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listKeyEventsExceptionTest() + { + $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]'); + $request = (new ListKeyEventsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listKeyEvents($request); + // 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 listMeasurementProtocolSecretsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $measurementProtocolSecretsElement = new MeasurementProtocolSecret(); + $measurementProtocolSecrets = [ + $measurementProtocolSecretsElement, + ]; + $expectedResponse = new ListMeasurementProtocolSecretsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setMeasurementProtocolSecrets($measurementProtocolSecrets); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new ListMeasurementProtocolSecretsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listMeasurementProtocolSecrets($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getMeasurementProtocolSecrets()[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/ListMeasurementProtocolSecrets', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listMeasurementProtocolSecretsExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new ListMeasurementProtocolSecretsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listMeasurementProtocolSecrets($request); + // 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 listPropertiesTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $propertiesElement = new Property(); + $properties = [ + $propertiesElement, + ]; + $expectedResponse = new ListPropertiesResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setProperties($properties); + $transport->addResponse($expectedResponse); + // Mock request + $filter = 'filter-1274492040'; + $request = (new ListPropertiesRequest()) + ->setFilter($filter); + $response = $gapicClient->listProperties($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getProperties()[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/ListProperties', $actualFuncCall); + $actualValue = $actualRequestObject->getFilter(); + $this->assertProtobufEquals($filter, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listPropertiesExceptionTest() + { + $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 + $filter = 'filter-1274492040'; + $request = (new ListPropertiesRequest()) + ->setFilter($filter); + try { + $gapicClient->listProperties($request); + // 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 listReportingDataAnnotationsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $reportingDataAnnotationsElement = new ReportingDataAnnotation(); + $reportingDataAnnotations = [ + $reportingDataAnnotationsElement, + ]; + $expectedResponse = new ListReportingDataAnnotationsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setReportingDataAnnotations($reportingDataAnnotations); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListReportingDataAnnotationsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listReportingDataAnnotations($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getReportingDataAnnotations()[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/ListReportingDataAnnotations', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listReportingDataAnnotationsExceptionTest() + { + $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]'); + $request = (new ListReportingDataAnnotationsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listReportingDataAnnotations($request); + // 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 listRollupPropertySourceLinksTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $rollupPropertySourceLinksElement = new RollupPropertySourceLink(); + $rollupPropertySourceLinks = [ + $rollupPropertySourceLinksElement, + ]; + $expectedResponse = new ListRollupPropertySourceLinksResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setRollupPropertySourceLinks($rollupPropertySourceLinks); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListRollupPropertySourceLinksRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listRollupPropertySourceLinks($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getRollupPropertySourceLinks()[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/ListRollupPropertySourceLinks', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listRollupPropertySourceLinksExceptionTest() + { + $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]'); + $request = (new ListRollupPropertySourceLinksRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listRollupPropertySourceLinks($request); + // 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 listSKAdNetworkConversionValueSchemasTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $skadnetworkConversionValueSchemasElement = new SKAdNetworkConversionValueSchema(); + $skadnetworkConversionValueSchemas = [ + $skadnetworkConversionValueSchemasElement, + ]; + $expectedResponse = new ListSKAdNetworkConversionValueSchemasResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setSkadnetworkConversionValueSchemas($skadnetworkConversionValueSchemas); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new ListSKAdNetworkConversionValueSchemasRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listSKAdNetworkConversionValueSchemas($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getSkadnetworkConversionValueSchemas()[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/ListSKAdNetworkConversionValueSchemas', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listSKAdNetworkConversionValueSchemasExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new ListSKAdNetworkConversionValueSchemasRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listSKAdNetworkConversionValueSchemas($request); + // 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 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]'); + $request = (new ListSearchAds360LinksRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listSearchAds360Links($request); + $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]'); + $request = (new ListSearchAds360LinksRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listSearchAds360Links($request); + // 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 listSubpropertyEventFiltersTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $subpropertyEventFiltersElement = new SubpropertyEventFilter(); + $subpropertyEventFilters = [ + $subpropertyEventFiltersElement, + ]; + $expectedResponse = new ListSubpropertyEventFiltersResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setSubpropertyEventFilters($subpropertyEventFilters); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListSubpropertyEventFiltersRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listSubpropertyEventFilters($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getSubpropertyEventFilters()[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/ListSubpropertyEventFilters', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listSubpropertyEventFiltersExceptionTest() + { + $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]'); + $request = (new ListSubpropertyEventFiltersRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listSubpropertyEventFilters($request); + // 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 listSubpropertySyncConfigsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $subpropertySyncConfigsElement = new SubpropertySyncConfig(); + $subpropertySyncConfigs = [ + $subpropertySyncConfigsElement, + ]; + $expectedResponse = new ListSubpropertySyncConfigsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setSubpropertySyncConfigs($subpropertySyncConfigs); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListSubpropertySyncConfigsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listSubpropertySyncConfigs($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getSubpropertySyncConfigs()[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/ListSubpropertySyncConfigs', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listSubpropertySyncConfigsExceptionTest() + { + $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]'); + $request = (new ListSubpropertySyncConfigsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listSubpropertySyncConfigs($request); + // 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 provisionAccountTicketTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $accountTicketId = 'accountTicketId-442102884'; + $expectedResponse = new ProvisionAccountTicketResponse(); + $expectedResponse->setAccountTicketId($accountTicketId); + $transport->addResponse($expectedResponse); + $request = new ProvisionAccountTicketRequest(); + $response = $gapicClient->provisionAccountTicket($request); + $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/ProvisionAccountTicket', $actualFuncCall); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function provisionAccountTicketExceptionTest() + { + $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); + $request = new ProvisionAccountTicketRequest(); + try { + $gapicClient->provisionAccountTicket($request); + // 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 provisionSubpropertyTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new ProvisionSubpropertyResponse(); + $transport->addResponse($expectedResponse); + // Mock request + $subproperty = new Property(); + $subpropertyDisplayName = 'subpropertyDisplayName-1859570920'; + $subproperty->setDisplayName($subpropertyDisplayName); + $subpropertyTimeZone = 'subpropertyTimeZone-1143367858'; + $subproperty->setTimeZone($subpropertyTimeZone); + $request = (new ProvisionSubpropertyRequest()) + ->setSubproperty($subproperty); + $response = $gapicClient->provisionSubproperty($request); + $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/ProvisionSubproperty', $actualFuncCall); + $actualValue = $actualRequestObject->getSubproperty(); + $this->assertProtobufEquals($subproperty, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function provisionSubpropertyExceptionTest() + { + $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 + $subproperty = new Property(); + $subpropertyDisplayName = 'subpropertyDisplayName-1859570920'; + $subproperty->setDisplayName($subpropertyDisplayName); + $subpropertyTimeZone = 'subpropertyTimeZone-1143367858'; + $subproperty->setTimeZone($subpropertyTimeZone); + $request = (new ProvisionSubpropertyRequest()) + ->setSubproperty($subproperty); + try { + $gapicClient->provisionSubproperty($request); + // 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 reorderEventEditRulesTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $eventEditRules = []; + $request = (new ReorderEventEditRulesRequest()) + ->setParent($formattedParent) + ->setEventEditRules($eventEditRules); + $gapicClient->reorderEventEditRules($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/ReorderEventEditRules', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getEventEditRules(); + $this->assertProtobufEquals($eventEditRules, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function reorderEventEditRulesExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $eventEditRules = []; + $request = (new ReorderEventEditRulesRequest()) + ->setParent($formattedParent) + ->setEventEditRules($eventEditRules); + try { + $gapicClient->reorderEventEditRules($request); + // 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 runAccessReportTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $rowCount = 1340416618; + $expectedResponse = new RunAccessReportResponse(); + $expectedResponse->setRowCount($rowCount); + $transport->addResponse($expectedResponse); + $request = new RunAccessReportRequest(); + $response = $gapicClient->runAccessReport($request); + $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/RunAccessReport', $actualFuncCall); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function runAccessReportExceptionTest() + { + $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); + $request = new RunAccessReportRequest(); + try { + $gapicClient->runAccessReport($request); + // 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 searchChangeHistoryEventsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $changeHistoryEventsElement = new ChangeHistoryEvent(); + $changeHistoryEvents = [ + $changeHistoryEventsElement, + ]; + $expectedResponse = new SearchChangeHistoryEventsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setChangeHistoryEvents($changeHistoryEvents); + $transport->addResponse($expectedResponse); + // Mock request + $formattedAccount = $gapicClient->accountName('[ACCOUNT]'); + $request = (new SearchChangeHistoryEventsRequest()) + ->setAccount($formattedAccount); + $response = $gapicClient->searchChangeHistoryEvents($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getChangeHistoryEvents()[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/SearchChangeHistoryEvents', $actualFuncCall); + $actualValue = $actualRequestObject->getAccount(); + $this->assertProtobufEquals($formattedAccount, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function searchChangeHistoryEventsExceptionTest() + { + $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 + $formattedAccount = $gapicClient->accountName('[ACCOUNT]'); + $request = (new SearchChangeHistoryEventsRequest()) + ->setAccount($formattedAccount); + try { + $gapicClient->searchChangeHistoryEvents($request); + // 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 submitUserDeletionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new SubmitUserDeletionResponse(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->propertyName('[PROPERTY]'); + $request = (new SubmitUserDeletionRequest()) + ->setName($formattedName); + $response = $gapicClient->submitUserDeletion($request); + $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/SubmitUserDeletion', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function submitUserDeletionExceptionTest() + { + $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->propertyName('[PROPERTY]'); + $request = (new SubmitUserDeletionRequest()) + ->setName($formattedName); + try { + $gapicClient->submitUserDeletion($request); + // 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 updateAccessBindingTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $user = 'user3599307'; + $name = 'name3373707'; + $expectedResponse = new AccessBinding(); + $expectedResponse->setUser($user); + $expectedResponse->setName($name); + $transport->addResponse($expectedResponse); + // Mock request + $accessBinding = new AccessBinding(); + $request = (new UpdateAccessBindingRequest()) + ->setAccessBinding($accessBinding); + $response = $gapicClient->updateAccessBinding($request); + $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/UpdateAccessBinding', $actualFuncCall); + $actualValue = $actualRequestObject->getAccessBinding(); + $this->assertProtobufEquals($accessBinding, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateAccessBindingExceptionTest() + { + $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 + $accessBinding = new AccessBinding(); + $request = (new UpdateAccessBindingRequest()) + ->setAccessBinding($accessBinding); + try { + $gapicClient->updateAccessBinding($request); + // 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() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $regionCode = 'regionCode-1566082984'; + $deleted = false; + $gmpOrganization = 'gmpOrganization-1643573496'; + $expectedResponse = new Account(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setRegionCode($regionCode); + $expectedResponse->setDeleted($deleted); + $expectedResponse->setGmpOrganization($gmpOrganization); + $transport->addResponse($expectedResponse); + // Mock request + $account = new Account(); + $accountDisplayName = 'accountDisplayName-616446464'; + $account->setDisplayName($accountDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateAccountRequest()) + ->setAccount($account) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateAccount($request); + $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/UpdateAccount', $actualFuncCall); + $actualValue = $actualRequestObject->getAccount(); + $this->assertProtobufEquals($account, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateAccountExceptionTest() + { + $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 + $account = new Account(); + $accountDisplayName = 'accountDisplayName-616446464'; + $account->setDisplayName($accountDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateAccountRequest()) + ->setAccount($account) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateAccount($request); + // 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 updateAttributionSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $expectedResponse = new AttributionSettings(); + $expectedResponse->setName($name); + $transport->addResponse($expectedResponse); + // Mock request + $attributionSettings = new AttributionSettings(); + $attributionSettingsAcquisitionConversionEventLookbackWindow = AcquisitionConversionEventLookbackWindow::ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; + $attributionSettings->setAcquisitionConversionEventLookbackWindow($attributionSettingsAcquisitionConversionEventLookbackWindow); + $attributionSettingsOtherConversionEventLookbackWindow = OtherConversionEventLookbackWindow::OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; + $attributionSettings->setOtherConversionEventLookbackWindow($attributionSettingsOtherConversionEventLookbackWindow); + $attributionSettingsReportingAttributionModel = ReportingAttributionModel::REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED; + $attributionSettings->setReportingAttributionModel($attributionSettingsReportingAttributionModel); + $attributionSettingsAdsWebConversionDataExportScope = AdsWebConversionDataExportScope::ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED; + $attributionSettings->setAdsWebConversionDataExportScope($attributionSettingsAdsWebConversionDataExportScope); + $updateMask = new FieldMask(); + $request = (new UpdateAttributionSettingsRequest()) + ->setAttributionSettings($attributionSettings) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateAttributionSettings($request); + $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/UpdateAttributionSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getAttributionSettings(); + $this->assertProtobufEquals($attributionSettings, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateAttributionSettingsExceptionTest() + { + $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 + $attributionSettings = new AttributionSettings(); + $attributionSettingsAcquisitionConversionEventLookbackWindow = AcquisitionConversionEventLookbackWindow::ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; + $attributionSettings->setAcquisitionConversionEventLookbackWindow($attributionSettingsAcquisitionConversionEventLookbackWindow); + $attributionSettingsOtherConversionEventLookbackWindow = OtherConversionEventLookbackWindow::OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; + $attributionSettings->setOtherConversionEventLookbackWindow($attributionSettingsOtherConversionEventLookbackWindow); + $attributionSettingsReportingAttributionModel = ReportingAttributionModel::REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED; + $attributionSettings->setReportingAttributionModel($attributionSettingsReportingAttributionModel); + $attributionSettingsAdsWebConversionDataExportScope = AdsWebConversionDataExportScope::ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED; + $attributionSettings->setAdsWebConversionDataExportScope($attributionSettingsAdsWebConversionDataExportScope); + $updateMask = new FieldMask(); + $request = (new UpdateAttributionSettingsRequest()) + ->setAttributionSettings($attributionSettings) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateAttributionSettings($request); + // 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 updateAudienceTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $membershipDurationDays = 1702404985; + $adsPersonalizationEnabled = false; + $expectedResponse = new Audience(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $expectedResponse->setMembershipDurationDays($membershipDurationDays); + $expectedResponse->setAdsPersonalizationEnabled($adsPersonalizationEnabled); + $transport->addResponse($expectedResponse); + // Mock request + $audience = new Audience(); + $audienceDisplayName = 'audienceDisplayName1537141193'; + $audience->setDisplayName($audienceDisplayName); + $audienceDescription = 'audienceDescription-1901553832'; + $audience->setDescription($audienceDescription); + $audienceMembershipDurationDays = 1530655195; + $audience->setMembershipDurationDays($audienceMembershipDurationDays); + $audienceFilterClauses = []; + $audience->setFilterClauses($audienceFilterClauses); + $updateMask = new FieldMask(); + $request = (new UpdateAudienceRequest()) + ->setAudience($audience) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateAudience($request); + $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/UpdateAudience', $actualFuncCall); + $actualValue = $actualRequestObject->getAudience(); + $this->assertProtobufEquals($audience, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateAudienceExceptionTest() + { + $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 + $audience = new Audience(); + $audienceDisplayName = 'audienceDisplayName1537141193'; + $audience->setDisplayName($audienceDisplayName); + $audienceDescription = 'audienceDescription-1901553832'; + $audience->setDescription($audienceDescription); + $audienceMembershipDurationDays = 1530655195; + $audience->setMembershipDurationDays($audienceMembershipDurationDays); + $audienceFilterClauses = []; + $audience->setFilterClauses($audienceFilterClauses); + $updateMask = new FieldMask(); + $request = (new UpdateAudienceRequest()) + ->setAudience($audience) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateAudience($request); + // 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 updateBigQueryLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $project = 'project-309310695'; + $dailyExportEnabled = true; + $streamingExportEnabled = false; + $freshDailyExportEnabled = false; + $includeAdvertisingId = false; + $datasetLocation = 'datasetLocation1011262364'; + $expectedResponse = new BigQueryLink(); + $expectedResponse->setName($name); + $expectedResponse->setProject($project); + $expectedResponse->setDailyExportEnabled($dailyExportEnabled); + $expectedResponse->setStreamingExportEnabled($streamingExportEnabled); + $expectedResponse->setFreshDailyExportEnabled($freshDailyExportEnabled); + $expectedResponse->setIncludeAdvertisingId($includeAdvertisingId); + $expectedResponse->setDatasetLocation($datasetLocation); + $transport->addResponse($expectedResponse); + // Mock request + $bigqueryLink = new BigQueryLink(); + $bigqueryLinkDatasetLocation = 'bigqueryLinkDatasetLocation714488843'; + $bigqueryLink->setDatasetLocation($bigqueryLinkDatasetLocation); + $updateMask = new FieldMask(); + $request = (new UpdateBigQueryLinkRequest()) + ->setBigqueryLink($bigqueryLink) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateBigQueryLink($request); + $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/UpdateBigQueryLink', $actualFuncCall); + $actualValue = $actualRequestObject->getBigqueryLink(); + $this->assertProtobufEquals($bigqueryLink, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateBigQueryLinkExceptionTest() + { + $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 + $bigqueryLink = new BigQueryLink(); + $bigqueryLinkDatasetLocation = 'bigqueryLinkDatasetLocation714488843'; + $bigqueryLink->setDatasetLocation($bigqueryLinkDatasetLocation); + $updateMask = new FieldMask(); + $request = (new UpdateBigQueryLinkRequest()) + ->setBigqueryLink($bigqueryLink) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateBigQueryLink($request); + // 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 updateCalculatedMetricTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $description = 'description-1724546052'; + $displayName = 'displayName1615086568'; + $calculatedMetricId = 'calculatedMetricId8203465'; + $formula = 'formula-677424794'; + $invalidMetricReference = true; + $expectedResponse = new CalculatedMetric(); + $expectedResponse->setName($name); + $expectedResponse->setDescription($description); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setCalculatedMetricId($calculatedMetricId); + $expectedResponse->setFormula($formula); + $expectedResponse->setInvalidMetricReference($invalidMetricReference); + $transport->addResponse($expectedResponse); + // Mock request + $calculatedMetric = new CalculatedMetric(); + $calculatedMetricDisplayName = 'calculatedMetricDisplayName-1927551873'; + $calculatedMetric->setDisplayName($calculatedMetricDisplayName); + $calculatedMetricMetricUnit = MetricUnit::METRIC_UNIT_UNSPECIFIED; + $calculatedMetric->setMetricUnit($calculatedMetricMetricUnit); + $calculatedMetricFormula = 'calculatedMetricFormula752695416'; + $calculatedMetric->setFormula($calculatedMetricFormula); + $updateMask = new FieldMask(); + $request = (new UpdateCalculatedMetricRequest()) + ->setCalculatedMetric($calculatedMetric) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateCalculatedMetric($request); + $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/UpdateCalculatedMetric', $actualFuncCall); + $actualValue = $actualRequestObject->getCalculatedMetric(); + $this->assertProtobufEquals($calculatedMetric, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateCalculatedMetricExceptionTest() + { + $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 + $calculatedMetric = new CalculatedMetric(); + $calculatedMetricDisplayName = 'calculatedMetricDisplayName-1927551873'; + $calculatedMetric->setDisplayName($calculatedMetricDisplayName); + $calculatedMetricMetricUnit = MetricUnit::METRIC_UNIT_UNSPECIFIED; + $calculatedMetric->setMetricUnit($calculatedMetricMetricUnit); + $calculatedMetricFormula = 'calculatedMetricFormula752695416'; + $calculatedMetric->setFormula($calculatedMetricFormula); + $updateMask = new FieldMask(); + $request = (new UpdateCalculatedMetricRequest()) + ->setCalculatedMetric($calculatedMetric) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateCalculatedMetric($request); + // 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 updateChannelGroupTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $systemDefined = false; + $primary = true; + $expectedResponse = new ChannelGroup(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $expectedResponse->setSystemDefined($systemDefined); + $expectedResponse->setPrimary($primary); + $transport->addResponse($expectedResponse); + // Mock request + $channelGroup = new ChannelGroup(); + $channelGroupDisplayName = 'channelGroupDisplayName1156787601'; + $channelGroup->setDisplayName($channelGroupDisplayName); + $channelGroupGroupingRule = []; + $channelGroup->setGroupingRule($channelGroupGroupingRule); + $updateMask = new FieldMask(); + $request = (new UpdateChannelGroupRequest()) + ->setChannelGroup($channelGroup) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateChannelGroup($request); + $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/UpdateChannelGroup', $actualFuncCall); + $actualValue = $actualRequestObject->getChannelGroup(); + $this->assertProtobufEquals($channelGroup, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateChannelGroupExceptionTest() + { + $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 + $channelGroup = new ChannelGroup(); + $channelGroupDisplayName = 'channelGroupDisplayName1156787601'; + $channelGroup->setDisplayName($channelGroupDisplayName); + $channelGroupGroupingRule = []; + $channelGroup->setGroupingRule($channelGroupGroupingRule); + $updateMask = new FieldMask(); + $request = (new UpdateChannelGroupRequest()) + ->setChannelGroup($channelGroup) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateChannelGroup($request); + // 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 updateConversionEventTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $eventName = 'eventName984174864'; + $deletable = true; + $custom = false; + $expectedResponse = new ConversionEvent(); + $expectedResponse->setName($name); + $expectedResponse->setEventName($eventName); + $expectedResponse->setDeletable($deletable); + $expectedResponse->setCustom($custom); + $transport->addResponse($expectedResponse); + // Mock request + $conversionEvent = new ConversionEvent(); + $updateMask = new FieldMask(); + $request = (new UpdateConversionEventRequest()) + ->setConversionEvent($conversionEvent) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateConversionEvent($request); + $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/UpdateConversionEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getConversionEvent(); + $this->assertProtobufEquals($conversionEvent, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateConversionEventExceptionTest() + { + $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 + $conversionEvent = new ConversionEvent(); + $updateMask = new FieldMask(); + $request = (new UpdateConversionEventRequest()) + ->setConversionEvent($conversionEvent) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateConversionEvent($request); + // 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 updateCustomDimensionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $parameterName = 'parameterName1133142369'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $disallowAdsPersonalization = false; + $expectedResponse = new CustomDimension(); + $expectedResponse->setName($name); + $expectedResponse->setParameterName($parameterName); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $expectedResponse->setDisallowAdsPersonalization($disallowAdsPersonalization); + $transport->addResponse($expectedResponse); + // Mock request + $updateMask = new FieldMask(); + $request = (new UpdateCustomDimensionRequest()) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateCustomDimension($request); + $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/UpdateCustomDimension', $actualFuncCall); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateCustomDimensionExceptionTest() + { + $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(); + $request = (new UpdateCustomDimensionRequest()) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateCustomDimension($request); + // 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 updateCustomMetricTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $parameterName = 'parameterName1133142369'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $expectedResponse = new CustomMetric(); + $expectedResponse->setName($name); + $expectedResponse->setParameterName($parameterName); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $transport->addResponse($expectedResponse); + // Mock request + $updateMask = new FieldMask(); + $request = (new UpdateCustomMetricRequest()) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateCustomMetric($request); + $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/UpdateCustomMetric', $actualFuncCall); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateCustomMetricExceptionTest() + { + $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(); + $request = (new UpdateCustomMetricRequest()) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateCustomMetric($request); + // 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 updateDataRedactionSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $emailRedactionEnabled = true; + $queryParameterRedactionEnabled = true; + $expectedResponse = new DataRedactionSettings(); + $expectedResponse->setName($name); + $expectedResponse->setEmailRedactionEnabled($emailRedactionEnabled); + $expectedResponse->setQueryParameterRedactionEnabled($queryParameterRedactionEnabled); + $transport->addResponse($expectedResponse); + // Mock request + $dataRedactionSettings = new DataRedactionSettings(); + $updateMask = new FieldMask(); + $request = (new UpdateDataRedactionSettingsRequest()) + ->setDataRedactionSettings($dataRedactionSettings) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateDataRedactionSettings($request); + $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/UpdateDataRedactionSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getDataRedactionSettings(); + $this->assertProtobufEquals($dataRedactionSettings, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateDataRedactionSettingsExceptionTest() + { + $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 + $dataRedactionSettings = new DataRedactionSettings(); + $updateMask = new FieldMask(); + $request = (new UpdateDataRedactionSettingsRequest()) + ->setDataRedactionSettings($dataRedactionSettings) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateDataRedactionSettings($request); + // 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 updateDataRetentionSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $resetUserDataOnNewActivity = false; + $expectedResponse = new DataRetentionSettings(); + $expectedResponse->setName($name); + $expectedResponse->setResetUserDataOnNewActivity($resetUserDataOnNewActivity); + $transport->addResponse($expectedResponse); + // Mock request + $dataRetentionSettings = new DataRetentionSettings(); + $dataRetentionSettingsEventDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; + $dataRetentionSettings->setEventDataRetention($dataRetentionSettingsEventDataRetention); + $dataRetentionSettingsUserDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; + $dataRetentionSettings->setUserDataRetention($dataRetentionSettingsUserDataRetention); + $updateMask = new FieldMask(); + $request = (new UpdateDataRetentionSettingsRequest()) + ->setDataRetentionSettings($dataRetentionSettings) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateDataRetentionSettings($request); + $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/UpdateDataRetentionSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getDataRetentionSettings(); + $this->assertProtobufEquals($dataRetentionSettings, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateDataRetentionSettingsExceptionTest() + { + $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 + $dataRetentionSettings = new DataRetentionSettings(); + $dataRetentionSettingsEventDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; + $dataRetentionSettings->setEventDataRetention($dataRetentionSettingsEventDataRetention); + $dataRetentionSettingsUserDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; + $dataRetentionSettings->setUserDataRetention($dataRetentionSettingsUserDataRetention); + $updateMask = new FieldMask(); + $request = (new UpdateDataRetentionSettingsRequest()) + ->setDataRetentionSettings($dataRetentionSettings) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateDataRetentionSettings($request); + // 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 updateDataStreamTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $expectedResponse = new DataStream(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $transport->addResponse($expectedResponse); + // Mock request + $updateMask = new FieldMask(); + $request = (new UpdateDataStreamRequest()) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateDataStream($request); + $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/UpdateDataStream', $actualFuncCall); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateDataStreamExceptionTest() + { + $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(); + $request = (new UpdateDataStreamRequest()) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateDataStream($request); + // 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 updateDisplayVideo360AdvertiserLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $advertiserId = 'advertiserId-127926097'; + $advertiserDisplayName = 'advertiserDisplayName-674771332'; + $expectedResponse = new DisplayVideo360AdvertiserLink(); + $expectedResponse->setName($name); + $expectedResponse->setAdvertiserId($advertiserId); + $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName); + $transport->addResponse($expectedResponse); + // Mock request + $updateMask = new FieldMask(); + $request = (new UpdateDisplayVideo360AdvertiserLinkRequest()) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateDisplayVideo360AdvertiserLink($request); + $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/UpdateDisplayVideo360AdvertiserLink', $actualFuncCall); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateDisplayVideo360AdvertiserLinkExceptionTest() + { + $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(); + $request = (new UpdateDisplayVideo360AdvertiserLinkRequest()) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateDisplayVideo360AdvertiserLink($request); + // 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 updateEnhancedMeasurementSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $streamEnabled = true; + $scrollsEnabled = true; + $outboundClicksEnabled = true; + $siteSearchEnabled = true; + $videoEngagementEnabled = false; + $fileDownloadsEnabled = true; + $pageChangesEnabled = false; + $formInteractionsEnabled = true; + $searchQueryParameter = 'searchQueryParameter638048347'; + $uriQueryParameter = 'uriQueryParameter964636703'; + $expectedResponse = new EnhancedMeasurementSettings(); + $expectedResponse->setName($name); + $expectedResponse->setStreamEnabled($streamEnabled); + $expectedResponse->setScrollsEnabled($scrollsEnabled); + $expectedResponse->setOutboundClicksEnabled($outboundClicksEnabled); + $expectedResponse->setSiteSearchEnabled($siteSearchEnabled); + $expectedResponse->setVideoEngagementEnabled($videoEngagementEnabled); + $expectedResponse->setFileDownloadsEnabled($fileDownloadsEnabled); + $expectedResponse->setPageChangesEnabled($pageChangesEnabled); + $expectedResponse->setFormInteractionsEnabled($formInteractionsEnabled); + $expectedResponse->setSearchQueryParameter($searchQueryParameter); + $expectedResponse->setUriQueryParameter($uriQueryParameter); + $transport->addResponse($expectedResponse); + // Mock request + $enhancedMeasurementSettings = new EnhancedMeasurementSettings(); + $enhancedMeasurementSettingsSearchQueryParameter = 'enhancedMeasurementSettingsSearchQueryParameter1139945938'; + $enhancedMeasurementSettings->setSearchQueryParameter($enhancedMeasurementSettingsSearchQueryParameter); + $updateMask = new FieldMask(); + $request = (new UpdateEnhancedMeasurementSettingsRequest()) + ->setEnhancedMeasurementSettings($enhancedMeasurementSettings) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateEnhancedMeasurementSettings($request); + $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/UpdateEnhancedMeasurementSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getEnhancedMeasurementSettings(); + $this->assertProtobufEquals($enhancedMeasurementSettings, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateEnhancedMeasurementSettingsExceptionTest() + { + $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 + $enhancedMeasurementSettings = new EnhancedMeasurementSettings(); + $enhancedMeasurementSettingsSearchQueryParameter = 'enhancedMeasurementSettingsSearchQueryParameter1139945938'; + $enhancedMeasurementSettings->setSearchQueryParameter($enhancedMeasurementSettingsSearchQueryParameter); + $updateMask = new FieldMask(); + $request = (new UpdateEnhancedMeasurementSettingsRequest()) + ->setEnhancedMeasurementSettings($enhancedMeasurementSettings) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateEnhancedMeasurementSettings($request); + // 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 updateEventCreateRuleTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $destinationEvent = 'destinationEvent-1300408535'; + $sourceCopyParameters = true; + $expectedResponse = new EventCreateRule(); + $expectedResponse->setName($name); + $expectedResponse->setDestinationEvent($destinationEvent); + $expectedResponse->setSourceCopyParameters($sourceCopyParameters); + $transport->addResponse($expectedResponse); + // Mock request + $eventCreateRule = new EventCreateRule(); + $eventCreateRuleDestinationEvent = 'eventCreateRuleDestinationEvent598875038'; + $eventCreateRule->setDestinationEvent($eventCreateRuleDestinationEvent); + $eventCreateRuleEventConditions = []; + $eventCreateRule->setEventConditions($eventCreateRuleEventConditions); + $updateMask = new FieldMask(); + $request = (new UpdateEventCreateRuleRequest()) + ->setEventCreateRule($eventCreateRule) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateEventCreateRule($request); + $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/UpdateEventCreateRule', $actualFuncCall); + $actualValue = $actualRequestObject->getEventCreateRule(); + $this->assertProtobufEquals($eventCreateRule, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateEventCreateRuleExceptionTest() + { + $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 + $eventCreateRule = new EventCreateRule(); + $eventCreateRuleDestinationEvent = 'eventCreateRuleDestinationEvent598875038'; + $eventCreateRule->setDestinationEvent($eventCreateRuleDestinationEvent); + $eventCreateRuleEventConditions = []; + $eventCreateRule->setEventConditions($eventCreateRuleEventConditions); + $updateMask = new FieldMask(); + $request = (new UpdateEventCreateRuleRequest()) + ->setEventCreateRule($eventCreateRule) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateEventCreateRule($request); + // 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 updateEventEditRuleTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $processingOrder = 334545118; + $expectedResponse = new EventEditRule(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setProcessingOrder($processingOrder); + $transport->addResponse($expectedResponse); + // Mock request + $eventEditRule = new EventEditRule(); + $eventEditRuleDisplayName = 'eventEditRuleDisplayName160444781'; + $eventEditRule->setDisplayName($eventEditRuleDisplayName); + $eventEditRuleEventConditions = []; + $eventEditRule->setEventConditions($eventEditRuleEventConditions); + $eventEditRuleParameterMutations = []; + $eventEditRule->setParameterMutations($eventEditRuleParameterMutations); + $updateMask = new FieldMask(); + $request = (new UpdateEventEditRuleRequest()) + ->setEventEditRule($eventEditRule) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateEventEditRule($request); + $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/UpdateEventEditRule', $actualFuncCall); + $actualValue = $actualRequestObject->getEventEditRule(); + $this->assertProtobufEquals($eventEditRule, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateEventEditRuleExceptionTest() + { + $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 + $eventEditRule = new EventEditRule(); + $eventEditRuleDisplayName = 'eventEditRuleDisplayName160444781'; + $eventEditRule->setDisplayName($eventEditRuleDisplayName); + $eventEditRuleEventConditions = []; + $eventEditRule->setEventConditions($eventEditRuleEventConditions); + $eventEditRuleParameterMutations = []; + $eventEditRule->setParameterMutations($eventEditRuleParameterMutations); + $updateMask = new FieldMask(); + $request = (new UpdateEventEditRuleRequest()) + ->setEventEditRule($eventEditRule) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateEventEditRule($request); + // 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 updateExpandedDataSetTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $expectedResponse = new ExpandedDataSet(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $transport->addResponse($expectedResponse); + // Mock request + $expandedDataSet = new ExpandedDataSet(); + $expandedDataSetDisplayName = 'expandedDataSetDisplayName629188494'; + $expandedDataSet->setDisplayName($expandedDataSetDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateExpandedDataSetRequest()) + ->setExpandedDataSet($expandedDataSet) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateExpandedDataSet($request); + $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/UpdateExpandedDataSet', $actualFuncCall); + $actualValue = $actualRequestObject->getExpandedDataSet(); + $this->assertProtobufEquals($expandedDataSet, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateExpandedDataSetExceptionTest() + { + $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 + $expandedDataSet = new ExpandedDataSet(); + $expandedDataSetDisplayName = 'expandedDataSetDisplayName629188494'; + $expandedDataSet->setDisplayName($expandedDataSetDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateExpandedDataSetRequest()) + ->setExpandedDataSet($expandedDataSet) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateExpandedDataSet($request); + // 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 updateGoogleAdsLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $customerId = 'customerId-1772061412'; + $canManageClients = false; + $creatorEmailAddress = 'creatorEmailAddress-1491810434'; + $expectedResponse = new GoogleAdsLink(); + $expectedResponse->setName($name); + $expectedResponse->setCustomerId($customerId); + $expectedResponse->setCanManageClients($canManageClients); + $expectedResponse->setCreatorEmailAddress($creatorEmailAddress); + $transport->addResponse($expectedResponse); + // Mock request + $updateMask = new FieldMask(); + $request = (new UpdateGoogleAdsLinkRequest()) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateGoogleAdsLink($request); + $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/UpdateGoogleAdsLink', $actualFuncCall); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateGoogleAdsLinkExceptionTest() + { + $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(); + $request = (new UpdateGoogleAdsLinkRequest()) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateGoogleAdsLink($request); + // 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 updateGoogleSignalsSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $expectedResponse = new GoogleSignalsSettings(); + $expectedResponse->setName($name); + $transport->addResponse($expectedResponse); + // Mock request + $googleSignalsSettings = new GoogleSignalsSettings(); + $updateMask = new FieldMask(); + $request = (new UpdateGoogleSignalsSettingsRequest()) + ->setGoogleSignalsSettings($googleSignalsSettings) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateGoogleSignalsSettings($request); + $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/UpdateGoogleSignalsSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getGoogleSignalsSettings(); + $this->assertProtobufEquals($googleSignalsSettings, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateGoogleSignalsSettingsExceptionTest() + { + $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 + $googleSignalsSettings = new GoogleSignalsSettings(); + $updateMask = new FieldMask(); + $request = (new UpdateGoogleSignalsSettingsRequest()) + ->setGoogleSignalsSettings($googleSignalsSettings) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateGoogleSignalsSettings($request); + // 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 updateKeyEventTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $eventName = 'eventName984174864'; + $deletable = true; + $custom = false; + $expectedResponse = new KeyEvent(); + $expectedResponse->setName($name); + $expectedResponse->setEventName($eventName); + $expectedResponse->setDeletable($deletable); + $expectedResponse->setCustom($custom); + $transport->addResponse($expectedResponse); + // Mock request + $keyEvent = new KeyEvent(); + $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; + $keyEvent->setCountingMethod($keyEventCountingMethod); + $updateMask = new FieldMask(); + $request = (new UpdateKeyEventRequest()) + ->setKeyEvent($keyEvent) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateKeyEvent($request); + $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/UpdateKeyEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getKeyEvent(); + $this->assertProtobufEquals($keyEvent, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateKeyEventExceptionTest() + { + $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 + $keyEvent = new KeyEvent(); + $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; + $keyEvent->setCountingMethod($keyEventCountingMethod); + $updateMask = new FieldMask(); + $request = (new UpdateKeyEventRequest()) + ->setKeyEvent($keyEvent) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateKeyEvent($request); + // 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 updateMeasurementProtocolSecretTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $secretValue = 'secretValue1322942242'; + $expectedResponse = new MeasurementProtocolSecret(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setSecretValue($secretValue); + $transport->addResponse($expectedResponse); + // Mock request + $measurementProtocolSecret = new MeasurementProtocolSecret(); + $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; + $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateMeasurementProtocolSecretRequest()) + ->setMeasurementProtocolSecret($measurementProtocolSecret) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateMeasurementProtocolSecret($request); + $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/UpdateMeasurementProtocolSecret', $actualFuncCall); + $actualValue = $actualRequestObject->getMeasurementProtocolSecret(); + $this->assertProtobufEquals($measurementProtocolSecret, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateMeasurementProtocolSecretExceptionTest() + { + $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 + $measurementProtocolSecret = new MeasurementProtocolSecret(); + $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; + $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateMeasurementProtocolSecretRequest()) + ->setMeasurementProtocolSecret($measurementProtocolSecret) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateMeasurementProtocolSecret($request); + // 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 updatePropertyTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $parent = 'parent-995424086'; + $displayName = 'displayName1615086568'; + $timeZone = 'timeZone36848094'; + $currencyCode = 'currencyCode1108728155'; + $account = 'account-1177318867'; + $expectedResponse = new Property(); + $expectedResponse->setName($name); + $expectedResponse->setParent($parent); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setTimeZone($timeZone); + $expectedResponse->setCurrencyCode($currencyCode); + $expectedResponse->setAccount($account); + $transport->addResponse($expectedResponse); + // Mock request + $property = new Property(); + $propertyDisplayName = 'propertyDisplayName-1254483624'; + $property->setDisplayName($propertyDisplayName); + $propertyTimeZone = 'propertyTimeZone-1600366322'; + $property->setTimeZone($propertyTimeZone); + $updateMask = new FieldMask(); + $request = (new UpdatePropertyRequest()) + ->setProperty($property) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateProperty($request); + $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/UpdateProperty', $actualFuncCall); + $actualValue = $actualRequestObject->getProperty(); + $this->assertProtobufEquals($property, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updatePropertyExceptionTest() + { + $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 = new Property(); + $propertyDisplayName = 'propertyDisplayName-1254483624'; + $property->setDisplayName($propertyDisplayName); + $propertyTimeZone = 'propertyTimeZone-1600366322'; + $property->setTimeZone($propertyTimeZone); + $updateMask = new FieldMask(); + $request = (new UpdatePropertyRequest()) + ->setProperty($property) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateProperty($request); + // 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 updateReportingDataAnnotationTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $title = 'title110371416'; + $description = 'description-1724546052'; + $systemGenerated = false; + $expectedResponse = new ReportingDataAnnotation(); + $expectedResponse->setName($name); + $expectedResponse->setTitle($title); + $expectedResponse->setDescription($description); + $expectedResponse->setSystemGenerated($systemGenerated); + $transport->addResponse($expectedResponse); + // Mock request + $reportingDataAnnotation = new ReportingDataAnnotation(); + $reportingDataAnnotationName = 'reportingDataAnnotationName-286898318'; + $reportingDataAnnotation->setName($reportingDataAnnotationName); + $reportingDataAnnotationTitle = 'reportingDataAnnotationTitle-298126767'; + $reportingDataAnnotation->setTitle($reportingDataAnnotationTitle); + $reportingDataAnnotationColor = Color::COLOR_UNSPECIFIED; + $reportingDataAnnotation->setColor($reportingDataAnnotationColor); + $request = (new UpdateReportingDataAnnotationRequest()) + ->setReportingDataAnnotation($reportingDataAnnotation); + $response = $gapicClient->updateReportingDataAnnotation($request); + $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/UpdateReportingDataAnnotation', $actualFuncCall); + $actualValue = $actualRequestObject->getReportingDataAnnotation(); + $this->assertProtobufEquals($reportingDataAnnotation, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateReportingDataAnnotationExceptionTest() + { + $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 + $reportingDataAnnotation = new ReportingDataAnnotation(); + $reportingDataAnnotationName = 'reportingDataAnnotationName-286898318'; + $reportingDataAnnotation->setName($reportingDataAnnotationName); + $reportingDataAnnotationTitle = 'reportingDataAnnotationTitle-298126767'; + $reportingDataAnnotation->setTitle($reportingDataAnnotationTitle); + $reportingDataAnnotationColor = Color::COLOR_UNSPECIFIED; + $reportingDataAnnotation->setColor($reportingDataAnnotationColor); + $request = (new UpdateReportingDataAnnotationRequest()) + ->setReportingDataAnnotation($reportingDataAnnotation); + try { + $gapicClient->updateReportingDataAnnotation($request); + // 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 updateSKAdNetworkConversionValueSchemaTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $applyConversionValues = true; + $expectedResponse = new SKAdNetworkConversionValueSchema(); + $expectedResponse->setName($name); + $expectedResponse->setApplyConversionValues($applyConversionValues); + $transport->addResponse($expectedResponse); + // Mock request + $skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(); + $skadnetworkConversionValueSchemaPostbackWindowOne = new PostbackWindow(); + $skadnetworkConversionValueSchema->setPostbackWindowOne($skadnetworkConversionValueSchemaPostbackWindowOne); + $updateMask = new FieldMask(); + $request = (new UpdateSKAdNetworkConversionValueSchemaRequest()) + ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateSKAdNetworkConversionValueSchema($request); + $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/UpdateSKAdNetworkConversionValueSchema', $actualFuncCall); + $actualValue = $actualRequestObject->getSkadnetworkConversionValueSchema(); + $this->assertProtobufEquals($skadnetworkConversionValueSchema, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateSKAdNetworkConversionValueSchemaExceptionTest() + { + $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 + $skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(); + $skadnetworkConversionValueSchemaPostbackWindowOne = new PostbackWindow(); + $skadnetworkConversionValueSchema->setPostbackWindowOne($skadnetworkConversionValueSchemaPostbackWindowOne); + $updateMask = new FieldMask(); + $request = (new UpdateSKAdNetworkConversionValueSchemaRequest()) + ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateSKAdNetworkConversionValueSchema($request); + // 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 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(); + $request = (new UpdateSearchAds360LinkRequest()) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateSearchAds360Link($request); + $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(); + $request = (new UpdateSearchAds360LinkRequest()) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateSearchAds360Link($request); + // 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 updateSubpropertyEventFilterTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $applyToProperty = 'applyToProperty-1639692344'; + $expectedResponse = new SubpropertyEventFilter(); + $expectedResponse->setName($name); + $expectedResponse->setApplyToProperty($applyToProperty); + $transport->addResponse($expectedResponse); + // Mock request + $subpropertyEventFilter = new SubpropertyEventFilter(); + $subpropertyEventFilterFilterClauses = []; + $subpropertyEventFilter->setFilterClauses($subpropertyEventFilterFilterClauses); + $updateMask = new FieldMask(); + $request = (new UpdateSubpropertyEventFilterRequest()) + ->setSubpropertyEventFilter($subpropertyEventFilter) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateSubpropertyEventFilter($request); + $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/UpdateSubpropertyEventFilter', $actualFuncCall); + $actualValue = $actualRequestObject->getSubpropertyEventFilter(); + $this->assertProtobufEquals($subpropertyEventFilter, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateSubpropertyEventFilterExceptionTest() + { + $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 + $subpropertyEventFilter = new SubpropertyEventFilter(); + $subpropertyEventFilterFilterClauses = []; + $subpropertyEventFilter->setFilterClauses($subpropertyEventFilterFilterClauses); + $updateMask = new FieldMask(); + $request = (new UpdateSubpropertyEventFilterRequest()) + ->setSubpropertyEventFilter($subpropertyEventFilter) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateSubpropertyEventFilter($request); + // 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 updateSubpropertySyncConfigTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $applyToProperty = 'applyToProperty-1639692344'; + $expectedResponse = new SubpropertySyncConfig(); + $expectedResponse->setName($name); + $expectedResponse->setApplyToProperty($applyToProperty); + $transport->addResponse($expectedResponse); + // Mock request + $subpropertySyncConfig = new SubpropertySyncConfig(); + $subpropertySyncConfigCustomDimensionAndMetricSyncMode = SynchronizationMode::SYNCHRONIZATION_MODE_UNSPECIFIED; + $subpropertySyncConfig->setCustomDimensionAndMetricSyncMode($subpropertySyncConfigCustomDimensionAndMetricSyncMode); + $request = (new UpdateSubpropertySyncConfigRequest()) + ->setSubpropertySyncConfig($subpropertySyncConfig); + $response = $gapicClient->updateSubpropertySyncConfig($request); + $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/UpdateSubpropertySyncConfig', $actualFuncCall); + $actualValue = $actualRequestObject->getSubpropertySyncConfig(); + $this->assertProtobufEquals($subpropertySyncConfig, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateSubpropertySyncConfigExceptionTest() + { + $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 + $subpropertySyncConfig = new SubpropertySyncConfig(); + $subpropertySyncConfigCustomDimensionAndMetricSyncMode = SynchronizationMode::SYNCHRONIZATION_MODE_UNSPECIFIED; + $subpropertySyncConfig->setCustomDimensionAndMetricSyncMode($subpropertySyncConfigCustomDimensionAndMetricSyncMode); + $request = (new UpdateSubpropertySyncConfigRequest()) + ->setSubpropertySyncConfig($subpropertySyncConfig); + try { + $gapicClient->updateSubpropertySyncConfig($request); + // 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 acknowledgeUserDataCollectionAsyncTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new AcknowledgeUserDataCollectionResponse(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedProperty = $gapicClient->propertyName('[PROPERTY]'); + $acknowledgement = 'acknowledgement1769490938'; + $request = (new AcknowledgeUserDataCollectionRequest()) + ->setProperty($formattedProperty) + ->setAcknowledgement($acknowledgement); + $response = $gapicClient->acknowledgeUserDataCollectionAsync($request)->wait(); + $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/AcknowledgeUserDataCollection', $actualFuncCall); + $actualValue = $actualRequestObject->getProperty(); + $this->assertProtobufEquals($formattedProperty, $actualValue); + $actualValue = $actualRequestObject->getAcknowledgement(); + $this->assertProtobufEquals($acknowledgement, $actualValue); + $this->assertTrue($transport->isExhausted()); + } +} diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AccessReport.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AccessReport.php new file mode 100644 index 000000000000..4f44cfe56965 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AccessReport.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x94\x1A\x0A1google/analytics/admin/v1beta/access_report.proto\x12\x1Dgoogle.analytics.admin.v1beta\")\x0A\x0FAccessDimension\x12\x16\x0A\x0Edimension_name\x18\x01 \x01(\x09\"#\x0A\x0CAccessMetric\x12\x13\x0A\x0Bmetric_name\x18\x01 \x01(\x09\"7\x0A\x0FAccessDateRange\x12\x12\x0A\x0Astart_date\x18\x01 \x01(\x09\x12\x10\x0A\x08end_date\x18\x02 \x01(\x09\"\xE0\x02\x0A\x16AccessFilterExpression\x12N\x0A\x09and_group\x18\x01 \x01(\x0B29.google.analytics.admin.v1beta.AccessFilterExpressionListH\x00\x12M\x0A\x08or_group\x18\x02 \x01(\x0B29.google.analytics.admin.v1beta.AccessFilterExpressionListH\x00\x12O\x0A\x0Enot_expression\x18\x03 \x01(\x0B25.google.analytics.admin.v1beta.AccessFilterExpressionH\x00\x12D\x0A\x0Daccess_filter\x18\x04 \x01(\x0B2+.google.analytics.admin.v1beta.AccessFilterH\x00B\x10\x0A\x0Eone_expression\"h\x0A\x1AAccessFilterExpressionList\x12J\x0A\x0Bexpressions\x18\x01 \x03(\x0B25.google.analytics.admin.v1beta.AccessFilterExpression\"\xE5\x02\x0A\x0CAccessFilter\x12J\x0A\x0Dstring_filter\x18\x02 \x01(\x0B21.google.analytics.admin.v1beta.AccessStringFilterH\x00\x12K\x0A\x0Ein_list_filter\x18\x03 \x01(\x0B21.google.analytics.admin.v1beta.AccessInListFilterH\x00\x12L\x0A\x0Enumeric_filter\x18\x04 \x01(\x0B22.google.analytics.admin.v1beta.AccessNumericFilterH\x00\x12L\x0A\x0Ebetween_filter\x18\x05 \x01(\x0B22.google.analytics.admin.v1beta.AccessBetweenFilterH\x00\x12\x12\x0A\x0Afield_name\x18\x01 \x01(\x09B\x0C\x0A\x0Aone_filter\"\x94\x02\x0A\x12AccessStringFilter\x12O\x0A\x0Amatch_type\x18\x01 \x01(\x0E2;.google.analytics.admin.v1beta.AccessStringFilter.MatchType\x12\x0D\x0A\x05value\x18\x02 \x01(\x09\x12\x16\x0A\x0Ecase_sensitive\x18\x03 \x01(\x08\"\x85\x01\x0A\x09MatchType\x12\x1A\x0A\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EXACT\x10\x01\x12\x0F\x0A\x0BBEGINS_WITH\x10\x02\x12\x0D\x0A\x09ENDS_WITH\x10\x03\x12\x0C\x0A\x08CONTAINS\x10\x04\x12\x0F\x0A\x0BFULL_REGEXP\x10\x05\x12\x12\x0A\x0EPARTIAL_REGEXP\x10\x06\"<\x0A\x12AccessInListFilter\x12\x0E\x0A\x06values\x18\x01 \x03(\x09\x12\x16\x0A\x0Ecase_sensitive\x18\x02 \x01(\x08\"\xAA\x02\x0A\x13AccessNumericFilter\x12O\x0A\x09operation\x18\x01 \x01(\x0E2<.google.analytics.admin.v1beta.AccessNumericFilter.Operation\x12:\x0A\x05value\x18\x02 \x01(\x0B2+.google.analytics.admin.v1beta.NumericValue\"\x85\x01\x0A\x09Operation\x12\x19\x0A\x15OPERATION_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EQUAL\x10\x01\x12\x0D\x0A\x09LESS_THAN\x10\x02\x12\x16\x0A\x12LESS_THAN_OR_EQUAL\x10\x03\x12\x10\x0A\x0CGREATER_THAN\x10\x04\x12\x19\x0A\x15GREATER_THAN_OR_EQUAL\x10\x05\"\x95\x01\x0A\x13AccessBetweenFilter\x12?\x0A\x0Afrom_value\x18\x01 \x01(\x0B2+.google.analytics.admin.v1beta.NumericValue\x12=\x0A\x08to_value\x18\x02 \x01(\x0B2+.google.analytics.admin.v1beta.NumericValue\"J\x0A\x0CNumericValue\x12\x15\x0A\x0Bint64_value\x18\x01 \x01(\x03H\x00\x12\x16\x0A\x0Cdouble_value\x18\x02 \x01(\x01H\x00B\x0B\x0A\x09one_value\"\xEA\x03\x0A\x0DAccessOrderBy\x12L\x0A\x06metric\x18\x01 \x01(\x0B2:.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByH\x00\x12R\x0A\x09dimension\x18\x02 \x01(\x0B2=.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByH\x00\x12\x0C\x0A\x04desc\x18\x03 \x01(\x08\x1A\$\x0A\x0DMetricOrderBy\x12\x13\x0A\x0Bmetric_name\x18\x01 \x01(\x09\x1A\xF2\x01\x0A\x10DimensionOrderBy\x12\x16\x0A\x0Edimension_name\x18\x01 \x01(\x09\x12[\x0A\x0Aorder_type\x18\x02 \x01(\x0E2G.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType\"i\x0A\x09OrderType\x12\x1A\x0A\x16ORDER_TYPE_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CALPHANUMERIC\x10\x01\x12!\x0A\x1DCASE_INSENSITIVE_ALPHANUMERIC\x10\x02\x12\x0B\x0A\x07NUMERIC\x10\x03B\x0E\x0A\x0Cone_order_by\"/\x0A\x15AccessDimensionHeader\x12\x16\x0A\x0Edimension_name\x18\x01 \x01(\x09\")\x0A\x12AccessMetricHeader\x12\x13\x0A\x0Bmetric_name\x18\x01 \x01(\x09\"\xA3\x01\x0A\x09AccessRow\x12M\x0A\x10dimension_values\x18\x01 \x03(\x0B23.google.analytics.admin.v1beta.AccessDimensionValue\x12G\x0A\x0Dmetric_values\x18\x02 \x03(\x0B20.google.analytics.admin.v1beta.AccessMetricValue\"%\x0A\x14AccessDimensionValue\x12\x0D\x0A\x05value\x18\x01 \x01(\x09\"\"\x0A\x11AccessMetricValue\x12\x0D\x0A\x05value\x18\x01 \x01(\x09\"\xA6\x03\x0A\x0BAccessQuota\x12H\x0A\x0Etokens_per_day\x18\x01 \x01(\x0B20.google.analytics.admin.v1beta.AccessQuotaStatus\x12I\x0A\x0Ftokens_per_hour\x18\x02 \x01(\x0B20.google.analytics.admin.v1beta.AccessQuotaStatus\x12M\x0A\x13concurrent_requests\x18\x03 \x01(\x0B20.google.analytics.admin.v1beta.AccessQuotaStatus\x12\\\x0A\"server_errors_per_project_per_hour\x18\x04 \x01(\x0B20.google.analytics.admin.v1beta.AccessQuotaStatus\x12U\x0A\x1Btokens_per_project_per_hour\x18\x05 \x01(\x0B20.google.analytics.admin.v1beta.AccessQuotaStatus\"8\x0A\x11AccessQuotaStatus\x12\x10\x0A\x08consumed\x18\x01 \x01(\x05\x12\x11\x0A\x09remaining\x18\x02 \x01(\x05Bw\x0A!com.google.analytics.admin.v1betaB\x11AccessReportProtoP\x01Z=cloud.google.com/go/analytics/admin/apiv1beta/adminpb;adminpbb\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AnalyticsAdmin.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AnalyticsAdmin.php new file mode 100644 index 000000000000..1665cc2ce1cb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AnalyticsAdmin.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xC6\xA7\x01\x0A3google/analytics/admin/v1beta/analytics_admin.proto\x12\x1Dgoogle.analytics.admin.v1beta\x1A-google/analytics/admin/v1beta/resources.proto\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xDA\x04\x0A\x16RunAccessReportRequest\x12\x0E\x0A\x06entity\x18\x01 \x01(\x09\x12B\x0A\x0Adimensions\x18\x02 \x03(\x0B2..google.analytics.admin.v1beta.AccessDimension\x12<\x0A\x07metrics\x18\x03 \x03(\x0B2+.google.analytics.admin.v1beta.AccessMetric\x12C\x0A\x0Bdate_ranges\x18\x04 \x03(\x0B2..google.analytics.admin.v1beta.AccessDateRange\x12O\x0A\x10dimension_filter\x18\x05 \x01(\x0B25.google.analytics.admin.v1beta.AccessFilterExpression\x12L\x0A\x0Dmetric_filter\x18\x06 \x01(\x0B25.google.analytics.admin.v1beta.AccessFilterExpression\x12\x0E\x0A\x06offset\x18\x07 \x01(\x03\x12\x0D\x0A\x05limit\x18\x08 \x01(\x03\x12\x11\x0A\x09time_zone\x18\x09 \x01(\x09\x12?\x0A\x09order_bys\x18\x0A \x03(\x0B2,.google.analytics.admin.v1beta.AccessOrderBy\x12\x1B\x0A\x13return_entity_quota\x18\x0B \x01(\x08\x12\x1E\x0A\x11include_all_users\x18\x0C \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dexpand_groups\x18\x0D \x01(\x08B\x03\xE0A\x01\"\xBB\x02\x0A\x17RunAccessReportResponse\x12O\x0A\x11dimension_headers\x18\x01 \x03(\x0B24.google.analytics.admin.v1beta.AccessDimensionHeader\x12I\x0A\x0Emetric_headers\x18\x02 \x03(\x0B21.google.analytics.admin.v1beta.AccessMetricHeader\x126\x0A\x04rows\x18\x03 \x03(\x0B2(.google.analytics.admin.v1beta.AccessRow\x12\x11\x0A\x09row_count\x18\x04 \x01(\x05\x129\x0A\x05quota\x18\x05 \x01(\x0B2*.google.analytics.admin.v1beta.AccessQuota\"P\x0A\x11GetAccountRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\"R\x0A\x13ListAccountsRequest\x12\x11\x0A\x09page_size\x18\x01 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x14\x0A\x0Cshow_deleted\x18\x03 \x01(\x08\"i\x0A\x14ListAccountsResponse\x128\x0A\x08accounts\x18\x01 \x03(\x0B2&.google.analytics.admin.v1beta.Account\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"S\x0A\x14DeleteAccountRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\"\x8A\x01\x0A\x14UpdateAccountRequest\x12<\x0A\x07account\x18\x01 \x01(\x0B2&.google.analytics.admin.v1beta.AccountB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"n\x0A\x1DProvisionAccountTicketRequest\x127\x0A\x07account\x18\x01 \x01(\x0B2&.google.analytics.admin.v1beta.Account\x12\x14\x0A\x0Credirect_uri\x18\x02 \x01(\x09\";\x0A\x1EProvisionAccountTicketResponse\x12\x19\x0A\x11account_ticket_id\x18\x01 \x01(\x09\"R\x0A\x12GetPropertyRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\"i\x0A\x15ListPropertiesRequest\x12\x13\x0A\x06filter\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x14\x0A\x0Cshow_deleted\x18\x04 \x01(\x08\"n\x0A\x16ListPropertiesResponse\x12;\x0A\x0Aproperties\x18\x01 \x03(\x0B2'.google.analytics.admin.v1beta.Property\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x8D\x01\x0A\x15UpdatePropertyRequest\x12>\x0A\x08property\x18\x01 \x01(\x0B2'.google.analytics.admin.v1beta.PropertyB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"W\x0A\x15CreatePropertyRequest\x12>\x0A\x08property\x18\x01 \x01(\x0B2'.google.analytics.admin.v1beta.PropertyB\x03\xE0A\x02\"U\x0A\x15DeletePropertyRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\"\xA8\x01\x0A\x19CreateFirebaseLinkRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/FirebaseLink\x12G\x0A\x0Dfirebase_link\x18\x02 \x01(\x0B2+.google.analytics.admin.v1beta.FirebaseLinkB\x03\xE0A\x02\"]\x0A\x19DeleteFirebaseLinkRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/FirebaseLink\"\x85\x01\x0A\x18ListFirebaseLinksRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/FirebaseLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"y\x0A\x19ListFirebaseLinksResponse\x12C\x0A\x0Efirebase_links\x18\x01 \x03(\x0B2+.google.analytics.admin.v1beta.FirebaseLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xAD\x01\x0A\x1ACreateGoogleAdsLinkRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/GoogleAdsLink\x12J\x0A\x0Fgoogle_ads_link\x18\x02 \x01(\x0B2,.google.analytics.admin.v1beta.GoogleAdsLinkB\x03\xE0A\x02\"\x99\x01\x0A\x1AUpdateGoogleAdsLinkRequest\x12E\x0A\x0Fgoogle_ads_link\x18\x01 \x01(\x0B2,.google.analytics.admin.v1beta.GoogleAdsLink\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"_\x0A\x1ADeleteGoogleAdsLinkRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/GoogleAdsLink\"\x87\x01\x0A\x19ListGoogleAdsLinksRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/GoogleAdsLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"}\x0A\x1AListGoogleAdsLinksResponse\x12F\x0A\x10google_ads_links\x18\x01 \x03(\x0B2,.google.analytics.admin.v1beta.GoogleAdsLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"h\x0A\x1DGetDataSharingSettingsRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1analyticsadmin.googleapis.com/DataSharingSettings\"D\x0A\x1BListAccountSummariesRequest\x12\x11\x0A\x09page_size\x18\x01 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\"\x81\x01\x0A\x1CListAccountSummariesResponse\x12H\x0A\x11account_summaries\x18\x01 \x03(\x0B2-.google.analytics.admin.v1beta.AccountSummary\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x86\x01\x0A\$AcknowledgeUserDataCollectionRequest\x12@\x0A\x08property\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12\x1C\x0A\x0Facknowledgement\x18\x02 \x01(\x09B\x03\xE0A\x02\"'\x0A%AcknowledgeUserDataCollectionResponse\"\x81\x04\x0A SearchChangeHistoryEventsRequest\x12>\x0A\x07account\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\x12@\x0A\x08property\x18\x02 \x01(\x09B.\xE0A\x01\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12T\x0A\x0Dresource_type\x18\x03 \x03(\x0E28.google.analytics.admin.v1beta.ChangeHistoryResourceTypeB\x03\xE0A\x01\x12>\x0A\x06action\x18\x04 \x03(\x0E2).google.analytics.admin.v1beta.ActionTypeB\x03\xE0A\x01\x12\x18\x0A\x0Bactor_email\x18\x05 \x03(\x09B\x03\xE0A\x01\x12=\x0A\x14earliest_change_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12;\x0A\x12latest_change_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x08 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x09 \x01(\x09B\x03\xE0A\x01\"\x8E\x01\x0A!SearchChangeHistoryEventsResponse\x12P\x0A\x15change_history_events\x18\x01 \x03(\x0B21.google.analytics.admin.v1beta.ChangeHistoryEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"t\x0A#GetMeasurementProtocolSecretRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\"\xDD\x01\x0A&CreateMeasurementProtocolSecretRequest\x12O\x0A\x06parent\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x127analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12b\x0A\x1Bmeasurement_protocol_secret\x18\x02 \x01(\x0B28.google.analytics.admin.v1beta.MeasurementProtocolSecretB\x03\xE0A\x02\"w\x0A&DeleteMeasurementProtocolSecretRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\"\xC2\x01\x0A&UpdateMeasurementProtocolSecretRequest\x12b\x0A\x1Bmeasurement_protocol_secret\x18\x01 \x01(\x0B28.google.analytics.admin.v1beta.MeasurementProtocolSecretB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x9F\x01\x0A%ListMeasurementProtocolSecretsRequest\x12O\x0A\x06parent\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x127analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\xA1\x01\x0A&ListMeasurementProtocolSecretsResponse\x12^\x0A\x1Cmeasurement_protocol_secrets\x18\x01 \x03(\x0B28.google.analytics.admin.v1beta.MeasurementProtocolSecret\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB4\x01\x0A\x1CCreateConversionEventRequest\x12M\x0A\x10conversion_event\x18\x01 \x01(\x0B2..google.analytics.admin.v1beta.ConversionEventB\x03\xE0A\x02\x12E\x0A\x06parent\x18\x02 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ConversionEvent\"\xA3\x01\x0A\x1CUpdateConversionEventRequest\x12M\x0A\x10conversion_event\x18\x01 \x01(\x0B2..google.analytics.admin.v1beta.ConversionEventB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"`\x0A\x19GetConversionEventRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ConversionEvent\"c\x0A\x1CDeleteConversionEventRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ConversionEvent\"\x8B\x01\x0A\x1BListConversionEventsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ConversionEvent\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x82\x01\x0A\x1CListConversionEventsResponse\x12I\x0A\x11conversion_events\x18\x01 \x03(\x0B2..google.analytics.admin.v1beta.ConversionEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x98\x01\x0A\x15CreateKeyEventRequest\x12?\x0A\x09key_event\x18\x01 \x01(\x0B2'.google.analytics.admin.v1beta.KeyEventB\x03\xE0A\x02\x12>\x0A\x06parent\x18\x02 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/KeyEvent\"\x8E\x01\x0A\x15UpdateKeyEventRequest\x12?\x0A\x09key_event\x18\x01 \x01(\x0B2'.google.analytics.admin.v1beta.KeyEventB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"R\x0A\x12GetKeyEventRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/KeyEvent\"U\x0A\x15DeleteKeyEventRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/KeyEvent\"}\x0A\x14ListKeyEventsRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/KeyEvent\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"m\x0A\x15ListKeyEventsResponse\x12;\x0A\x0Akey_events\x18\x01 \x03(\x0B2'.google.analytics.admin.v1beta.KeyEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB4\x01\x0A\x1CCreateCustomDimensionRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/CustomDimension\x12M\x0A\x10custom_dimension\x18\x02 \x01(\x0B2..google.analytics.admin.v1beta.CustomDimensionB\x03\xE0A\x02\"\x9E\x01\x0A\x1CUpdateCustomDimensionRequest\x12H\x0A\x10custom_dimension\x18\x01 \x01(\x0B2..google.analytics.admin.v1beta.CustomDimension\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x8B\x01\x0A\x1BListCustomDimensionsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/CustomDimension\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x82\x01\x0A\x1CListCustomDimensionsResponse\x12I\x0A\x11custom_dimensions\x18\x01 \x03(\x0B2..google.analytics.admin.v1beta.CustomDimension\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"d\x0A\x1DArchiveCustomDimensionRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/CustomDimension\"`\x0A\x19GetCustomDimensionRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/CustomDimension\"\xA8\x01\x0A\x19CreateCustomMetricRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/CustomMetric\x12G\x0A\x0Dcustom_metric\x18\x02 \x01(\x0B2+.google.analytics.admin.v1beta.CustomMetricB\x03\xE0A\x02\"\x95\x01\x0A\x19UpdateCustomMetricRequest\x12B\x0A\x0Dcustom_metric\x18\x01 \x01(\x0B2+.google.analytics.admin.v1beta.CustomMetric\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x85\x01\x0A\x18ListCustomMetricsRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/CustomMetric\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"y\x0A\x19ListCustomMetricsResponse\x12C\x0A\x0Ecustom_metrics\x18\x01 \x03(\x0B2+.google.analytics.admin.v1beta.CustomMetric\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"^\x0A\x1AArchiveCustomMetricRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/CustomMetric\"Z\x0A\x16GetCustomMetricRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/CustomMetric\"l\x0A\x1FGetDataRetentionSettingsRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/DataRetentionSettings\"\xB6\x01\x0A\"UpdateDataRetentionSettingsRequest\x12Z\x0A\x17data_retention_settings\x18\x01 \x01(\x0B24.google.analytics.admin.v1beta.DataRetentionSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xA0\x01\x0A\x17CreateDataStreamRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(analyticsadmin.googleapis.com/DataStream\x12C\x0A\x0Bdata_stream\x18\x02 \x01(\x0B2).google.analytics.admin.v1beta.DataStreamB\x03\xE0A\x02\"Y\x0A\x17DeleteDataStreamRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(analyticsadmin.googleapis.com/DataStream\"\x8F\x01\x0A\x17UpdateDataStreamRequest\x12>\x0A\x0Bdata_stream\x18\x01 \x01(\x0B2).google.analytics.admin.v1beta.DataStream\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x81\x01\x0A\x16ListDataStreamsRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(analyticsadmin.googleapis.com/DataStream\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"s\x0A\x17ListDataStreamsResponse\x12?\x0A\x0Cdata_streams\x18\x01 \x03(\x0B2).google.analytics.admin.v1beta.DataStream\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"V\x0A\x14GetDataStreamRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(analyticsadmin.googleapis.com/DataStream2\xEFW\x0A\x15AnalyticsAdminService\x12\x90\x01\x0A\x0AGetAccount\x120.google.analytics.admin.v1beta.GetAccountRequest\x1A&.google.analytics.admin.v1beta.Account\"(\xDAA\x04name\x82\xD3\xE4\x93\x02\x1B\x12\x19/v1beta/{name=accounts/*}\x12\x91\x01\x0A\x0CListAccounts\x122.google.analytics.admin.v1beta.ListAccountsRequest\x1A3.google.analytics.admin.v1beta.ListAccountsResponse\"\x18\x82\xD3\xE4\x93\x02\x12\x12\x10/v1beta/accounts\x12\x86\x01\x0A\x0DDeleteAccount\x123.google.analytics.admin.v1beta.DeleteAccountRequest\x1A\x16.google.protobuf.Empty\"(\xDAA\x04name\x82\xD3\xE4\x93\x02\x1B*\x19/v1beta/{name=accounts/*}\x12\xB6\x01\x0A\x0DUpdateAccount\x123.google.analytics.admin.v1beta.UpdateAccountRequest\x1A&.google.analytics.admin.v1beta.Account\"H\xDAA\x13account,update_mask\x82\xD3\xE4\x93\x02,2!/v1beta/{account.name=accounts/*}:\x07account\x12\xC9\x01\x0A\x16ProvisionAccountTicket\x12<.google.analytics.admin.v1beta.ProvisionAccountTicketRequest\x1A=.google.analytics.admin.v1beta.ProvisionAccountTicketResponse\"2\x82\xD3\xE4\x93\x02,\"'/v1beta/accounts:provisionAccountTicket:\x01*\x12\xB1\x01\x0A\x14ListAccountSummaries\x12:.google.analytics.admin.v1beta.ListAccountSummariesRequest\x1A;.google.analytics.admin.v1beta.ListAccountSummariesResponse\" \x82\xD3\xE4\x93\x02\x1A\x12\x18/v1beta/accountSummaries\x12\x95\x01\x0A\x0BGetProperty\x121.google.analytics.admin.v1beta.GetPropertyRequest\x1A'.google.analytics.admin.v1beta.Property\"*\xDAA\x04name\x82\xD3\xE4\x93\x02\x1D\x12\x1B/v1beta/{name=properties/*}\x12\x99\x01\x0A\x0EListProperties\x124.google.analytics.admin.v1beta.ListPropertiesRequest\x1A5.google.analytics.admin.v1beta.ListPropertiesResponse\"\x1A\x82\xD3\xE4\x93\x02\x14\x12\x12/v1beta/properties\x12\xA0\x01\x0A\x0ECreateProperty\x124.google.analytics.admin.v1beta.CreatePropertyRequest\x1A'.google.analytics.admin.v1beta.Property\"/\xDAA\x08property\x82\xD3\xE4\x93\x02\x1E\"\x12/v1beta/properties:\x08property\x12\x9B\x01\x0A\x0EDeleteProperty\x124.google.analytics.admin.v1beta.DeletePropertyRequest\x1A'.google.analytics.admin.v1beta.Property\"*\xDAA\x04name\x82\xD3\xE4\x93\x02\x1D*\x1B/v1beta/{name=properties/*}\x12\xBE\x01\x0A\x0EUpdateProperty\x124.google.analytics.admin.v1beta.UpdatePropertyRequest\x1A'.google.analytics.admin.v1beta.Property\"M\xDAA\x14property,update_mask\x82\xD3\xE4\x93\x0202\$/v1beta/{property.name=properties/*}:\x08property\x12\xD6\x01\x0A\x12CreateFirebaseLink\x128.google.analytics.admin.v1beta.CreateFirebaseLinkRequest\x1A+.google.analytics.admin.v1beta.FirebaseLink\"Y\xDAA\x14parent,firebase_link\x82\xD3\xE4\x93\x02<\"+/v1beta/{parent=properties/*}/firebaseLinks:\x0Dfirebase_link\x12\xA2\x01\x0A\x12DeleteFirebaseLink\x128.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest\x1A\x16.google.protobuf.Empty\":\xDAA\x04name\x82\xD3\xE4\x93\x02-*+/v1beta/{name=properties/*/firebaseLinks/*}\x12\xC4\x01\x0A\x11ListFirebaseLinks\x127.google.analytics.admin.v1beta.ListFirebaseLinksRequest\x1A8.google.analytics.admin.v1beta.ListFirebaseLinksResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1beta/{parent=properties/*}/firebaseLinks\x12\xDE\x01\x0A\x13CreateGoogleAdsLink\x129.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest\x1A,.google.analytics.admin.v1beta.GoogleAdsLink\"^\xDAA\x16parent,google_ads_link\x82\xD3\xE4\x93\x02?\",/v1beta/{parent=properties/*}/googleAdsLinks:\x0Fgoogle_ads_link\x12\xF3\x01\x0A\x13UpdateGoogleAdsLink\x129.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest\x1A,.google.analytics.admin.v1beta.GoogleAdsLink\"s\xDAA\x1Bgoogle_ads_link,update_mask\x82\xD3\xE4\x93\x02O221/v1beta/{key_event.name=properties/*/keyEvents/*}:\x09key_event\x12\xA1\x01\x0A\x0BGetKeyEvent\x121.google.analytics.admin.v1beta.GetKeyEventRequest\x1A'.google.analytics.admin.v1beta.KeyEvent\"6\xDAA\x04name\x82\xD3\xE4\x93\x02)\x12'/v1beta/{name=properties/*/keyEvents/*}\x12\x96\x01\x0A\x0EDeleteKeyEvent\x124.google.analytics.admin.v1beta.DeleteKeyEventRequest\x1A\x16.google.protobuf.Empty\"6\xDAA\x04name\x82\xD3\xE4\x93\x02)*'/v1beta/{name=properties/*/keyEvents/*}\x12\xB4\x01\x0A\x0DListKeyEvents\x123.google.analytics.admin.v1beta.ListKeyEventsRequest\x1A4.google.analytics.admin.v1beta.ListKeyEventsResponse\"8\xDAA\x06parent\x82\xD3\xE4\x93\x02)\x12'/v1beta/{parent=properties/*}/keyEvents\x12\xE8\x01\x0A\x15CreateCustomDimension\x12;.google.analytics.admin.v1beta.CreateCustomDimensionRequest\x1A..google.analytics.admin.v1beta.CustomDimension\"b\xDAA\x17parent,custom_dimension\x82\xD3\xE4\x93\x02B\"./v1beta/{parent=properties/*}/customDimensions:\x10custom_dimension\x12\xFE\x01\x0A\x15UpdateCustomDimension\x12;.google.analytics.admin.v1beta.UpdateCustomDimensionRequest\x1A..google.analytics.admin.v1beta.CustomDimension\"x\xDAA\x1Ccustom_dimension,update_mask\x82\xD3\xE4\x93\x02S2?/v1beta/{custom_dimension.name=properties/*/customDimensions/*}:\x10custom_dimension\x12\xD0\x01\x0A\x14ListCustomDimensions\x12:.google.analytics.admin.v1beta.ListCustomDimensionsRequest\x1A;.google.analytics.admin.v1beta.ListCustomDimensionsResponse\"?\xDAA\x06parent\x82\xD3\xE4\x93\x020\x12./v1beta/{parent=properties/*}/customDimensions\x12\xB8\x01\x0A\x16ArchiveCustomDimension\x12<.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest\x1A\x16.google.protobuf.Empty\"H\xDAA\x04name\x82\xD3\xE4\x93\x02;\"6/v1beta/{name=properties/*/customDimensions/*}:archive:\x01*\x12\xBD\x01\x0A\x12GetCustomDimension\x128.google.analytics.admin.v1beta.GetCustomDimensionRequest\x1A..google.analytics.admin.v1beta.CustomDimension\"=\xDAA\x04name\x82\xD3\xE4\x93\x020\x12./v1beta/{name=properties/*/customDimensions/*}\x12\xD6\x01\x0A\x12CreateCustomMetric\x128.google.analytics.admin.v1beta.CreateCustomMetricRequest\x1A+.google.analytics.admin.v1beta.CustomMetric\"Y\xDAA\x14parent,custom_metric\x82\xD3\xE4\x93\x02<\"+/v1beta/{parent=properties/*}/customMetrics:\x0Dcustom_metric\x12\xE9\x01\x0A\x12UpdateCustomMetric\x128.google.analytics.admin.v1beta.UpdateCustomMetricRequest\x1A+.google.analytics.admin.v1beta.CustomMetric\"l\xDAA\x19custom_metric,update_mask\x82\xD3\xE4\x93\x02J29/v1beta/{custom_metric.name=properties/*/customMetrics/*}:\x0Dcustom_metric\x12\xC4\x01\x0A\x11ListCustomMetrics\x127.google.analytics.admin.v1beta.ListCustomMetricsRequest\x1A8.google.analytics.admin.v1beta.ListCustomMetricsResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1beta/{parent=properties/*}/customMetrics\x12\xAF\x01\x0A\x13ArchiveCustomMetric\x129.google.analytics.admin.v1beta.ArchiveCustomMetricRequest\x1A\x16.google.protobuf.Empty\"E\xDAA\x04name\x82\xD3\xE4\x93\x028\"3/v1beta/{name=properties/*/customMetrics/*}:archive:\x01*\x12\xB1\x01\x0A\x0FGetCustomMetric\x125.google.analytics.admin.v1beta.GetCustomMetricRequest\x1A+.google.analytics.admin.v1beta.CustomMetric\":\xDAA\x04name\x82\xD3\xE4\x93\x02-\x12+/v1beta/{name=properties/*/customMetrics/*}\x12\xD2\x01\x0A\x18GetDataRetentionSettings\x12>.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest\x1A4.google.analytics.admin.v1beta.DataRetentionSettings\"@\xDAA\x04name\x82\xD3\xE4\x93\x023\x121/v1beta/{name=properties/*/dataRetentionSettings}\x12\xA9\x02\x0A\x1BUpdateDataRetentionSettings\x12A.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest\x1A4.google.analytics.admin.v1beta.DataRetentionSettings\"\x90\x01\xDAA#data_retention_settings,update_mask\x82\xD3\xE4\x93\x02d2I/v1beta/{data_retention_settings.name=properties/*/dataRetentionSettings}:\x17data_retention_settings\x12\xCA\x01\x0A\x10CreateDataStream\x126.google.analytics.admin.v1beta.CreateDataStreamRequest\x1A).google.analytics.admin.v1beta.DataStream\"S\xDAA\x12parent,data_stream\x82\xD3\xE4\x93\x028\")/v1beta/{parent=properties/*}/dataStreams:\x0Bdata_stream\x12\x9C\x01\x0A\x10DeleteDataStream\x126.google.analytics.admin.v1beta.DeleteDataStreamRequest\x1A\x16.google.protobuf.Empty\"8\xDAA\x04name\x82\xD3\xE4\x93\x02+*)/v1beta/{name=properties/*/dataStreams/*}\x12\xDB\x01\x0A\x10UpdateDataStream\x126.google.analytics.admin.v1beta.UpdateDataStreamRequest\x1A).google.analytics.admin.v1beta.DataStream\"d\xDAA\x17data_stream,update_mask\x82\xD3\xE4\x93\x02D25/v1beta/{data_stream.name=properties/*/dataStreams/*}:\x0Bdata_stream\x12\xBC\x01\x0A\x0FListDataStreams\x125.google.analytics.admin.v1beta.ListDataStreamsRequest\x1A6.google.analytics.admin.v1beta.ListDataStreamsResponse\":\xDAA\x06parent\x82\xD3\xE4\x93\x02+\x12)/v1beta/{parent=properties/*}/dataStreams\x12\xA9\x01\x0A\x0DGetDataStream\x123.google.analytics.admin.v1beta.GetDataStreamRequest\x1A).google.analytics.admin.v1beta.DataStream\"8\xDAA\x04name\x82\xD3\xE4\x93\x02+\x12)/v1beta/{name=properties/*/dataStreams/*}\x12\xEC\x01\x0A\x0FRunAccessReport\x125.google.analytics.admin.v1beta.RunAccessReportRequest\x1A6.google.analytics.admin.v1beta.RunAccessReportResponse\"j\x82\xD3\xE4\x93\x02d\"-/v1beta/{entity=properties/*}:runAccessReport:\x01*Z0\"+/v1beta/{entity=accounts/*}:runAccessReport:\x01*\x1A\x84\x01\xCAA\x1Danalyticsadmin.googleapis.com\xD2Aahttps://www.googleapis.com/auth/analytics.edit,https://www.googleapis.com/auth/analytics.readonlyBy\x0A!com.google.analytics.admin.v1betaB\x13AnalyticsAdminProtoP\x01Z=cloud.google.com/go/analytics/admin/apiv1beta/adminpb;adminpbb\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/Resources.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/Resources.php new file mode 100644 index 000000000000..a5114c6e3c3b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/Resources.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xDFM\x0A-google/analytics/admin/v1beta/resources.proto\x12\x1Dgoogle.analytics.admin.v1beta\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x1Egoogle/protobuf/wrappers.proto\"\xE4\x02\x0A\x07Account\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bregion_code\x18\x05 \x01(\x09\x12\x14\x0A\x07deleted\x18\x06 \x01(\x08B\x03\xE0A\x03\x12T\x0A\x10gmp_organization\x18\x07 \x01(\x09B:\xE0A\x03\xFAA4\x0A2marketingplatformadmin.googleapis.com/Organization:>\xEAA;\x0A%analyticsadmin.googleapis.com/Account\x12\x12accounts/{account}\"\xB6\x05\x0A\x08Property\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12G\x0A\x0Dproperty_type\x18\x0E \x01(\x0E2+.google.analytics.admin.v1beta.PropertyTypeB\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x13\x0A\x06parent\x18\x02 \x01(\x09B\x03\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x05 \x01(\x09B\x03\xE0A\x02\x12J\x0A\x11industry_category\x18\x06 \x01(\x0E2/.google.analytics.admin.v1beta.IndustryCategory\x12\x16\x0A\x09time_zone\x18\x07 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x0Dcurrency_code\x18\x08 \x01(\x09\x12G\x0A\x0Dservice_level\x18\x0A \x01(\x0E2+.google.analytics.admin.v1beta.ServiceLevelB\x03\xE0A\x03\x124\x0A\x0Bdelete_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bexpire_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12>\x0A\x07account\x18\x0D \x01(\x09B-\xE0A\x05\xFAA'\x0A%analyticsadmin.googleapis.com/Account:B\xEAA?\x0A&analyticsadmin.googleapis.com/Property\x12\x15properties/{property}\"\xF0\x07\x0A\x0ADataStream\x12R\x0A\x0Fweb_stream_data\x18\x06 \x01(\x0B27.google.analytics.admin.v1beta.DataStream.WebStreamDataH\x00\x12a\x0A\x17android_app_stream_data\x18\x07 \x01(\x0B2>.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataH\x00\x12Y\x0A\x13ios_app_stream_data\x18\x08 \x01(\x0B2:.google.analytics.admin.v1beta.DataStream.IosAppStreamDataH\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12N\x0A\x04type\x18\x02 \x01(\x0E28.google.analytics.admin.v1beta.DataStream.DataStreamTypeB\x06\xE0A\x05\xE0A\x02\x12\x14\x0A\x0Cdisplay_name\x18\x03 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x1A_\x0A\x0DWebStreamData\x12\x1B\x0A\x0Emeasurement_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Ffirebase_app_id\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x13\x0A\x0Bdefault_uri\x18\x03 \x01(\x09\x1AO\x0A\x14AndroidAppStreamData\x12\x1C\x0A\x0Ffirebase_app_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cpackage_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x1AK\x0A\x10IosAppStreamData\x12\x1C\x0A\x0Ffirebase_app_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x09bundle_id\x18\x02 \x01(\x09B\x06\xE0A\x05\xE0A\x02\"}\x0A\x0EDataStreamType\x12 \x0A\x1CDATA_STREAM_TYPE_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FWEB_DATA_STREAM\x10\x01\x12\x1B\x0A\x17ANDROID_APP_DATA_STREAM\x10\x02\x12\x17\x0A\x13IOS_APP_DATA_STREAM\x10\x03:^\xEAA[\x0A(analyticsadmin.googleapis.com/DataStream\x12/properties/{property}/dataStreams/{data_stream}B\x0D\x0A\x0Bstream_data\"\xD3\x01\x0A\x0CFirebaseLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x07project\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03:d\xEAAa\x0A*analyticsadmin.googleapis.com/FirebaseLink\x123properties/{property}/firebaseLinks/{firebase_link}\"\x98\x03\x0A\x0DGoogleAdsLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x18\x0A\x0Bcustomer_id\x18\x03 \x01(\x09B\x03\xE0A\x05\x12\x1F\x0A\x12can_manage_clients\x18\x04 \x01(\x08B\x03\xE0A\x03\x12?\x0A\x1Bads_personalization_enabled\x18\x05 \x01(\x0B2\x1A.google.protobuf.BoolValue\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\"\x0A\x15creator_email_address\x18\x09 \x01(\x09B\x03\xE0A\x03:h\xEAAe\x0A+analyticsadmin.googleapis.com/GoogleAdsLink\x126properties/{property}/googleAdsLinks/{google_ads_link}\"\xEB\x02\x0A\x13DataSharingSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12+\x0A#sharing_with_google_support_enabled\x18\x02 \x01(\x08\x122\x0A*sharing_with_google_assigned_sales_enabled\x18\x03 \x01(\x08\x12-\x0A%sharing_with_google_any_sales_enabled\x18\x04 \x01(\x08\x12,\x0A\$sharing_with_google_products_enabled\x18\x05 \x01(\x08\x12#\x0A\x1Bsharing_with_others_enabled\x18\x06 \x01(\x08:^\xEAA[\x0A1analyticsadmin.googleapis.com/DataSharingSettings\x12&accounts/{account}/dataSharingSettings\"\x94\x02\x0A\x0EAccountSummary\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12;\x0A\x07account\x18\x02 \x01(\x09B*\xFAA'\x0A%analyticsadmin.googleapis.com/Account\x12\x14\x0A\x0Cdisplay_name\x18\x03 \x01(\x09\x12J\x0A\x12property_summaries\x18\x04 \x03(\x0B2..google.analytics.admin.v1beta.PropertySummary:U\xEAAR\x0A,analyticsadmin.googleapis.com/AccountSummary\x12\"accountSummaries/{account_summary}\"\xBA\x01\x0A\x0FPropertySummary\x12=\x0A\x08property\x18\x01 \x01(\x09B+\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12B\x0A\x0Dproperty_type\x18\x03 \x01(\x0E2+.google.analytics.admin.v1beta.PropertyType\x12\x0E\x0A\x06parent\x18\x04 \x01(\x09\"\x8E\x02\x0A\x19MeasurementProtocolSecret\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x19\x0A\x0Csecret_value\x18\x03 \x01(\x09B\x03\xE0A\x03:\xA7\x01\xEAA\xA3\x01\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12hproperties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}\"\x88\x02\x0A\x12ChangeHistoryEvent\x12\x0A\x0A\x02id\x18\x01 \x01(\x09\x12/\x0A\x0Bchange_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12<\x0A\x0Aactor_type\x18\x03 \x01(\x0E2(.google.analytics.admin.v1beta.ActorType\x12\x18\x0A\x10user_actor_email\x18\x04 \x01(\x09\x12\x18\x0A\x10changes_filtered\x18\x05 \x01(\x08\x12C\x0A\x07changes\x18\x06 \x03(\x0B22.google.analytics.admin.v1beta.ChangeHistoryChange\"\xAA\x07\x0A\x13ChangeHistoryChange\x12\x10\x0A\x08resource\x18\x01 \x01(\x09\x129\x0A\x06action\x18\x02 \x01(\x0E2).google.analytics.admin.v1beta.ActionType\x12h\x0A\x16resource_before_change\x18\x03 \x01(\x0B2H.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource\x12g\x0A\x15resource_after_change\x18\x04 \x01(\x0B2H.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource\x1A\xF2\x04\x0A\x15ChangeHistoryResource\x129\x0A\x07account\x18\x01 \x01(\x0B2&.google.analytics.admin.v1beta.AccountH\x00\x12;\x0A\x08property\x18\x02 \x01(\x0B2'.google.analytics.admin.v1beta.PropertyH\x00\x12D\x0A\x0Dfirebase_link\x18\x06 \x01(\x0B2+.google.analytics.admin.v1beta.FirebaseLinkH\x00\x12G\x0A\x0Fgoogle_ads_link\x18\x07 \x01(\x0B2,.google.analytics.admin.v1beta.GoogleAdsLinkH\x00\x12J\x0A\x10conversion_event\x18\x0B \x01(\x0B2..google.analytics.admin.v1beta.ConversionEventH\x00\x12_\x0A\x1Bmeasurement_protocol_secret\x18\x0C \x01(\x0B28.google.analytics.admin.v1beta.MeasurementProtocolSecretH\x00\x12W\x0A\x17data_retention_settings\x18\x0F \x01(\x0B24.google.analytics.admin.v1beta.DataRetentionSettingsH\x00\x12@\x0A\x0Bdata_stream\x18\x12 \x01(\x0B2).google.analytics.admin.v1beta.DataStreamH\x00B\x0A\x0A\x08resource\"\xDE\x05\x0A\x0FConversionEvent\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x17\x0A\x0Aevent_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x16\x0A\x09deletable\x18\x04 \x01(\x08B\x03\xE0A\x03\x12\x13\x0A\x06custom\x18\x05 \x01(\x08B\x03\xE0A\x03\x12e\x0A\x0Fcounting_method\x18\x06 \x01(\x0E2G.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethodB\x03\xE0A\x01\x12q\x0A\x18default_conversion_value\x18\x07 \x01(\x0B2E.google.analytics.admin.v1beta.ConversionEvent.DefaultConversionValueB\x03\xE0A\x01H\x00\x88\x01\x01\x1Ad\x0A\x16DefaultConversionValue\x12\x12\x0A\x05value\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x1A\x0A\x0Dcurrency_code\x18\x02 \x01(\x09H\x01\x88\x01\x01B\x08\x0A\x06_valueB\x10\x0A\x0E_currency_code\"p\x0A\x18ConversionCountingMethod\x12*\x0A&CONVERSION_COUNTING_METHOD_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EONCE_PER_EVENT\x10\x01\x12\x14\x0A\x10ONCE_PER_SESSION\x10\x02:m\xEAAj\x0A-analyticsadmin.googleapis.com/ConversionEvent\x129properties/{property}/conversionEvents/{conversion_event}B\x1B\x0A\x19_default_conversion_value\"\xD5\x04\x0A\x08KeyEvent\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x17\x0A\x0Aevent_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x16\x0A\x09deletable\x18\x04 \x01(\x08B\x03\xE0A\x03\x12\x13\x0A\x06custom\x18\x05 \x01(\x08B\x03\xE0A\x03\x12T\x0A\x0Fcounting_method\x18\x06 \x01(\x0E26.google.analytics.admin.v1beta.KeyEvent.CountingMethodB\x03\xE0A\x02\x12P\x0A\x0Ddefault_value\x18\x07 \x01(\x0B24.google.analytics.admin.v1beta.KeyEvent.DefaultValueB\x03\xE0A\x01\x1AF\x0A\x0CDefaultValue\x12\x1A\x0A\x0Dnumeric_value\x18\x01 \x01(\x01B\x03\xE0A\x02\x12\x1A\x0A\x0Dcurrency_code\x18\x02 \x01(\x09B\x03\xE0A\x02\"[\x0A\x0ECountingMethod\x12\x1F\x0A\x1BCOUNTING_METHOD_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EONCE_PER_EVENT\x10\x01\x12\x14\x0A\x10ONCE_PER_SESSION\x10\x02:m\xEAAj\x0A&analyticsadmin.googleapis.com/KeyEvent\x12+properties/{property}/keyEvents/{key_event}*\x09keyEvents2\x08keyEvent\"\xBB\x03\x0A\x0FCustomDimension\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1E\x0A\x0Eparameter_name\x18\x02 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01\x12T\x0A\x05scope\x18\x05 \x01(\x0E2=.google.analytics.admin.v1beta.CustomDimension.DimensionScopeB\x06\xE0A\x02\xE0A\x05\x12)\x0A\x1Cdisallow_ads_personalization\x18\x06 \x01(\x08B\x03\xE0A\x01\"P\x0A\x0EDimensionScope\x12\x1F\x0A\x1BDIMENSION_SCOPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EVENT\x10\x01\x12\x08\x0A\x04USER\x10\x02\x12\x08\x0A\x04ITEM\x10\x03:m\xEAAj\x0A-analyticsadmin.googleapis.com/CustomDimension\x129properties/{property}/customDimensions/{custom_dimension}\"\xC2\x06\x0A\x0CCustomMetric\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1E\x0A\x0Eparameter_name\x18\x02 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01\x12Z\x0A\x10measurement_unit\x18\x05 \x01(\x0E2;.google.analytics.admin.v1beta.CustomMetric.MeasurementUnitB\x03\xE0A\x02\x12N\x0A\x05scope\x18\x06 \x01(\x0E27.google.analytics.admin.v1beta.CustomMetric.MetricScopeB\x06\xE0A\x02\xE0A\x05\x12e\x0A\x16restricted_metric_type\x18\x08 \x03(\x0E2@.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricTypeB\x03\xE0A\x01\"\xB7\x01\x0A\x0FMeasurementUnit\x12 \x0A\x1CMEASUREMENT_UNIT_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08STANDARD\x10\x01\x12\x0C\x0A\x08CURRENCY\x10\x02\x12\x08\x0A\x04FEET\x10\x03\x12\x0A\x0A\x06METERS\x10\x04\x12\x0E\x0A\x0AKILOMETERS\x10\x05\x12\x09\x0A\x05MILES\x10\x06\x12\x10\x0A\x0CMILLISECONDS\x10\x07\x12\x0B\x0A\x07SECONDS\x10\x08\x12\x0B\x0A\x07MINUTES\x10\x09\x12\x09\x0A\x05HOURS\x10\x0A\"6\x0A\x0BMetricScope\x12\x1C\x0A\x18METRIC_SCOPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EVENT\x10\x01\"_\x0A\x14RestrictedMetricType\x12&\x0A\"RESTRICTED_METRIC_TYPE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09COST_DATA\x10\x01\x12\x10\x0A\x0CREVENUE_DATA\x10\x02:d\xEAAa\x0A*analyticsadmin.googleapis.com/CustomMetric\x123properties/{property}/customMetrics/{custom_metric}\"\xB0\x04\x0A\x15DataRetentionSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12i\x0A\x14event_data_retention\x18\x02 \x01(\x0E2F.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDurationB\x03\xE0A\x02\x12h\x0A\x13user_data_retention\x18\x04 \x01(\x0E2F.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDurationB\x03\xE0A\x02\x12'\x0A\x1Freset_user_data_on_new_activity\x18\x03 \x01(\x08\"\x9E\x01\x0A\x11RetentionDuration\x12\"\x0A\x1ERETENTION_DURATION_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0ATWO_MONTHS\x10\x01\x12\x13\x0A\x0FFOURTEEN_MONTHS\x10\x03\x12\x15\x0A\x11TWENTY_SIX_MONTHS\x10\x04\x12\x17\x0A\x13THIRTY_EIGHT_MONTHS\x10\x05\x12\x10\x0A\x0CFIFTY_MONTHS\x10\x06:e\xEAAb\x0A3analyticsadmin.googleapis.com/DataRetentionSettings\x12+properties/{property}/dataRetentionSettings*\xAA\x04\x0A\x10IndustryCategory\x12!\x0A\x1DINDUSTRY_CATEGORY_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AAUTOMOTIVE\x10\x01\x12#\x0A\x1FBUSINESS_AND_INDUSTRIAL_MARKETS\x10\x02\x12\x0B\x0A\x07FINANCE\x10\x03\x12\x0E\x0A\x0AHEALTHCARE\x10\x04\x12\x0E\x0A\x0ATECHNOLOGY\x10\x05\x12\x0A\x0A\x06TRAVEL\x10\x06\x12\x09\x0A\x05OTHER\x10\x07\x12\x1A\x0A\x16ARTS_AND_ENTERTAINMENT\x10\x08\x12\x16\x0A\x12BEAUTY_AND_FITNESS\x10\x09\x12\x18\x0A\x14BOOKS_AND_LITERATURE\x10\x0A\x12\x12\x0A\x0EFOOD_AND_DRINK\x10\x0B\x12\x09\x0A\x05GAMES\x10\x0C\x12\x17\x0A\x13HOBBIES_AND_LEISURE\x10\x0D\x12\x13\x0A\x0FHOME_AND_GARDEN\x10\x0E\x12\x18\x0A\x14INTERNET_AND_TELECOM\x10\x0F\x12\x16\x0A\x12LAW_AND_GOVERNMENT\x10\x10\x12\x08\x0A\x04NEWS\x10\x11\x12\x16\x0A\x12ONLINE_COMMUNITIES\x10\x12\x12\x16\x0A\x12PEOPLE_AND_SOCIETY\x10\x13\x12\x14\x0A\x10PETS_AND_ANIMALS\x10\x14\x12\x0F\x0A\x0BREAL_ESTATE\x10\x15\x12\x0D\x0A\x09REFERENCE\x10\x16\x12\x0B\x0A\x07SCIENCE\x10\x17\x12\x0A\x0A\x06SPORTS\x10\x18\x12\x16\x0A\x12JOBS_AND_EDUCATION\x10\x19\x12\x0C\x0A\x08SHOPPING\x10\x1A*f\x0A\x0CServiceLevel\x12\x1D\x0A\x19SERVICE_LEVEL_UNSPECIFIED\x10\x00\x12\x1D\x0A\x19GOOGLE_ANALYTICS_STANDARD\x10\x01\x12\x18\x0A\x14GOOGLE_ANALYTICS_360\x10\x02*J\x0A\x09ActorType\x12\x1A\x0A\x16ACTOR_TYPE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04USER\x10\x01\x12\x0A\x0A\x06SYSTEM\x10\x02\x12\x0B\x0A\x07SUPPORT\x10\x03*P\x0A\x0AActionType\x12\x1B\x0A\x17ACTION_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07CREATED\x10\x01\x12\x0B\x0A\x07UPDATED\x10\x02\x12\x0B\x0A\x07DELETED\x10\x03*\xA8\x03\x0A\x19ChangeHistoryResourceType\x12,\x0A(CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07ACCOUNT\x10\x01\x12\x0C\x0A\x08PROPERTY\x10\x02\x12\x11\x0A\x0DFIREBASE_LINK\x10\x06\x12\x13\x0A\x0FGOOGLE_ADS_LINK\x10\x07\x12\x1B\x0A\x17GOOGLE_SIGNALS_SETTINGS\x10\x08\x12\x14\x0A\x10CONVERSION_EVENT\x10\x09\x12\x1F\x0A\x1BMEASUREMENT_PROTOCOL_SECRET\x10\x0A\x12\x14\x0A\x10CUSTOM_DIMENSION\x10\x0B\x12\x11\x0A\x0DCUSTOM_METRIC\x10\x0C\x12\x1B\x0A\x17DATA_RETENTION_SETTINGS\x10\x0D\x12%\x0A!DISPLAY_VIDEO_360_ADVERTISER_LINK\x10\x0E\x12.\x0A*DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL\x10\x0F\x12\x0F\x0A\x0BDATA_STREAM\x10\x12\x12\x18\x0A\x14ATTRIBUTION_SETTINGS\x10\x14*\x82\x01\x0A\x0CPropertyType\x12\x1D\x0A\x19PROPERTY_TYPE_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16PROPERTY_TYPE_ORDINARY\x10\x01\x12\x1D\x0A\x19PROPERTY_TYPE_SUBPROPERTY\x10\x02\x12\x18\x0A\x14PROPERTY_TYPE_ROLLUP\x10\x03B\xC9\x01\x0A!com.google.analytics.admin.v1betaB\x0EResourcesProtoP\x01Z=cloud.google.com/go/analytics/admin/apiv1beta/adminpb;adminpb\xEAAR\x0A2marketingplatformadmin.googleapis.com/Organization\x12\x1Corganizations/{organization}b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessBetweenFilter.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessBetweenFilter.php new file mode 100644 index 000000000000..e893c6f50b43 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessBetweenFilter.php @@ -0,0 +1,121 @@ +google.analytics.admin.v1beta.AccessBetweenFilter + */ +class AccessBetweenFilter extends \Google\Protobuf\Internal\Message +{ + /** + * Begins with this number. + * + * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue from_value = 1; + */ + protected $from_value = null; + /** + * Ends with this number. + * + * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue to_value = 2; + */ + protected $to_value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\NumericValue $from_value + * Begins with this number. + * @type \Google\Analytics\Admin\V1beta\NumericValue $to_value + * Ends with this number. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * Begins with this number. + * + * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue from_value = 1; + * @return \Google\Analytics\Admin\V1beta\NumericValue|null + */ + public function getFromValue() + { + return $this->from_value; + } + + public function hasFromValue() + { + return isset($this->from_value); + } + + public function clearFromValue() + { + unset($this->from_value); + } + + /** + * Begins with this number. + * + * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue from_value = 1; + * @param \Google\Analytics\Admin\V1beta\NumericValue $var + * @return $this + */ + public function setFromValue($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\NumericValue::class); + $this->from_value = $var; + + return $this; + } + + /** + * Ends with this number. + * + * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue to_value = 2; + * @return \Google\Analytics\Admin\V1beta\NumericValue|null + */ + public function getToValue() + { + return $this->to_value; + } + + public function hasToValue() + { + return isset($this->to_value); + } + + public function clearToValue() + { + unset($this->to_value); + } + + /** + * Ends with this number. + * + * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue to_value = 2; + * @param \Google\Analytics\Admin\V1beta\NumericValue $var + * @return $this + */ + public function setToValue($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\NumericValue::class); + $this->to_value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDateRange.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDateRange.php new file mode 100644 index 000000000000..b0ddfabc6a85 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDateRange.php @@ -0,0 +1,125 @@ +google.analytics.admin.v1beta.AccessDateRange + */ +class AccessDateRange extends \Google\Protobuf\Internal\Message +{ + /** + * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + * + * Generated from protobuf field string start_date = 1; + */ + protected $start_date = ''; + /** + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + * + * Generated from protobuf field string end_date = 2; + */ + protected $end_date = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $start_date + * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + * @type string $end_date + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + * + * Generated from protobuf field string start_date = 1; + * @return string + */ + public function getStartDate() + { + return $this->start_date; + } + + /** + * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + * accepted, and in that case, the date is inferred based on the current time + * in the request's time zone. + * + * Generated from protobuf field string start_date = 1; + * @param string $var + * @return $this + */ + public function setStartDate($var) + { + GPBUtil::checkString($var, True); + $this->start_date = $var; + + return $this; + } + + /** + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + * + * Generated from protobuf field string end_date = 2; + * @return string + */ + public function getEndDate() + { + return $this->end_date; + } + + /** + * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + * also accepted, and in that case, the date is inferred based on the current + * time in the request's time zone. + * + * Generated from protobuf field string end_date = 2; + * @param string $var + * @return $this + */ + public function setEndDate($var) + { + GPBUtil::checkString($var, True); + $this->end_date = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimension.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimension.php new file mode 100644 index 000000000000..364b27647296 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimension.php @@ -0,0 +1,81 @@ +google.analytics.admin.v1beta.AccessDimension + */ +class AccessDimension extends \Google\Protobuf\Internal\Message +{ + /** + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + * + * Generated from protobuf field string dimension_name = 1; + */ + protected $dimension_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $dimension_name + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + * + * Generated from protobuf field string dimension_name = 1; + * @return string + */ + public function getDimensionName() + { + return $this->dimension_name; + } + + /** + * The API name of the dimension. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of dimensions supported in this API. + * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + * + * Generated from protobuf field string dimension_name = 1; + * @param string $var + * @return $this + */ + public function setDimensionName($var) + { + GPBUtil::checkString($var, True); + $this->dimension_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionHeader.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionHeader.php new file mode 100644 index 000000000000..e348dd0af54a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionHeader.php @@ -0,0 +1,70 @@ +google.analytics.admin.v1beta.AccessDimensionHeader + */ +class AccessDimensionHeader extends \Google\Protobuf\Internal\Message +{ + /** + * The dimension's name; for example 'userEmail'. + * + * Generated from protobuf field string dimension_name = 1; + */ + protected $dimension_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $dimension_name + * The dimension's name; for example 'userEmail'. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The dimension's name; for example 'userEmail'. + * + * Generated from protobuf field string dimension_name = 1; + * @return string + */ + public function getDimensionName() + { + return $this->dimension_name; + } + + /** + * The dimension's name; for example 'userEmail'. + * + * Generated from protobuf field string dimension_name = 1; + * @param string $var + * @return $this + */ + public function setDimensionName($var) + { + GPBUtil::checkString($var, True); + $this->dimension_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionValue.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionValue.php new file mode 100644 index 000000000000..38f54bc20e05 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionValue.php @@ -0,0 +1,71 @@ +google.analytics.admin.v1beta.AccessDimensionValue + */ +class AccessDimensionValue extends \Google\Protobuf\Internal\Message +{ + /** + * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + * + * Generated from protobuf field string value = 1; + */ + protected $value = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $value + * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + * + * Generated from protobuf field string value = 1; + * @return string + */ + public function getValue() + { + return $this->value; + } + + /** + * The dimension value. For example, this value may be 'France' for the + * 'country' dimension. + * + * Generated from protobuf field string value = 1; + * @param string $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkString($var, True); + $this->value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilter.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilter.php new file mode 100644 index 000000000000..4a14564223ba --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilter.php @@ -0,0 +1,208 @@ +google.analytics.admin.v1beta.AccessFilter + */ +class AccessFilter extends \Google\Protobuf\Internal\Message +{ + /** + * The dimension name or metric name. + * + * Generated from protobuf field string field_name = 1; + */ + protected $field_name = ''; + protected $one_filter; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\AccessStringFilter $string_filter + * Strings related filter. + * @type \Google\Analytics\Admin\V1beta\AccessInListFilter $in_list_filter + * A filter for in list values. + * @type \Google\Analytics\Admin\V1beta\AccessNumericFilter $numeric_filter + * A filter for numeric or date values. + * @type \Google\Analytics\Admin\V1beta\AccessBetweenFilter $between_filter + * A filter for two values. + * @type string $field_name + * The dimension name or metric name. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * Strings related filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessStringFilter string_filter = 2; + * @return \Google\Analytics\Admin\V1beta\AccessStringFilter|null + */ + public function getStringFilter() + { + return $this->readOneof(2); + } + + public function hasStringFilter() + { + return $this->hasOneof(2); + } + + /** + * Strings related filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessStringFilter string_filter = 2; + * @param \Google\Analytics\Admin\V1beta\AccessStringFilter $var + * @return $this + */ + public function setStringFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessStringFilter::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * A filter for in list values. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3; + * @return \Google\Analytics\Admin\V1beta\AccessInListFilter|null + */ + public function getInListFilter() + { + return $this->readOneof(3); + } + + public function hasInListFilter() + { + return $this->hasOneof(3); + } + + /** + * A filter for in list values. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3; + * @param \Google\Analytics\Admin\V1beta\AccessInListFilter $var + * @return $this + */ + public function setInListFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessInListFilter::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * A filter for numeric or date values. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4; + * @return \Google\Analytics\Admin\V1beta\AccessNumericFilter|null + */ + public function getNumericFilter() + { + return $this->readOneof(4); + } + + public function hasNumericFilter() + { + return $this->hasOneof(4); + } + + /** + * A filter for numeric or date values. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4; + * @param \Google\Analytics\Admin\V1beta\AccessNumericFilter $var + * @return $this + */ + public function setNumericFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessNumericFilter::class); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * A filter for two values. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5; + * @return \Google\Analytics\Admin\V1beta\AccessBetweenFilter|null + */ + public function getBetweenFilter() + { + return $this->readOneof(5); + } + + public function hasBetweenFilter() + { + return $this->hasOneof(5); + } + + /** + * A filter for two values. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5; + * @param \Google\Analytics\Admin\V1beta\AccessBetweenFilter $var + * @return $this + */ + public function setBetweenFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessBetweenFilter::class); + $this->writeOneof(5, $var); + + return $this; + } + + /** + * The dimension name or metric name. + * + * Generated from protobuf field string field_name = 1; + * @return string + */ + public function getFieldName() + { + return $this->field_name; + } + + /** + * The dimension name or metric name. + * + * Generated from protobuf field string field_name = 1; + * @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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpression.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpression.php new file mode 100644 index 000000000000..cb1381f94acf --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpression.php @@ -0,0 +1,178 @@ +google.analytics.admin.v1beta.AccessFilterExpression + */ +class AccessFilterExpression extends \Google\Protobuf\Internal\Message +{ + protected $one_expression; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\AccessFilterExpressionList $and_group + * Each of the FilterExpressions in the and_group has an AND relationship. + * @type \Google\Analytics\Admin\V1beta\AccessFilterExpressionList $or_group + * Each of the FilterExpressions in the or_group has an OR relationship. + * @type \Google\Analytics\Admin\V1beta\AccessFilterExpression $not_expression + * The FilterExpression is NOT of not_expression. + * @type \Google\Analytics\Admin\V1beta\AccessFilter $access_filter + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * Each of the FilterExpressions in the and_group has an AND relationship. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1; + * @return \Google\Analytics\Admin\V1beta\AccessFilterExpressionList|null + */ + public function getAndGroup() + { + return $this->readOneof(1); + } + + public function hasAndGroup() + { + return $this->hasOneof(1); + } + + /** + * Each of the FilterExpressions in the and_group has an AND relationship. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1; + * @param \Google\Analytics\Admin\V1beta\AccessFilterExpressionList $var + * @return $this + */ + public function setAndGroup($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessFilterExpressionList::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * Each of the FilterExpressions in the or_group has an OR relationship. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2; + * @return \Google\Analytics\Admin\V1beta\AccessFilterExpressionList|null + */ + public function getOrGroup() + { + return $this->readOneof(2); + } + + public function hasOrGroup() + { + return $this->hasOneof(2); + } + + /** + * Each of the FilterExpressions in the or_group has an OR relationship. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2; + * @param \Google\Analytics\Admin\V1beta\AccessFilterExpressionList $var + * @return $this + */ + public function setOrGroup($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessFilterExpressionList::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * The FilterExpression is NOT of not_expression. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; + * @return \Google\Analytics\Admin\V1beta\AccessFilterExpression|null + */ + public function getNotExpression() + { + return $this->readOneof(3); + } + + public function hasNotExpression() + { + return $this->hasOneof(3); + } + + /** + * The FilterExpression is NOT of not_expression. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; + * @param \Google\Analytics\Admin\V1beta\AccessFilterExpression $var + * @return $this + */ + public function setNotExpression($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessFilterExpression::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilter access_filter = 4; + * @return \Google\Analytics\Admin\V1beta\AccessFilter|null + */ + public function getAccessFilter() + { + return $this->readOneof(4); + } + + public function hasAccessFilter() + { + return $this->hasOneof(4); + } + + /** + * A primitive filter. In the same FilterExpression, all of the filter's + * field names need to be either all dimensions or all metrics. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilter access_filter = 4; + * @param \Google\Analytics\Admin\V1beta\AccessFilter $var + * @return $this + */ + public function setAccessFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessFilter::class); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * @return string + */ + public function getOneExpression() + { + return $this->whichOneof("one_expression"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpressionList.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpressionList.php new file mode 100644 index 000000000000..02b7440e056c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpressionList.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1beta.AccessFilterExpressionList + */ +class AccessFilterExpressionList extends \Google\Protobuf\Internal\Message +{ + /** + * A list of filter expressions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessFilterExpression expressions = 1; + */ + private $expressions; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\AccessFilterExpression[] $expressions + * A list of filter expressions. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * A list of filter expressions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessFilterExpression expressions = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessFilterExpression> + */ + public function getExpressions() + { + return $this->expressions; + } + + /** + * A list of filter expressions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessFilterExpression expressions = 1; + * @param \Google\Analytics\Admin\V1beta\AccessFilterExpression[] $var + * @return $this + */ + public function setExpressions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessFilterExpression::class); + $this->expressions = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessInListFilter.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessInListFilter.php new file mode 100644 index 000000000000..e1ac33f55dfe --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessInListFilter.php @@ -0,0 +1,101 @@ +google.analytics.admin.v1beta.AccessInListFilter + */ +class AccessInListFilter extends \Google\Protobuf\Internal\Message +{ + /** + * The list of string values. Must be non-empty. + * + * Generated from protobuf field repeated string values = 1; + */ + private $values; + /** + * If true, the string value is case sensitive. + * + * Generated from protobuf field bool case_sensitive = 2; + */ + protected $case_sensitive = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $values + * The list of string values. Must be non-empty. + * @type bool $case_sensitive + * If true, the string value is case sensitive. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The list of string values. Must be non-empty. + * + * Generated from protobuf field repeated string values = 1; + * @return RepeatedField + */ + public function getValues() + { + return $this->values; + } + + /** + * The list of string values. Must be non-empty. + * + * Generated from protobuf field repeated string values = 1; + * @param string[] $var + * @return $this + */ + public function setValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->values = $arr; + + return $this; + } + + /** + * If true, the string value is case sensitive. + * + * Generated from protobuf field bool case_sensitive = 2; + * @return bool + */ + public function getCaseSensitive() + { + return $this->case_sensitive; + } + + /** + * If true, the string value is case sensitive. + * + * Generated from protobuf field bool case_sensitive = 2; + * @param bool $var + * @return $this + */ + public function setCaseSensitive($var) + { + GPBUtil::checkBool($var); + $this->case_sensitive = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetric.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetric.php new file mode 100644 index 000000000000..bbdcff87a533 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetric.php @@ -0,0 +1,80 @@ +google.analytics.admin.v1beta.AccessMetric + */ +class AccessMetric extends \Google\Protobuf\Internal\Message +{ + /** + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + * + * Generated from protobuf field string metric_name = 1; + */ + protected $metric_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $metric_name + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + * + * Generated from protobuf field string metric_name = 1; + * @return string + */ + public function getMetricName() + { + return $this->metric_name; + } + + /** + * The API name of the metric. See [Data Access + * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + * for the list of metrics supported in this API. + * Metrics are referenced by name in `metricFilter` & `orderBys`. + * + * Generated from protobuf field string metric_name = 1; + * @param string $var + * @return $this + */ + public function setMetricName($var) + { + GPBUtil::checkString($var, True); + $this->metric_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricHeader.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricHeader.php new file mode 100644 index 000000000000..7389352c8145 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricHeader.php @@ -0,0 +1,70 @@ +google.analytics.admin.v1beta.AccessMetricHeader + */ +class AccessMetricHeader extends \Google\Protobuf\Internal\Message +{ + /** + * The metric's name; for example 'accessCount'. + * + * Generated from protobuf field string metric_name = 1; + */ + protected $metric_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $metric_name + * The metric's name; for example 'accessCount'. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The metric's name; for example 'accessCount'. + * + * Generated from protobuf field string metric_name = 1; + * @return string + */ + public function getMetricName() + { + return $this->metric_name; + } + + /** + * The metric's name; for example 'accessCount'. + * + * Generated from protobuf field string metric_name = 1; + * @param string $var + * @return $this + */ + public function setMetricName($var) + { + GPBUtil::checkString($var, True); + $this->metric_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricValue.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricValue.php new file mode 100644 index 000000000000..f441e3f9258e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricValue.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1beta.AccessMetricValue + */ +class AccessMetricValue extends \Google\Protobuf\Internal\Message +{ + /** + * The measurement value. For example, this value may be '13'. + * + * Generated from protobuf field string value = 1; + */ + protected $value = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $value + * The measurement value. For example, this value may be '13'. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The measurement value. For example, this value may be '13'. + * + * Generated from protobuf field string value = 1; + * @return string + */ + public function getValue() + { + return $this->value; + } + + /** + * The measurement value. For example, this value may be '13'. + * + * Generated from protobuf field string value = 1; + * @param string $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkString($var, True); + $this->value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter.php new file mode 100644 index 000000000000..91248b403a48 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter.php @@ -0,0 +1,111 @@ +google.analytics.admin.v1beta.AccessNumericFilter + */ +class AccessNumericFilter extends \Google\Protobuf\Internal\Message +{ + /** + * The operation type for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessNumericFilter.Operation operation = 1; + */ + protected $operation = 0; + /** + * A numeric value or a date value. + * + * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue value = 2; + */ + protected $value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $operation + * The operation type for this filter. + * @type \Google\Analytics\Admin\V1beta\NumericValue $value + * A numeric value or a date value. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The operation type for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessNumericFilter.Operation operation = 1; + * @return int + */ + public function getOperation() + { + return $this->operation; + } + + /** + * The operation type for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessNumericFilter.Operation operation = 1; + * @param int $var + * @return $this + */ + public function setOperation($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\AccessNumericFilter\Operation::class); + $this->operation = $var; + + return $this; + } + + /** + * A numeric value or a date value. + * + * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue value = 2; + * @return \Google\Analytics\Admin\V1beta\NumericValue|null + */ + public function getValue() + { + return $this->value; + } + + public function hasValue() + { + return isset($this->value); + } + + public function clearValue() + { + unset($this->value); + } + + /** + * A numeric value or a date value. + * + * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue value = 2; + * @param \Google\Analytics\Admin\V1beta\NumericValue $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\NumericValue::class); + $this->value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter/Operation.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter/Operation.php new file mode 100644 index 000000000000..a11600aec4f0 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter/Operation.php @@ -0,0 +1,82 @@ +google.analytics.admin.v1beta.AccessNumericFilter.Operation + */ +class Operation +{ + /** + * Unspecified. + * + * Generated from protobuf enum OPERATION_UNSPECIFIED = 0; + */ + const OPERATION_UNSPECIFIED = 0; + /** + * Equal + * + * Generated from protobuf enum EQUAL = 1; + */ + const EQUAL = 1; + /** + * Less than + * + * 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) + { + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy.php new file mode 100644 index 000000000000..01fdcdfa13c9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy.php @@ -0,0 +1,148 @@ +google.analytics.admin.v1beta.AccessOrderBy + */ +class AccessOrderBy extends \Google\Protobuf\Internal\Message +{ + /** + * If true, sorts by descending order. If false or unspecified, sorts in + * ascending order. + * + * Generated from protobuf field bool desc = 3; + */ + protected $desc = false; + protected $one_order_by; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\AccessOrderBy\MetricOrderBy $metric + * Sorts results by a metric's values. + * @type \Google\Analytics\Admin\V1beta\AccessOrderBy\DimensionOrderBy $dimension + * Sorts results by a dimension's values. + * @type bool $desc + * If true, sorts by descending order. If false or unspecified, sorts in + * ascending order. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * Sorts results by a metric's values. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1; + * @return \Google\Analytics\Admin\V1beta\AccessOrderBy\MetricOrderBy|null + */ + public function getMetric() + { + return $this->readOneof(1); + } + + public function hasMetric() + { + return $this->hasOneof(1); + } + + /** + * Sorts results by a metric's values. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1; + * @param \Google\Analytics\Admin\V1beta\AccessOrderBy\MetricOrderBy $var + * @return $this + */ + public function setMetric($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessOrderBy\MetricOrderBy::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * Sorts results by a dimension's values. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; + * @return \Google\Analytics\Admin\V1beta\AccessOrderBy\DimensionOrderBy|null + */ + public function getDimension() + { + return $this->readOneof(2); + } + + public function hasDimension() + { + return $this->hasOneof(2); + } + + /** + * Sorts results by a dimension's values. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; + * @param \Google\Analytics\Admin\V1beta\AccessOrderBy\DimensionOrderBy $var + * @return $this + */ + public function setDimension($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessOrderBy\DimensionOrderBy::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * If true, sorts by descending order. If false or unspecified, sorts in + * ascending order. + * + * Generated from protobuf field bool desc = 3; + * @return bool + */ + public function getDesc() + { + return $this->desc; + } + + /** + * If true, sorts by descending order. If false or unspecified, sorts in + * ascending order. + * + * Generated from protobuf field bool desc = 3; + * @param bool $var + * @return $this + */ + public function setDesc($var) + { + GPBUtil::checkBool($var); + $this->desc = $var; + + return $this; + } + + /** + * @return string + */ + public function getOneOrderBy() + { + return $this->whichOneof("one_order_by"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy.php new file mode 100644 index 000000000000..80dbe9b07aa3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy.php @@ -0,0 +1,101 @@ +google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy + */ +class DimensionOrderBy extends \Google\Protobuf\Internal\Message +{ + /** + * A dimension name in the request to order by. + * + * Generated from protobuf field string dimension_name = 1; + */ + protected $dimension_name = ''; + /** + * Controls the rule for dimension value ordering. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + */ + protected $order_type = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $dimension_name + * A dimension name in the request to order by. + * @type int $order_type + * Controls the rule for dimension value ordering. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * A dimension name in the request to order by. + * + * Generated from protobuf field string dimension_name = 1; + * @return string + */ + public function getDimensionName() + { + return $this->dimension_name; + } + + /** + * A dimension name in the request to order by. + * + * Generated from protobuf field string dimension_name = 1; + * @param string $var + * @return $this + */ + public function setDimensionName($var) + { + GPBUtil::checkString($var, True); + $this->dimension_name = $var; + + return $this; + } + + /** + * Controls the rule for dimension value ordering. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * @return int + */ + public function getOrderType() + { + return $this->order_type; + } + + /** + * Controls the rule for dimension value ordering. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * @param int $var + * @return $this + */ + public function setOrderType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\AccessOrderBy\DimensionOrderBy\OrderType::class); + $this->order_type = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy/OrderType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy/OrderType.php new file mode 100644 index 000000000000..07970e3cacc7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy/OrderType.php @@ -0,0 +1,73 @@ +google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType + */ +class OrderType +{ + /** + * Unspecified. + * + * Generated from protobuf enum ORDER_TYPE_UNSPECIFIED = 0; + */ + const ORDER_TYPE_UNSPECIFIED = 0; + /** + * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" < + * "b" < "z". + * + * Generated from protobuf enum ALPHANUMERIC = 1; + */ + const ALPHANUMERIC = 1; + /** + * Case insensitive alphanumeric sort by lower case Unicode code point. + * For example, "2" < "A" < "b" < "X" < "z". + * + * Generated from protobuf enum CASE_INSENSITIVE_ALPHANUMERIC = 2; + */ + const CASE_INSENSITIVE_ALPHANUMERIC = 2; + /** + * Dimension values are converted to numbers before sorting. For example + * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" < + * "25". Non-numeric dimension values all have equal ordering value below + * all numeric values. + * + * Generated from protobuf enum NUMERIC = 3; + */ + const NUMERIC = 3; + + private static $valueToName = [ + self::ORDER_TYPE_UNSPECIFIED => 'ORDER_TYPE_UNSPECIFIED', + self::ALPHANUMERIC => 'ALPHANUMERIC', + self::CASE_INSENSITIVE_ALPHANUMERIC => 'CASE_INSENSITIVE_ALPHANUMERIC', + self::NUMERIC => 'NUMERIC', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/MetricOrderBy.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/MetricOrderBy.php new file mode 100644 index 000000000000..8a8124a4783c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/MetricOrderBy.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy + */ +class MetricOrderBy extends \Google\Protobuf\Internal\Message +{ + /** + * A metric name in the request to order by. + * + * Generated from protobuf field string metric_name = 1; + */ + protected $metric_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $metric_name + * A metric name in the request to order by. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * A metric name in the request to order by. + * + * Generated from protobuf field string metric_name = 1; + * @return string + */ + public function getMetricName() + { + return $this->metric_name; + } + + /** + * A metric name in the request to order by. + * + * Generated from protobuf field string metric_name = 1; + * @param string $var + * @return $this + */ + public function setMetricName($var) + { + GPBUtil::checkString($var, True); + $this->metric_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuota.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuota.php new file mode 100644 index 000000000000..50f61f441f4c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuota.php @@ -0,0 +1,283 @@ +google.analytics.admin.v1beta.AccessQuota + */ +class AccessQuota extends \Google\Protobuf\Internal\Message +{ + /** + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_day = 1; + */ + protected $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 all of the hourly, + * daily, and per project hourly quotas. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_hour = 2; + */ + protected $tokens_per_hour = null; + /** + * Properties can use up to 50 concurrent requests. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; + */ + protected $concurrent_requests = null; + /** + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + */ + protected $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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + */ + protected $tokens_per_project_per_hour = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\AccessQuotaStatus $tokens_per_day + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + * @type \Google\Analytics\Admin\V1beta\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 all of the hourly, + * daily, and per project hourly quotas. + * @type \Google\Analytics\Admin\V1beta\AccessQuotaStatus $concurrent_requests + * Properties can use up to 50 concurrent requests. + * @type \Google\Analytics\Admin\V1beta\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\V1beta\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) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_day = 1; + * @return \Google\Analytics\Admin\V1beta\AccessQuotaStatus|null + */ + public function getTokensPerDay() + { + return $this->tokens_per_day; + } + + public function hasTokensPerDay() + { + return isset($this->tokens_per_day); + } + + public function clearTokensPerDay() + { + unset($this->tokens_per_day); + } + + /** + * Properties can use 250,000 tokens per day. Most requests consume fewer than + * 10 tokens. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_day = 1; + * @param \Google\Analytics\Admin\V1beta\AccessQuotaStatus $var + * @return $this + */ + public function setTokensPerDay($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessQuotaStatus::class); + $this->tokens_per_day = $var; + + return $this; + } + + /** + * Properties can use 50,000 tokens 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.v1beta.AccessQuotaStatus tokens_per_hour = 2; + * @return \Google\Analytics\Admin\V1beta\AccessQuotaStatus|null + */ + public function getTokensPerHour() + { + return $this->tokens_per_hour; + } + + public function hasTokensPerHour() + { + return isset($this->tokens_per_hour); + } + + public function clearTokensPerHour() + { + unset($this->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 all of the hourly, + * daily, and per project hourly quotas. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_hour = 2; + * @param \Google\Analytics\Admin\V1beta\AccessQuotaStatus $var + * @return $this + */ + public function setTokensPerHour($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessQuotaStatus::class); + $this->tokens_per_hour = $var; + + return $this; + } + + /** + * Properties can use up to 50 concurrent requests. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; + * @return \Google\Analytics\Admin\V1beta\AccessQuotaStatus|null + */ + public function getConcurrentRequests() + { + return $this->concurrent_requests; + } + + public function hasConcurrentRequests() + { + return isset($this->concurrent_requests); + } + + public function clearConcurrentRequests() + { + unset($this->concurrent_requests); + } + + /** + * Properties can use up to 50 concurrent requests. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; + * @param \Google\Analytics\Admin\V1beta\AccessQuotaStatus $var + * @return $this + */ + public function setConcurrentRequests($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessQuotaStatus::class); + $this->concurrent_requests = $var; + + return $this; + } + + /** + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * @return \Google\Analytics\Admin\V1beta\AccessQuotaStatus|null + */ + public function getServerErrorsPerProjectPerHour() + { + return $this->server_errors_per_project_per_hour; + } + + public function hasServerErrorsPerProjectPerHour() + { + return isset($this->server_errors_per_project_per_hour); + } + + public function clearServerErrorsPerProjectPerHour() + { + unset($this->server_errors_per_project_per_hour); + } + + /** + * Properties and cloud project pairs can have up to 50 server errors per + * hour. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * @param \Google\Analytics\Admin\V1beta\AccessQuotaStatus $var + * @return $this + */ + public function setServerErrorsPerProjectPerHour($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessQuotaStatus::class); + $this->server_errors_per_project_per_hour = $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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * @return \Google\Analytics\Admin\V1beta\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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * @param \Google\Analytics\Admin\V1beta\AccessQuotaStatus $var + * @return $this + */ + public function setTokensPerProjectPerHour($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessQuotaStatus::class); + $this->tokens_per_project_per_hour = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuotaStatus.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuotaStatus.php new file mode 100644 index 000000000000..7c4078cefe60 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuotaStatus.php @@ -0,0 +1,101 @@ +google.analytics.admin.v1beta.AccessQuotaStatus + */ +class AccessQuotaStatus extends \Google\Protobuf\Internal\Message +{ + /** + * Quota consumed by this request. + * + * Generated from protobuf field int32 consumed = 1; + */ + protected $consumed = 0; + /** + * Quota remaining after this request. + * + * Generated from protobuf field int32 remaining = 2; + */ + protected $remaining = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $consumed + * Quota consumed by this request. + * @type int $remaining + * Quota remaining after this request. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * Quota consumed by this request. + * + * Generated from protobuf field int32 consumed = 1; + * @return int + */ + public function getConsumed() + { + return $this->consumed; + } + + /** + * Quota consumed by this request. + * + * Generated from protobuf field int32 consumed = 1; + * @param int $var + * @return $this + */ + public function setConsumed($var) + { + GPBUtil::checkInt32($var); + $this->consumed = $var; + + return $this; + } + + /** + * Quota remaining after this request. + * + * Generated from protobuf field int32 remaining = 2; + * @return int + */ + public function getRemaining() + { + return $this->remaining; + } + + /** + * Quota remaining after this request. + * + * Generated from protobuf field int32 remaining = 2; + * @param int $var + * @return $this + */ + public function setRemaining($var) + { + GPBUtil::checkInt32($var); + $this->remaining = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessRow.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessRow.php new file mode 100644 index 000000000000..557d3be1295e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessRow.php @@ -0,0 +1,109 @@ +google.analytics.admin.v1beta.AccessRow + */ +class AccessRow extends \Google\Protobuf\Internal\Message +{ + /** + * List of dimension values. These values are in the same order as specified + * in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + */ + private $dimension_values; + /** + * List of metric values. These values are in the same order as specified + * in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetricValue metric_values = 2; + */ + private $metric_values; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\AccessDimensionValue[] $dimension_values + * List of dimension values. These values are in the same order as specified + * in the request. + * @type \Google\Analytics\Admin\V1beta\AccessMetricValue[] $metric_values + * List of metric values. These values are in the same order as specified + * in the request. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * List of dimension values. These values are in the same order as specified + * in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessDimensionValue> + */ + public function getDimensionValues() + { + return $this->dimension_values; + } + + /** + * List of dimension values. These values are in the same order as specified + * in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * @param \Google\Analytics\Admin\V1beta\AccessDimensionValue[] $var + * @return $this + */ + public function setDimensionValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessDimensionValue::class); + $this->dimension_values = $arr; + + return $this; + } + + /** + * List of metric values. These values are in the same order as specified + * in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetricValue metric_values = 2; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessMetricValue> + */ + public function getMetricValues() + { + return $this->metric_values; + } + + /** + * List of metric values. These values are in the same order as specified + * in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetricValue metric_values = 2; + * @param \Google\Analytics\Admin\V1beta\AccessMetricValue[] $var + * @return $this + */ + public function setMetricValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessMetricValue::class); + $this->metric_values = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter.php new file mode 100644 index 000000000000..b7139d0338e1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter.php @@ -0,0 +1,135 @@ +google.analytics.admin.v1beta.AccessStringFilter + */ +class AccessStringFilter extends \Google\Protobuf\Internal\Message +{ + /** + * The match type for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessStringFilter.MatchType match_type = 1; + */ + protected $match_type = 0; + /** + * The string value used for the matching. + * + * Generated from protobuf field string value = 2; + */ + protected $value = ''; + /** + * If true, the string value is case sensitive. + * + * Generated from protobuf field bool case_sensitive = 3; + */ + protected $case_sensitive = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $match_type + * The match type for this filter. + * @type string $value + * The string value used for the matching. + * @type bool $case_sensitive + * If true, the string value is case sensitive. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * The match type for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessStringFilter.MatchType match_type = 1; + * @return int + */ + public function getMatchType() + { + return $this->match_type; + } + + /** + * The match type for this filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessStringFilter.MatchType match_type = 1; + * @param int $var + * @return $this + */ + public function setMatchType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\AccessStringFilter\MatchType::class); + $this->match_type = $var; + + return $this; + } + + /** + * The string value used for the matching. + * + * Generated from protobuf field string value = 2; + * @return string + */ + public function getValue() + { + return $this->value; + } + + /** + * The string value used for the matching. + * + * Generated from protobuf field string value = 2; + * @param string $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkString($var, True); + $this->value = $var; + + return $this; + } + + /** + * If true, the string value is case sensitive. + * + * Generated from protobuf field bool case_sensitive = 3; + * @return bool + */ + public function getCaseSensitive() + { + return $this->case_sensitive; + } + + /** + * If true, the string value is case sensitive. + * + * Generated from protobuf field bool case_sensitive = 3; + * @param bool $var + * @return $this + */ + public function setCaseSensitive($var) + { + GPBUtil::checkBool($var); + $this->case_sensitive = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter/MatchType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter/MatchType.php new file mode 100644 index 000000000000..f641f6c1572c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter/MatchType.php @@ -0,0 +1,89 @@ +google.analytics.admin.v1beta.AccessStringFilter.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; + /** + * Begins with the string value. + * + * Generated from protobuf enum BEGINS_WITH = 2; + */ + const BEGINS_WITH = 2; + /** + * Ends with the string value. + * + * Generated from protobuf enum ENDS_WITH = 3; + */ + const ENDS_WITH = 3; + /** + * Contains the string value. + * + * Generated from protobuf enum CONTAINS = 4; + */ + const CONTAINS = 4; + /** + * Full match for the regular expression with the string value. + * + * Generated from protobuf enum FULL_REGEXP = 5; + */ + const FULL_REGEXP = 5; + /** + * Partial match for the regular expression 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', + self::EXACT => 'EXACT', + self::BEGINS_WITH => 'BEGINS_WITH', + self::ENDS_WITH => 'ENDS_WITH', + self::CONTAINS => 'CONTAINS', + self::FULL_REGEXP => 'FULL_REGEXP', + self::PARTIAL_REGEXP => 'PARTIAL_REGEXP', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Account.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Account.php new file mode 100644 index 000000000000..3c5f10465afb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Account.php @@ -0,0 +1,311 @@ +google.analytics.admin.v1beta.Account + */ +class Account extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name of this account. + * Format: accounts/{account} + * Example: "accounts/100" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Output only. Time when this account was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. Time when account payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + /** + * Required. Human-readable display name for this account. + * + * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Country of business. Must be a Unicode CLDR region code. + * + * Generated from protobuf field string region_code = 5; + */ + protected $region_code = ''; + /** + * Output only. Indicates whether this Account is soft-deleted or not. Deleted + * accounts are excluded from List results unless specifically requested. + * + * Generated from protobuf field bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $deleted = false; + /** + * Output only. The URI for a Google Marketing Platform organization resource. + * Only set when this account is connected to a GMP organization. + * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} + * + * Generated from protobuf field string gmp_organization = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $gmp_organization = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name of this account. + * Format: accounts/{account} + * Example: "accounts/100" + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Time when this account was originally created. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. Time when account payload fields were last updated. + * @type string $display_name + * Required. Human-readable display name for this account. + * @type string $region_code + * Country of business. Must be a Unicode CLDR region code. + * @type bool $deleted + * Output only. Indicates whether this Account is soft-deleted or not. Deleted + * accounts are excluded from List results unless specifically requested. + * @type string $gmp_organization + * Output only. The URI for a Google Marketing Platform organization resource. + * Only set when this account is connected to a GMP organization. + * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name of this account. + * Format: accounts/{account} + * Example: "accounts/100" + * + * 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 account. + * Format: accounts/{account} + * Example: "accounts/100" + * + * 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; + } + + /** + * Output only. Time when this account was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.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 this account was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.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; + } + + /** + * Output only. Time when account payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. Time when account payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * Required. Human-readable display name for this account. + * + * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Required. Human-readable display name for this account. + * + * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Country of business. Must be a Unicode CLDR region code. + * + * Generated from protobuf field string region_code = 5; + * @return string + */ + public function getRegionCode() + { + return $this->region_code; + } + + /** + * Country of business. Must be a Unicode CLDR region code. + * + * Generated from protobuf field string region_code = 5; + * @param string $var + * @return $this + */ + public function setRegionCode($var) + { + GPBUtil::checkString($var, True); + $this->region_code = $var; + + return $this; + } + + /** + * Output only. Indicates whether this Account is soft-deleted or not. Deleted + * accounts are excluded from List results unless specifically requested. + * + * Generated from protobuf field bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getDeleted() + { + return $this->deleted; + } + + /** + * Output only. Indicates whether this Account is soft-deleted or not. Deleted + * accounts are excluded from List results unless specifically requested. + * + * Generated from protobuf field bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setDeleted($var) + { + GPBUtil::checkBool($var); + $this->deleted = $var; + + return $this; + } + + /** + * Output only. The URI for a Google Marketing Platform organization resource. + * Only set when this account is connected to a GMP organization. + * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} + * + * Generated from protobuf field string gmp_organization = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getGmpOrganization() + { + return $this->gmp_organization; + } + + /** + * Output only. The URI for a Google Marketing Platform organization resource. + * Only set when this account is connected to a GMP organization. + * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} + * + * Generated from protobuf field string gmp_organization = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setGmpOrganization($var) + { + GPBUtil::checkString($var, True); + $this->gmp_organization = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccountSummary.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccountSummary.php new file mode 100644 index 000000000000..f509f7934feb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccountSummary.php @@ -0,0 +1,186 @@ +google.analytics.admin.v1beta.AccountSummary + */ +class AccountSummary extends \Google\Protobuf\Internal\Message +{ + /** + * Resource name for this account summary. + * Format: accountSummaries/{account_id} + * Example: "accountSummaries/1000" + * + * Generated from protobuf field string name = 1; + */ + protected $name = ''; + /** + * Resource name of account referred to by this account summary + * Format: accounts/{account_id} + * Example: "accounts/1000" + * + * Generated from protobuf field string account = 2 [(.google.api.resource_reference) = { + */ + protected $account = ''; + /** + * Display name for the account referred to in this account summary. + * + * Generated from protobuf field string display_name = 3; + */ + protected $display_name = ''; + /** + * List of summaries for child accounts of this account. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; + */ + private $property_summaries; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Resource name for this account summary. + * Format: accountSummaries/{account_id} + * Example: "accountSummaries/1000" + * @type string $account + * Resource name of account referred to by this account summary + * Format: accounts/{account_id} + * Example: "accounts/1000" + * @type string $display_name + * Display name for the account referred to in this account summary. + * @type \Google\Analytics\Admin\V1beta\PropertySummary[] $property_summaries + * List of summaries for child accounts of this account. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Resource name for this account summary. + * Format: accountSummaries/{account_id} + * Example: "accountSummaries/1000" + * + * Generated from protobuf field string name = 1; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Resource name for this account summary. + * Format: accountSummaries/{account_id} + * Example: "accountSummaries/1000" + * + * Generated from protobuf field string name = 1; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Resource name of account referred to by this account summary + * Format: accounts/{account_id} + * Example: "accounts/1000" + * + * Generated from protobuf field string account = 2 [(.google.api.resource_reference) = { + * @return string + */ + public function getAccount() + { + return $this->account; + } + + /** + * Resource name of account referred to by this account summary + * Format: accounts/{account_id} + * Example: "accounts/1000" + * + * Generated from protobuf field string account = 2 [(.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setAccount($var) + { + GPBUtil::checkString($var, True); + $this->account = $var; + + return $this; + } + + /** + * Display name for the account referred to in this account summary. + * + * Generated from protobuf field string display_name = 3; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Display name for the account referred to in this account summary. + * + * Generated from protobuf field string display_name = 3; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * List of summaries for child accounts of this account. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\PropertySummary> + */ + public function getPropertySummaries() + { + return $this->property_summaries; + } + + /** + * List of summaries for child accounts of this account. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; + * @param \Google\Analytics\Admin\V1beta\PropertySummary[] $var + * @return $this + */ + public function setPropertySummaries($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\PropertySummary::class); + $this->property_summaries = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionRequest.php new file mode 100644 index 000000000000..984543b06560 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionRequest.php @@ -0,0 +1,125 @@ +google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest + */ +class AcknowledgeUserDataCollectionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The property for which to acknowledge user data collection. + * + * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $property = ''; + /** + * 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, + * including the association of such data with the visitation information + * Google Analytics collects from my site and/or app property." + * + * Generated from protobuf field string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $acknowledgement = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @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. + * 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, + * including the association of such data with the visitation information + * Google Analytics collects from my site and/or app property." + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The property for which to acknowledge user data collection. + * + * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getProperty() + { + return $this->property; + } + + /** + * Required. The property for which to acknowledge user data collection. + * + * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkString($var, True); + $this->property = $var; + + return $this; + } + + /** + * 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, + * including the association of such data with the visitation information + * Google Analytics collects from my site and/or app property." + * + * Generated from protobuf field string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getAcknowledgement() + { + return $this->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 + * from my end users for the collection and processing of their data, + * including the association of such data with the visitation information + * Google Analytics collects from my site and/or app property." + * + * Generated from protobuf field string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setAcknowledgement($var) + { + GPBUtil::checkString($var, True); + $this->acknowledgement = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionResponse.php new file mode 100644 index 000000000000..22f7f4e0e71f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionResponse.php @@ -0,0 +1,33 @@ +google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse + */ +class AcknowledgeUserDataCollectionResponse 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\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActionType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActionType.php new file mode 100644 index 000000000000..5001ae077d5e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActionType.php @@ -0,0 +1,68 @@ +google.analytics.admin.v1beta.ActionType + */ +class ActionType +{ + /** + * Action type unknown or not specified. + * + * Generated from protobuf enum ACTION_TYPE_UNSPECIFIED = 0; + */ + const ACTION_TYPE_UNSPECIFIED = 0; + /** + * Resource was created in this change. + * + * Generated from protobuf enum CREATED = 1; + */ + const CREATED = 1; + /** + * Resource was updated in this change. + * + * Generated from protobuf enum UPDATED = 2; + */ + const UPDATED = 2; + /** + * Resource was deleted in this change. + * + * Generated from protobuf enum DELETED = 3; + */ + const DELETED = 3; + + private static $valueToName = [ + self::ACTION_TYPE_UNSPECIFIED => 'ACTION_TYPE_UNSPECIFIED', + self::CREATED => 'CREATED', + self::UPDATED => 'UPDATED', + self::DELETED => 'DELETED', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActorType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActorType.php new file mode 100644 index 000000000000..0e897307b8c9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActorType.php @@ -0,0 +1,69 @@ +google.analytics.admin.v1beta.ActorType + */ +class ActorType +{ + /** + * Unknown or unspecified actor type. + * + * Generated from protobuf enum ACTOR_TYPE_UNSPECIFIED = 0; + */ + const ACTOR_TYPE_UNSPECIFIED = 0; + /** + * Changes made by the user specified in actor_email. + * + * Generated from protobuf enum USER = 1; + */ + const USER = 1; + /** + * Changes made by the Google Analytics system. + * + * Generated from protobuf enum SYSTEM = 2; + */ + const SYSTEM = 2; + /** + * Changes made by Google Analytics support team staff. + * + * Generated from protobuf enum SUPPORT = 3; + */ + const SUPPORT = 3; + + private static $valueToName = [ + self::ACTOR_TYPE_UNSPECIFIED => 'ACTOR_TYPE_UNSPECIFIED', + self::USER => 'USER', + self::SYSTEM => 'SYSTEM', + self::SUPPORT => 'SUPPORT', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomDimensionRequest.php new file mode 100644 index 000000000000..a4d1488ffeee --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomDimensionRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1beta.ArchiveCustomDimensionRequest + */ +class ArchiveCustomDimensionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the CustomDimension to archive. + * Example format: properties/1234/customDimensions/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the CustomDimension to archive. + * Example format: properties/1234/customDimensions/5678 + * Please see {@see AnalyticsAdminServiceClient::customDimensionName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\ArchiveCustomDimensionRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the CustomDimension to archive. + * Example format: properties/1234/customDimensions/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the CustomDimension to archive. + * Example format: properties/1234/customDimensions/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 CustomDimension to archive. + * Example format: properties/1234/customDimensions/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomMetricRequest.php new file mode 100644 index 000000000000..02b73edf8897 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomMetricRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1beta.ArchiveCustomMetricRequest + */ +class ArchiveCustomMetricRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the CustomMetric to archive. + * Example format: properties/1234/customMetrics/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the CustomMetric to archive. + * Example format: properties/1234/customMetrics/5678 + * Please see {@see AnalyticsAdminServiceClient::customMetricName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\ArchiveCustomMetricRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the CustomMetric to archive. + * Example format: properties/1234/customMetrics/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the CustomMetric to archive. + * Example format: properties/1234/customMetrics/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 CustomMetric to archive. + * Example format: properties/1234/customMetrics/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange.php new file mode 100644 index 000000000000..a2abe01c2a82 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange.php @@ -0,0 +1,197 @@ +google.analytics.admin.v1beta.ChangeHistoryChange + */ +class ChangeHistoryChange extends \Google\Protobuf\Internal\Message +{ + /** + * Resource name of the resource whose changes are described by this entry. + * + * Generated from protobuf field string resource = 1; + */ + protected $resource = ''; + /** + * The type of action that changed this resource. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ActionType action = 2; + */ + protected $action = 0; + /** + * Resource contents from before the change was made. If this resource was + * created in this change, this field will be missing. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + */ + protected $resource_before_change = null; + /** + * Resource contents from after the change was made. If this resource was + * deleted in this change, this field will be missing. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + */ + protected $resource_after_change = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $resource + * Resource name of the resource whose changes are described by this entry. + * @type int $action + * The type of action that changed this resource. + * @type \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource $resource_before_change + * Resource contents from before the change was made. If this resource was + * created in this change, this field will be missing. + * @type \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource $resource_after_change + * Resource contents from after the change was made. If this resource was + * deleted in this change, this field will be missing. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Resource name of the resource whose changes are described by this entry. + * + * Generated from protobuf field string resource = 1; + * @return string + */ + public function getResource() + { + return $this->resource; + } + + /** + * Resource name of the resource whose changes are described by this entry. + * + * Generated from protobuf field string resource = 1; + * @param string $var + * @return $this + */ + public function setResource($var) + { + GPBUtil::checkString($var, True); + $this->resource = $var; + + return $this; + } + + /** + * The type of action that changed this resource. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ActionType action = 2; + * @return int + */ + public function getAction() + { + return $this->action; + } + + /** + * The type of action that changed this resource. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ActionType action = 2; + * @param int $var + * @return $this + */ + public function setAction($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\ActionType::class); + $this->action = $var; + + return $this; + } + + /** + * Resource contents from before the change was made. If this resource was + * created in this change, this field will be missing. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * @return \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource|null + */ + public function getResourceBeforeChange() + { + return $this->resource_before_change; + } + + public function hasResourceBeforeChange() + { + return isset($this->resource_before_change); + } + + public function clearResourceBeforeChange() + { + unset($this->resource_before_change); + } + + /** + * Resource contents from before the change was made. If this resource was + * created in this change, this field will be missing. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; + * @param \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource $var + * @return $this + */ + public function setResourceBeforeChange($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource::class); + $this->resource_before_change = $var; + + return $this; + } + + /** + * Resource contents from after the change was made. If this resource was + * deleted in this change, this field will be missing. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * @return \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource|null + */ + public function getResourceAfterChange() + { + return $this->resource_after_change; + } + + public function hasResourceAfterChange() + { + return isset($this->resource_after_change); + } + + public function clearResourceAfterChange() + { + unset($this->resource_after_change); + } + + /** + * Resource contents from after the change was made. If this resource was + * deleted in this change, this field will be missing. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; + * @param \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource $var + * @return $this + */ + public function setResourceAfterChange($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource::class); + $this->resource_after_change = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange/ChangeHistoryResource.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange/ChangeHistoryResource.php new file mode 100644 index 000000000000..92c682854c70 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange/ChangeHistoryResource.php @@ -0,0 +1,307 @@ +google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource + */ +class ChangeHistoryResource extends \Google\Protobuf\Internal\Message +{ + protected $resource; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\Account $account + * A snapshot of an Account resource in change history. + * @type \Google\Analytics\Admin\V1beta\Property $property + * A snapshot of a Property resource in change history. + * @type \Google\Analytics\Admin\V1beta\FirebaseLink $firebase_link + * A snapshot of a FirebaseLink resource in change history. + * @type \Google\Analytics\Admin\V1beta\GoogleAdsLink $google_ads_link + * A snapshot of a GoogleAdsLink resource in change history. + * @type \Google\Analytics\Admin\V1beta\ConversionEvent $conversion_event + * A snapshot of a ConversionEvent resource in change history. + * @type \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurement_protocol_secret + * A snapshot of a MeasurementProtocolSecret resource in change history. + * @type \Google\Analytics\Admin\V1beta\DataRetentionSettings $data_retention_settings + * A snapshot of a data retention settings resource in change history. + * @type \Google\Analytics\Admin\V1beta\DataStream $data_stream + * A snapshot of a DataStream resource in change history. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * A snapshot of an Account resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1; + * @return \Google\Analytics\Admin\V1beta\Account|null + */ + public function getAccount() + { + return $this->readOneof(1); + } + + public function hasAccount() + { + return $this->hasOneof(1); + } + + /** + * A snapshot of an Account resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1; + * @param \Google\Analytics\Admin\V1beta\Account $var + * @return $this + */ + public function setAccount($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\Account::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * A snapshot of a Property resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 2; + * @return \Google\Analytics\Admin\V1beta\Property|null + */ + public function getProperty() + { + return $this->readOneof(2); + } + + public function hasProperty() + { + return $this->hasOneof(2); + } + + /** + * A snapshot of a Property resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 2; + * @param \Google\Analytics\Admin\V1beta\Property $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\Property::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * A snapshot of a FirebaseLink resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; + * @return \Google\Analytics\Admin\V1beta\FirebaseLink|null + */ + public function getFirebaseLink() + { + return $this->readOneof(6); + } + + public function hasFirebaseLink() + { + return $this->hasOneof(6); + } + + /** + * A snapshot of a FirebaseLink resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; + * @param \Google\Analytics\Admin\V1beta\FirebaseLink $var + * @return $this + */ + public function setFirebaseLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\FirebaseLink::class); + $this->writeOneof(6, $var); + + return $this; + } + + /** + * A snapshot of a GoogleAdsLink resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; + * @return \Google\Analytics\Admin\V1beta\GoogleAdsLink|null + */ + public function getGoogleAdsLink() + { + return $this->readOneof(7); + } + + public function hasGoogleAdsLink() + { + return $this->hasOneof(7); + } + + /** + * A snapshot of a GoogleAdsLink resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; + * @param \Google\Analytics\Admin\V1beta\GoogleAdsLink $var + * @return $this + */ + public function setGoogleAdsLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\GoogleAdsLink::class); + $this->writeOneof(7, $var); + + return $this; + } + + /** + * A snapshot of a ConversionEvent resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; + * @return \Google\Analytics\Admin\V1beta\ConversionEvent|null + */ + public function getConversionEvent() + { + return $this->readOneof(11); + } + + public function hasConversionEvent() + { + return $this->hasOneof(11); + } + + /** + * A snapshot of a ConversionEvent resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; + * @param \Google\Analytics\Admin\V1beta\ConversionEvent $var + * @return $this + */ + public function setConversionEvent($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\ConversionEvent::class); + $this->writeOneof(11, $var); + + return $this; + } + + /** + * A snapshot of a MeasurementProtocolSecret resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * @return \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret|null + */ + public function getMeasurementProtocolSecret() + { + return $this->readOneof(12); + } + + public function hasMeasurementProtocolSecret() + { + return $this->hasOneof(12); + } + + /** + * A snapshot of a MeasurementProtocolSecret resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; + * @param \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $var + * @return $this + */ + public function setMeasurementProtocolSecret($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret::class); + $this->writeOneof(12, $var); + + return $this; + } + + /** + * A snapshot of a data retention settings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * @return \Google\Analytics\Admin\V1beta\DataRetentionSettings|null + */ + public function getDataRetentionSettings() + { + return $this->readOneof(15); + } + + public function hasDataRetentionSettings() + { + return $this->hasOneof(15); + } + + /** + * A snapshot of a data retention settings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; + * @param \Google\Analytics\Admin\V1beta\DataRetentionSettings $var + * @return $this + */ + public function setDataRetentionSettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataRetentionSettings::class); + $this->writeOneof(15, $var); + + return $this; + } + + /** + * A snapshot of a DataStream resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 18; + * @return \Google\Analytics\Admin\V1beta\DataStream|null + */ + public function getDataStream() + { + return $this->readOneof(18); + } + + public function hasDataStream() + { + return $this->hasOneof(18); + } + + /** + * A snapshot of a DataStream resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 18; + * @param \Google\Analytics\Admin\V1beta\DataStream $var + * @return $this + */ + public function setDataStream($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataStream::class); + $this->writeOneof(18, $var); + + return $this; + } + + /** + * @return string + */ + public function getResource() + { + return $this->whichOneof("resource"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryEvent.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryEvent.php new file mode 100644 index 000000000000..5e466b98a29a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryEvent.php @@ -0,0 +1,266 @@ +google.analytics.admin.v1beta.ChangeHistoryEvent + */ +class ChangeHistoryEvent extends \Google\Protobuf\Internal\Message +{ + /** + * ID of this change history event. This ID is unique across Google Analytics. + * + * Generated from protobuf field string id = 1; + */ + protected $id = ''; + /** + * Time when change was made. + * + * Generated from protobuf field .google.protobuf.Timestamp change_time = 2; + */ + protected $change_time = null; + /** + * The type of actor that made this change. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ActorType actor_type = 3; + */ + protected $actor_type = 0; + /** + * Email address of the Google account that made the change. This will be a + * valid email address if the actor field is set to USER, and empty otherwise. + * Google accounts that have been deleted will cause an error. + * + * Generated from protobuf field string user_actor_email = 4; + */ + protected $user_actor_email = ''; + /** + * If true, then the list of changes returned was filtered, and does not + * represent all changes that occurred in this event. + * + * Generated from protobuf field bool changes_filtered = 5; + */ + protected $changes_filtered = false; + /** + * A list of changes made in this change history event that fit the filters + * specified in SearchChangeHistoryEventsRequest. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6; + */ + private $changes; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $id + * ID of this change history event. This ID is unique across Google Analytics. + * @type \Google\Protobuf\Timestamp $change_time + * Time when change was made. + * @type int $actor_type + * The type of actor that made this change. + * @type string $user_actor_email + * Email address of the Google account that made the change. This will be a + * valid email address if the actor field is set to USER, and empty otherwise. + * Google accounts that have been deleted will cause an error. + * @type bool $changes_filtered + * If true, then the list of changes returned was filtered, and does not + * represent all changes that occurred in this event. + * @type \Google\Analytics\Admin\V1beta\ChangeHistoryChange[] $changes + * A list of changes made in this change history event that fit the filters + * specified in SearchChangeHistoryEventsRequest. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * ID of this change history event. This ID is unique across Google Analytics. + * + * Generated from protobuf field string id = 1; + * @return string + */ + public function getId() + { + return $this->id; + } + + /** + * ID of this change history event. This ID is unique across Google Analytics. + * + * Generated from protobuf field string id = 1; + * @param string $var + * @return $this + */ + public function setId($var) + { + GPBUtil::checkString($var, True); + $this->id = $var; + + return $this; + } + + /** + * Time when change was made. + * + * Generated from protobuf field .google.protobuf.Timestamp change_time = 2; + * @return \Google\Protobuf\Timestamp|null + */ + public function getChangeTime() + { + return $this->change_time; + } + + public function hasChangeTime() + { + return isset($this->change_time); + } + + public function clearChangeTime() + { + unset($this->change_time); + } + + /** + * Time when change was made. + * + * Generated from protobuf field .google.protobuf.Timestamp change_time = 2; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setChangeTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->change_time = $var; + + return $this; + } + + /** + * The type of actor that made this change. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ActorType actor_type = 3; + * @return int + */ + public function getActorType() + { + return $this->actor_type; + } + + /** + * The type of actor that made this change. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ActorType actor_type = 3; + * @param int $var + * @return $this + */ + public function setActorType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\ActorType::class); + $this->actor_type = $var; + + return $this; + } + + /** + * Email address of the Google account that made the change. This will be a + * valid email address if the actor field is set to USER, and empty otherwise. + * Google accounts that have been deleted will cause an error. + * + * Generated from protobuf field string user_actor_email = 4; + * @return string + */ + public function getUserActorEmail() + { + return $this->user_actor_email; + } + + /** + * Email address of the Google account that made the change. This will be a + * valid email address if the actor field is set to USER, and empty otherwise. + * Google accounts that have been deleted will cause an error. + * + * Generated from protobuf field string user_actor_email = 4; + * @param string $var + * @return $this + */ + public function setUserActorEmail($var) + { + GPBUtil::checkString($var, True); + $this->user_actor_email = $var; + + return $this; + } + + /** + * If true, then the list of changes returned was filtered, and does not + * represent all changes that occurred in this event. + * + * Generated from protobuf field bool changes_filtered = 5; + * @return bool + */ + public function getChangesFiltered() + { + return $this->changes_filtered; + } + + /** + * If true, then the list of changes returned was filtered, and does not + * represent all changes that occurred in this event. + * + * Generated from protobuf field bool changes_filtered = 5; + * @param bool $var + * @return $this + */ + public function setChangesFiltered($var) + { + GPBUtil::checkBool($var); + $this->changes_filtered = $var; + + return $this; + } + + /** + * A list of changes made in this change history event that fit the filters + * specified in SearchChangeHistoryEventsRequest. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\ChangeHistoryChange> + */ + public function getChanges() + { + return $this->changes; + } + + /** + * A list of changes made in this change history event that fit the filters + * specified in SearchChangeHistoryEventsRequest. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6; + * @param \Google\Analytics\Admin\V1beta\ChangeHistoryChange[] $var + * @return $this + */ + public function setChanges($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\ChangeHistoryChange::class); + $this->changes = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryResourceType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryResourceType.php new file mode 100644 index 000000000000..abe7d49587db --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryResourceType.php @@ -0,0 +1,145 @@ +google.analytics.admin.v1beta.ChangeHistoryResourceType + */ +class ChangeHistoryResourceType +{ + /** + * Resource type unknown or not specified. + * + * Generated from protobuf enum CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED = 0; + */ + const CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED = 0; + /** + * Account resource + * + * Generated from protobuf enum ACCOUNT = 1; + */ + const ACCOUNT = 1; + /** + * Property resource + * + * Generated from protobuf enum PROPERTY = 2; + */ + const PROPERTY = 2; + /** + * FirebaseLink resource + * + * Generated from protobuf enum FIREBASE_LINK = 6; + */ + const FIREBASE_LINK = 6; + /** + * GoogleAdsLink resource + * + * Generated from protobuf enum GOOGLE_ADS_LINK = 7; + */ + const GOOGLE_ADS_LINK = 7; + /** + * GoogleSignalsSettings resource + * + * Generated from protobuf enum GOOGLE_SIGNALS_SETTINGS = 8; + */ + const GOOGLE_SIGNALS_SETTINGS = 8; + /** + * ConversionEvent resource + * + * Generated from protobuf enum CONVERSION_EVENT = 9; + */ + const CONVERSION_EVENT = 9; + /** + * MeasurementProtocolSecret resource + * + * Generated from protobuf enum MEASUREMENT_PROTOCOL_SECRET = 10; + */ + const MEASUREMENT_PROTOCOL_SECRET = 10; + /** + * CustomDimension resource + * + * Generated from protobuf enum CUSTOM_DIMENSION = 11; + */ + const CUSTOM_DIMENSION = 11; + /** + * CustomMetric resource + * + * Generated from protobuf enum CUSTOM_METRIC = 12; + */ + const CUSTOM_METRIC = 12; + /** + * DataRetentionSettings resource + * + * Generated from protobuf enum DATA_RETENTION_SETTINGS = 13; + */ + const DATA_RETENTION_SETTINGS = 13; + /** + * DisplayVideo360AdvertiserLink resource + * + * Generated from protobuf enum DISPLAY_VIDEO_360_ADVERTISER_LINK = 14; + */ + const DISPLAY_VIDEO_360_ADVERTISER_LINK = 14; + /** + * DisplayVideo360AdvertiserLinkProposal resource + * + * Generated from protobuf enum DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15; + */ + const DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15; + /** + * DataStream resource + * + * Generated from protobuf enum DATA_STREAM = 18; + */ + const DATA_STREAM = 18; + /** + * AttributionSettings resource + * + * Generated from protobuf enum ATTRIBUTION_SETTINGS = 20; + */ + const ATTRIBUTION_SETTINGS = 20; + + private static $valueToName = [ + self::CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED => 'CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED', + self::ACCOUNT => 'ACCOUNT', + self::PROPERTY => 'PROPERTY', + self::FIREBASE_LINK => 'FIREBASE_LINK', + self::GOOGLE_ADS_LINK => 'GOOGLE_ADS_LINK', + self::GOOGLE_SIGNALS_SETTINGS => 'GOOGLE_SIGNALS_SETTINGS', + self::CONVERSION_EVENT => 'CONVERSION_EVENT', + self::MEASUREMENT_PROTOCOL_SECRET => 'MEASUREMENT_PROTOCOL_SECRET', + self::CUSTOM_DIMENSION => 'CUSTOM_DIMENSION', + self::CUSTOM_METRIC => 'CUSTOM_METRIC', + self::DATA_RETENTION_SETTINGS => 'DATA_RETENTION_SETTINGS', + self::DISPLAY_VIDEO_360_ADVERTISER_LINK => 'DISPLAY_VIDEO_360_ADVERTISER_LINK', + self::DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL => 'DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL', + self::DATA_STREAM => 'DATA_STREAM', + self::ATTRIBUTION_SETTINGS => 'ATTRIBUTION_SETTINGS', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent.php new file mode 100644 index 000000000000..e0bcd415b759 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent.php @@ -0,0 +1,331 @@ +google.analytics.admin.v1beta.ConversionEvent + */ +class ConversionEvent extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name of this conversion event. + * Format: properties/{property}/conversionEvents/{conversion_event} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Immutable. The event name for this conversion event. + * Examples: 'click', 'purchase' + * + * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $event_name = ''; + /** + * Output only. Time when this conversion event was created in the property. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. If set, this event can currently be deleted with + * DeleteConversionEvent. + * + * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $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 + * custom conversion events that may be created per property. + * + * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $custom = false; + /** + * Optional. The method by which conversions will be counted across multiple + * events within a session. If this value is not provided, it will be set to + * `ONCE_PER_EVENT`. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $counting_method = 0; + /** + * Optional. Defines a default value/currency for a conversion event. + * + * Generated from protobuf field optional .google.analytics.admin.v1beta.ConversionEvent.DefaultConversionValue default_conversion_value = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $default_conversion_value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name of this conversion event. + * Format: properties/{property}/conversionEvents/{conversion_event} + * @type string $event_name + * Immutable. The event name for this conversion event. + * Examples: 'click', 'purchase' + * @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 with + * 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 + * custom conversion events that may be created per property. + * @type int $counting_method + * Optional. The method by which conversions will be counted across multiple + * events within a session. If this value is not provided, it will be set to + * `ONCE_PER_EVENT`. + * @type \Google\Analytics\Admin\V1beta\ConversionEvent\DefaultConversionValue $default_conversion_value + * Optional. Defines a default value/currency for a conversion event. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name of this conversion event. + * Format: properties/{property}/conversionEvents/{conversion_event} + * + * 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 conversion event. + * Format: properties/{property}/conversionEvents/{conversion_event} + * + * 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 event name for this conversion event. + * Examples: 'click', 'purchase' + * + * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getEventName() + { + return $this->event_name; + } + + /** + * Immutable. The event name for this conversion event. + * Examples: 'click', 'purchase' + * + * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setEventName($var) + { + GPBUtil::checkString($var, True); + $this->event_name = $var; + + return $this; + } + + /** + * Output only. Time when this conversion event was created in the property. + * + * 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 this conversion event was created in the property. + * + * 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; + } + + /** + * Output only. If set, this event can currently be deleted with + * DeleteConversionEvent. + * + * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getDeletable() + { + return $this->deletable; + } + + /** + * Output only. If set, this event can currently be deleted with + * DeleteConversionEvent. + * + * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setDeletable($var) + { + GPBUtil::checkBool($var); + $this->deletable = $var; + + return $this; + } + + /** + * 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]; + * @return bool + */ + public function getCustom() + { + return $this->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 + * custom conversion events that may be created per property. + * + * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setCustom($var) + { + GPBUtil::checkBool($var); + $this->custom = $var; + + return $this; + } + + /** + * Optional. The method by which conversions will be counted across multiple + * events within a session. If this value is not provided, it will be set to + * `ONCE_PER_EVENT`. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getCountingMethod() + { + return $this->counting_method; + } + + /** + * Optional. The method by which conversions will be counted across multiple + * events within a session. If this value is not provided, it will be set to + * `ONCE_PER_EVENT`. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setCountingMethod($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\ConversionEvent\ConversionCountingMethod::class); + $this->counting_method = $var; + + return $this; + } + + /** + * Optional. Defines a default value/currency for a conversion event. + * + * Generated from protobuf field optional .google.analytics.admin.v1beta.ConversionEvent.DefaultConversionValue default_conversion_value = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Admin\V1beta\ConversionEvent\DefaultConversionValue|null + */ + public function getDefaultConversionValue() + { + return $this->default_conversion_value; + } + + public function hasDefaultConversionValue() + { + return isset($this->default_conversion_value); + } + + public function clearDefaultConversionValue() + { + unset($this->default_conversion_value); + } + + /** + * Optional. Defines a default value/currency for a conversion event. + * + * Generated from protobuf field optional .google.analytics.admin.v1beta.ConversionEvent.DefaultConversionValue default_conversion_value = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Admin\V1beta\ConversionEvent\DefaultConversionValue $var + * @return $this + */ + public function setDefaultConversionValue($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\ConversionEvent\DefaultConversionValue::class); + $this->default_conversion_value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/ConversionCountingMethod.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/ConversionCountingMethod.php new file mode 100644 index 000000000000..7daadd7ab332 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/ConversionCountingMethod.php @@ -0,0 +1,63 @@ +google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod + */ +class ConversionCountingMethod +{ + /** + * Counting method not specified. + * + * Generated from protobuf enum CONVERSION_COUNTING_METHOD_UNSPECIFIED = 0; + */ + const CONVERSION_COUNTING_METHOD_UNSPECIFIED = 0; + /** + * Each Event instance is considered a Conversion. + * + * Generated from protobuf enum ONCE_PER_EVENT = 1; + */ + const ONCE_PER_EVENT = 1; + /** + * An Event instance is considered a Conversion at most once per session per + * user. + * + * Generated from protobuf enum ONCE_PER_SESSION = 2; + */ + const ONCE_PER_SESSION = 2; + + private static $valueToName = [ + self::CONVERSION_COUNTING_METHOD_UNSPECIFIED => 'CONVERSION_COUNTING_METHOD_UNSPECIFIED', + self::ONCE_PER_EVENT => 'ONCE_PER_EVENT', + self::ONCE_PER_SESSION => 'ONCE_PER_SESSION', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/DefaultConversionValue.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/DefaultConversionValue.php new file mode 100644 index 000000000000..c95c2958a6fe --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/DefaultConversionValue.php @@ -0,0 +1,138 @@ +google.analytics.admin.v1beta.ConversionEvent.DefaultConversionValue + */ +class DefaultConversionValue extends \Google\Protobuf\Internal\Message +{ + /** + * This value will be used to populate the value for all conversions + * of the specified event_name where the event "value" parameter is unset. + * + * Generated from protobuf field optional double value = 1; + */ + protected $value = null; + /** + * When a conversion event for this event_name has no set currency, + * this currency will be applied as the default. Must be in ISO 4217 + * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for + * more information. + * + * Generated from protobuf field optional string currency_code = 2; + */ + protected $currency_code = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float $value + * This value will be used to populate the value for all conversions + * of the specified event_name where the event "value" parameter is unset. + * @type string $currency_code + * When a conversion event for this event_name has no set currency, + * this currency will be applied as the default. Must be in ISO 4217 + * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for + * more information. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * This value will be used to populate the value for all conversions + * of the specified event_name where the event "value" parameter is unset. + * + * Generated from protobuf field optional double value = 1; + * @return float + */ + public function getValue() + { + return isset($this->value) ? $this->value : 0.0; + } + + public function hasValue() + { + return isset($this->value); + } + + public function clearValue() + { + unset($this->value); + } + + /** + * This value will be used to populate the value for all conversions + * of the specified event_name where the event "value" parameter is unset. + * + * Generated from protobuf field optional double value = 1; + * @param float $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkDouble($var); + $this->value = $var; + + return $this; + } + + /** + * When a conversion event for this event_name has no set currency, + * this currency will be applied as the default. Must be in ISO 4217 + * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for + * more information. + * + * Generated from protobuf field optional string currency_code = 2; + * @return string + */ + public function getCurrencyCode() + { + return isset($this->currency_code) ? $this->currency_code : ''; + } + + public function hasCurrencyCode() + { + return isset($this->currency_code); + } + + public function clearCurrencyCode() + { + unset($this->currency_code); + } + + /** + * When a conversion event for this event_name has no set currency, + * this currency will be applied as the default. Must be in ISO 4217 + * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for + * more information. + * + * Generated from protobuf field optional string currency_code = 2; + * @param string $var + * @return $this + */ + public function setCurrencyCode($var) + { + GPBUtil::checkString($var, True); + $this->currency_code = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateConversionEventRequest.php new file mode 100644 index 000000000000..49cb348cd0bb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateConversionEventRequest.php @@ -0,0 +1,132 @@ +google.analytics.admin.v1beta.CreateConversionEventRequest + */ +class CreateConversionEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The conversion event to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $conversion_event = null; + /** + * 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) = { + */ + protected $parent = ''; + + /** + * @param string $parent Required. 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. + * @param \Google\Analytics\Admin\V1beta\ConversionEvent $conversionEvent Required. The conversion event to create. + * + * @return \Google\Analytics\Admin\V1beta\CreateConversionEventRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1beta\ConversionEvent $conversionEvent): self + { + return (new self()) + ->setParent($parent) + ->setConversionEvent($conversionEvent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\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 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The conversion event to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\ConversionEvent|null + */ + public function getConversionEvent() + { + return $this->conversion_event; + } + + public function hasConversionEvent() + { + return isset($this->conversion_event); + } + + public function clearConversionEvent() + { + unset($this->conversion_event); + } + + /** + * Required. The conversion event to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\ConversionEvent $var + * @return $this + */ + public function setConversionEvent($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\ConversionEvent::class); + $this->conversion_event = $var; + + return $this; + } + + /** + * 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 + */ + public function getParent() + { + return $this->parent; + } + + /** + * 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 + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomDimensionRequest.php new file mode 100644 index 000000000000..d312337c4418 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomDimensionRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1beta.CreateCustomDimensionRequest + */ +class CreateCustomDimensionRequest 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) = { + */ + protected $parent = ''; + /** + * Required. The CustomDimension to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $custom_dimension = null; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1beta\CustomDimension $customDimension Required. The CustomDimension to create. + * + * @return \Google\Analytics\Admin\V1beta\CreateCustomDimensionRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1beta\CustomDimension $customDimension): self + { + return (new self()) + ->setParent($parent) + ->setCustomDimension($customDimension); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type \Google\Analytics\Admin\V1beta\CustomDimension $custom_dimension + * Required. The CustomDimension to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\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 CustomDimension to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\CustomDimension|null + */ + public function getCustomDimension() + { + return $this->custom_dimension; + } + + public function hasCustomDimension() + { + return isset($this->custom_dimension); + } + + public function clearCustomDimension() + { + unset($this->custom_dimension); + } + + /** + * Required. The CustomDimension to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\CustomDimension $var + * @return $this + */ + public function setCustomDimension($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\CustomDimension::class); + $this->custom_dimension = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomMetricRequest.php new file mode 100644 index 000000000000..2a4a5c4b8bc6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomMetricRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1beta.CreateCustomMetricRequest + */ +class CreateCustomMetricRequest 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) = { + */ + protected $parent = ''; + /** + * Required. The CustomMetric to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $custom_metric = null; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1beta\CustomMetric $customMetric Required. The CustomMetric to create. + * + * @return \Google\Analytics\Admin\V1beta\CreateCustomMetricRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1beta\CustomMetric $customMetric): self + { + return (new self()) + ->setParent($parent) + ->setCustomMetric($customMetric); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type \Google\Analytics\Admin\V1beta\CustomMetric $custom_metric + * Required. The CustomMetric to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\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 CustomMetric to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\CustomMetric|null + */ + public function getCustomMetric() + { + return $this->custom_metric; + } + + public function hasCustomMetric() + { + return isset($this->custom_metric); + } + + public function clearCustomMetric() + { + unset($this->custom_metric); + } + + /** + * Required. The CustomMetric to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\CustomMetric $var + * @return $this + */ + public function setCustomMetric($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\CustomMetric::class); + $this->custom_metric = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateDataStreamRequest.php new file mode 100644 index 000000000000..0f388f08311b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateDataStreamRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1beta.CreateDataStreamRequest + */ +class CreateDataStreamRequest 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) = { + */ + protected $parent = ''; + /** + * Required. The DataStream to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $data_stream = null; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1beta\DataStream $dataStream Required. The DataStream to create. + * + * @return \Google\Analytics\Admin\V1beta\CreateDataStreamRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1beta\DataStream $dataStream): self + { + return (new self()) + ->setParent($parent) + ->setDataStream($dataStream); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type \Google\Analytics\Admin\V1beta\DataStream $data_stream + * Required. The DataStream to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\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 DataStream to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\DataStream|null + */ + public function getDataStream() + { + return $this->data_stream; + } + + public function hasDataStream() + { + return isset($this->data_stream); + } + + public function clearDataStream() + { + unset($this->data_stream); + } + + /** + * Required. The DataStream to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\DataStream $var + * @return $this + */ + public function setDataStream($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataStream::class); + $this->data_stream = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateFirebaseLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateFirebaseLinkRequest.php new file mode 100644 index 000000000000..96506399d3ce --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateFirebaseLinkRequest.php @@ -0,0 +1,133 @@ +google.analytics.admin.v1beta.CreateFirebaseLinkRequest + */ +class CreateFirebaseLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: properties/{property_id} + * Example: `properties/1234` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The Firebase link to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $firebase_link = null; + + /** + * @param string $parent Required. Format: properties/{property_id} + * + * Example: `properties/1234` + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1beta\FirebaseLink $firebaseLink Required. The Firebase link to create. + * + * @return \Google\Analytics\Admin\V1beta\CreateFirebaseLinkRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1beta\FirebaseLink $firebaseLink): self + { + return (new self()) + ->setParent($parent) + ->setFirebaseLink($firebaseLink); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Format: properties/{property_id} + * Example: `properties/1234` + * @type \Google\Analytics\Admin\V1beta\FirebaseLink $firebase_link + * Required. The Firebase link to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. 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. 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; + } + + /** + * Required. The Firebase link to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\FirebaseLink|null + */ + public function getFirebaseLink() + { + return $this->firebase_link; + } + + public function hasFirebaseLink() + { + return isset($this->firebase_link); + } + + public function clearFirebaseLink() + { + unset($this->firebase_link); + } + + /** + * Required. The Firebase link to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\FirebaseLink $var + * @return $this + */ + public function setFirebaseLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\FirebaseLink::class); + $this->firebase_link = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateGoogleAdsLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateGoogleAdsLinkRequest.php new file mode 100644 index 000000000000..e6faa3d5a836 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateGoogleAdsLinkRequest.php @@ -0,0 +1,127 @@ +google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest + */ +class CreateGoogleAdsLinkRequest 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) = { + */ + protected $parent = ''; + /** + * Required. The GoogleAdsLink to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $google_ads_link = null; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1beta\GoogleAdsLink $googleAdsLink Required. The GoogleAdsLink to create. + * + * @return \Google\Analytics\Admin\V1beta\CreateGoogleAdsLinkRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1beta\GoogleAdsLink $googleAdsLink): self + { + return (new self()) + ->setParent($parent) + ->setGoogleAdsLink($googleAdsLink); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Example format: properties/1234 + * @type \Google\Analytics\Admin\V1beta\GoogleAdsLink $google_ads_link + * Required. The GoogleAdsLink to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\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 GoogleAdsLink to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\GoogleAdsLink|null + */ + public function getGoogleAdsLink() + { + return $this->google_ads_link; + } + + public function hasGoogleAdsLink() + { + return isset($this->google_ads_link); + } + + public function clearGoogleAdsLink() + { + unset($this->google_ads_link); + } + + /** + * Required. The GoogleAdsLink to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\GoogleAdsLink $var + * @return $this + */ + public function setGoogleAdsLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\GoogleAdsLink::class); + $this->google_ads_link = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateKeyEventRequest.php new file mode 100644 index 000000000000..f53661ad017a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateKeyEventRequest.php @@ -0,0 +1,132 @@ +google.analytics.admin.v1beta.CreateKeyEventRequest + */ +class CreateKeyEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The Key Event to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $key_event = null; + /** + * Required. The resource name of the parent property where this Key Event + * will be created. Format: properties/123 + * + * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + + /** + * @param string $parent Required. The resource name of the parent property where this Key Event + * will be created. Format: properties/123 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1beta\KeyEvent $keyEvent Required. The Key Event to create. + * + * @return \Google\Analytics\Admin\V1beta\CreateKeyEventRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1beta\KeyEvent $keyEvent): self + { + return (new self()) + ->setParent($parent) + ->setKeyEvent($keyEvent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\KeyEvent $key_event + * Required. The Key Event to create. + * @type string $parent + * Required. The resource name of the parent property where this Key Event + * will be created. Format: properties/123 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The Key Event to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\KeyEvent|null + */ + public function getKeyEvent() + { + return $this->key_event; + } + + public function hasKeyEvent() + { + return isset($this->key_event); + } + + public function clearKeyEvent() + { + unset($this->key_event); + } + + /** + * Required. The Key Event to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\KeyEvent $var + * @return $this + */ + public function setKeyEvent($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\KeyEvent::class); + $this->key_event = $var; + + return $this; + } + + /** + * Required. The resource name of the parent property where this Key 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 + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. The resource name of the parent property where this Key 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 + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateMeasurementProtocolSecretRequest.php new file mode 100644 index 000000000000..50fd74097f16 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateMeasurementProtocolSecretRequest.php @@ -0,0 +1,132 @@ +google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest + */ +class CreateMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where this secret will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The measurement protocol secret to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $measurement_protocol_secret = null; + + /** + * @param string $parent Required. The parent resource where this secret will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. + * @param \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurementProtocolSecret Required. The measurement protocol secret to create. + * + * @return \Google\Analytics\Admin\V1beta\CreateMeasurementProtocolSecretRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurementProtocolSecret): self + { + return (new self()) + ->setParent($parent) + ->setMeasurementProtocolSecret($measurementProtocolSecret); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where this secret will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * @type \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurement_protocol_secret + * Required. The measurement protocol secret to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where this secret will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * + * 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 parent resource where this secret will be created. + * Format: properties/{property}/dataStreams/{dataStream} + * + * 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 measurement protocol secret to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret|null + */ + public function getMeasurementProtocolSecret() + { + return $this->measurement_protocol_secret; + } + + public function hasMeasurementProtocolSecret() + { + return isset($this->measurement_protocol_secret); + } + + public function clearMeasurementProtocolSecret() + { + unset($this->measurement_protocol_secret); + } + + /** + * Required. The measurement protocol secret to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $var + * @return $this + */ + public function setMeasurementProtocolSecret($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret::class); + $this->measurement_protocol_secret = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreatePropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreatePropertyRequest.php new file mode 100644 index 000000000000..61165a8df725 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreatePropertyRequest.php @@ -0,0 +1,95 @@ +google.analytics.admin.v1beta.CreatePropertyRequest + */ +class CreatePropertyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The property to create. + * Note: the supplied property must specify its parent. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $property = null; + + /** + * @param \Google\Analytics\Admin\V1beta\Property $property Required. The property to create. + * Note: the supplied property must specify its parent. + * + * @return \Google\Analytics\Admin\V1beta\CreatePropertyRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1beta\Property $property): self + { + return (new self()) + ->setProperty($property); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\Property $property + * Required. The property to create. + * Note: the supplied property must specify its parent. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The property to create. + * Note: the supplied property must specify its parent. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\Property|null + */ + public function getProperty() + { + return $this->property; + } + + public function hasProperty() + { + return isset($this->property); + } + + public function clearProperty() + { + unset($this->property); + } + + /** + * Required. The property to create. + * Note: the supplied property must specify its parent. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\Property $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\Property::class); + $this->property = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension.php new file mode 100644 index 000000000000..38ee3a7173c5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension.php @@ -0,0 +1,301 @@ +google.analytics.admin.v1beta.CustomDimension + */ +class CustomDimension extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name for this CustomDimension resource. + * Format: properties/{property}/customDimensions/{customDimension} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Required. Immutable. Tagging parameter name for this custom dimension. + * If this is a user-scoped dimension, then this is the user property name. + * If this is an event-scoped dimension, then this is the event parameter + * name. + * If this is an item-scoped dimension, then this is the parameter + * name found in the eCommerce items array. + * 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. + * + * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $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 + * starting with a letter. Legacy system-generated display names may contain + * square brackets, but updates to this field will never permit square + * brackets. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Optional. Description for this custom dimension. Max length of 150 + * characters. + * + * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $description = ''; + /** + * Required. Immutable. The scope of this dimension. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $scope = 0; + /** + * 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]; + */ + protected $disallow_ads_personalization = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name for this CustomDimension resource. + * Format: properties/{property}/customDimensions/{customDimension} + * @type string $parameter_name + * Required. Immutable. Tagging parameter name for this custom dimension. + * If this is a user-scoped dimension, then this is the user property name. + * If this is an event-scoped dimension, then this is the event parameter + * name. + * If this is an item-scoped dimension, then this is the parameter + * name found in the eCommerce items array. + * 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. + * @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 + * 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. + * @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. + * This is currently only supported by user-scoped custom dimensions. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name for this CustomDimension resource. + * Format: properties/{property}/customDimensions/{customDimension} + * + * 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 for this CustomDimension resource. + * Format: properties/{property}/customDimensions/{customDimension} + * + * 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. Immutable. Tagging parameter name for this custom dimension. + * If this is a user-scoped dimension, then this is the user property name. + * If this is an event-scoped dimension, then this is the event parameter + * name. + * If this is an item-scoped dimension, then this is the parameter + * name found in the eCommerce items array. + * 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. + * + * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getParameterName() + { + return $this->parameter_name; + } + + /** + * Required. Immutable. Tagging parameter name for this custom dimension. + * If this is a user-scoped dimension, then this is the user property name. + * If this is an event-scoped dimension, then this is the event parameter + * name. + * If this is an item-scoped dimension, then this is the parameter + * name found in the eCommerce items array. + * 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. + * + * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setParameterName($var) + { + GPBUtil::checkString($var, True); + $this->parameter_name = $var; + + return $this; + } + + /** + * 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. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->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 + * starting with a letter. Legacy system-generated display names may contain + * square brackets, but updates to this field will never permit square + * brackets. + * + * Generated from protobuf field string display_name = 3 [(.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. Description for this custom dimension. Max length of 150 + * characters. + * + * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDescription() + { + return $this->description; + } + + /** + * 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 + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Required. Immutable. The scope of this dimension. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return int + */ + public function getScope() + { + return $this->scope; + } + + /** + * Required. Immutable. The scope of this dimension. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @param int $var + * @return $this + */ + public function setScope($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\CustomDimension\DimensionScope::class); + $this->scope = $var; + + return $this; + } + + /** + * 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]; + * @return bool + */ + public function getDisallowAdsPersonalization() + { + return $this->disallow_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]; + * @param bool $var + * @return $this + */ + public function setDisallowAdsPersonalization($var) + { + GPBUtil::checkBool($var); + $this->disallow_ads_personalization = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension/DimensionScope.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension/DimensionScope.php new file mode 100644 index 000000000000..8deef8669728 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension/DimensionScope.php @@ -0,0 +1,68 @@ +google.analytics.admin.v1beta.CustomDimension.DimensionScope + */ +class DimensionScope +{ + /** + * Scope unknown or not specified. + * + * Generated from protobuf enum DIMENSION_SCOPE_UNSPECIFIED = 0; + */ + const DIMENSION_SCOPE_UNSPECIFIED = 0; + /** + * Dimension scoped to an event. + * + * Generated from protobuf enum EVENT = 1; + */ + const EVENT = 1; + /** + * Dimension scoped to a user. + * + * Generated from protobuf enum USER = 2; + */ + const USER = 2; + /** + * Dimension scoped to eCommerce items + * + * Generated from protobuf enum ITEM = 3; + */ + const ITEM = 3; + + private static $valueToName = [ + self::DIMENSION_SCOPE_UNSPECIFIED => 'DIMENSION_SCOPE_UNSPECIFIED', + self::EVENT => 'EVENT', + self::USER => 'USER', + self::ITEM => 'ITEM', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric.php new file mode 100644 index 000000000000..ccf493cbe8cb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric.php @@ -0,0 +1,319 @@ +google.analytics.admin.v1beta.CustomMetric + */ +class CustomMetric extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name for this CustomMetric resource. + * Format: properties/{property}/customMetrics/{customMetric} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Required. Immutable. Tagging name for this custom metric. + * If this is an event-scoped metric, then this is the event parameter + * name. + * May only contain alphanumeric and underscore charactes, starting with a + * letter. Max length of 40 characters for event-scoped metrics. + * + * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $parameter_name = ''; + /** + * Required. Display name for this custom metric 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. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Optional. Description for this custom dimension. + * Max length of 150 characters. + * + * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $description = ''; + /** + * Required. The type for the custom metric's value. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $measurement_unit = 0; + /** + * Required. Immutable. The scope of this custom metric. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $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. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $restricted_metric_type; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name for this CustomMetric resource. + * Format: properties/{property}/customMetrics/{customMetric} + * @type string $parameter_name + * Required. Immutable. Tagging name for this custom metric. + * If this is an event-scoped metric, then this is the event parameter + * name. + * May only contain alphanumeric and underscore charactes, starting with a + * letter. Max length of 40 characters for event-scoped metrics. + * @type string $display_name + * Required. Display name for this custom metric 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. + * @type int $measurement_unit + * Required. The type for the custom metric's value. + * @type int $scope + * Required. Immutable. The scope of this custom metric. + * @type int[] $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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name for this CustomMetric resource. + * Format: properties/{property}/customMetrics/{customMetric} + * + * 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 for this CustomMetric resource. + * Format: properties/{property}/customMetrics/{customMetric} + * + * 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. Immutable. Tagging name for this custom metric. + * If this is an event-scoped metric, then this is the event parameter + * name. + * May only contain alphanumeric and underscore charactes, starting with a + * letter. Max length of 40 characters for event-scoped metrics. + * + * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getParameterName() + { + return $this->parameter_name; + } + + /** + * Required. Immutable. Tagging name for this custom metric. + * If this is an event-scoped metric, then this is the event parameter + * name. + * May only contain alphanumeric and underscore charactes, starting with a + * letter. Max length of 40 characters for event-scoped metrics. + * + * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setParameterName($var) + { + GPBUtil::checkString($var, True); + $this->parameter_name = $var; + + return $this; + } + + /** + * Required. Display name for this custom metric 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. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Required. Display name for this custom metric 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. + * + * Generated from protobuf field string display_name = 3 [(.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. Description for this custom dimension. + * Max length of 150 characters. + * + * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDescription() + { + return $this->description; + } + + /** + * 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 + * @return $this + */ + public function setDescription($var) + { + GPBUtil::checkString($var, True); + $this->description = $var; + + return $this; + } + + /** + * Required. The type for the custom metric's value. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getMeasurementUnit() + { + return $this->measurement_unit; + } + + /** + * Required. The type for the custom metric's value. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setMeasurementUnit($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\CustomMetric\MeasurementUnit::class); + $this->measurement_unit = $var; + + return $this; + } + + /** + * Required. Immutable. The scope of this custom metric. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @return int + */ + public function getScope() + { + return $this->scope; + } + + /** + * Required. Immutable. The scope of this custom metric. + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * @param int $var + * @return $this + */ + public function setScope($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\CustomMetric\MetricScope::class); + $this->scope = $var; + + return $this; + } + + /** + * 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.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getRestrictedMetricType() + { + return $this->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. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[] $var + * @return $this + */ + public function setRestrictedMetricType($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Analytics\Admin\V1beta\CustomMetric\RestrictedMetricType::class); + $this->restricted_metric_type = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MeasurementUnit.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MeasurementUnit.php new file mode 100644 index 000000000000..9f8de467a1a1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MeasurementUnit.php @@ -0,0 +1,119 @@ +google.analytics.admin.v1beta.CustomMetric.MeasurementUnit + */ +class MeasurementUnit +{ + /** + * MeasurementUnit unspecified or missing. + * + * Generated from protobuf enum MEASUREMENT_UNIT_UNSPECIFIED = 0; + */ + const MEASUREMENT_UNIT_UNSPECIFIED = 0; + /** + * This metric uses default units. + * + * Generated from protobuf enum STANDARD = 1; + */ + const STANDARD = 1; + /** + * This metric measures a currency. + * + * Generated from protobuf enum CURRENCY = 2; + */ + const CURRENCY = 2; + /** + * This metric measures feet. + * + * Generated from protobuf enum FEET = 3; + */ + const FEET = 3; + /** + * This metric measures meters. + * + * Generated from protobuf enum METERS = 4; + */ + const METERS = 4; + /** + * This metric measures kilometers. + * + * Generated from protobuf enum KILOMETERS = 5; + */ + const KILOMETERS = 5; + /** + * This metric measures miles. + * + * Generated from protobuf enum MILES = 6; + */ + const MILES = 6; + /** + * This metric measures milliseconds. + * + * Generated from protobuf enum MILLISECONDS = 7; + */ + const MILLISECONDS = 7; + /** + * This metric measures seconds. + * + * Generated from protobuf enum SECONDS = 8; + */ + const SECONDS = 8; + /** + * This metric measures minutes. + * + * Generated from protobuf enum MINUTES = 9; + */ + const MINUTES = 9; + /** + * This metric measures hours. + * + * Generated from protobuf enum HOURS = 10; + */ + const HOURS = 10; + + private static $valueToName = [ + self::MEASUREMENT_UNIT_UNSPECIFIED => 'MEASUREMENT_UNIT_UNSPECIFIED', + self::STANDARD => 'STANDARD', + self::CURRENCY => 'CURRENCY', + self::FEET => 'FEET', + self::METERS => 'METERS', + self::KILOMETERS => 'KILOMETERS', + self::MILES => 'MILES', + self::MILLISECONDS => 'MILLISECONDS', + self::SECONDS => 'SECONDS', + self::MINUTES => 'MINUTES', + self::HOURS => 'HOURS', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MetricScope.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MetricScope.php new file mode 100644 index 000000000000..854fe45ad6a0 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MetricScope.php @@ -0,0 +1,54 @@ +google.analytics.admin.v1beta.CustomMetric.MetricScope + */ +class MetricScope +{ + /** + * Scope unknown or not specified. + * + * Generated from protobuf enum METRIC_SCOPE_UNSPECIFIED = 0; + */ + const METRIC_SCOPE_UNSPECIFIED = 0; + /** + * Metric scoped to an event. + * + * Generated from protobuf enum EVENT = 1; + */ + const EVENT = 1; + + private static $valueToName = [ + self::METRIC_SCOPE_UNSPECIFIED => 'METRIC_SCOPE_UNSPECIFIED', + self::EVENT => 'EVENT', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/RestrictedMetricType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/RestrictedMetricType.php new file mode 100644 index 000000000000..44931033c2c6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/RestrictedMetricType.php @@ -0,0 +1,62 @@ +google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType + */ +class RestrictedMetricType +{ + /** + * Type unknown or unspecified. + * + * Generated from protobuf enum RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; + */ + const RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; + /** + * Metric reports cost data. + * + * Generated from protobuf enum COST_DATA = 1; + */ + const COST_DATA = 1; + /** + * Metric reports revenue data. + * + * Generated from protobuf enum REVENUE_DATA = 2; + */ + const REVENUE_DATA = 2; + + private static $valueToName = [ + self::RESTRICTED_METRIC_TYPE_UNSPECIFIED => 'RESTRICTED_METRIC_TYPE_UNSPECIFIED', + self::COST_DATA => 'COST_DATA', + self::REVENUE_DATA => 'REVENUE_DATA', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings.php new file mode 100644 index 000000000000..56a81d97c462 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings.php @@ -0,0 +1,177 @@ +google.analytics.admin.v1beta.DataRetentionSettings + */ +class DataRetentionSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name for this DataRetentionSetting resource. + * Format: properties/{property}/dataRetentionSettings + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Required. The length of time that event-level data is retained. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $event_data_retention = 0; + /** + * Required. The length of time that user-level data is retained. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration user_data_retention = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $user_data_retention = 0; + /** + * If true, reset the retention period for the user identifier with every + * event from that user. + * + * Generated from protobuf field bool reset_user_data_on_new_activity = 3; + */ + protected $reset_user_data_on_new_activity = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name for this DataRetentionSetting resource. + * Format: properties/{property}/dataRetentionSettings + * @type int $event_data_retention + * Required. The length of time that event-level data is retained. + * @type int $user_data_retention + * Required. The length of time that user-level data is retained. + * @type bool $reset_user_data_on_new_activity + * If true, reset the retention period for the user identifier with every + * event from that user. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name for this DataRetentionSetting resource. + * Format: properties/{property}/dataRetentionSettings + * + * 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 for this DataRetentionSetting resource. + * Format: properties/{property}/dataRetentionSettings + * + * 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 length of time that event-level data is retained. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getEventDataRetention() + { + return $this->event_data_retention; + } + + /** + * Required. The length of time that event-level data is retained. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setEventDataRetention($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\DataRetentionSettings\RetentionDuration::class); + $this->event_data_retention = $var; + + return $this; + } + + /** + * Required. The length of time that user-level data is retained. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration user_data_retention = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getUserDataRetention() + { + return $this->user_data_retention; + } + + /** + * Required. The length of time that user-level data is retained. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration user_data_retention = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setUserDataRetention($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\DataRetentionSettings\RetentionDuration::class); + $this->user_data_retention = $var; + + return $this; + } + + /** + * If true, reset the retention period for the user identifier with every + * event from that user. + * + * Generated from protobuf field bool reset_user_data_on_new_activity = 3; + * @return bool + */ + public function getResetUserDataOnNewActivity() + { + return $this->reset_user_data_on_new_activity; + } + + /** + * If true, reset the retention period for the user identifier with every + * event from that user. + * + * Generated from protobuf field bool reset_user_data_on_new_activity = 3; + * @param bool $var + * @return $this + */ + public function setResetUserDataOnNewActivity($var) + { + GPBUtil::checkBool($var); + $this->reset_user_data_on_new_activity = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings/RetentionDuration.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings/RetentionDuration.php new file mode 100644 index 000000000000..4da8fe442a65 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings/RetentionDuration.php @@ -0,0 +1,85 @@ +google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration + */ +class RetentionDuration +{ + /** + * Data retention time duration is not specified. + * + * Generated from protobuf enum RETENTION_DURATION_UNSPECIFIED = 0; + */ + const RETENTION_DURATION_UNSPECIFIED = 0; + /** + * The data retention time duration is 2 months. + * + * Generated from protobuf enum TWO_MONTHS = 1; + */ + const TWO_MONTHS = 1; + /** + * The data retention time duration is 14 months. + * + * Generated from protobuf enum FOURTEEN_MONTHS = 3; + */ + const FOURTEEN_MONTHS = 3; + /** + * The data retention time duration is 26 months. + * Available to 360 properties only. Available for event data only. + * + * Generated from protobuf enum TWENTY_SIX_MONTHS = 4; + */ + const TWENTY_SIX_MONTHS = 4; + /** + * The data retention time duration is 38 months. + * Available to 360 properties only. Available for event data only. + * + * Generated from protobuf enum THIRTY_EIGHT_MONTHS = 5; + */ + const THIRTY_EIGHT_MONTHS = 5; + /** + * The data retention time duration is 50 months. + * Available to 360 properties only. Available for event data only. + * + * Generated from protobuf enum FIFTY_MONTHS = 6; + */ + const FIFTY_MONTHS = 6; + + private static $valueToName = [ + self::RETENTION_DURATION_UNSPECIFIED => 'RETENTION_DURATION_UNSPECIFIED', + self::TWO_MONTHS => 'TWO_MONTHS', + self::FOURTEEN_MONTHS => 'FOURTEEN_MONTHS', + self::TWENTY_SIX_MONTHS => 'TWENTY_SIX_MONTHS', + self::THIRTY_EIGHT_MONTHS => 'THIRTY_EIGHT_MONTHS', + self::FIFTY_MONTHS => 'FIFTY_MONTHS', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataSharingSettings.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataSharingSettings.php new file mode 100644 index 000000000000..19ac45e960b8 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataSharingSettings.php @@ -0,0 +1,262 @@ +google.analytics.admin.v1beta.DataSharingSettings + */ +class DataSharingSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name. + * Format: accounts/{account}/dataSharingSettings + * Example: "accounts/1000/dataSharingSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Allows Google support to access the data in order to help troubleshoot + * issues. + * + * Generated from protobuf field bool sharing_with_google_support_enabled = 2; + */ + protected $sharing_with_google_support_enabled = false; + /** + * Allows Google sales teams that are assigned to the customer to access the + * data in order to suggest configuration changes to improve results. + * Sales team restrictions still apply when enabled. + * + * Generated from protobuf field bool sharing_with_google_assigned_sales_enabled = 3; + */ + protected $sharing_with_google_assigned_sales_enabled = false; + /** + * Allows any of Google sales to access the data in order to suggest + * configuration changes to improve results. + * + * Generated from protobuf field bool sharing_with_google_any_sales_enabled = 4; + */ + protected $sharing_with_google_any_sales_enabled = false; + /** + * Allows Google to use the data to improve other Google products or services. + * + * Generated from protobuf field bool sharing_with_google_products_enabled = 5; + */ + protected $sharing_with_google_products_enabled = false; + /** + * Allows Google to share the data anonymously in aggregate form with others. + * + * Generated from protobuf field bool sharing_with_others_enabled = 6; + */ + protected $sharing_with_others_enabled = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name. + * Format: accounts/{account}/dataSharingSettings + * Example: "accounts/1000/dataSharingSettings" + * @type bool $sharing_with_google_support_enabled + * Allows Google support to access the data in order to help troubleshoot + * issues. + * @type bool $sharing_with_google_assigned_sales_enabled + * Allows Google sales teams that are assigned to the customer to access the + * data in order to suggest configuration changes to improve results. + * Sales team restrictions still apply when enabled. + * @type bool $sharing_with_google_any_sales_enabled + * Allows any of Google sales to access the data in order to suggest + * configuration changes to improve results. + * @type bool $sharing_with_google_products_enabled + * Allows Google to use the data to improve other Google products or services. + * @type bool $sharing_with_others_enabled + * Allows Google to share the data anonymously in aggregate form with others. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name. + * Format: accounts/{account}/dataSharingSettings + * Example: "accounts/1000/dataSharingSettings" + * + * 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. + * Format: accounts/{account}/dataSharingSettings + * Example: "accounts/1000/dataSharingSettings" + * + * 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; + } + + /** + * Allows Google support to access the data in order to help troubleshoot + * issues. + * + * Generated from protobuf field bool sharing_with_google_support_enabled = 2; + * @return bool + */ + public function getSharingWithGoogleSupportEnabled() + { + return $this->sharing_with_google_support_enabled; + } + + /** + * Allows Google support to access the data in order to help troubleshoot + * issues. + * + * Generated from protobuf field bool sharing_with_google_support_enabled = 2; + * @param bool $var + * @return $this + */ + public function setSharingWithGoogleSupportEnabled($var) + { + GPBUtil::checkBool($var); + $this->sharing_with_google_support_enabled = $var; + + return $this; + } + + /** + * Allows Google sales teams that are assigned to the customer to access the + * data in order to suggest configuration changes to improve results. + * Sales team restrictions still apply when enabled. + * + * Generated from protobuf field bool sharing_with_google_assigned_sales_enabled = 3; + * @return bool + */ + public function getSharingWithGoogleAssignedSalesEnabled() + { + return $this->sharing_with_google_assigned_sales_enabled; + } + + /** + * Allows Google sales teams that are assigned to the customer to access the + * data in order to suggest configuration changes to improve results. + * Sales team restrictions still apply when enabled. + * + * Generated from protobuf field bool sharing_with_google_assigned_sales_enabled = 3; + * @param bool $var + * @return $this + */ + public function setSharingWithGoogleAssignedSalesEnabled($var) + { + GPBUtil::checkBool($var); + $this->sharing_with_google_assigned_sales_enabled = $var; + + return $this; + } + + /** + * Allows any of Google sales to access the data in order to suggest + * configuration changes to improve results. + * + * Generated from protobuf field bool sharing_with_google_any_sales_enabled = 4; + * @return bool + */ + public function getSharingWithGoogleAnySalesEnabled() + { + return $this->sharing_with_google_any_sales_enabled; + } + + /** + * Allows any of Google sales to access the data in order to suggest + * configuration changes to improve results. + * + * Generated from protobuf field bool sharing_with_google_any_sales_enabled = 4; + * @param bool $var + * @return $this + */ + public function setSharingWithGoogleAnySalesEnabled($var) + { + GPBUtil::checkBool($var); + $this->sharing_with_google_any_sales_enabled = $var; + + return $this; + } + + /** + * Allows Google to use the data to improve other Google products or services. + * + * Generated from protobuf field bool sharing_with_google_products_enabled = 5; + * @return bool + */ + public function getSharingWithGoogleProductsEnabled() + { + return $this->sharing_with_google_products_enabled; + } + + /** + * Allows Google to use the data to improve other Google products or services. + * + * Generated from protobuf field bool sharing_with_google_products_enabled = 5; + * @param bool $var + * @return $this + */ + public function setSharingWithGoogleProductsEnabled($var) + { + GPBUtil::checkBool($var); + $this->sharing_with_google_products_enabled = $var; + + return $this; + } + + /** + * Allows Google to share the data anonymously in aggregate form with others. + * + * Generated from protobuf field bool sharing_with_others_enabled = 6; + * @return bool + */ + public function getSharingWithOthersEnabled() + { + return $this->sharing_with_others_enabled; + } + + /** + * Allows Google to share the data anonymously in aggregate form with others. + * + * Generated from protobuf field bool sharing_with_others_enabled = 6; + * @param bool $var + * @return $this + */ + public function setSharingWithOthersEnabled($var) + { + GPBUtil::checkBool($var); + $this->sharing_with_others_enabled = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream.php new file mode 100644 index 000000000000..3dbae7016a05 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream.php @@ -0,0 +1,356 @@ +google.analytics.admin.v1beta.DataStream + */ +class DataStream extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name of this Data Stream. + * Format: properties/{property_id}/dataStreams/{stream_id} + * Example: "properties/1000/dataStreams/2000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Required. Immutable. The type of this DataStream resource. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + */ + protected $type = 0; + /** + * Human-readable display name for the Data Stream. + * Required for web data streams. + * The max allowed display name length is 255 UTF-16 code units. + * + * Generated from protobuf field string display_name = 3; + */ + protected $display_name = ''; + /** + * Output only. Time when this stream was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. Time when stream payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + protected $stream_data; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\DataStream\WebStreamData $web_stream_data + * Data specific to web streams. Must be populated if type is + * WEB_DATA_STREAM. + * @type \Google\Analytics\Admin\V1beta\DataStream\AndroidAppStreamData $android_app_stream_data + * Data specific to Android app streams. Must be populated if type is + * ANDROID_APP_DATA_STREAM. + * @type \Google\Analytics\Admin\V1beta\DataStream\IosAppStreamData $ios_app_stream_data + * Data specific to iOS app streams. Must be populated if type is + * IOS_APP_DATA_STREAM. + * @type string $name + * Output only. Resource name of this Data Stream. + * Format: properties/{property_id}/dataStreams/{stream_id} + * Example: "properties/1000/dataStreams/2000" + * @type int $type + * Required. Immutable. The type of this DataStream resource. + * @type string $display_name + * Human-readable display name for the Data Stream. + * Required for web data streams. + * The max allowed display name length is 255 UTF-16 code units. + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Time when this stream was originally created. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. Time when stream payload fields were last updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Data specific to web streams. Must be populated if type is + * WEB_DATA_STREAM. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; + * @return \Google\Analytics\Admin\V1beta\DataStream\WebStreamData|null + */ + public function getWebStreamData() + { + return $this->readOneof(6); + } + + public function hasWebStreamData() + { + return $this->hasOneof(6); + } + + /** + * Data specific to web streams. Must be populated if type is + * WEB_DATA_STREAM. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; + * @param \Google\Analytics\Admin\V1beta\DataStream\WebStreamData $var + * @return $this + */ + public function setWebStreamData($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataStream\WebStreamData::class); + $this->writeOneof(6, $var); + + return $this; + } + + /** + * Data specific to Android app streams. Must be populated if type is + * ANDROID_APP_DATA_STREAM. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * @return \Google\Analytics\Admin\V1beta\DataStream\AndroidAppStreamData|null + */ + public function getAndroidAppStreamData() + { + return $this->readOneof(7); + } + + public function hasAndroidAppStreamData() + { + return $this->hasOneof(7); + } + + /** + * Data specific to Android app streams. Must be populated if type is + * ANDROID_APP_DATA_STREAM. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; + * @param \Google\Analytics\Admin\V1beta\DataStream\AndroidAppStreamData $var + * @return $this + */ + public function setAndroidAppStreamData($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataStream\AndroidAppStreamData::class); + $this->writeOneof(7, $var); + + return $this; + } + + /** + * Data specific to iOS app streams. Must be populated if type is + * IOS_APP_DATA_STREAM. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * @return \Google\Analytics\Admin\V1beta\DataStream\IosAppStreamData|null + */ + public function getIosAppStreamData() + { + return $this->readOneof(8); + } + + public function hasIosAppStreamData() + { + return $this->hasOneof(8); + } + + /** + * Data specific to iOS app streams. Must be populated if type is + * IOS_APP_DATA_STREAM. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; + * @param \Google\Analytics\Admin\V1beta\DataStream\IosAppStreamData $var + * @return $this + */ + public function setIosAppStreamData($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataStream\IosAppStreamData::class); + $this->writeOneof(8, $var); + + return $this; + } + + /** + * Output only. Resource name of this Data Stream. + * Format: properties/{property_id}/dataStreams/{stream_id} + * Example: "properties/1000/dataStreams/2000" + * + * 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 Data Stream. + * Format: properties/{property_id}/dataStreams/{stream_id} + * Example: "properties/1000/dataStreams/2000" + * + * 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. Immutable. The type of this DataStream resource. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getType() + { + return $this->type; + } + + /** + * Required. Immutable. The type of this DataStream resource. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\DataStream\DataStreamType::class); + $this->type = $var; + + return $this; + } + + /** + * Human-readable display name for the Data Stream. + * Required for web data streams. + * The max allowed display name length is 255 UTF-16 code units. + * + * Generated from protobuf field string display_name = 3; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Human-readable display name for the Data Stream. + * Required for web data streams. + * The max allowed display name length is 255 UTF-16 code units. + * + * Generated from protobuf field string display_name = 3; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Output only. Time when this stream was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.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 this stream was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.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; + } + + /** + * Output only. Time when stream payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. Time when stream payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * @return string + */ + public function getStreamData() + { + return $this->whichOneof("stream_data"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/AndroidAppStreamData.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/AndroidAppStreamData.php new file mode 100644 index 000000000000..63d1e1babc4d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/AndroidAppStreamData.php @@ -0,0 +1,109 @@ +google.analytics.admin.v1beta.DataStream.AndroidAppStreamData + */ +class AndroidAppStreamData extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. ID of the corresponding Android app in Firebase, if any. + * This ID can change if the Android app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $firebase_app_id = ''; + /** + * Immutable. The package name for the app being measured. + * Example: "com.example.myandroidapp" + * + * Generated from protobuf field string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $package_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $firebase_app_id + * Output only. ID of the corresponding Android app in Firebase, if any. + * This ID can change if the Android app is deleted and recreated. + * @type string $package_name + * Immutable. The package name for the app being measured. + * Example: "com.example.myandroidapp" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. ID of the corresponding Android app in Firebase, if any. + * This ID can change if the Android app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getFirebaseAppId() + { + return $this->firebase_app_id; + } + + /** + * Output only. ID of the corresponding Android app in Firebase, if any. + * This ID can change if the Android app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setFirebaseAppId($var) + { + GPBUtil::checkString($var, True); + $this->firebase_app_id = $var; + + return $this; + } + + /** + * Immutable. The package name for the app being measured. + * Example: "com.example.myandroidapp" + * + * Generated from protobuf field string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getPackageName() + { + return $this->package_name; + } + + /** + * Immutable. The package name for the app being measured. + * Example: "com.example.myandroidapp" + * + * Generated from protobuf field string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setPackageName($var) + { + GPBUtil::checkString($var, True); + $this->package_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/DataStreamType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/DataStreamType.php new file mode 100644 index 000000000000..3bbdd15583d4 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/DataStreamType.php @@ -0,0 +1,68 @@ +google.analytics.admin.v1beta.DataStream.DataStreamType + */ +class DataStreamType +{ + /** + * Type unknown or not specified. + * + * Generated from protobuf enum DATA_STREAM_TYPE_UNSPECIFIED = 0; + */ + const DATA_STREAM_TYPE_UNSPECIFIED = 0; + /** + * Web data stream. + * + * Generated from protobuf enum WEB_DATA_STREAM = 1; + */ + const WEB_DATA_STREAM = 1; + /** + * Android app data stream. + * + * Generated from protobuf enum ANDROID_APP_DATA_STREAM = 2; + */ + const ANDROID_APP_DATA_STREAM = 2; + /** + * iOS app data stream. + * + * Generated from protobuf enum IOS_APP_DATA_STREAM = 3; + */ + const IOS_APP_DATA_STREAM = 3; + + private static $valueToName = [ + self::DATA_STREAM_TYPE_UNSPECIFIED => 'DATA_STREAM_TYPE_UNSPECIFIED', + self::WEB_DATA_STREAM => 'WEB_DATA_STREAM', + self::ANDROID_APP_DATA_STREAM => 'ANDROID_APP_DATA_STREAM', + self::IOS_APP_DATA_STREAM => 'IOS_APP_DATA_STREAM', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/IosAppStreamData.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/IosAppStreamData.php new file mode 100644 index 000000000000..46ba1ddc8d47 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/IosAppStreamData.php @@ -0,0 +1,109 @@ +google.analytics.admin.v1beta.DataStream.IosAppStreamData + */ +class IosAppStreamData extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. ID of the corresponding iOS app in Firebase, if any. + * This ID can change if the iOS app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $firebase_app_id = ''; + /** + * Required. Immutable. The Apple App Store Bundle ID for the app + * Example: "com.example.myiosapp" + * + * Generated from protobuf field string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + */ + protected $bundle_id = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $firebase_app_id + * Output only. ID of the corresponding iOS app in Firebase, if any. + * This ID can change if the iOS app is deleted and recreated. + * @type string $bundle_id + * Required. Immutable. The Apple App Store Bundle ID for the app + * Example: "com.example.myiosapp" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. ID of the corresponding iOS app in Firebase, if any. + * This ID can change if the iOS app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getFirebaseAppId() + { + return $this->firebase_app_id; + } + + /** + * Output only. ID of the corresponding iOS app in Firebase, if any. + * This ID can change if the iOS app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setFirebaseAppId($var) + { + GPBUtil::checkString($var, True); + $this->firebase_app_id = $var; + + return $this; + } + + /** + * Required. Immutable. The Apple App Store Bundle ID for the app + * Example: "com.example.myiosapp" + * + * Generated from protobuf field string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getBundleId() + { + return $this->bundle_id; + } + + /** + * Required. Immutable. The Apple App Store Bundle ID for the app + * Example: "com.example.myiosapp" + * + * Generated from protobuf field string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setBundleId($var) + { + GPBUtil::checkString($var, True); + $this->bundle_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/WebStreamData.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/WebStreamData.php new file mode 100644 index 000000000000..4355d56e2ac5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/WebStreamData.php @@ -0,0 +1,147 @@ +google.analytics.admin.v1beta.DataStream.WebStreamData + */ +class WebStreamData extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Analytics Measurement ID. + * Example: "G-1A2BCD345E" + * + * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $measurement_id = ''; + /** + * Output only. ID of the corresponding web app in Firebase, if any. + * This ID can change if the web app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $firebase_app_id = ''; + /** + * Domain name of the web app being measured, or empty. + * Example: "http://www.google.com", "https://www.google.com" + * + * Generated from protobuf field string default_uri = 3; + */ + protected $default_uri = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $measurement_id + * Output only. Analytics Measurement ID. + * Example: "G-1A2BCD345E" + * @type string $firebase_app_id + * Output only. ID of the corresponding web app in Firebase, if any. + * This ID can change if the web app is deleted and recreated. + * @type string $default_uri + * Domain name of the web app being measured, or empty. + * Example: "http://www.google.com", "https://www.google.com" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Analytics Measurement ID. + * Example: "G-1A2BCD345E" + * + * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getMeasurementId() + { + return $this->measurement_id; + } + + /** + * Output only. Analytics Measurement ID. + * Example: "G-1A2BCD345E" + * + * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setMeasurementId($var) + { + GPBUtil::checkString($var, True); + $this->measurement_id = $var; + + return $this; + } + + /** + * Output only. ID of the corresponding web app in Firebase, if any. + * This ID can change if the web app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getFirebaseAppId() + { + return $this->firebase_app_id; + } + + /** + * Output only. ID of the corresponding web app in Firebase, if any. + * This ID can change if the web app is deleted and recreated. + * + * Generated from protobuf field string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setFirebaseAppId($var) + { + GPBUtil::checkString($var, True); + $this->firebase_app_id = $var; + + return $this; + } + + /** + * Domain name of the web app being measured, or empty. + * Example: "http://www.google.com", "https://www.google.com" + * + * Generated from protobuf field string default_uri = 3; + * @return string + */ + public function getDefaultUri() + { + return $this->default_uri; + } + + /** + * Domain name of the web app being measured, or empty. + * Example: "http://www.google.com", "https://www.google.com" + * + * Generated from protobuf field string default_uri = 3; + * @param string $var + * @return $this + */ + public function setDefaultUri($var) + { + GPBUtil::checkString($var, True); + $this->default_uri = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteAccountRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteAccountRequest.php new file mode 100644 index 000000000000..bd5b039cf57f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteAccountRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1beta.DeleteAccountRequest + */ +class DeleteAccountRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the Account to soft-delete. + * Format: accounts/{account} + * Example: "accounts/100" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the Account to soft-delete. + * Format: accounts/{account} + * Example: "accounts/100" + * Please see {@see AnalyticsAdminServiceClient::accountName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\DeleteAccountRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the Account to soft-delete. + * Format: accounts/{account} + * Example: "accounts/100" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the Account to soft-delete. + * Format: accounts/{account} + * Example: "accounts/100" + * + * 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 Account to soft-delete. + * Format: accounts/{account} + * Example: "accounts/100" + * + * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteConversionEventRequest.php new file mode 100644 index 000000000000..1ce3d911de9b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteConversionEventRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1beta.DeleteConversionEventRequest + */ +class DeleteConversionEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the conversion event to delete. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the conversion event to delete. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * Please see {@see AnalyticsAdminServiceClient::conversionEventName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\DeleteConversionEventRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the conversion event to delete. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the conversion event to delete. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/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 resource name of the conversion event to delete. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteDataStreamRequest.php new file mode 100644 index 000000000000..5753397fa62a --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteDataStreamRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1beta.DeleteDataStreamRequest + */ +class DeleteDataStreamRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the DataStream to delete. + * Example format: properties/1234/dataStreams/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the DataStream to delete. + * Example format: properties/1234/dataStreams/5678 + * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\DeleteDataStreamRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the DataStream to delete. + * Example format: properties/1234/dataStreams/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the DataStream to delete. + * Example format: properties/1234/dataStreams/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 DataStream to delete. + * Example format: properties/1234/dataStreams/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteFirebaseLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteFirebaseLinkRequest.php new file mode 100644 index 000000000000..d76f4e8c4d48 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteFirebaseLinkRequest.php @@ -0,0 +1,87 @@ +google.analytics.admin.v1beta.DeleteFirebaseLinkRequest + */ +class DeleteFirebaseLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} + * Example: `properties/1234/firebaseLinks/5678` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} + * + * Example: `properties/1234/firebaseLinks/5678` + * Please see {@see AnalyticsAdminServiceClient::firebaseLinkName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\DeleteFirebaseLinkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} + * Example: `properties/1234/firebaseLinks/5678` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} + * Example: `properties/1234/firebaseLinks/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. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} + * Example: `properties/1234/firebaseLinks/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteGoogleAdsLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteGoogleAdsLinkRequest.php new file mode 100644 index 000000000000..214289db44d3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteGoogleAdsLinkRequest.php @@ -0,0 +1,81 @@ +google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest + */ +class DeleteGoogleAdsLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Example format: properties/1234/googleAdsLinks/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Example format: properties/1234/googleAdsLinks/5678 + * Please see {@see AnalyticsAdminServiceClient::googleAdsLinkName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\DeleteGoogleAdsLinkRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Example format: properties/1234/googleAdsLinks/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. Example format: properties/1234/googleAdsLinks/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. Example format: properties/1234/googleAdsLinks/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteKeyEventRequest.php new file mode 100644 index 000000000000..28ba2906339b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteKeyEventRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1beta.DeleteKeyEventRequest + */ +class DeleteKeyEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Key Event to delete. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/456" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Key Event to delete. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/456" + * Please see {@see AnalyticsAdminServiceClient::keyEventName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\DeleteKeyEventRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Key Event to delete. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/456" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Key Event to delete. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/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 resource name of the Key Event to delete. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteMeasurementProtocolSecretRequest.php new file mode 100644 index 000000000000..b1f2cd50ac47 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteMeasurementProtocolSecretRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest + */ +class DeleteMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the MeasurementProtocolSecret to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the MeasurementProtocolSecret to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * Please see {@see AnalyticsAdminServiceClient::measurementProtocolSecretName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\DeleteMeasurementProtocolSecretRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the MeasurementProtocolSecret to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the MeasurementProtocolSecret to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * + * 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 MeasurementProtocolSecret to delete. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * + * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeletePropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeletePropertyRequest.php new file mode 100644 index 000000000000..f2b3d2d0bde6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeletePropertyRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1beta.DeletePropertyRequest + */ +class DeletePropertyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the Property to soft-delete. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the Property to soft-delete. + * Format: properties/{property_id} + * Example: "properties/1000" + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\DeletePropertyRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the Property to soft-delete. + * Format: properties/{property_id} + * Example: "properties/1000" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the Property to soft-delete. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * 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 Property to soft-delete. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/FirebaseLink.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/FirebaseLink.php new file mode 100644 index 000000000000..11c904a07a67 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/FirebaseLink.php @@ -0,0 +1,165 @@ +google.analytics.admin.v1beta.FirebaseLink + */ +class FirebaseLink extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Example format: properties/1234/firebaseLinks/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $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 + * have a project_name that contains a project number. + * Format: 'projects/{project number}' + * Example: 'projects/1234' + * + * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $project = ''; + /** + * Output only. Time when this FirebaseLink was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @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 + * have a project_name that contains a project number. + * Format: 'projects/{project number}' + * Example: 'projects/1234' + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Time when this FirebaseLink was originally created. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Example format: properties/1234/firebaseLinks/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Output only. Example format: properties/1234/firebaseLinks/5678 + * + * 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. 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' + * + * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getProject() + { + return $this->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 + * have a project_name 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 this FirebaseLink was originally 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 this FirebaseLink was originally 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; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetAccountRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetAccountRequest.php new file mode 100644 index 000000000000..01d75a2f9fe1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetAccountRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1beta.GetAccountRequest + */ +class GetAccountRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the account to lookup. + * Format: accounts/{account} + * Example: "accounts/100" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the account to lookup. + * Format: accounts/{account} + * Example: "accounts/100" + * Please see {@see AnalyticsAdminServiceClient::accountName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\GetAccountRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the account to lookup. + * Format: accounts/{account} + * Example: "accounts/100" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the account to lookup. + * Format: accounts/{account} + * Example: "accounts/100" + * + * 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 account to lookup. + * Format: accounts/{account} + * Example: "accounts/100" + * + * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetConversionEventRequest.php new file mode 100644 index 000000000000..2a78b196abe0 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetConversionEventRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1beta.GetConversionEventRequest + */ +class GetConversionEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the conversion event to retrieve. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the conversion event to retrieve. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * Please see {@see AnalyticsAdminServiceClient::conversionEventName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\GetConversionEventRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the conversion event to retrieve. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/456" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the conversion event to retrieve. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/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 resource name of the conversion event to retrieve. + * Format: properties/{property}/conversionEvents/{conversion_event} + * Example: "properties/123/conversionEvents/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomDimensionRequest.php new file mode 100644 index 000000000000..88ebf65526e7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomDimensionRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1beta.GetCustomDimensionRequest + */ +class GetCustomDimensionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the CustomDimension to get. + * Example format: properties/1234/customDimensions/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the CustomDimension to get. + * Example format: properties/1234/customDimensions/5678 + * Please see {@see AnalyticsAdminServiceClient::customDimensionName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\GetCustomDimensionRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the CustomDimension to get. + * Example format: properties/1234/customDimensions/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the CustomDimension to get. + * Example format: properties/1234/customDimensions/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 CustomDimension to get. + * Example format: properties/1234/customDimensions/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomMetricRequest.php new file mode 100644 index 000000000000..1d885ce0cce2 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomMetricRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1beta.GetCustomMetricRequest + */ +class GetCustomMetricRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the CustomMetric to get. + * Example format: properties/1234/customMetrics/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the CustomMetric to get. + * Example format: properties/1234/customMetrics/5678 + * Please see {@see AnalyticsAdminServiceClient::customMetricName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\GetCustomMetricRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the CustomMetric to get. + * Example format: properties/1234/customMetrics/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the CustomMetric to get. + * Example format: properties/1234/customMetrics/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 CustomMetric to get. + * Example format: properties/1234/customMetrics/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataRetentionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataRetentionSettingsRequest.php new file mode 100644 index 000000000000..3d9a8ace2933 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataRetentionSettingsRequest.php @@ -0,0 +1,96 @@ +google.analytics.admin.v1beta.GetDataRetentionSettingsRequest + */ +class GetDataRetentionSettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataRetentionSettings + * Example: "properties/1000/dataRetentionSettings" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataRetentionSettings + * Example: "properties/1000/dataRetentionSettings" + * Please see {@see AnalyticsAdminServiceClient::dataRetentionSettingsName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\GetDataRetentionSettingsRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataRetentionSettings + * Example: "properties/1000/dataRetentionSettings" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the settings to lookup. + * Format: + * properties/{property}/dataRetentionSettings + * Example: "properties/1000/dataRetentionSettings" + * + * 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 settings to lookup. + * Format: + * properties/{property}/dataRetentionSettings + * Example: "properties/1000/dataRetentionSettings" + * + * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataSharingSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataSharingSettingsRequest.php new file mode 100644 index 000000000000..e4def21051b3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataSharingSettingsRequest.php @@ -0,0 +1,92 @@ +google.analytics.admin.v1beta.GetDataSharingSettingsRequest + */ +class GetDataSharingSettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the settings to lookup. + * Format: accounts/{account}/dataSharingSettings + * Example: `accounts/1000/dataSharingSettings` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the settings to lookup. + * Format: accounts/{account}/dataSharingSettings + * + * Example: `accounts/1000/dataSharingSettings` + * Please see {@see AnalyticsAdminServiceClient::dataSharingSettingsName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\GetDataSharingSettingsRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the settings to lookup. + * Format: accounts/{account}/dataSharingSettings + * Example: `accounts/1000/dataSharingSettings` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the settings to lookup. + * Format: accounts/{account}/dataSharingSettings + * Example: `accounts/1000/dataSharingSettings` + * + * 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 settings to lookup. + * Format: accounts/{account}/dataSharingSettings + * Example: `accounts/1000/dataSharingSettings` + * + * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataStreamRequest.php new file mode 100644 index 000000000000..5e3954dea3e9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataStreamRequest.php @@ -0,0 +1,86 @@ +google.analytics.admin.v1beta.GetDataStreamRequest + */ +class GetDataStreamRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the DataStream to get. + * Example format: properties/1234/dataStreams/5678 + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the DataStream to get. + * Example format: properties/1234/dataStreams/5678 + * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\GetDataStreamRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the DataStream to get. + * Example format: properties/1234/dataStreams/5678 + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the DataStream to get. + * Example format: properties/1234/dataStreams/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 DataStream to get. + * Example format: properties/1234/dataStreams/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetKeyEventRequest.php new file mode 100644 index 000000000000..5d3aed027f25 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetKeyEventRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1beta.GetKeyEventRequest + */ +class GetKeyEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Key Event to retrieve. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/456" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The resource name of the Key Event to retrieve. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/456" + * Please see {@see AnalyticsAdminServiceClient::keyEventName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\GetKeyEventRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the Key Event to retrieve. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/456" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Key Event to retrieve. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/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 resource name of the Key Event to retrieve. + * Format: properties/{property}/keyEvents/{key_event} + * Example: "properties/123/keyEvents/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetMeasurementProtocolSecretRequest.php new file mode 100644 index 000000000000..debf83122c5d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetMeasurementProtocolSecretRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest + */ +class GetMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the measurement protocol secret to lookup. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the measurement protocol secret to lookup. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * Please see {@see AnalyticsAdminServiceClient::measurementProtocolSecretName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\GetMeasurementProtocolSecretRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the measurement protocol secret to lookup. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the measurement protocol secret to lookup. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * + * 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 measurement protocol secret to lookup. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * + * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetPropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetPropertyRequest.php new file mode 100644 index 000000000000..23c4f6813721 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetPropertyRequest.php @@ -0,0 +1,91 @@ +google.analytics.admin.v1beta.GetPropertyRequest + */ +class GetPropertyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the property to lookup. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. The name of the property to lookup. + * Format: properties/{property_id} + * Example: "properties/1000" + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\GetPropertyRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The name of the property to lookup. + * Format: properties/{property_id} + * Example: "properties/1000" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the property to lookup. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * 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 property to lookup. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GoogleAdsLink.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GoogleAdsLink.php new file mode 100644 index 000000000000..a426cef2704c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GoogleAdsLink.php @@ -0,0 +1,358 @@ +google.analytics.admin.v1beta.GoogleAdsLink + */ +class GoogleAdsLink extends \Google\Protobuf\Internal\Message +{ + /** + * 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]; + */ + protected $name = ''; + /** + * Immutable. Google Ads customer ID. + * + * Generated from protobuf field string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $customer_id = ''; + /** + * Output only. If true, this link is for a Google Ads manager account. + * + * Generated from protobuf field bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $can_manage_clients = false; + /** + * Enable personalized advertising features with this integration. + * Automatically publish my Google Analytics audience lists and Google + * Analytics remarketing events/parameters to the linked Google Ads account. + * If this field is not set on create/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; + */ + protected $ads_personalization_enabled = null; + /** + * Output only. Time when this link was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. Time when this link was last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + /** + * Output only. Email address of the user that created the link. + * An empty string will be returned if the email address can't be retrieved. + * + * Generated from protobuf field string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $creator_email_address = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * 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. + * @type bool $can_manage_clients + * Output only. If true, this link is for a Google Ads manager account. + * @type \Google\Protobuf\BoolValue $ads_personalization_enabled + * Enable personalized advertising features with this integration. + * Automatically publish my Google Analytics audience lists and Google + * Analytics remarketing events/parameters to the linked Google Ads account. + * If this field is not set on create/update, it will be defaulted to true. + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Time when this link was originally created. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. Time when this link was last updated. + * @type string $creator_email_address + * Output only. Email address of the user that created the link. + * An empty string will be returned if the email address can't be retrieved. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * 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]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * 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]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Immutable. Google Ads customer ID. + * + * Generated from protobuf field string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getCustomerId() + { + return $this->customer_id; + } + + /** + * Immutable. Google Ads customer ID. + * + * Generated from protobuf field string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setCustomerId($var) + { + GPBUtil::checkString($var, True); + $this->customer_id = $var; + + return $this; + } + + /** + * Output only. If true, this link is for a Google Ads manager account. + * + * Generated from protobuf field bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getCanManageClients() + { + return $this->can_manage_clients; + } + + /** + * Output only. If true, this link is for a Google Ads manager account. + * + * Generated from protobuf field bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setCanManageClients($var) + { + GPBUtil::checkBool($var); + $this->can_manage_clients = $var; + + return $this; + } + + /** + * Enable personalized advertising features with this integration. + * Automatically publish my Google Analytics audience lists and Google + * Analytics remarketing events/parameters to the linked Google Ads account. + * If this field is not set on create/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; + * @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() + + * Enable personalized advertising features with this integration. + * Automatically publish my Google Analytics audience lists and Google + * Analytics remarketing events/parameters to the linked Google Ads account. + * If this field is not set on create/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; + * @return bool|null + */ + public function getAdsPersonalizationEnabledUnwrapped() + { + return $this->readWrapperValue("ads_personalization_enabled"); + } + + /** + * Enable personalized advertising features with this integration. + * Automatically publish my Google Analytics audience lists and Google + * Analytics remarketing events/parameters to the linked Google Ads account. + * If this field is not set on create/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; + * @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. + + * Enable personalized advertising features with this integration. + * Automatically publish my Google Analytics audience lists and Google + * Analytics remarketing events/parameters to the linked Google Ads account. + * If this field is not set on create/update, it will be defaulted to true. + * + * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; + * @param bool|null $var + * @return $this + */ + public function setAdsPersonalizationEnabledUnwrapped($var) + { + $this->writeWrapperValue("ads_personalization_enabled", $var); + return $this;} + + /** + * Output only. Time when this link was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.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 this link was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.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; + } + + /** + * Output only. Time when this link was last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. Time when this link was last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * Output only. Email address of the user that created the link. + * An empty string will be returned if the email address can't be retrieved. + * + * Generated from protobuf field string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getCreatorEmailAddress() + { + return $this->creator_email_address; + } + + /** + * Output only. Email address of the user that created the link. + * An empty string will be returned if the email address can't be retrieved. + * + * Generated from protobuf field string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setCreatorEmailAddress($var) + { + GPBUtil::checkString($var, True); + $this->creator_email_address = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/IndustryCategory.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/IndustryCategory.php new file mode 100644 index 000000000000..887b34452f65 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/IndustryCategory.php @@ -0,0 +1,229 @@ +google.analytics.admin.v1beta.IndustryCategory + */ +class IndustryCategory +{ + /** + * Industry category unspecified + * + * Generated from protobuf enum INDUSTRY_CATEGORY_UNSPECIFIED = 0; + */ + const INDUSTRY_CATEGORY_UNSPECIFIED = 0; + /** + * Automotive + * + * Generated from protobuf enum AUTOMOTIVE = 1; + */ + const AUTOMOTIVE = 1; + /** + * Business and industrial markets + * + * Generated from protobuf enum BUSINESS_AND_INDUSTRIAL_MARKETS = 2; + */ + const BUSINESS_AND_INDUSTRIAL_MARKETS = 2; + /** + * Finance + * + * Generated from protobuf enum FINANCE = 3; + */ + const FINANCE = 3; + /** + * Healthcare + * + * Generated from protobuf enum HEALTHCARE = 4; + */ + const HEALTHCARE = 4; + /** + * Technology + * + * Generated from protobuf enum TECHNOLOGY = 5; + */ + const TECHNOLOGY = 5; + /** + * Travel + * + * Generated from protobuf enum TRAVEL = 6; + */ + const TRAVEL = 6; + /** + * Other + * + * Generated from protobuf enum OTHER = 7; + */ + const OTHER = 7; + /** + * Arts and entertainment + * + * Generated from protobuf enum ARTS_AND_ENTERTAINMENT = 8; + */ + const ARTS_AND_ENTERTAINMENT = 8; + /** + * Beauty and fitness + * + * Generated from protobuf enum BEAUTY_AND_FITNESS = 9; + */ + const BEAUTY_AND_FITNESS = 9; + /** + * Books and literature + * + * Generated from protobuf enum BOOKS_AND_LITERATURE = 10; + */ + const BOOKS_AND_LITERATURE = 10; + /** + * Food and drink + * + * Generated from protobuf enum FOOD_AND_DRINK = 11; + */ + const FOOD_AND_DRINK = 11; + /** + * Games + * + * Generated from protobuf enum GAMES = 12; + */ + const GAMES = 12; + /** + * Hobbies and leisure + * + * Generated from protobuf enum HOBBIES_AND_LEISURE = 13; + */ + const HOBBIES_AND_LEISURE = 13; + /** + * Home and garden + * + * Generated from protobuf enum HOME_AND_GARDEN = 14; + */ + const HOME_AND_GARDEN = 14; + /** + * Internet and telecom + * + * Generated from protobuf enum INTERNET_AND_TELECOM = 15; + */ + const INTERNET_AND_TELECOM = 15; + /** + * Law and government + * + * Generated from protobuf enum LAW_AND_GOVERNMENT = 16; + */ + const LAW_AND_GOVERNMENT = 16; + /** + * News + * + * Generated from protobuf enum NEWS = 17; + */ + const NEWS = 17; + /** + * Online communities + * + * Generated from protobuf enum ONLINE_COMMUNITIES = 18; + */ + const ONLINE_COMMUNITIES = 18; + /** + * People and society + * + * Generated from protobuf enum PEOPLE_AND_SOCIETY = 19; + */ + const PEOPLE_AND_SOCIETY = 19; + /** + * Pets and animals + * + * Generated from protobuf enum PETS_AND_ANIMALS = 20; + */ + const PETS_AND_ANIMALS = 20; + /** + * Real estate + * + * Generated from protobuf enum REAL_ESTATE = 21; + */ + const REAL_ESTATE = 21; + /** + * Reference + * + * Generated from protobuf enum REFERENCE = 22; + */ + const REFERENCE = 22; + /** + * Science + * + * Generated from protobuf enum SCIENCE = 23; + */ + const SCIENCE = 23; + /** + * Sports + * + * Generated from protobuf enum SPORTS = 24; + */ + const SPORTS = 24; + /** + * Jobs and education + * + * Generated from protobuf enum JOBS_AND_EDUCATION = 25; + */ + const JOBS_AND_EDUCATION = 25; + /** + * Shopping + * + * Generated from protobuf enum SHOPPING = 26; + */ + const SHOPPING = 26; + + private static $valueToName = [ + self::INDUSTRY_CATEGORY_UNSPECIFIED => 'INDUSTRY_CATEGORY_UNSPECIFIED', + self::AUTOMOTIVE => 'AUTOMOTIVE', + self::BUSINESS_AND_INDUSTRIAL_MARKETS => 'BUSINESS_AND_INDUSTRIAL_MARKETS', + self::FINANCE => 'FINANCE', + self::HEALTHCARE => 'HEALTHCARE', + self::TECHNOLOGY => 'TECHNOLOGY', + self::TRAVEL => 'TRAVEL', + self::OTHER => 'OTHER', + self::ARTS_AND_ENTERTAINMENT => 'ARTS_AND_ENTERTAINMENT', + self::BEAUTY_AND_FITNESS => 'BEAUTY_AND_FITNESS', + self::BOOKS_AND_LITERATURE => 'BOOKS_AND_LITERATURE', + self::FOOD_AND_DRINK => 'FOOD_AND_DRINK', + self::GAMES => 'GAMES', + self::HOBBIES_AND_LEISURE => 'HOBBIES_AND_LEISURE', + self::HOME_AND_GARDEN => 'HOME_AND_GARDEN', + self::INTERNET_AND_TELECOM => 'INTERNET_AND_TELECOM', + self::LAW_AND_GOVERNMENT => 'LAW_AND_GOVERNMENT', + self::NEWS => 'NEWS', + self::ONLINE_COMMUNITIES => 'ONLINE_COMMUNITIES', + self::PEOPLE_AND_SOCIETY => 'PEOPLE_AND_SOCIETY', + self::PETS_AND_ANIMALS => 'PETS_AND_ANIMALS', + self::REAL_ESTATE => 'REAL_ESTATE', + self::REFERENCE => 'REFERENCE', + self::SCIENCE => 'SCIENCE', + self::SPORTS => 'SPORTS', + self::JOBS_AND_EDUCATION => 'JOBS_AND_EDUCATION', + self::SHOPPING => 'SHOPPING', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent.php new file mode 100644 index 000000000000..e1e60f5ab8bc --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent.php @@ -0,0 +1,323 @@ +google.analytics.admin.v1beta.KeyEvent + */ +class KeyEvent extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name of this key event. + * Format: properties/{property}/keyEvents/{key_event} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Immutable. The event name for this key event. + * Examples: 'click', 'purchase' + * + * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $event_name = ''; + /** + * Output only. Time when this key event was created in the property. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. If set to true, this event can be deleted. + * + * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $deletable = false; + /** + * Output only. If set to true, this key event refers to a custom event. If + * set to false, this key 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 key events that may be created per property. + * + * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $custom = false; + /** + * Required. The method by which Key Events will be counted across multiple + * events within a session. + * + * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent.CountingMethod counting_method = 6 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $counting_method = 0; + /** + * Optional. Defines a default value/currency for a key event. + * + * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent.DefaultValue default_value = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $default_value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name of this key event. + * Format: properties/{property}/keyEvents/{key_event} + * @type string $event_name + * Immutable. The event name for this key event. + * Examples: 'click', 'purchase' + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Time when this key event was created in the property. + * @type bool $deletable + * Output only. If set to true, this event can be deleted. + * @type bool $custom + * Output only. If set to true, this key event refers to a custom event. If + * set to false, this key 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 key events that may be created per property. + * @type int $counting_method + * Required. The method by which Key Events will be counted across multiple + * events within a session. + * @type \Google\Analytics\Admin\V1beta\KeyEvent\DefaultValue $default_value + * Optional. Defines a default value/currency for a key event. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name of this key event. + * Format: properties/{property}/keyEvents/{key_event} + * + * 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 key event. + * Format: properties/{property}/keyEvents/{key_event} + * + * 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 event name for this key event. + * Examples: 'click', 'purchase' + * + * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getEventName() + { + return $this->event_name; + } + + /** + * Immutable. The event name for this key event. + * Examples: 'click', 'purchase' + * + * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setEventName($var) + { + GPBUtil::checkString($var, True); + $this->event_name = $var; + + return $this; + } + + /** + * Output only. Time when this key event was created in the property. + * + * 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 this key event was created in the property. + * + * 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; + } + + /** + * Output only. If set to true, this event can be deleted. + * + * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getDeletable() + { + return $this->deletable; + } + + /** + * Output only. If set to true, this event can be deleted. + * + * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setDeletable($var) + { + GPBUtil::checkBool($var); + $this->deletable = $var; + + return $this; + } + + /** + * Output only. If set to true, this key event refers to a custom event. If + * set to false, this key 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 key events that may be created per property. + * + * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getCustom() + { + return $this->custom; + } + + /** + * Output only. If set to true, this key event refers to a custom event. If + * set to false, this key 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 key events that may be created per property. + * + * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setCustom($var) + { + GPBUtil::checkBool($var); + $this->custom = $var; + + return $this; + } + + /** + * Required. The method by which Key Events will be counted across multiple + * events within a session. + * + * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent.CountingMethod counting_method = 6 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getCountingMethod() + { + return $this->counting_method; + } + + /** + * Required. The method by which Key Events will be counted across multiple + * events within a session. + * + * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent.CountingMethod counting_method = 6 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setCountingMethod($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\KeyEvent\CountingMethod::class); + $this->counting_method = $var; + + return $this; + } + + /** + * Optional. Defines a default value/currency for a key event. + * + * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent.DefaultValue default_value = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Analytics\Admin\V1beta\KeyEvent\DefaultValue|null + */ + public function getDefaultValue() + { + return $this->default_value; + } + + public function hasDefaultValue() + { + return isset($this->default_value); + } + + public function clearDefaultValue() + { + unset($this->default_value); + } + + /** + * Optional. Defines a default value/currency for a key event. + * + * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent.DefaultValue default_value = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Analytics\Admin\V1beta\KeyEvent\DefaultValue $var + * @return $this + */ + public function setDefaultValue($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\KeyEvent\DefaultValue::class); + $this->default_value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/CountingMethod.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/CountingMethod.php new file mode 100644 index 000000000000..38c4718483ee --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/CountingMethod.php @@ -0,0 +1,63 @@ +google.analytics.admin.v1beta.KeyEvent.CountingMethod + */ +class CountingMethod +{ + /** + * Counting method not specified. + * + * Generated from protobuf enum COUNTING_METHOD_UNSPECIFIED = 0; + */ + const COUNTING_METHOD_UNSPECIFIED = 0; + /** + * Each Event instance is considered a Key Event. + * + * Generated from protobuf enum ONCE_PER_EVENT = 1; + */ + const ONCE_PER_EVENT = 1; + /** + * An Event instance is considered a Key Event at most once per session per + * user. + * + * Generated from protobuf enum ONCE_PER_SESSION = 2; + */ + const ONCE_PER_SESSION = 2; + + private static $valueToName = [ + self::COUNTING_METHOD_UNSPECIFIED => 'COUNTING_METHOD_UNSPECIFIED', + self::ONCE_PER_EVENT => 'ONCE_PER_EVENT', + self::ONCE_PER_SESSION => 'ONCE_PER_SESSION', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/DefaultValue.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/DefaultValue.php new file mode 100644 index 000000000000..7250573d92ea --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/DefaultValue.php @@ -0,0 +1,121 @@ +google.analytics.admin.v1beta.KeyEvent.DefaultValue + */ +class DefaultValue extends \Google\Protobuf\Internal\Message +{ + /** + * Required. This will be used to populate the "value" parameter for all + * occurrences of this Key Event (specified by event_name) where that + * parameter is unset. + * + * Generated from protobuf field double numeric_value = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $numeric_value = 0.0; + /** + * Required. When an occurrence of this Key Event (specified by event_name) + * has no set currency this currency will be applied as the default. Must be + * in ISO 4217 currency code format. + * See https://en.wikipedia.org/wiki/ISO_4217 for more information. + * + * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $currency_code = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float $numeric_value + * Required. This will be used to populate the "value" parameter for all + * occurrences of this Key Event (specified by event_name) where that + * parameter is unset. + * @type string $currency_code + * Required. When an occurrence of this Key Event (specified by event_name) + * has no set currency this currency will be applied as the default. Must be + * in ISO 4217 currency code format. + * See https://en.wikipedia.org/wiki/ISO_4217 for more information. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Required. This will be used to populate the "value" parameter for all + * occurrences of this Key Event (specified by event_name) where that + * parameter is unset. + * + * Generated from protobuf field double numeric_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return float + */ + public function getNumericValue() + { + return $this->numeric_value; + } + + /** + * Required. This will be used to populate the "value" parameter for all + * occurrences of this Key Event (specified by event_name) where that + * parameter is unset. + * + * Generated from protobuf field double numeric_value = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param float $var + * @return $this + */ + public function setNumericValue($var) + { + GPBUtil::checkDouble($var); + $this->numeric_value = $var; + + return $this; + } + + /** + * Required. When an occurrence of this Key Event (specified by event_name) + * has no set currency this currency will be applied as the default. Must be + * in ISO 4217 currency code format. + * See https://en.wikipedia.org/wiki/ISO_4217 for more information. + * + * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getCurrencyCode() + { + return $this->currency_code; + } + + /** + * Required. When an occurrence of this Key Event (specified by event_name) + * has no set currency this currency will be applied as the default. Must be + * in ISO 4217 currency code format. + * See https://en.wikipedia.org/wiki/ISO_4217 for more information. + * + * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setCurrencyCode($var) + { + GPBUtil::checkString($var, True); + $this->currency_code = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesRequest.php new file mode 100644 index 000000000000..f78ba51ea22e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesRequest.php @@ -0,0 +1,125 @@ +google.analytics.admin.v1beta.ListAccountSummariesRequest + */ +class ListAccountSummariesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The maximum number of AccountSummary 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 = 1; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListAccountSummaries` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccountSummaries` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 2; + */ + protected $page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $page_size + * The maximum number of AccountSummary 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 `ListAccountSummaries` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccountSummaries` + * must match the call that provided the page token. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The maximum number of AccountSummary 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 = 1; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * The maximum number of AccountSummary 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 = 1; + * @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 `ListAccountSummaries` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccountSummaries` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 2; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * A page token, received from a previous `ListAccountSummaries` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccountSummaries` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 2; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesResponse.php new file mode 100644 index 000000000000..49ed505382d3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1beta.ListAccountSummariesResponse + */ +class ListAccountSummariesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Account summaries of all accounts the caller has access to. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; + */ + private $account_summaries; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\AccountSummary[] $account_summaries + * Account summaries of all accounts the caller has access to. + * @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\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Account summaries of all accounts the caller has access to. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccountSummary> + */ + public function getAccountSummaries() + { + return $this->account_summaries; + } + + /** + * Account summaries of all accounts the caller has access to. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; + * @param \Google\Analytics\Admin\V1beta\AccountSummary[] $var + * @return $this + */ + public function setAccountSummaries($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccountSummary::class); + $this->account_summaries = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsRequest.php new file mode 100644 index 000000000000..f8308c02cb0e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsRequest.php @@ -0,0 +1,167 @@ +google.analytics.admin.v1beta.ListAccountsRequest + */ +class ListAccountsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * 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 = 1; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListAccounts` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccounts` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 2; + */ + protected $page_token = ''; + /** + * Whether to include soft-deleted (ie: "trashed") Accounts in the + * results. Accounts can be inspected to determine whether they are deleted or + * not. + * + * Generated from protobuf field bool show_deleted = 3; + */ + protected $show_deleted = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @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 `ListAccounts` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccounts` must + * match the call that provided the page token. + * @type bool $show_deleted + * Whether to include soft-deleted (ie: "trashed") Accounts in the + * results. Accounts can be inspected to determine whether they are deleted or + * not. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * 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 = 1; + * @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 = 1; + * @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 `ListAccounts` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccounts` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 2; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * A page token, received from a previous `ListAccounts` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListAccounts` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 2; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + + /** + * Whether to include soft-deleted (ie: "trashed") Accounts in the + * results. Accounts can be inspected to determine whether they are deleted or + * not. + * + * Generated from protobuf field bool show_deleted = 3; + * @return bool + */ + public function getShowDeleted() + { + return $this->show_deleted; + } + + /** + * Whether to include soft-deleted (ie: "trashed") Accounts in the + * results. Accounts can be inspected to determine whether they are deleted or + * not. + * + * Generated from protobuf field bool show_deleted = 3; + * @param bool $var + * @return $this + */ + public function setShowDeleted($var) + { + GPBUtil::checkBool($var); + $this->show_deleted = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsResponse.php new file mode 100644 index 000000000000..b655ca29de06 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1beta.ListAccountsResponse + */ +class ListAccountsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Results that were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.Account accounts = 1; + */ + private $accounts; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\Account[] $accounts + * Results that were accessible to the caller. + * @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\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Results that were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.Account accounts = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\Account> + */ + public function getAccounts() + { + return $this->accounts; + } + + /** + * Results that were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.Account accounts = 1; + * @param \Google\Analytics\Admin\V1beta\Account[] $var + * @return $this + */ + public function setAccounts($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\Account::class); + $this->accounts = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsRequest.php new file mode 100644 index 000000000000..29417418306c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsRequest.php @@ -0,0 +1,174 @@ +google.analytics.admin.v1beta.ListConversionEventsRequest + */ +class ListConversionEventsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the parent property. + * Example: 'properties/123' + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListConversionEvents` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListConversionEvents` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. The resource name of the parent property. + * Example: 'properties/123' + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\ListConversionEventsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The resource name of the parent property. + * Example: 'properties/123' + * @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 `ListConversionEvents` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListConversionEvents` + * must match the call that provided the page token. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the parent property. + * Example: 'properties/123' + * + * 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 resource name of the parent property. + * Example: 'properties/123' + * + * 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 `ListConversionEvents` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListConversionEvents` + * 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 `ListConversionEvents` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListConversionEvents` + * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsResponse.php new file mode 100644 index 000000000000..c03a4da35289 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1beta.ListConversionEventsResponse + */ +class ListConversionEventsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The requested conversion events + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; + */ + private $conversion_events; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\ConversionEvent[] $conversion_events + * The requested conversion events + * @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\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The requested conversion events + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\ConversionEvent> + */ + public function getConversionEvents() + { + return $this->conversion_events; + } + + /** + * The requested conversion events + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; + * @param \Google\Analytics\Admin\V1beta\ConversionEvent[] $var + * @return $this + */ + public function setConversionEvents($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\ConversionEvent::class); + $this->conversion_events = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsRequest.php new file mode 100644 index 000000000000..2529e5266c4c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsRequest.php @@ -0,0 +1,169 @@ +google.analytics.admin.v1beta.ListCustomDimensionsRequest + */ +class ListCustomDimensionsRequest 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) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListCustomDimensions` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomDimensions` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\ListCustomDimensionsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * 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 `ListCustomDimensions` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomDimensions` + * must match the call that provided the page token. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\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 `ListCustomDimensions` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomDimensions` + * 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 `ListCustomDimensions` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomDimensions` + * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsResponse.php new file mode 100644 index 000000000000..f4dc43919f52 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1beta.ListCustomDimensionsResponse + */ +class ListCustomDimensionsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of CustomDimensions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; + */ + private $custom_dimensions; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\CustomDimension[] $custom_dimensions + * List of CustomDimensions. + * @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\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * List of CustomDimensions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\CustomDimension> + */ + public function getCustomDimensions() + { + return $this->custom_dimensions; + } + + /** + * List of CustomDimensions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; + * @param \Google\Analytics\Admin\V1beta\CustomDimension[] $var + * @return $this + */ + public function setCustomDimensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\CustomDimension::class); + $this->custom_dimensions = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsRequest.php new file mode 100644 index 000000000000..9627abf53049 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsRequest.php @@ -0,0 +1,169 @@ +google.analytics.admin.v1beta.ListCustomMetricsRequest + */ +class ListCustomMetricsRequest 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) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListCustomMetrics` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomMetrics` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\ListCustomMetricsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * 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 `ListCustomMetrics` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomMetrics` must + * match the call that provided the page token. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\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 `ListCustomMetrics` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomMetrics` 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 `ListCustomMetrics` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListCustomMetrics` 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsResponse.php new file mode 100644 index 000000000000..5f1b14fba8f9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1beta.ListCustomMetricsResponse + */ +class ListCustomMetricsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of CustomMetrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; + */ + private $custom_metrics; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\CustomMetric[] $custom_metrics + * List of CustomMetrics. + * @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\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * List of CustomMetrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\CustomMetric> + */ + public function getCustomMetrics() + { + return $this->custom_metrics; + } + + /** + * List of CustomMetrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; + * @param \Google\Analytics\Admin\V1beta\CustomMetric[] $var + * @return $this + */ + public function setCustomMetrics($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\CustomMetric::class); + $this->custom_metrics = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsRequest.php new file mode 100644 index 000000000000..c8dc07aa8599 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsRequest.php @@ -0,0 +1,169 @@ +google.analytics.admin.v1beta.ListDataStreamsRequest + */ +class ListDataStreamsRequest 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) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListDataStreams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDataStreams` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\ListDataStreamsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * 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 `ListDataStreams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDataStreams` must + * match the call that provided the page token. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\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 `ListDataStreams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDataStreams` 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 `ListDataStreams` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListDataStreams` 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsResponse.php new file mode 100644 index 000000000000..770708978697 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1beta.ListDataStreamsResponse + */ +class ListDataStreamsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of DataStreams. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; + */ + private $data_streams; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\DataStream[] $data_streams + * List of DataStreams. + * @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\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * List of DataStreams. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\DataStream> + */ + public function getDataStreams() + { + return $this->data_streams; + } + + /** + * List of DataStreams. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; + * @param \Google\Analytics\Admin\V1beta\DataStream[] $var + * @return $this + */ + public function setDataStreams($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\DataStream::class); + $this->data_streams = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksRequest.php new file mode 100644 index 000000000000..5b9d60a22e97 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksRequest.php @@ -0,0 +1,179 @@ +google.analytics.admin.v1beta.ListFirebaseLinksRequest + */ +class ListFirebaseLinksRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Format: properties/{property_id} + * Example: `properties/1234` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListFirebaseLinks` call. + * Provide this to retrieve the subsequent page. + * 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; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Format: properties/{property_id} + * + * Example: `properties/1234` + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\ListFirebaseLinksRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. 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 `ListFirebaseLinks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListFirebaseLinks` must + * match the call that provided the page token. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. 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. 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 `ListFirebaseLinks` call. + * Provide this to retrieve the subsequent page. + * 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; + * @return string + */ + public function getPageToken() + { + return $this->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 `ListFirebaseLinks` 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksResponse.php new file mode 100644 index 000000000000..2d35f6a51bdd --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksResponse.php @@ -0,0 +1,113 @@ +google.analytics.admin.v1beta.ListFirebaseLinksResponse + */ +class ListFirebaseLinksResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of FirebaseLinks. This will have at most one value. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; + */ + private $firebase_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. + * Currently, Google Analytics supports only one FirebaseLink per property, + * so this will never be populated. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\FirebaseLink[] $firebase_links + * List of FirebaseLinks. This will have at most one value. + * @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. + * Currently, Google Analytics supports only one FirebaseLink per property, + * so this will never be populated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * List of FirebaseLinks. This will have at most one value. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\FirebaseLink> + */ + public function getFirebaseLinks() + { + return $this->firebase_links; + } + + /** + * List of FirebaseLinks. This will have at most one value. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; + * @param \Google\Analytics\Admin\V1beta\FirebaseLink[] $var + * @return $this + */ + public function setFirebaseLinks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\FirebaseLink::class); + $this->firebase_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. + * Currently, Google Analytics supports only one FirebaseLink per property, + * so this will never be populated. + * + * 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. + * Currently, Google Analytics supports only one FirebaseLink per property, + * so this will never be populated. + * + * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksRequest.php new file mode 100644 index 000000000000..70ef3e373463 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksRequest.php @@ -0,0 +1,169 @@ +google.analytics.admin.v1beta.ListGoogleAdsLinksRequest + */ +class ListGoogleAdsLinksRequest 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) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListGoogleAdsLinks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListGoogleAdsLinks` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Example format: properties/1234 + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\ListGoogleAdsLinksRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * 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 `ListGoogleAdsLinks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListGoogleAdsLinks` must + * match the call that provided the page token. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\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 `ListGoogleAdsLinks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListGoogleAdsLinks` 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 `ListGoogleAdsLinks` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListGoogleAdsLinks` 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksResponse.php new file mode 100644 index 000000000000..72c7870ecffc --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1beta.ListGoogleAdsLinksResponse + */ +class ListGoogleAdsLinksResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of GoogleAdsLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; + */ + private $google_ads_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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\GoogleAdsLink[] $google_ads_links + * List of GoogleAdsLinks. + * @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\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * List of GoogleAdsLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\GoogleAdsLink> + */ + public function getGoogleAdsLinks() + { + return $this->google_ads_links; + } + + /** + * List of GoogleAdsLinks. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; + * @param \Google\Analytics\Admin\V1beta\GoogleAdsLink[] $var + * @return $this + */ + public function setGoogleAdsLinks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\GoogleAdsLink::class); + $this->google_ads_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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsRequest.php new file mode 100644 index 000000000000..20b41f15b680 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsRequest.php @@ -0,0 +1,174 @@ +google.analytics.admin.v1beta.ListKeyEventsRequest + */ +class ListKeyEventsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the parent property. + * Example: 'properties/123' + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListKeyEvents` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListKeyEvents` + * must match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. The resource name of the parent property. + * Example: 'properties/123' + * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\ListKeyEventsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The resource name of the parent property. + * Example: 'properties/123' + * @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 `ListKeyEvents` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListKeyEvents` + * must match the call that provided the page token. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the parent property. + * Example: 'properties/123' + * + * 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 resource name of the parent property. + * Example: 'properties/123' + * + * 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 `ListKeyEvents` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListKeyEvents` + * 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 `ListKeyEvents` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListKeyEvents` + * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsResponse.php new file mode 100644 index 000000000000..2d64ffd6c9d3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1beta.ListKeyEventsResponse + */ +class ListKeyEventsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The requested Key Events + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.KeyEvent key_events = 1; + */ + private $key_events; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\KeyEvent[] $key_events + * The requested Key Events + * @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\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The requested Key Events + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.KeyEvent key_events = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\KeyEvent> + */ + public function getKeyEvents() + { + return $this->key_events; + } + + /** + * The requested Key Events + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.KeyEvent key_events = 1; + * @param \Google\Analytics\Admin\V1beta\KeyEvent[] $var + * @return $this + */ + public function setKeyEvents($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\KeyEvent::class); + $this->key_events = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsRequest.php new file mode 100644 index 000000000000..d216c88ed1d8 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsRequest.php @@ -0,0 +1,179 @@ +google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest + */ +class ListMeasurementProtocolSecretsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the parent stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * The maximum number of resources to return. + * If unspecified, at most 10 resources will be returned. + * The maximum value is 10. Higher values will be coerced to the maximum. + * + * Generated from protobuf field int32 page_size = 2; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListMeasurementProtocolSecrets` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListMeasurementProtocolSecrets` must match + * the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. The resource name of the parent stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets + * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. + * + * @return \Google\Analytics\Admin\V1beta\ListMeasurementProtocolSecretsRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The resource name of the parent stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets + * @type int $page_size + * The maximum number of resources to return. + * If unspecified, at most 10 resources will be returned. + * The maximum value is 10. Higher values will be coerced to the maximum. + * @type string $page_token + * A page token, received from a previous `ListMeasurementProtocolSecrets` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListMeasurementProtocolSecrets` must match + * the call that provided the page token. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the parent stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets + * + * 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 resource name of the parent stream. + * Format: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets + * + * 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 10 resources will be returned. + * The maximum value is 10. 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 10 resources will be returned. + * The maximum value is 10. 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 `ListMeasurementProtocolSecrets` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListMeasurementProtocolSecrets` 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 `ListMeasurementProtocolSecrets` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListMeasurementProtocolSecrets` 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsResponse.php new file mode 100644 index 000000000000..f25d3f640310 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse + */ +class ListMeasurementProtocolSecretsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * A list of secrets for the parent stream specified in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + */ + private $measurement_protocol_secrets; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret[] $measurement_protocol_secrets + * A list of secrets for the parent stream specified in the request. + * @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\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * A list of secrets for the parent stream specified in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\MeasurementProtocolSecret> + */ + public function getMeasurementProtocolSecrets() + { + return $this->measurement_protocol_secrets; + } + + /** + * A list of secrets for the parent stream specified in the request. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; + * @param \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret[] $var + * @return $this + */ + public function setMeasurementProtocolSecrets($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret::class); + $this->measurement_protocol_secrets = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesRequest.php new file mode 100644 index 000000000000..e0082636c6b0 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesRequest.php @@ -0,0 +1,257 @@ +google.analytics.admin.v1beta.ListPropertiesRequest + */ +class ListPropertiesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. An expression for filtering the results of the request. + * Fields eligible for filtering are: + * `parent:`(The resource name of the parent account/property) or + * `ancestor:`(The resource name of the parent account) or + * `firebase_project:`(The id or number of the linked firebase project). + * Some examples of filters: + * ``` + * | Filter | Description | + * |-----------------------------|-------------------------------------------| + * | parent:accounts/123 | The account with account id: 123. | + * | parent:properties/123 | The property with property id: 123. | + * | ancestor:accounts/123 | The account with account id: 123. | + * | firebase_project:project-id | The firebase project with id: project-id. | + * | firebase_project:123 | The firebase project with number: 123. | + * ``` + * + * Generated from protobuf field string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $filter = ''; + /** + * 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; + */ + protected $page_size = 0; + /** + * A page token, received from a previous `ListProperties` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListProperties` must + * match the call that provided the page token. + * + * Generated from protobuf field string page_token = 3; + */ + protected $page_token = ''; + /** + * Whether to include soft-deleted (ie: "trashed") Properties in the + * results. Properties can be inspected to determine whether they are deleted + * or not. + * + * Generated from protobuf field bool show_deleted = 4; + */ + protected $show_deleted = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $filter + * Required. An expression for filtering the results of the request. + * Fields eligible for filtering are: + * `parent:`(The resource name of the parent account/property) or + * `ancestor:`(The resource name of the parent account) or + * `firebase_project:`(The id or number of the linked firebase project). + * Some examples of filters: + * ``` + * | Filter | Description | + * |-----------------------------|-------------------------------------------| + * | parent:accounts/123 | The account with account id: 123. | + * | parent:properties/123 | The property with property id: 123. | + * | ancestor:accounts/123 | The account with account id: 123. | + * | firebase_project:project-id | The firebase project with id: project-id. | + * | firebase_project:123 | The firebase project with number: 123. | + * ``` + * @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 `ListProperties` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListProperties` must + * match the call that provided the page token. + * @type bool $show_deleted + * Whether to include soft-deleted (ie: "trashed") Properties in the + * results. Properties can be inspected to determine whether they are deleted + * or not. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. An expression for filtering the results of the request. + * Fields eligible for filtering are: + * `parent:`(The resource name of the parent account/property) or + * `ancestor:`(The resource name of the parent account) or + * `firebase_project:`(The id or number of the linked firebase project). + * Some examples of filters: + * ``` + * | Filter | Description | + * |-----------------------------|-------------------------------------------| + * | parent:accounts/123 | The account with account id: 123. | + * | parent:properties/123 | The property with property id: 123. | + * | ancestor:accounts/123 | The account with account id: 123. | + * | firebase_project:project-id | The firebase project with id: project-id. | + * | firebase_project:123 | The firebase project with number: 123. | + * ``` + * + * Generated from protobuf field string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getFilter() + { + return $this->filter; + } + + /** + * Required. An expression for filtering the results of the request. + * Fields eligible for filtering are: + * `parent:`(The resource name of the parent account/property) or + * `ancestor:`(The resource name of the parent account) or + * `firebase_project:`(The id or number of the linked firebase project). + * Some examples of filters: + * ``` + * | Filter | Description | + * |-----------------------------|-------------------------------------------| + * | parent:accounts/123 | The account with account id: 123. | + * | parent:properties/123 | The property with property id: 123. | + * | ancestor:accounts/123 | The account with account id: 123. | + * | firebase_project:project-id | The firebase project with id: project-id. | + * | firebase_project:123 | The firebase project with number: 123. | + * ``` + * + * Generated from protobuf field string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setFilter($var) + { + GPBUtil::checkString($var, True); + $this->filter = $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 `ListProperties` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListProperties` 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 `ListProperties` call. + * Provide this to retrieve the subsequent page. + * When paginating, all other parameters provided to `ListProperties` 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; + } + + /** + * Whether to include soft-deleted (ie: "trashed") Properties in the + * results. Properties can be inspected to determine whether they are deleted + * or not. + * + * Generated from protobuf field bool show_deleted = 4; + * @return bool + */ + public function getShowDeleted() + { + return $this->show_deleted; + } + + /** + * Whether to include soft-deleted (ie: "trashed") Properties in the + * results. Properties can be inspected to determine whether they are deleted + * or not. + * + * Generated from protobuf field bool show_deleted = 4; + * @param bool $var + * @return $this + */ + public function setShowDeleted($var) + { + GPBUtil::checkBool($var); + $this->show_deleted = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesResponse.php new file mode 100644 index 000000000000..2776057f43e4 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1beta.ListPropertiesResponse + */ +class ListPropertiesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Results that matched the filter criteria and were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.Property properties = 1; + */ + private $properties; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\Property[] $properties + * Results that matched the filter criteria and were accessible to the caller. + * @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\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Results that matched the filter criteria and were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.Property properties = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\Property> + */ + public function getProperties() + { + return $this->properties; + } + + /** + * Results that matched the filter criteria and were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.Property properties = 1; + * @param \Google\Analytics\Admin\V1beta\Property[] $var + * @return $this + */ + public function setProperties($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\Property::class); + $this->properties = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/MeasurementProtocolSecret.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/MeasurementProtocolSecret.php new file mode 100644 index 000000000000..af43b136c587 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/MeasurementProtocolSecret.php @@ -0,0 +1,151 @@ +google.analytics.admin.v1beta.MeasurementProtocolSecret + */ +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: + * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Required. Human-readable display name for this secret. + * + * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $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 + * secret's parent property. + * + * Generated from protobuf field string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $secret_value = ''; + + /** + * Constructor. + * + * @param array $data { + * 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: + * 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 + * secret's parent property. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * 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]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * 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]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. Human-readable display name for this secret. + * + * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Required. Human-readable display name for this secret. + * + * 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; + } + + /** + * 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]; + * @return string + */ + public function getSecretValue() + { + return $this->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 + * secret's parent property. + * + * Generated from protobuf field string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setSecretValue($var) + { + GPBUtil::checkString($var, True); + $this->secret_value = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/NumericValue.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/NumericValue.php new file mode 100644 index 000000000000..0b13ac931fbb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/NumericValue.php @@ -0,0 +1,108 @@ +google.analytics.admin.v1beta.NumericValue + */ +class NumericValue extends \Google\Protobuf\Internal\Message +{ + protected $one_value; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $int64_value + * Integer value + * @type float $double_value + * Double value + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); + parent::__construct($data); + } + + /** + * Integer value + * + * Generated from protobuf field int64 int64_value = 1; + * @return int|string + */ + public function getInt64Value() + { + return $this->readOneof(1); + } + + public function hasInt64Value() + { + return $this->hasOneof(1); + } + + /** + * Integer value + * + * Generated from protobuf field int64 int64_value = 1; + * @param int|string $var + * @return $this + */ + public function setInt64Value($var) + { + GPBUtil::checkInt64($var); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * Double value + * + * Generated from protobuf field double double_value = 2; + * @return float + */ + public function getDoubleValue() + { + return $this->readOneof(2); + } + + public function hasDoubleValue() + { + return $this->hasOneof(2); + } + + /** + * Double value + * + * Generated from protobuf field double double_value = 2; + * @param float $var + * @return $this + */ + public function setDoubleValue($var) + { + GPBUtil::checkDouble($var); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * @return string + */ + public function getOneValue() + { + return $this->whichOneof("one_value"); + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Property.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Property.php new file mode 100644 index 000000000000..e8d5557cc9a3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Property.php @@ -0,0 +1,607 @@ +google.analytics.admin.v1beta.Property + */ +class Property extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name of this property. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $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. + * + * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $property_type = 0; + /** + * Output only. Time when the entity was originally created. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. Time when entity payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + /** + * Immutable. Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/101" + * + * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $parent = ''; + /** + * Required. Human-readable display name for this property. + * The max allowed display name length is 100 UTF-16 code units. + * + * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $display_name = ''; + /** + * Industry associated with this property + * Example: AUTOMOTIVE, FOOD_AND_DRINK + * + * Generated from protobuf field .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; + */ + protected $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. + * NOTE: Changing the time zone only affects data going forward, and is not + * applied retroactively. + * Format: https://www.iana.org/time-zones + * Example: "America/Los_Angeles" + * + * Generated from protobuf field string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $time_zone = ''; + /** + * The currency type used in reports involving monetary values. + * Format: https://en.wikipedia.org/wiki/ISO_4217 + * Examples: "USD", "EUR", "JPY" + * + * Generated from protobuf field string currency_code = 8; + */ + protected $currency_code = ''; + /** + * Output only. The Google Analytics service level that applies to this + * property. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $expire_time = null; + /** + * Immutable. The resource name of the parent account + * Format: accounts/{account_id} + * Example: "accounts/123" + * + * Generated from protobuf field string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + */ + protected $account = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name of this property. + * 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. + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Time when the entity was originally created. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. Time when entity payload fields were last updated. + * @type string $parent + * Immutable. Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/101" + * @type string $display_name + * Required. Human-readable display name for this property. + * The max allowed display name length is 100 UTF-16 code units. + * @type int $industry_category + * 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. + * NOTE: Changing the time zone only affects data going forward, and is not + * applied retroactively. + * Format: https://www.iana.org/time-zones + * Example: "America/Los_Angeles" + * @type string $currency_code + * The currency type used in reports involving monetary values. + * 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. + * @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. + * @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. + * @type string $account + * Immutable. The resource name of the parent account + * Format: accounts/{account_id} + * Example: "accounts/123" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name of this property. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * 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 property. + * Format: properties/{property_id} + * Example: "properties/1000" + * + * 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 property type for this Property resource. When creating a + * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then + * "ORDINARY_PROPERTY" will be implied. + * + * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * @return int + */ + public function getPropertyType() + { + return $this->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. + * + * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; + * @param int $var + * @return $this + */ + public function setPropertyType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\PropertyType::class); + $this->property_type = $var; + + return $this; + } + + /** + * Output only. Time when the entity was originally 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 entity was originally 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; + } + + /** + * Output only. Time when entity payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. Time when entity payload fields were last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * Immutable. Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/101" + * + * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Immutable. Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/101" + * + * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. Human-readable display name for this property. + * The max allowed display name length is 100 UTF-16 code units. + * + * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Required. Human-readable display name for this property. + * The max allowed display name length is 100 UTF-16 code units. + * + * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Industry associated with this property + * Example: AUTOMOTIVE, FOOD_AND_DRINK + * + * Generated from protobuf field .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; + * @return int + */ + public function getIndustryCategory() + { + return $this->industry_category; + } + + /** + * Industry associated with this property + * Example: AUTOMOTIVE, FOOD_AND_DRINK + * + * Generated from protobuf field .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; + * @param int $var + * @return $this + */ + public function setIndustryCategory($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\IndustryCategory::class); + $this->industry_category = $var; + + return $this; + } + + /** + * 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 + * Example: "America/Los_Angeles" + * + * Generated from protobuf field string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getTimeZone() + { + return $this->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. + * NOTE: Changing the time zone only affects data going forward, and is not + * applied retroactively. + * Format: https://www.iana.org/time-zones + * Example: "America/Los_Angeles" + * + * Generated from protobuf field string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setTimeZone($var) + { + GPBUtil::checkString($var, True); + $this->time_zone = $var; + + return $this; + } + + /** + * The currency type used in reports involving monetary values. + * Format: https://en.wikipedia.org/wiki/ISO_4217 + * Examples: "USD", "EUR", "JPY" + * + * Generated from protobuf field string currency_code = 8; + * @return string + */ + public function getCurrencyCode() + { + return $this->currency_code; + } + + /** + * The currency type used in reports involving monetary values. + * Format: https://en.wikipedia.org/wiki/ISO_4217 + * Examples: "USD", "EUR", "JPY" + * + * Generated from protobuf field string currency_code = 8; + * @param string $var + * @return $this + */ + public function setCurrencyCode($var) + { + GPBUtil::checkString($var, True); + $this->currency_code = $var; + + return $this; + } + + /** + * Output only. The Google Analytics service level that applies to this + * property. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getServiceLevel() + { + return $this->service_level; + } + + /** + * Output only. The Google Analytics service level that applies to this + * property. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setServiceLevel($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\ServiceLevel::class); + $this->service_level = $var; + + return $this; + } + + /** + * 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 + */ + public function getDeleteTime() + { + return $this->delete_time; + } + + public function hasDeleteTime() + { + return isset($this->delete_time); + } + + public function clearDeleteTime() + { + unset($this->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. + * + * Generated from protobuf field .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setDeleteTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->delete_time = $var; + + return $this; + } + + /** + * 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 + */ + public function getExpireTime() + { + return $this->expire_time; + } + + public function hasExpireTime() + { + return isset($this->expire_time); + } + + public function clearExpireTime() + { + unset($this->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. + * + * Generated from protobuf field .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setExpireTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->expire_time = $var; + + return $this; + } + + /** + * Immutable. The resource name of the parent account + * Format: accounts/{account_id} + * Example: "accounts/123" + * + * Generated from protobuf field string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @return string + */ + public function getAccount() + { + return $this->account; + } + + /** + * Immutable. The resource name of the parent account + * Format: accounts/{account_id} + * Example: "accounts/123" + * + * Generated from protobuf field string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setAccount($var) + { + GPBUtil::checkString($var, True); + $this->account = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertySummary.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertySummary.php new file mode 100644 index 000000000000..04a7217b548b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertySummary.php @@ -0,0 +1,189 @@ +google.analytics.admin.v1beta.PropertySummary + */ +class PropertySummary extends \Google\Protobuf\Internal\Message +{ + /** + * Resource name of property referred to by this property summary + * Format: properties/{property_id} + * Example: "properties/1000" + * + * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { + */ + protected $property = ''; + /** + * Display name for the property referred to in this property summary. + * + * Generated from protobuf field string display_name = 2; + */ + protected $display_name = ''; + /** + * The property's property type. + * + * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 3; + */ + protected $property_type = 0; + /** + * Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/200" + * + * Generated from protobuf field string parent = 4; + */ + protected $parent = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $property + * Resource name of property referred to by this property summary + * Format: properties/{property_id} + * Example: "properties/1000" + * @type string $display_name + * Display name for the property referred to in this property summary. + * @type int $property_type + * The property's property type. + * @type string $parent + * Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/200" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); + parent::__construct($data); + } + + /** + * Resource name of property referred to by this property summary + * Format: properties/{property_id} + * Example: "properties/1000" + * + * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { + * @return string + */ + public function getProperty() + { + return $this->property; + } + + /** + * Resource name of property referred to by this property summary + * Format: properties/{property_id} + * Example: "properties/1000" + * + * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkString($var, True); + $this->property = $var; + + return $this; + } + + /** + * Display name for the property referred to in this property summary. + * + * Generated from protobuf field string display_name = 2; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Display name for the property referred to in this property summary. + * + * Generated from protobuf field string display_name = 2; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * The property's property type. + * + * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 3; + * @return int + */ + public function getPropertyType() + { + return $this->property_type; + } + + /** + * The property's property type. + * + * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 3; + * @param int $var + * @return $this + */ + public function setPropertyType($var) + { + GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\PropertyType::class); + $this->property_type = $var; + + return $this; + } + + /** + * Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/200" + * + * Generated from protobuf field string parent = 4; + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Resource name of this property's logical parent. + * Note: The Property-Moving UI can be used to change the parent. + * Format: accounts/{account}, properties/{property} + * Example: "accounts/100", "properties/200" + * + * Generated from protobuf field string parent = 4; + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertyType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertyType.php new file mode 100644 index 000000000000..a4b3b25ad091 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertyType.php @@ -0,0 +1,68 @@ +google.analytics.admin.v1beta.PropertyType + */ +class PropertyType +{ + /** + * Unknown or unspecified property type + * + * Generated from protobuf enum PROPERTY_TYPE_UNSPECIFIED = 0; + */ + const PROPERTY_TYPE_UNSPECIFIED = 0; + /** + * Ordinary Google Analytics property + * + * Generated from protobuf enum PROPERTY_TYPE_ORDINARY = 1; + */ + const PROPERTY_TYPE_ORDINARY = 1; + /** + * Google Analytics subproperty + * + * Generated from protobuf enum PROPERTY_TYPE_SUBPROPERTY = 2; + */ + const PROPERTY_TYPE_SUBPROPERTY = 2; + /** + * Google Analytics rollup property + * + * Generated from protobuf enum PROPERTY_TYPE_ROLLUP = 3; + */ + const PROPERTY_TYPE_ROLLUP = 3; + + private static $valueToName = [ + self::PROPERTY_TYPE_UNSPECIFIED => 'PROPERTY_TYPE_UNSPECIFIED', + self::PROPERTY_TYPE_ORDINARY => 'PROPERTY_TYPE_ORDINARY', + self::PROPERTY_TYPE_SUBPROPERTY => 'PROPERTY_TYPE_SUBPROPERTY', + self::PROPERTY_TYPE_ROLLUP => 'PROPERTY_TYPE_ROLLUP', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketRequest.php new file mode 100644 index 000000000000..8b28b94926d4 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketRequest.php @@ -0,0 +1,115 @@ +google.analytics.admin.v1beta.ProvisionAccountTicketRequest + */ +class ProvisionAccountTicketRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The account to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1; + */ + protected $account = null; + /** + * Redirect URI where the user will be sent after accepting Terms of Service. + * Must be configured in Cloud Console as a Redirect URI. + * + * Generated from protobuf field string redirect_uri = 2; + */ + protected $redirect_uri = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\Account $account + * The account to create. + * @type string $redirect_uri + * Redirect URI where the user will be sent after accepting Terms of Service. + * Must be configured in Cloud Console as a Redirect URI. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The account to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1; + * @return \Google\Analytics\Admin\V1beta\Account|null + */ + public function getAccount() + { + return $this->account; + } + + public function hasAccount() + { + return isset($this->account); + } + + public function clearAccount() + { + unset($this->account); + } + + /** + * The account to create. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1; + * @param \Google\Analytics\Admin\V1beta\Account $var + * @return $this + */ + public function setAccount($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\Account::class); + $this->account = $var; + + return $this; + } + + /** + * Redirect URI where the user will be sent after accepting Terms of Service. + * Must be configured in Cloud Console as a Redirect URI. + * + * Generated from protobuf field string redirect_uri = 2; + * @return string + */ + public function getRedirectUri() + { + return $this->redirect_uri; + } + + /** + * Redirect URI where the user will be sent after accepting Terms of Service. + * Must be configured in Cloud Console as a Redirect URI. + * + * Generated from protobuf field string redirect_uri = 2; + * @param string $var + * @return $this + */ + public function setRedirectUri($var) + { + GPBUtil::checkString($var, True); + $this->redirect_uri = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketResponse.php new file mode 100644 index 000000000000..653503bc4fcb --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketResponse.php @@ -0,0 +1,67 @@ +google.analytics.admin.v1beta.ProvisionAccountTicketResponse + */ +class ProvisionAccountTicketResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The param to be passed in the ToS link. + * + * Generated from protobuf field string account_ticket_id = 1; + */ + protected $account_ticket_id = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $account_ticket_id + * The param to be passed in the ToS link. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The param to be passed in the ToS link. + * + * Generated from protobuf field string account_ticket_id = 1; + * @return string + */ + public function getAccountTicketId() + { + return $this->account_ticket_id; + } + + /** + * The param to be passed in the ToS link. + * + * Generated from protobuf field string account_ticket_id = 1; + * @param string $var + * @return $this + */ + public function setAccountTicketId($var) + { + GPBUtil::checkString($var, True); + $this->account_ticket_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportRequest.php new file mode 100644 index 000000000000..0e513425e848 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportRequest.php @@ -0,0 +1,679 @@ +google.analytics.admin.v1beta.RunAccessReportRequest + */ +class RunAccessReportRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The Data Access Report supports requesting at the property level or account + * level. If requested at the account level, Data Access Reports include all + * access for all properties under that account. + * To request at the property level, entity should be for example + * 'properties/123' if "123" is your Google Analytics property ID. To request + * at the account level, entity should be for example 'accounts/1234' if + * "1234" is your Google Analytics Account ID. + * + * Generated from protobuf field string entity = 1; + */ + protected $entity = ''; + /** + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimension dimensions = 2; + */ + private $dimensions; + /** + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3; + */ + private $metrics; + /** + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDateRange date_ranges = 4; + */ + private $date_ranges; + /** + * Dimension filters let you restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5; + */ + protected $dimension_filter = null; + /** + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6; + */ + protected $metric_filter = null; + /** + * The row count of the start row. The first row is counted as row 0. If + * offset is unspecified, it is treated as 0. If offset is zero, then this + * method will return the first page of results with `limit` entries. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int64 offset = 7; + */ + protected $offset = 0; + /** + * The number of rows to return. If unspecified, 10,000 rows are returned. The + * API returns a maximum of 100,000 rows per request, no matter how many you + * ask for. `limit` must be positive. + * The API may return fewer rows than the requested `limit`, if there aren't + * as many remaining rows as the `limit`. For instance, there are fewer than + * 300 possible values for the dimension `country`, so when reporting on only + * `country`, you can't get more than 300 rows, even if you set `limit` to a + * higher value. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int64 limit = 8; + */ + protected $limit = 0; + /** + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + * + * Generated from protobuf field string time_zone = 9; + */ + protected $time_zone = ''; + /** + * Specifies how rows are ordered in the response. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessOrderBy order_bys = 10; + */ + private $order_bys; + /** + * Toggles whether to return the current state of this Analytics Property's + * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level + * requests, this field must be false. + * + * Generated from protobuf field bool return_entity_quota = 11; + */ + protected $return_entity_quota = false; + /** + * Optional. Determines whether to include users who have never made an API + * call in the response. If true, all users with access to the specified + * property or account are included in the response, regardless of whether + * they have made an API call or not. If false, only the users who have made + * an API call will be included. + * + * Generated from protobuf field bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $include_all_users = false; + /** + * Optional. Decides whether to return the users within user groups. This + * field works only when include_all_users is set to true. If true, it will + * return all users with access to the specified property or account. + * If false, only the users with direct access will be returned. + * + * Generated from protobuf field bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $expand_groups = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $entity + * The Data Access Report supports requesting at the property level or account + * level. If requested at the account level, Data Access Reports include all + * access for all properties under that account. + * To request at the property level, entity should be for example + * 'properties/123' if "123" is your Google Analytics property ID. To request + * at the account level, entity should be for example 'accounts/1234' if + * "1234" is your Google Analytics Account ID. + * @type \Google\Analytics\Admin\V1beta\AccessDimension[] $dimensions + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + * @type \Google\Analytics\Admin\V1beta\AccessMetric[] $metrics + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + * @type \Google\Analytics\Admin\V1beta\AccessDateRange[] $date_ranges + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + * @type \Google\Analytics\Admin\V1beta\AccessFilterExpression $dimension_filter + * Dimension filters let you restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + * @type \Google\Analytics\Admin\V1beta\AccessFilterExpression $metric_filter + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + * @type int|string $offset + * The row count of the start row. The first row is counted as row 0. If + * offset is unspecified, it is treated as 0. If offset is zero, then this + * method will return the first page of results with `limit` entries. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type int|string $limit + * The number of rows to return. If unspecified, 10,000 rows are returned. The + * API returns a maximum of 100,000 rows per request, no matter how many you + * ask for. `limit` must be positive. + * The API may return fewer rows than the requested `limit`, if there aren't + * as many remaining rows as the `limit`. For instance, there are fewer than + * 300 possible values for the dimension `country`, so when reporting on only + * `country`, you can't get more than 300 rows, even if you set `limit` to a + * higher value. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type string $time_zone + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + * @type \Google\Analytics\Admin\V1beta\AccessOrderBy[] $order_bys + * Specifies how rows are ordered in the response. + * @type bool $return_entity_quota + * Toggles whether to return the current state of this Analytics Property's + * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level + * requests, this field must be false. + * @type bool $include_all_users + * Optional. Determines whether to include users who have never made an API + * call in the response. If true, all users with access to the specified + * property or account are included in the response, regardless of whether + * they have made an API call or not. If false, only the users who have made + * an API call will be included. + * @type bool $expand_groups + * Optional. Decides whether to return the users within user groups. This + * field works only when include_all_users is set to true. If true, it will + * return all users with access to the specified property or account. + * If false, only the users with direct access will be returned. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The Data Access Report supports requesting at the property level or account + * level. If requested at the account level, Data Access Reports include all + * access for all properties under that account. + * To request at the property level, entity should be for example + * 'properties/123' if "123" is your Google Analytics property ID. To request + * at the account level, entity should be for example 'accounts/1234' if + * "1234" is your Google Analytics Account ID. + * + * Generated from protobuf field string entity = 1; + * @return string + */ + public function getEntity() + { + return $this->entity; + } + + /** + * The Data Access Report supports requesting at the property level or account + * level. If requested at the account level, Data Access Reports include all + * access for all properties under that account. + * To request at the property level, entity should be for example + * 'properties/123' if "123" is your Google Analytics property ID. To request + * at the account level, entity should be for example 'accounts/1234' if + * "1234" is your Google Analytics Account ID. + * + * Generated from protobuf field string entity = 1; + * @param string $var + * @return $this + */ + public function setEntity($var) + { + GPBUtil::checkString($var, True); + $this->entity = $var; + + return $this; + } + + /** + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimension dimensions = 2; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessDimension> + */ + public function getDimensions() + { + return $this->dimensions; + } + + /** + * The dimensions requested and displayed in the response. Requests are + * allowed up to 9 dimensions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimension dimensions = 2; + * @param \Google\Analytics\Admin\V1beta\AccessDimension[] $var + * @return $this + */ + public function setDimensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessDimension::class); + $this->dimensions = $arr; + + return $this; + } + + /** + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessMetric> + */ + public function getMetrics() + { + return $this->metrics; + } + + /** + * The metrics requested and displayed in the response. Requests are allowed + * up to 10 metrics. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3; + * @param \Google\Analytics\Admin\V1beta\AccessMetric[] $var + * @return $this + */ + public function setMetrics($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessMetric::class); + $this->metrics = $arr; + + return $this; + } + + /** + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDateRange date_ranges = 4; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessDateRange> + */ + public function getDateRanges() + { + return $this->date_ranges; + } + + /** + * Date ranges of access records to read. If multiple date ranges are + * requested, each response row will contain a zero based date range index. If + * two date ranges overlap, the access records for the overlapping days is + * included in the response rows for both date ranges. Requests are allowed up + * to 2 date ranges. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDateRange date_ranges = 4; + * @param \Google\Analytics\Admin\V1beta\AccessDateRange[] $var + * @return $this + */ + public function setDateRanges($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessDateRange::class); + $this->date_ranges = $arr; + + return $this; + } + + /** + * Dimension filters let you restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5; + * @return \Google\Analytics\Admin\V1beta\AccessFilterExpression|null + */ + public function getDimensionFilter() + { + return $this->dimension_filter; + } + + public function hasDimensionFilter() + { + return isset($this->dimension_filter); + } + + public function clearDimensionFilter() + { + unset($this->dimension_filter); + } + + /** + * Dimension filters let you restrict report response to specific + * dimension values which match the filter. For example, filtering on access + * records of a single user. To learn more, see [Fundamentals of Dimension + * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + * for examples. Metrics cannot be used in this filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5; + * @param \Google\Analytics\Admin\V1beta\AccessFilterExpression $var + * @return $this + */ + public function setDimensionFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessFilterExpression::class); + $this->dimension_filter = $var; + + return $this; + } + + /** + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6; + * @return \Google\Analytics\Admin\V1beta\AccessFilterExpression|null + */ + public function getMetricFilter() + { + return $this->metric_filter; + } + + public function hasMetricFilter() + { + return isset($this->metric_filter); + } + + public function clearMetricFilter() + { + unset($this->metric_filter); + } + + /** + * Metric filters allow you to restrict report response to specific metric + * values which match the filter. Metric filters are applied after aggregating + * the report's rows, similar to SQL having-clause. Dimensions cannot be used + * in this filter. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6; + * @param \Google\Analytics\Admin\V1beta\AccessFilterExpression $var + * @return $this + */ + public function setMetricFilter($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessFilterExpression::class); + $this->metric_filter = $var; + + return $this; + } + + /** + * The row count of the start row. The first row is counted as row 0. If + * offset is unspecified, it is treated as 0. If offset is zero, then this + * method will return the first page of results with `limit` entries. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int64 offset = 7; + * @return int|string + */ + public function getOffset() + { + return $this->offset; + } + + /** + * The row count of the start row. The first row is counted as row 0. If + * offset is unspecified, it is treated as 0. If offset is zero, then this + * method will return the first page of results with `limit` entries. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int64 offset = 7; + * @param int|string $var + * @return $this + */ + public function setOffset($var) + { + GPBUtil::checkInt64($var); + $this->offset = $var; + + return $this; + } + + /** + * The number of rows to return. If unspecified, 10,000 rows are returned. The + * API returns a maximum of 100,000 rows per request, no matter how many you + * ask for. `limit` must be positive. + * The API may return fewer rows than the requested `limit`, if there aren't + * as many remaining rows as the `limit`. For instance, there are fewer than + * 300 possible values for the dimension `country`, so when reporting on only + * `country`, you can't get more than 300 rows, even if you set `limit` to a + * higher value. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int64 limit = 8; + * @return int|string + */ + public function getLimit() + { + return $this->limit; + } + + /** + * The number of rows to return. If unspecified, 10,000 rows are returned. The + * API returns a maximum of 100,000 rows per request, no matter how many you + * ask for. `limit` must be positive. + * The API may return fewer rows than the requested `limit`, if there aren't + * as many remaining rows as the `limit`. For instance, there are fewer than + * 300 possible values for the dimension `country`, so when reporting on only + * `country`, you can't get more than 300 rows, even if you set `limit` to a + * higher value. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int64 limit = 8; + * @param int|string $var + * @return $this + */ + public function setLimit($var) + { + GPBUtil::checkInt64($var); + $this->limit = $var; + + return $this; + } + + /** + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + * + * Generated from protobuf field string time_zone = 9; + * @return string + */ + public function getTimeZone() + { + return $this->time_zone; + } + + /** + * This request's time zone if specified. If unspecified, the property's time + * zone is used. The request's time zone is used to interpret the start & end + * dates of the report. + * Formatted as strings from the IANA Time Zone database + * (https://www.iana.org/time-zones); for example "America/New_York" or + * "Asia/Tokyo". + * + * Generated from protobuf field string time_zone = 9; + * @param string $var + * @return $this + */ + public function setTimeZone($var) + { + GPBUtil::checkString($var, True); + $this->time_zone = $var; + + return $this; + } + + /** + * Specifies how rows are ordered in the response. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessOrderBy order_bys = 10; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessOrderBy> + */ + public function getOrderBys() + { + return $this->order_bys; + } + + /** + * Specifies how rows are ordered in the response. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessOrderBy order_bys = 10; + * @param \Google\Analytics\Admin\V1beta\AccessOrderBy[] $var + * @return $this + */ + public function setOrderBys($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessOrderBy::class); + $this->order_bys = $arr; + + return $this; + } + + /** + * Toggles whether to return the current state of this Analytics Property's + * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level + * requests, this field must be false. + * + * Generated from protobuf field bool return_entity_quota = 11; + * @return bool + */ + public function getReturnEntityQuota() + { + return $this->return_entity_quota; + } + + /** + * Toggles whether to return the current state of this Analytics Property's + * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level + * requests, this field must be false. + * + * Generated from protobuf field bool return_entity_quota = 11; + * @param bool $var + * @return $this + */ + public function setReturnEntityQuota($var) + { + GPBUtil::checkBool($var); + $this->return_entity_quota = $var; + + return $this; + } + + /** + * Optional. Determines whether to include users who have never made an API + * call in the response. If true, all users with access to the specified + * property or account are included in the response, regardless of whether + * they have made an API call or not. If false, only the users who have made + * an API call will be included. + * + * Generated from protobuf field bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getIncludeAllUsers() + { + return $this->include_all_users; + } + + /** + * Optional. Determines whether to include users who have never made an API + * call in the response. If true, all users with access to the specified + * property or account are included in the response, regardless of whether + * they have made an API call or not. If false, only the users who have made + * an API call will be included. + * + * Generated from protobuf field bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setIncludeAllUsers($var) + { + GPBUtil::checkBool($var); + $this->include_all_users = $var; + + return $this; + } + + /** + * Optional. Decides whether to return the users within user groups. This + * field works only when include_all_users is set to true. If true, it will + * return all users with access to the specified property or account. + * If false, only the users with direct access will be returned. + * + * Generated from protobuf field bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getExpandGroups() + { + return $this->expand_groups; + } + + /** + * Optional. Decides whether to return the users within user groups. This + * field works only when include_all_users is set to true. If true, it will + * return all users with access to the specified property or account. + * If false, only the users with direct access will be returned. + * + * Generated from protobuf field bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setExpandGroups($var) + { + GPBUtil::checkBool($var); + $this->expand_groups = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportResponse.php new file mode 100644 index 000000000000..0024324f94be --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportResponse.php @@ -0,0 +1,257 @@ +google.analytics.admin.v1beta.RunAccessReportResponse + */ +class RunAccessReportResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The header for a column in the report that corresponds to a specific + * dimension. The number of DimensionHeaders and ordering of DimensionHeaders + * matches the dimensions present in rows. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + */ + private $dimension_headers; + /** + * The header for a column in the report that corresponds to a specific + * metric. The number of MetricHeaders and ordering of MetricHeaders matches + * the metrics present in rows. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetricHeader metric_headers = 2; + */ + private $metric_headers; + /** + * Rows of dimension value combinations and metric values in the report. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessRow rows = 3; + */ + private $rows; + /** + * The total number of rows in the query result. `rowCount` is independent of + * the number of rows returned in the response, the `limit` request + * parameter, and the `offset` request parameter. For example if a query + * returns 175 rows and includes `limit` of 50 in the API request, the + * response will contain `rowCount` of 175 but only 50 rows. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int32 row_count = 4; + */ + protected $row_count = 0; + /** + * The quota state for this Analytics property including this request. This + * field doesn't work with account-level requests. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuota quota = 5; + */ + protected $quota = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\AccessDimensionHeader[] $dimension_headers + * The header for a column in the report that corresponds to a specific + * dimension. The number of DimensionHeaders and ordering of DimensionHeaders + * matches the dimensions present in rows. + * @type \Google\Analytics\Admin\V1beta\AccessMetricHeader[] $metric_headers + * The header for a column in the report that corresponds to a specific + * metric. The number of MetricHeaders and ordering of MetricHeaders matches + * the metrics present in rows. + * @type \Google\Analytics\Admin\V1beta\AccessRow[] $rows + * Rows of dimension value combinations and metric values in the report. + * @type int $row_count + * The total number of rows in the query result. `rowCount` is independent of + * the number of rows returned in the response, the `limit` request + * parameter, and the `offset` request parameter. For example if a query + * returns 175 rows and includes `limit` of 50 in the API request, the + * response will contain `rowCount` of 175 but only 50 rows. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * @type \Google\Analytics\Admin\V1beta\AccessQuota $quota + * The quota state for this Analytics property including this request. This + * field doesn't work with account-level requests. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The header for a column in the report that corresponds to a specific + * dimension. The number of DimensionHeaders and ordering of DimensionHeaders + * matches the dimensions present in rows. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessDimensionHeader> + */ + public function getDimensionHeaders() + { + return $this->dimension_headers; + } + + /** + * The header for a column in the report that corresponds to a specific + * dimension. The number of DimensionHeaders and ordering of DimensionHeaders + * matches the dimensions present in rows. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * @param \Google\Analytics\Admin\V1beta\AccessDimensionHeader[] $var + * @return $this + */ + public function setDimensionHeaders($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessDimensionHeader::class); + $this->dimension_headers = $arr; + + return $this; + } + + /** + * The header for a column in the report that corresponds to a specific + * metric. The number of MetricHeaders and ordering of MetricHeaders matches + * the metrics present in rows. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetricHeader metric_headers = 2; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessMetricHeader> + */ + public function getMetricHeaders() + { + return $this->metric_headers; + } + + /** + * The header for a column in the report that corresponds to a specific + * metric. The number of MetricHeaders and ordering of MetricHeaders matches + * the metrics present in rows. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetricHeader metric_headers = 2; + * @param \Google\Analytics\Admin\V1beta\AccessMetricHeader[] $var + * @return $this + */ + public function setMetricHeaders($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessMetricHeader::class); + $this->metric_headers = $arr; + + return $this; + } + + /** + * Rows of dimension value combinations and metric values in the report. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessRow rows = 3; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessRow> + */ + public function getRows() + { + return $this->rows; + } + + /** + * Rows of dimension value combinations and metric values in the report. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessRow rows = 3; + * @param \Google\Analytics\Admin\V1beta\AccessRow[] $var + * @return $this + */ + public function setRows($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessRow::class); + $this->rows = $arr; + + return $this; + } + + /** + * The total number of rows in the query result. `rowCount` is independent of + * the number of rows returned in the response, the `limit` request + * parameter, and the `offset` request parameter. For example if a query + * returns 175 rows and includes `limit` of 50 in the API request, the + * response will contain `rowCount` of 175 but only 50 rows. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int32 row_count = 4; + * @return int + */ + public function getRowCount() + { + return $this->row_count; + } + + /** + * The total number of rows in the query result. `rowCount` is independent of + * the number of rows returned in the response, the `limit` request + * parameter, and the `offset` request parameter. For example if a query + * returns 175 rows and includes `limit` of 50 in the API request, the + * response will contain `rowCount` of 175 but only 50 rows. + * To learn more about this pagination parameter, see + * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + * + * Generated from protobuf field int32 row_count = 4; + * @param int $var + * @return $this + */ + public function setRowCount($var) + { + GPBUtil::checkInt32($var); + $this->row_count = $var; + + return $this; + } + + /** + * The quota state for this Analytics property including this request. This + * field doesn't work with account-level requests. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuota quota = 5; + * @return \Google\Analytics\Admin\V1beta\AccessQuota|null + */ + public function getQuota() + { + return $this->quota; + } + + public function hasQuota() + { + return isset($this->quota); + } + + public function clearQuota() + { + unset($this->quota); + } + + /** + * The quota state for this Analytics property including this request. This + * field doesn't work with account-level requests. + * + * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuota quota = 5; + * @param \Google\Analytics\Admin\V1beta\AccessQuota $var + * @return $this + */ + public function setQuota($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessQuota::class); + $this->quota = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsRequest.php new file mode 100644 index 000000000000..b1c6a3c05bdf --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsRequest.php @@ -0,0 +1,435 @@ +google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest + */ +class SearchChangeHistoryEventsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The account resource for which to return change history + * resources. Format: accounts/{account} + * Example: `accounts/100` + * + * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $account = ''; + /** + * Optional. Resource name for a child property. If set, only return changes + * made to this property or its child resources. + * Format: properties/{propertyId} + * Example: `properties/100` + * + * Generated from protobuf field string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + protected $property = ''; + /** + * 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.v1beta.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. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.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. + * + * Generated from protobuf field repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $actor_email; + /** + * Optional. If set, only return changes made after this time (inclusive). + * + * Generated from protobuf field .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $earliest_change_time = null; + /** + * Optional. If set, only return changes made before this time (inclusive). + * + * Generated from protobuf field .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $latest_change_time = null; + /** + * Optional. The maximum number of ChangeHistoryEvent items to return. + * If unspecified, at most 50 items will be returned. The maximum value is 200 + * (higher values will be coerced to the maximum). + * Note that the service may return a page with fewer items than this value + * specifies (potentially even zero), and that there still may be additional + * pages. If you want a particular number of items, you'll need to continue + * requesting additional pages using `page_token` until you get the needed + * number. + * + * Generated from protobuf field int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $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. + * + * Generated from protobuf field string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $account + * Required. The account resource for which to return change history + * resources. Format: accounts/{account} + * Example: `accounts/100` + * @type string $property + * Optional. Resource name for a child property. If set, only return changes + * made to this property or its child resources. + * Format: properties/{propertyId} + * Example: `properties/100` + * @type int[] $resource_type + * Optional. If set, only return changes if they are for a resource that + * matches at least one of these types. + * @type int[] $action + * Optional. If set, only return changes that match one or more of these types + * of actions. + * @type string[] $actor_email + * 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 + * Optional. If set, only return changes made before this time (inclusive). + * @type int $page_size + * Optional. The maximum number of ChangeHistoryEvent items to return. + * If unspecified, at most 50 items will be returned. The maximum value is 200 + * (higher values will be coerced to the maximum). + * Note that the service may return a page with fewer items than this value + * specifies (potentially even zero), and that there still may be additional + * pages. If you want a particular number of items, you'll need to continue + * requesting additional pages using `page_token` until you get the needed + * number. + * @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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The account resource for which to return change history + * resources. Format: accounts/{account} + * Example: `accounts/100` + * + * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getAccount() + { + return $this->account; + } + + /** + * Required. The account resource for which to return change history + * resources. Format: accounts/{account} + * Example: `accounts/100` + * + * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setAccount($var) + { + GPBUtil::checkString($var, True); + $this->account = $var; + + return $this; + } + + /** + * Optional. Resource name for a child property. If set, only return changes + * made to this property or its child resources. + * Format: properties/{propertyId} + * Example: `properties/100` + * + * Generated from protobuf field string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return string + */ + public function getProperty() + { + return $this->property; + } + + /** + * Optional. Resource name for a child property. If set, only return changes + * made to this property or its child resources. + * Format: properties/{propertyId} + * Example: `properties/100` + * + * Generated from protobuf field string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkString($var, True); + $this->property = $var; + + return $this; + } + + /** + * 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.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getResourceType() + { + return $this->resource_type; + } + + /** + * 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.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[] $var + * @return $this + */ + public function setResourceType($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Analytics\Admin\V1beta\ChangeHistoryResourceType::class); + $this->resource_type = $arr; + + return $this; + } + + /** + * Optional. If set, only return changes that match one or more of these types + * of actions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getAction() + { + return $this->action; + } + + /** + * Optional. If set, only return changes that match one or more of these types + * of actions. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[] $var + * @return $this + */ + public function setAction($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Analytics\Admin\V1beta\ActionType::class); + $this->action = $arr; + + return $this; + } + + /** + * 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 RepeatedField + */ + public function getActorEmail() + { + return $this->actor_email; + } + + /** + * 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 string[] $var + * @return $this + */ + public function setActorEmail($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->actor_email = $arr; + + return $this; + } + + /** + * Optional. If set, only return changes made after this time (inclusive). + * + * Generated from protobuf field .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getEarliestChangeTime() + { + return $this->earliest_change_time; + } + + public function hasEarliestChangeTime() + { + return isset($this->earliest_change_time); + } + + public function clearEarliestChangeTime() + { + unset($this->earliest_change_time); + } + + /** + * Optional. If set, only return changes made after this time (inclusive). + * + * Generated from protobuf field .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setEarliestChangeTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->earliest_change_time = $var; + + return $this; + } + + /** + * Optional. If set, only return changes made before this time (inclusive). + * + * Generated from protobuf field .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getLatestChangeTime() + { + return $this->latest_change_time; + } + + public function hasLatestChangeTime() + { + return isset($this->latest_change_time); + } + + public function clearLatestChangeTime() + { + unset($this->latest_change_time); + } + + /** + * Optional. If set, only return changes made before this time (inclusive). + * + * Generated from protobuf field .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setLatestChangeTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->latest_change_time = $var; + + return $this; + } + + /** + * Optional. The maximum number of ChangeHistoryEvent items to return. + * If unspecified, at most 50 items will be returned. The maximum value is 200 + * (higher values will be coerced to the maximum). + * Note that the service may return a page with fewer items than this value + * specifies (potentially even zero), and that there still may be additional + * pages. If you want a particular number of items, you'll need to continue + * requesting additional pages using `page_token` until you get the needed + * number. + * + * Generated from protobuf field int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. The maximum number of ChangeHistoryEvent items to return. + * If unspecified, at most 50 items will be returned. The maximum value is 200 + * (higher values will be coerced to the maximum). + * Note that the service may return a page with fewer items than this value + * specifies (potentially even zero), and that there still may be additional + * pages. If you want a particular number of items, you'll need to continue + * requesting additional pages using `page_token` until you get the needed + * number. + * + * Generated from protobuf field int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * 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 + */ + public function getPageToken() + { + return $this->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 + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsResponse.php new file mode 100644 index 000000000000..bd403fc7dd78 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsResponse.php @@ -0,0 +1,105 @@ +google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse + */ +class SearchChangeHistoryEventsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Results that were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + */ + private $change_history_events; + /** + * 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; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\ChangeHistoryEvent[] $change_history_events + * Results that were accessible to the caller. + * @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\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Results that were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * @return RepeatedField<\Google\Analytics\Admin\V1beta\ChangeHistoryEvent> + */ + public function getChangeHistoryEvents() + { + return $this->change_history_events; + } + + /** + * Results that were accessible to the caller. + * + * Generated from protobuf field repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; + * @param \Google\Analytics\Admin\V1beta\ChangeHistoryEvent[] $var + * @return $this + */ + public function setChangeHistoryEvents($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\ChangeHistoryEvent::class); + $this->change_history_events = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ServiceLevel.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ServiceLevel.php new file mode 100644 index 000000000000..4ff6e7266ab6 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ServiceLevel.php @@ -0,0 +1,61 @@ +google.analytics.admin.v1beta.ServiceLevel + */ +class ServiceLevel +{ + /** + * Service level not specified or invalid. + * + * Generated from protobuf enum SERVICE_LEVEL_UNSPECIFIED = 0; + */ + const SERVICE_LEVEL_UNSPECIFIED = 0; + /** + * The standard version of Google Analytics. + * + * Generated from protobuf enum GOOGLE_ANALYTICS_STANDARD = 1; + */ + const GOOGLE_ANALYTICS_STANDARD = 1; + /** + * The paid, premium version of Google Analytics. + * + * Generated from protobuf enum GOOGLE_ANALYTICS_360 = 2; + */ + const GOOGLE_ANALYTICS_360 = 2; + + private static $valueToName = [ + self::SERVICE_LEVEL_UNSPECIFIED => 'SERVICE_LEVEL_UNSPECIFIED', + self::GOOGLE_ANALYTICS_STANDARD => 'GOOGLE_ANALYTICS_STANDARD', + self::GOOGLE_ANALYTICS_360 => 'GOOGLE_ANALYTICS_360', + ]; + + 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); + } +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateAccountRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateAccountRequest.php new file mode 100644 index 000000000000..a55a4347b879 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateAccountRequest.php @@ -0,0 +1,156 @@ +google.analytics.admin.v1beta.UpdateAccountRequest + */ +class UpdateAccountRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The account to update. + * The account's `name` field is used to identify the account. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $account = null; + /** + * Required. The list of fields to be updated. Field names must be in snake + * case (for example, "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]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1beta\Account $account Required. The account to update. + * The account's `name` field is used to identify the account. + * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake + * case (for example, "field_to_update"). Omitted fields will not be updated. + * To replace the entire entity, use one path with the string "*" to match all + * fields. + * + * @return \Google\Analytics\Admin\V1beta\UpdateAccountRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1beta\Account $account, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setAccount($account) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\Account $account + * 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 (for example, "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) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The account to update. + * The account's `name` field is used to identify the account. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\Account|null + */ + public function getAccount() + { + return $this->account; + } + + public function hasAccount() + { + return isset($this->account); + } + + public function clearAccount() + { + unset($this->account); + } + + /** + * Required. The account to update. + * The account's `name` field is used to identify the account. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\Account $var + * @return $this + */ + public function setAccount($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\Account::class); + $this->account = $var; + + return $this; + } + + /** + * Required. The list of fields to be updated. Field names must be in snake + * case (for example, "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 + */ + 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. Field names must be in snake + * case (for example, "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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateConversionEventRequest.php new file mode 100644 index 000000000000..bae88fba9e1c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateConversionEventRequest.php @@ -0,0 +1,156 @@ +google.analytics.admin.v1beta.UpdateConversionEventRequest + */ +class UpdateConversionEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The conversion event to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $conversion_event = 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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1beta\ConversionEvent $conversionEvent Required. The conversion event to update. + * The `name` field is used to identify the settings to be updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1beta\UpdateConversionEventRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1beta\ConversionEvent $conversionEvent, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setConversionEvent($conversionEvent) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\ConversionEvent $conversion_event + * Required. The conversion event 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The conversion event to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\ConversionEvent|null + */ + public function getConversionEvent() + { + return $this->conversion_event; + } + + public function hasConversionEvent() + { + return isset($this->conversion_event); + } + + public function clearConversionEvent() + { + unset($this->conversion_event); + } + + /** + * Required. The conversion event to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\ConversionEvent $var + * @return $this + */ + public function setConversionEvent($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\ConversionEvent::class); + $this->conversion_event = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomDimensionRequest.php new file mode 100644 index 000000000000..a526d5e8a7d9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomDimensionRequest.php @@ -0,0 +1,146 @@ +google.analytics.admin.v1beta.UpdateCustomDimensionRequest + */ +class UpdateCustomDimensionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The CustomDimension to update + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1beta\CustomDimension $customDimension The CustomDimension to update + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1beta\UpdateCustomDimensionRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1beta\CustomDimension $customDimension, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setCustomDimension($customDimension) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The CustomDimension to update + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; + * @return \Google\Analytics\Admin\V1beta\CustomDimension|null + */ + public function getCustomDimension() + { + return $this->custom_dimension; + } + + public function hasCustomDimension() + { + return isset($this->custom_dimension); + } + + public function clearCustomDimension() + { + unset($this->custom_dimension); + } + + /** + * The CustomDimension to update + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; + * @param \Google\Analytics\Admin\V1beta\CustomDimension $var + * @return $this + */ + public function setCustomDimension($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\CustomDimension::class); + $this->custom_dimension = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomMetricRequest.php new file mode 100644 index 000000000000..a57c23cc0ea3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomMetricRequest.php @@ -0,0 +1,146 @@ +google.analytics.admin.v1beta.UpdateCustomMetricRequest + */ +class UpdateCustomMetricRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The CustomMetric to update + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1beta\CustomMetric $customMetric The CustomMetric to update + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1beta\UpdateCustomMetricRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1beta\CustomMetric $customMetric, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setCustomMetric($customMetric) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The CustomMetric to update + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; + * @return \Google\Analytics\Admin\V1beta\CustomMetric|null + */ + public function getCustomMetric() + { + return $this->custom_metric; + } + + public function hasCustomMetric() + { + return isset($this->custom_metric); + } + + public function clearCustomMetric() + { + unset($this->custom_metric); + } + + /** + * The CustomMetric to update + * + * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; + * @param \Google\Analytics\Admin\V1beta\CustomMetric $var + * @return $this + */ + public function setCustomMetric($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\CustomMetric::class); + $this->custom_metric = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataRetentionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataRetentionSettingsRequest.php new file mode 100644 index 000000000000..ceaa102d37e2 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataRetentionSettingsRequest.php @@ -0,0 +1,156 @@ +google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest + */ +class UpdateDataRetentionSettingsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1beta\DataRetentionSettings $dataRetentionSettings Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1beta\UpdateDataRetentionSettingsRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1beta\DataRetentionSettings $dataRetentionSettings, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setDataRetentionSettings($dataRetentionSettings) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\DataRetentionSettings $data_retention_settings + * 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\DataRetentionSettings|null + */ + public function getDataRetentionSettings() + { + return $this->data_retention_settings; + } + + public function hasDataRetentionSettings() + { + return isset($this->data_retention_settings); + } + + public function clearDataRetentionSettings() + { + unset($this->data_retention_settings); + } + + /** + * Required. The settings to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\DataRetentionSettings $var + * @return $this + */ + public function setDataRetentionSettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataRetentionSettings::class); + $this->data_retention_settings = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataStreamRequest.php new file mode 100644 index 000000000000..b0aef48264e0 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataStreamRequest.php @@ -0,0 +1,146 @@ +google.analytics.admin.v1beta.UpdateDataStreamRequest + */ +class UpdateDataStreamRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The DataStream to update + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 1; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1beta\DataStream $dataStream The DataStream to update + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1beta\UpdateDataStreamRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1beta\DataStream $dataStream, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setDataStream($dataStream) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The DataStream to update + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 1; + * @return \Google\Analytics\Admin\V1beta\DataStream|null + */ + public function getDataStream() + { + return $this->data_stream; + } + + public function hasDataStream() + { + return isset($this->data_stream); + } + + public function clearDataStream() + { + unset($this->data_stream); + } + + /** + * The DataStream to update + * + * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 1; + * @param \Google\Analytics\Admin\V1beta\DataStream $var + * @return $this + */ + public function setDataStream($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataStream::class); + $this->data_stream = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateGoogleAdsLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateGoogleAdsLinkRequest.php new file mode 100644 index 000000000000..f878782987b9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateGoogleAdsLinkRequest.php @@ -0,0 +1,151 @@ +google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest + */ +class UpdateGoogleAdsLinkRequest extends \Google\Protobuf\Internal\Message +{ + /** + * The GoogleAdsLink to update + * + * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1beta\GoogleAdsLink $googleAdsLink The GoogleAdsLink to update + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1beta\UpdateGoogleAdsLinkRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1beta\GoogleAdsLink $googleAdsLink, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setGoogleAdsLink($googleAdsLink) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * The GoogleAdsLink to update + * + * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; + * @return \Google\Analytics\Admin\V1beta\GoogleAdsLink|null + */ + public function getGoogleAdsLink() + { + return $this->google_ads_link; + } + + public function hasGoogleAdsLink() + { + return isset($this->google_ads_link); + } + + public function clearGoogleAdsLink() + { + unset($this->google_ads_link); + } + + /** + * The GoogleAdsLink to update + * + * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; + * @param \Google\Analytics\Admin\V1beta\GoogleAdsLink $var + * @return $this + */ + public function setGoogleAdsLink($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\GoogleAdsLink::class); + $this->google_ads_link = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateKeyEventRequest.php new file mode 100644 index 000000000000..b3e57dc7d23e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateKeyEventRequest.php @@ -0,0 +1,156 @@ +google.analytics.admin.v1beta.UpdateKeyEventRequest + */ +class UpdateKeyEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The Key Event to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $key_event = 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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1beta\KeyEvent $keyEvent Required. The Key Event to update. + * The `name` field is used to identify the settings to be updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1beta\UpdateKeyEventRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1beta\KeyEvent $keyEvent, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setKeyEvent($keyEvent) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\KeyEvent $key_event + * Required. The Key Event 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The Key Event to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\KeyEvent|null + */ + public function getKeyEvent() + { + return $this->key_event; + } + + public function hasKeyEvent() + { + return isset($this->key_event); + } + + public function clearKeyEvent() + { + unset($this->key_event); + } + + /** + * Required. The Key Event to update. + * The `name` field is used to identify the settings to be updated. + * + * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\KeyEvent $var + * @return $this + */ + public function setKeyEvent($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\KeyEvent::class); + $this->key_event = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateMeasurementProtocolSecretRequest.php new file mode 100644 index 000000000000..55ca40fde0d5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateMeasurementProtocolSecretRequest.php @@ -0,0 +1,141 @@ +google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest + */ +class UpdateMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The measurement protocol secret to update. + * + * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $measurement_protocol_secret = null; + /** + * Required. The list of fields to be updated. Omitted fields will not be + * updated. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurementProtocolSecret Required. The measurement protocol secret to update. + * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be + * updated. + * + * @return \Google\Analytics\Admin\V1beta\UpdateMeasurementProtocolSecretRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurementProtocolSecret, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setMeasurementProtocolSecret($measurementProtocolSecret) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurement_protocol_secret + * Required. The measurement protocol secret to update. + * @type \Google\Protobuf\FieldMask $update_mask + * Required. The list of fields to be updated. Omitted fields will not be + * updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The measurement protocol secret to update. + * + * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret|null + */ + public function getMeasurementProtocolSecret() + { + return $this->measurement_protocol_secret; + } + + public function hasMeasurementProtocolSecret() + { + return isset($this->measurement_protocol_secret); + } + + public function clearMeasurementProtocolSecret() + { + unset($this->measurement_protocol_secret); + } + + /** + * Required. The measurement protocol secret to update. + * + * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $var + * @return $this + */ + public function setMeasurementProtocolSecret($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret::class); + $this->measurement_protocol_secret = $var; + + return $this; + } + + /** + * Required. The list of fields to be updated. Omitted fields will not be + * updated. + * + * 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. + * + * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdatePropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdatePropertyRequest.php new file mode 100644 index 000000000000..152316aa63cf --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdatePropertyRequest.php @@ -0,0 +1,161 @@ +google.analytics.admin.v1beta.UpdatePropertyRequest + */ +class UpdatePropertyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The property to update. + * The property's `name` field is used to identify the property to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $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. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $update_mask = null; + + /** + * @param \Google\Analytics\Admin\V1beta\Property $property Required. The property to update. + * The property's `name` field is used to identify the property to be + * updated. + * @param \Google\Protobuf\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. + * + * @return \Google\Analytics\Admin\V1beta\UpdatePropertyRequest + * + * @experimental + */ + public static function build(\Google\Analytics\Admin\V1beta\Property $property, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setProperty($property) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Analytics\Admin\V1beta\Property $property + * Required. The property to update. + * 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. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); + parent::__construct($data); + } + + /** + * Required. The property to update. + * The property's `name` field is used to identify the property to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Analytics\Admin\V1beta\Property|null + */ + public function getProperty() + { + return $this->property; + } + + public function hasProperty() + { + return isset($this->property); + } + + public function clearProperty() + { + unset($this->property); + } + + /** + * Required. The property to update. + * The property's `name` field is used to identify the property to be + * updated. + * + * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Analytics\Admin\V1beta\Property $var + * @return $this + */ + public function setProperty($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\Property::class); + $this->property = $var; + + return $this; + } + + /** + * 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 + */ + 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. 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 + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php new file mode 100644 index 000000000000..071cc4bb4df2 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php @@ -0,0 +1,87 @@ +setProperty($formattedProperty) + ->setAcknowledgement($acknowledgement); + + // Call the API and handle any network failures. + try { + /** @var AcknowledgeUserDataCollectionResponse $response */ + $response = $analyticsAdminServiceClient->acknowledgeUserDataCollection($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedProperty = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $acknowledgement = '[ACKNOWLEDGEMENT]'; + + acknowledge_user_data_collection_sample($formattedProperty, $acknowledgement); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_AcknowledgeUserDataCollection_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_dimension.php new file mode 100644 index 000000000000..c88bebeda00e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_dimension.php @@ -0,0 +1,73 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->archiveCustomDimension($request); + 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::customDimensionName( + '[PROPERTY]', + '[CUSTOM_DIMENSION]' + ); + + archive_custom_dimension_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ArchiveCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_metric.php new file mode 100644 index 000000000000..52baf1c31368 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_metric.php @@ -0,0 +1,70 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->archiveCustomMetric($request); + 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::customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); + + archive_custom_metric_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ArchiveCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_conversion_event.php new file mode 100644 index 000000000000..94300c99a832 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_conversion_event.php @@ -0,0 +1,75 @@ +setConversionEvent($conversionEvent) + ->setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var ConversionEvent $response */ + $response = $analyticsAdminServiceClient->createConversionEvent($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + create_conversion_event_sample($formattedParent); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_dimension.php new file mode 100644 index 000000000000..ee27ab9fc011 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_dimension.php @@ -0,0 +1,107 @@ +setParameterName($customDimensionParameterName) + ->setDisplayName($customDimensionDisplayName) + ->setScope($customDimensionScope); + $request = (new CreateCustomDimensionRequest()) + ->setParent($formattedParent) + ->setCustomDimension($customDimension); + + // Call the API and handle any network failures. + try { + /** @var CustomDimension $response */ + $response = $analyticsAdminServiceClient->createCustomDimension($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $customDimensionParameterName = '[PARAMETER_NAME]'; + $customDimensionDisplayName = '[DISPLAY_NAME]'; + $customDimensionScope = DimensionScope::DIMENSION_SCOPE_UNSPECIFIED; + + create_custom_dimension_sample( + $formattedParent, + $customDimensionParameterName, + $customDimensionDisplayName, + $customDimensionScope + ); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_metric.php new file mode 100644 index 000000000000..0fb1ceff019f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_metric.php @@ -0,0 +1,108 @@ +setParameterName($customMetricParameterName) + ->setDisplayName($customMetricDisplayName) + ->setMeasurementUnit($customMetricMeasurementUnit) + ->setScope($customMetricScope); + $request = (new CreateCustomMetricRequest()) + ->setParent($formattedParent) + ->setCustomMetric($customMetric); + + // Call the API and handle any network failures. + try { + /** @var CustomMetric $response */ + $response = $analyticsAdminServiceClient->createCustomMetric($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $customMetricParameterName = '[PARAMETER_NAME]'; + $customMetricDisplayName = '[DISPLAY_NAME]'; + $customMetricMeasurementUnit = MeasurementUnit::MEASUREMENT_UNIT_UNSPECIFIED; + $customMetricScope = MetricScope::METRIC_SCOPE_UNSPECIFIED; + + create_custom_metric_sample( + $formattedParent, + $customMetricParameterName, + $customMetricDisplayName, + $customMetricMeasurementUnit, + $customMetricScope + ); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_data_stream.php new file mode 100644 index 000000000000..bf43c43d5403 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_data_stream.php @@ -0,0 +1,77 @@ +setType($dataStreamType); + $request = (new CreateDataStreamRequest()) + ->setParent($formattedParent) + ->setDataStream($dataStream); + + // Call the API and handle any network failures. + try { + /** @var DataStream $response */ + $response = $analyticsAdminServiceClient->createDataStream($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + $dataStreamType = DataStreamType::DATA_STREAM_TYPE_UNSPECIFIED; + + create_data_stream_sample($formattedParent, $dataStreamType); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_firebase_link.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_firebase_link.php new file mode 100644 index 000000000000..4caded1d99a7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_firebase_link.php @@ -0,0 +1,77 @@ +setParent($formattedParent) + ->setFirebaseLink($firebaseLink); + + // Call the API and handle any network failures. + try { + /** @var FirebaseLink $response */ + $response = $analyticsAdminServiceClient->createFirebaseLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + create_firebase_link_sample($formattedParent); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateFirebaseLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_google_ads_link.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_google_ads_link.php new file mode 100644 index 000000000000..e3b555246355 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_google_ads_link.php @@ -0,0 +1,73 @@ +setParent($formattedParent) + ->setGoogleAdsLink($googleAdsLink); + + // Call the API and handle any network failures. + try { + /** @var GoogleAdsLink $response */ + $response = $analyticsAdminServiceClient->createGoogleAdsLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + create_google_ads_link_sample($formattedParent); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateGoogleAdsLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_key_event.php new file mode 100644 index 000000000000..23b35f424c32 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_key_event.php @@ -0,0 +1,79 @@ +setCountingMethod($keyEventCountingMethod); + $request = (new CreateKeyEventRequest()) + ->setKeyEvent($keyEvent) + ->setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var KeyEvent $response */ + $response = $analyticsAdminServiceClient->createKeyEvent($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; + $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + create_key_event_sample($keyEventCountingMethod, $formattedParent); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php new file mode 100644 index 000000000000..a0084640c677 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php @@ -0,0 +1,79 @@ +setDisplayName($measurementProtocolSecretDisplayName); + $request = (new CreateMeasurementProtocolSecretRequest()) + ->setParent($formattedParent) + ->setMeasurementProtocolSecret($measurementProtocolSecret); + + // Call the API and handle any network failures. + try { + /** @var MeasurementProtocolSecret $response */ + $response = $analyticsAdminServiceClient->createMeasurementProtocolSecret($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $measurementProtocolSecretDisplayName = '[DISPLAY_NAME]'; + + create_measurement_protocol_secret_sample($formattedParent, $measurementProtocolSecretDisplayName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_property.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_property.php new file mode 100644 index 000000000000..fe8c2b6b645d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_property.php @@ -0,0 +1,86 @@ +setDisplayName($propertyDisplayName) + ->setTimeZone($propertyTimeZone); + $request = (new CreatePropertyRequest()) + ->setProperty($property); + + // Call the API and handle any network failures. + try { + /** @var Property $response */ + $response = $analyticsAdminServiceClient->createProperty($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $propertyDisplayName = '[DISPLAY_NAME]'; + $propertyTimeZone = '[TIME_ZONE]'; + + create_property_sample($propertyDisplayName, $propertyTimeZone); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_account.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_account.php new file mode 100644 index 000000000000..7d591fe7c3e3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_account.php @@ -0,0 +1,81 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteAccount($request); + 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::accountName('[ACCOUNT]'); + + delete_account_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteAccount_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_conversion_event.php new file mode 100644 index 000000000000..3fa91a2bc25c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_conversion_event.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteConversionEvent($request); + 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::conversionEventName( + '[PROPERTY]', + '[CONVERSION_EVENT]' + ); + + delete_conversion_event_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_data_stream.php new file mode 100644 index 000000000000..411c1b460487 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_data_stream.php @@ -0,0 +1,70 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteDataStream($request); + 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::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + + delete_data_stream_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_firebase_link.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_firebase_link.php new file mode 100644 index 000000000000..1e10b48488e1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_firebase_link.php @@ -0,0 +1,71 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteFirebaseLink($request); + 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::firebaseLinkName('[PROPERTY]', '[FIREBASE_LINK]'); + + delete_firebase_link_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteFirebaseLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_google_ads_link.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_google_ads_link.php new file mode 100644 index 000000000000..55dd09b8bb4c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_google_ads_link.php @@ -0,0 +1,69 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteGoogleAdsLink($request); + 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::googleAdsLinkName('[PROPERTY]', '[GOOGLE_ADS_LINK]'); + + delete_google_ads_link_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteGoogleAdsLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_key_event.php new file mode 100644 index 000000000000..dad28a959cc7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_key_event.php @@ -0,0 +1,71 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteKeyEvent($request); + 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::keyEventName('[PROPERTY]', '[KEY_EVENT]'); + + delete_key_event_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php new file mode 100644 index 000000000000..c8c4c83fa6b9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $analyticsAdminServiceClient->deleteMeasurementProtocolSecret($request); + 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::measurementProtocolSecretName( + '[PROPERTY]', + '[DATA_STREAM]', + '[MEASUREMENT_PROTOCOL_SECRET]' + ); + + delete_measurement_protocol_secret_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_property.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_property.php new file mode 100644 index 000000000000..1de154a1595b --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_property.php @@ -0,0 +1,83 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Property $response */ + $response = $analyticsAdminServiceClient->deleteProperty($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + delete_property_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_account.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_account.php new file mode 100644 index 000000000000..46128821e6fe --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_account.php @@ -0,0 +1,73 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Account $response */ + $response = $analyticsAdminServiceClient->getAccount($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); + + get_account_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetAccount_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_conversion_event.php new file mode 100644 index 000000000000..8c773580edb9 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_conversion_event.php @@ -0,0 +1,77 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var ConversionEvent $response */ + $response = $analyticsAdminServiceClient->getConversionEvent($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::conversionEventName( + '[PROPERTY]', + '[CONVERSION_EVENT]' + ); + + get_conversion_event_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_dimension.php new file mode 100644 index 000000000000..7c5cfb8113d3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_dimension.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var CustomDimension $response */ + $response = $analyticsAdminServiceClient->getCustomDimension($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::customDimensionName( + '[PROPERTY]', + '[CUSTOM_DIMENSION]' + ); + + get_custom_dimension_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_metric.php new file mode 100644 index 000000000000..b6c48c541db1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_metric.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var CustomMetric $response */ + $response = $analyticsAdminServiceClient->getCustomMetric($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); + + get_custom_metric_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_retention_settings.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_retention_settings.php new file mode 100644 index 000000000000..e988edf8ac78 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_retention_settings.php @@ -0,0 +1,74 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var DataRetentionSettings $response */ + $response = $analyticsAdminServiceClient->getDataRetentionSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::dataRetentionSettingsName('[PROPERTY]'); + + get_data_retention_settings_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetDataRetentionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_sharing_settings.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_sharing_settings.php new file mode 100644 index 000000000000..b5ca17d76184 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_sharing_settings.php @@ -0,0 +1,75 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var DataSharingSettings $response */ + $response = $analyticsAdminServiceClient->getDataSharingSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::dataSharingSettingsName('[ACCOUNT]'); + + get_data_sharing_settings_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetDataSharingSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_stream.php new file mode 100644 index 000000000000..cb4ad7031330 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_stream.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var DataStream $response */ + $response = $analyticsAdminServiceClient->getDataStream($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + + get_data_stream_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_key_event.php new file mode 100644 index 000000000000..da96d445d1b7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_key_event.php @@ -0,0 +1,73 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var KeyEvent $response */ + $response = $analyticsAdminServiceClient->getKeyEvent($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::keyEventName('[PROPERTY]', '[KEY_EVENT]'); + + get_key_event_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php new file mode 100644 index 000000000000..72f18a505f0c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php @@ -0,0 +1,77 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var MeasurementProtocolSecret $response */ + $response = $analyticsAdminServiceClient->getMeasurementProtocolSecret($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::measurementProtocolSecretName( + '[PROPERTY]', + '[DATA_STREAM]', + '[MEASUREMENT_PROTOCOL_SECRET]' + ); + + get_measurement_protocol_secret_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_property.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_property.php new file mode 100644 index 000000000000..03c9abd32cd7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_property.php @@ -0,0 +1,73 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var Property $response */ + $response = $analyticsAdminServiceClient->getProperty($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); + + get_property_sample($formattedName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_account_summaries.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_account_summaries.php new file mode 100644 index 000000000000..2a38bf5deab5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_account_summaries.php @@ -0,0 +1,62 @@ +listAccountSummaries($request); + + /** @var AccountSummary $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()); + } +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListAccountSummaries_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_accounts.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_accounts.php new file mode 100644 index 000000000000..9bc74a27c7da --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_accounts.php @@ -0,0 +1,66 @@ +listAccounts($request); + + /** @var Account $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()); + } +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListAccounts_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_conversion_events.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_conversion_events.php new file mode 100644 index 000000000000..ffde01eddfbc --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_conversion_events.php @@ -0,0 +1,80 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listConversionEvents($request); + + /** @var ConversionEvent $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_conversion_events_sample($formattedParent); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListConversionEvents_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_dimensions.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_dimensions.php new file mode 100644 index 000000000000..f0f342e6df3e --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_dimensions.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listCustomDimensions($request); + + /** @var CustomDimension $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_custom_dimensions_sample($formattedParent); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListCustomDimensions_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_metrics.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_metrics.php new file mode 100644 index 000000000000..efdbbac9365d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_metrics.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listCustomMetrics($request); + + /** @var CustomMetric $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_custom_metrics_sample($formattedParent); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListCustomMetrics_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_data_streams.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_data_streams.php new file mode 100644 index 000000000000..5f22f0d98ac7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_data_streams.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listDataStreams($request); + + /** @var DataStream $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_data_streams_sample($formattedParent); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListDataStreams_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_firebase_links.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_firebase_links.php new file mode 100644 index 000000000000..3c5be95ba135 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_firebase_links.php @@ -0,0 +1,79 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listFirebaseLinks($request); + + /** @var FirebaseLink $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_firebase_links_sample($formattedParent); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListFirebaseLinks_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_google_ads_links.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_google_ads_links.php new file mode 100644 index 000000000000..bd5980e490f4 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_google_ads_links.php @@ -0,0 +1,76 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listGoogleAdsLinks($request); + + /** @var GoogleAdsLink $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_google_ads_links_sample($formattedParent); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListGoogleAdsLinks_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_key_events.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_key_events.php new file mode 100644 index 000000000000..27e00ac19a21 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_key_events.php @@ -0,0 +1,78 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listKeyEvents($request); + + /** @var KeyEvent $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_key_events_sample($formattedParent); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListKeyEvents_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php new file mode 100644 index 000000000000..0ef7897eb44c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php @@ -0,0 +1,79 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listMeasurementProtocolSecrets($request); + + /** @var MeasurementProtocolSecret $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::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + + list_measurement_protocol_secrets_sample($formattedParent); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListMeasurementProtocolSecrets_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_properties.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_properties.php new file mode 100644 index 000000000000..c99fedd43659 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_properties.php @@ -0,0 +1,94 @@ +setFilter($filter); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->listProperties($request); + + /** @var Property $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 +{ + $filter = '[FILTER]'; + + list_properties_sample($filter); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListProperties_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/provision_account_ticket.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/provision_account_ticket.php new file mode 100644 index 000000000000..5f2d615a7c23 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/provision_account_ticket.php @@ -0,0 +1,57 @@ +provisionAccountTicket($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ProvisionAccountTicket_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/run_access_report.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/run_access_report.php new file mode 100644 index 000000000000..b28ec40eeb05 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/run_access_report.php @@ -0,0 +1,76 @@ +runAccessReport($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_RunAccessReport_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/search_change_history_events.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/search_change_history_events.php new file mode 100644 index 000000000000..5bb855515320 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/search_change_history_events.php @@ -0,0 +1,83 @@ +setAccount($formattedAccount); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $analyticsAdminServiceClient->searchChangeHistoryEvents($request); + + /** @var ChangeHistoryEvent $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 +{ + $formattedAccount = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); + + search_change_history_events_sample($formattedAccount); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_SearchChangeHistoryEvents_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_account.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_account.php new file mode 100644 index 000000000000..7d89dacb9ca1 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_account.php @@ -0,0 +1,75 @@ +setDisplayName($accountDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateAccountRequest()) + ->setAccount($account) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var Account $response */ + $response = $analyticsAdminServiceClient->updateAccount($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $accountDisplayName = '[DISPLAY_NAME]'; + + update_account_sample($accountDisplayName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateAccount_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_conversion_event.php new file mode 100644 index 000000000000..398df7f7280d --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_conversion_event.php @@ -0,0 +1,63 @@ +setConversionEvent($conversionEvent) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var ConversionEvent $response */ + $response = $analyticsAdminServiceClient->updateConversionEvent($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_dimension.php new file mode 100644 index 000000000000..a0e890b066c3 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_dimension.php @@ -0,0 +1,60 @@ +setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var CustomDimension $response */ + $response = $analyticsAdminServiceClient->updateCustomDimension($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_metric.php new file mode 100644 index 000000000000..937744a702af --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_metric.php @@ -0,0 +1,60 @@ +setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var CustomMetric $response */ + $response = $analyticsAdminServiceClient->updateCustomMetric($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_retention_settings.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_retention_settings.php new file mode 100644 index 000000000000..17ac37b1d8d5 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_retention_settings.php @@ -0,0 +1,84 @@ +setEventDataRetention($dataRetentionSettingsEventDataRetention) + ->setUserDataRetention($dataRetentionSettingsUserDataRetention); + $updateMask = new FieldMask(); + $request = (new UpdateDataRetentionSettingsRequest()) + ->setDataRetentionSettings($dataRetentionSettings) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var DataRetentionSettings $response */ + $response = $analyticsAdminServiceClient->updateDataRetentionSettings($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $dataRetentionSettingsEventDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; + $dataRetentionSettingsUserDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; + + update_data_retention_settings_sample( + $dataRetentionSettingsEventDataRetention, + $dataRetentionSettingsUserDataRetention + ); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateDataRetentionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_stream.php new file mode 100644 index 000000000000..465e5b550b1c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_stream.php @@ -0,0 +1,60 @@ +setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var DataStream $response */ + $response = $analyticsAdminServiceClient->updateDataStream($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_google_ads_link.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_google_ads_link.php new file mode 100644 index 000000000000..3dd52b3af348 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_google_ads_link.php @@ -0,0 +1,60 @@ +setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var GoogleAdsLink $response */ + $response = $analyticsAdminServiceClient->updateGoogleAdsLink($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateGoogleAdsLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_key_event.php new file mode 100644 index 000000000000..65bad432ec89 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_key_event.php @@ -0,0 +1,77 @@ +setCountingMethod($keyEventCountingMethod); + $updateMask = new FieldMask(); + $request = (new UpdateKeyEventRequest()) + ->setKeyEvent($keyEvent) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var KeyEvent $response */ + $response = $analyticsAdminServiceClient->updateKeyEvent($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; + + update_key_event_sample($keyEventCountingMethod); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php new file mode 100644 index 000000000000..b1865af1f51f --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php @@ -0,0 +1,76 @@ +setDisplayName($measurementProtocolSecretDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateMeasurementProtocolSecretRequest()) + ->setMeasurementProtocolSecret($measurementProtocolSecret) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var MeasurementProtocolSecret $response */ + $response = $analyticsAdminServiceClient->updateMeasurementProtocolSecret($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $measurementProtocolSecretDisplayName = '[DISPLAY_NAME]'; + + update_measurement_protocol_secret_sample($measurementProtocolSecretDisplayName); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_property.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_property.php new file mode 100644 index 000000000000..5a83dd1566ec --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_property.php @@ -0,0 +1,88 @@ +setDisplayName($propertyDisplayName) + ->setTimeZone($propertyTimeZone); + $updateMask = new FieldMask(); + $request = (new UpdatePropertyRequest()) + ->setProperty($property) + ->setUpdateMask($updateMask); + + // Call the API and handle any network failures. + try { + /** @var Property $response */ + $response = $analyticsAdminServiceClient->updateProperty($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $propertyDisplayName = '[DISPLAY_NAME]'; + $propertyTimeZone = '[TIME_ZONE]'; + + update_property_sample($propertyDisplayName, $propertyTimeZone); +} +// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/Client/AnalyticsAdminServiceClient.php b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/Client/AnalyticsAdminServiceClient.php new file mode 100644 index 000000000000..fa7bb64b17d4 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/Client/AnalyticsAdminServiceClient.php @@ -0,0 +1,2203 @@ + acknowledgeUserDataCollectionAsync(AcknowledgeUserDataCollectionRequest $request, array $optionalArgs = []) + * @method PromiseInterface archiveCustomDimensionAsync(ArchiveCustomDimensionRequest $request, array $optionalArgs = []) + * @method PromiseInterface archiveCustomMetricAsync(ArchiveCustomMetricRequest $request, array $optionalArgs = []) + * @method PromiseInterface createConversionEventAsync(CreateConversionEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface createCustomDimensionAsync(CreateCustomDimensionRequest $request, array $optionalArgs = []) + * @method PromiseInterface createCustomMetricAsync(CreateCustomMetricRequest $request, array $optionalArgs = []) + * @method PromiseInterface createDataStreamAsync(CreateDataStreamRequest $request, array $optionalArgs = []) + * @method PromiseInterface createFirebaseLinkAsync(CreateFirebaseLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface createGoogleAdsLinkAsync(CreateGoogleAdsLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface createKeyEventAsync(CreateKeyEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface createMeasurementProtocolSecretAsync(CreateMeasurementProtocolSecretRequest $request, array $optionalArgs = []) + * @method PromiseInterface createPropertyAsync(CreatePropertyRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteAccountAsync(DeleteAccountRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteConversionEventAsync(DeleteConversionEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteDataStreamAsync(DeleteDataStreamRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteFirebaseLinkAsync(DeleteFirebaseLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteGoogleAdsLinkAsync(DeleteGoogleAdsLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteKeyEventAsync(DeleteKeyEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteMeasurementProtocolSecretAsync(DeleteMeasurementProtocolSecretRequest $request, array $optionalArgs = []) + * @method PromiseInterface deletePropertyAsync(DeletePropertyRequest $request, array $optionalArgs = []) + * @method PromiseInterface getAccountAsync(GetAccountRequest $request, array $optionalArgs = []) + * @method PromiseInterface getConversionEventAsync(GetConversionEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface getCustomDimensionAsync(GetCustomDimensionRequest $request, array $optionalArgs = []) + * @method PromiseInterface getCustomMetricAsync(GetCustomMetricRequest $request, array $optionalArgs = []) + * @method PromiseInterface getDataRetentionSettingsAsync(GetDataRetentionSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface getDataSharingSettingsAsync(GetDataSharingSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface getDataStreamAsync(GetDataStreamRequest $request, array $optionalArgs = []) + * @method PromiseInterface getKeyEventAsync(GetKeyEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface getMeasurementProtocolSecretAsync(GetMeasurementProtocolSecretRequest $request, array $optionalArgs = []) + * @method PromiseInterface getPropertyAsync(GetPropertyRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAccountSummariesAsync(ListAccountSummariesRequest $request, array $optionalArgs = []) + * @method PromiseInterface listAccountsAsync(ListAccountsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listConversionEventsAsync(ListConversionEventsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCustomDimensionsAsync(ListCustomDimensionsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCustomMetricsAsync(ListCustomMetricsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listDataStreamsAsync(ListDataStreamsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listFirebaseLinksAsync(ListFirebaseLinksRequest $request, array $optionalArgs = []) + * @method PromiseInterface listGoogleAdsLinksAsync(ListGoogleAdsLinksRequest $request, array $optionalArgs = []) + * @method PromiseInterface listKeyEventsAsync(ListKeyEventsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listMeasurementProtocolSecretsAsync(ListMeasurementProtocolSecretsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listPropertiesAsync(ListPropertiesRequest $request, array $optionalArgs = []) + * @method PromiseInterface provisionAccountTicketAsync(ProvisionAccountTicketRequest $request, array $optionalArgs = []) + * @method PromiseInterface runAccessReportAsync(RunAccessReportRequest $request, array $optionalArgs = []) + * @method PromiseInterface searchChangeHistoryEventsAsync(SearchChangeHistoryEventsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateAccountAsync(UpdateAccountRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateConversionEventAsync(UpdateConversionEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateCustomDimensionAsync(UpdateCustomDimensionRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateCustomMetricAsync(UpdateCustomMetricRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateDataRetentionSettingsAsync(UpdateDataRetentionSettingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateDataStreamAsync(UpdateDataStreamRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateGoogleAdsLinkAsync(UpdateGoogleAdsLinkRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateKeyEventAsync(UpdateKeyEventRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateMeasurementProtocolSecretAsync(UpdateMeasurementProtocolSecretRequest $request, array $optionalArgs = []) + * @method PromiseInterface updatePropertyAsync(UpdatePropertyRequest $request, array $optionalArgs = []) + */ +final class AnalyticsAdminServiceClient +{ + use GapicClientTrait; + use ResourceHelperTrait; + + /** The name of the service. */ + private const SERVICE_NAME = 'google.analytics.admin.v1beta.AnalyticsAdminService'; + + /** + * The default address of the service. + * + * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. + */ + private const SERVICE_ADDRESS = 'analyticsadmin.googleapis.com'; + + /** The address template of the service. */ + private const SERVICE_ADDRESS_TEMPLATE = 'analyticsadmin.UNIVERSE_DOMAIN'; + + /** The default port of the service. */ + private const DEFAULT_SERVICE_PORT = 443; + + /** The name of the code generator, to be included in the agent header. */ + private const CODEGEN_NAME = 'gapic'; + + /** The default scopes required by the service. */ + public static $serviceScopes = [ + 'https://www.googleapis.com/auth/analytics.edit', + 'https://www.googleapis.com/auth/analytics.readonly', + ]; + + private static function getClientDefaults() + { + return [ + 'serviceName' => self::SERVICE_NAME, + 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, + 'clientConfig' => __DIR__ . '/../resources/analytics_admin_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/analytics_admin_service_descriptor_config.php', + 'gcpApiConfigPath' => __DIR__ . '/../resources/analytics_admin_service_grpc_config.json', + 'credentialsConfig' => [ + 'defaultScopes' => self::$serviceScopes, + ], + 'transportConfig' => [ + 'rest' => [ + 'restClientConfigPath' => __DIR__ . '/../resources/analytics_admin_service_rest_client_config.php', + ], + ], + ]; + } + + /** + * Formats a string containing the fully-qualified path to represent a account + * resource. + * + * @param string $account + * + * @return string The formatted account resource. + * + * @experimental + */ + public static function accountName(string $account): string + { + return self::getPathTemplate('account')->render([ + 'account' => $account, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * conversion_event resource. + * + * @param string $property + * @param string $conversionEvent + * + * @return string The formatted conversion_event resource. + * + * @experimental + */ + public static function conversionEventName(string $property, string $conversionEvent): string + { + return self::getPathTemplate('conversionEvent')->render([ + 'property' => $property, + 'conversion_event' => $conversionEvent, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * custom_dimension resource. + * + * @param string $property + * @param string $customDimension + * + * @return string The formatted custom_dimension resource. + * + * @experimental + */ + public static function customDimensionName(string $property, string $customDimension): string + { + return self::getPathTemplate('customDimension')->render([ + 'property' => $property, + 'custom_dimension' => $customDimension, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * custom_metric resource. + * + * @param string $property + * @param string $customMetric + * + * @return string The formatted custom_metric resource. + * + * @experimental + */ + public static function customMetricName(string $property, string $customMetric): string + { + return self::getPathTemplate('customMetric')->render([ + 'property' => $property, + 'custom_metric' => $customMetric, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * data_retention_settings resource. + * + * @param string $property + * + * @return string The formatted data_retention_settings resource. + * + * @experimental + */ + public static function dataRetentionSettingsName(string $property): string + { + return self::getPathTemplate('dataRetentionSettings')->render([ + 'property' => $property, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * data_sharing_settings resource. + * + * @param string $account + * + * @return string The formatted data_sharing_settings resource. + * + * @experimental + */ + public static function dataSharingSettingsName(string $account): string + { + return self::getPathTemplate('dataSharingSettings')->render([ + 'account' => $account, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a data_stream + * resource. + * + * @param string $property + * @param string $dataStream + * + * @return string The formatted data_stream resource. + * + * @experimental + */ + public static function dataStreamName(string $property, string $dataStream): string + { + return self::getPathTemplate('dataStream')->render([ + 'property' => $property, + 'data_stream' => $dataStream, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * firebase_link resource. + * + * @param string $property + * @param string $firebaseLink + * + * @return string The formatted firebase_link resource. + * + * @experimental + */ + public static function firebaseLinkName(string $property, string $firebaseLink): string + { + return self::getPathTemplate('firebaseLink')->render([ + 'property' => $property, + 'firebase_link' => $firebaseLink, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * google_ads_link resource. + * + * @param string $property + * @param string $googleAdsLink + * + * @return string The formatted google_ads_link resource. + * + * @experimental + */ + public static function googleAdsLinkName(string $property, string $googleAdsLink): string + { + return self::getPathTemplate('googleAdsLink')->render([ + 'property' => $property, + 'google_ads_link' => $googleAdsLink, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a key_event + * resource. + * + * @param string $property + * @param string $keyEvent + * + * @return string The formatted key_event resource. + * + * @experimental + */ + public static function keyEventName(string $property, string $keyEvent): string + { + return self::getPathTemplate('keyEvent')->render([ + 'property' => $property, + 'key_event' => $keyEvent, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a + * measurement_protocol_secret resource. + * + * @param string $property + * @param string $dataStream + * @param string $measurementProtocolSecret + * + * @return string The formatted measurement_protocol_secret resource. + * + * @experimental + */ + public static function measurementProtocolSecretName(string $property, string $dataStream, string $measurementProtocolSecret): string + { + return self::getPathTemplate('measurementProtocolSecret')->render([ + 'property' => $property, + 'data_stream' => $dataStream, + 'measurement_protocol_secret' => $measurementProtocolSecret, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a organization + * resource. + * + * @param string $organization + * + * @return string The formatted organization resource. + * + * @experimental + */ + public static function organizationName(string $organization): string + { + return self::getPathTemplate('organization')->render([ + 'organization' => $organization, + ]); + } + + /** + * Formats a string containing the fully-qualified path to represent a property + * resource. + * + * @param string $property + * + * @return string The formatted property resource. + * + * @experimental + */ + public static function propertyName(string $property): string + { + return self::getPathTemplate('property')->render([ + 'property' => $property, + ]); + } + + /** + * Parses a formatted name string and returns an associative array of the components in the name. + * The following name formats are supported: + * Template: Pattern + * - account: accounts/{account} + * - conversionEvent: properties/{property}/conversionEvents/{conversion_event} + * - customDimension: properties/{property}/customDimensions/{custom_dimension} + * - customMetric: properties/{property}/customMetrics/{custom_metric} + * - dataRetentionSettings: properties/{property}/dataRetentionSettings + * - dataSharingSettings: accounts/{account}/dataSharingSettings + * - dataStream: properties/{property}/dataStreams/{data_stream} + * - firebaseLink: properties/{property}/firebaseLinks/{firebase_link} + * - googleAdsLink: properties/{property}/googleAdsLinks/{google_ads_link} + * - keyEvent: properties/{property}/keyEvents/{key_event} + * - measurementProtocolSecret: properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret} + * - organization: organizations/{organization} + * - property: properties/{property} + * + * The optional $template argument can be supplied to specify a particular pattern, + * and must match one of the templates listed above. If no $template argument is + * provided, or if the $template argument does not match one of the templates + * listed, then parseName will check each of the supported templates, and return + * the first match. + * + * @param string $formattedName The formatted name string + * @param ?string $template Optional name of template to match + * + * @return array An associative array from name component IDs to component values. + * + * @throws ValidationException If $formattedName could not be matched. + * + * @experimental + */ + public static function parseName(string $formattedName, ?string $template = null): array + { + return self::parseFormattedName($formattedName, $template); + } + + /** + * Constructor. + * + * @param array|ClientOptions $options { + * Optional. Options for configuring the service API wrapper. + * + * @type string $apiEndpoint + * The address of the API remote host. May optionally include the port, formatted + * as ":". Default 'analyticsadmin.googleapis.com:443'. + * @type FetchAuthTokenInterface|CredentialsWrapper $credentials + * This option should only be used with a pre-constructed + * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that + * when one of these objects are provided, any settings in $credentialsConfig will + * be ignored. + * **Important**: If you are providing a path to a credentials file, or a decoded + * credentials file as a PHP array, this usage is now DEPRECATED. Providing an + * unvalidated credential configuration to Google APIs can compromise the security + * of your systems and data. It is recommended to create the credentials explicitly + * ``` + * use Google\Auth\Credentials\ServiceAccountCredentials; + * use Google\Analytics\Admin\V1beta\AnalyticsAdminServiceClient; + * $creds = new ServiceAccountCredentials($scopes, $json); + * $options = new AnalyticsAdminServiceClient(['credentials' => $creds]); + * ``` + * {@see + * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} + * @type array $credentialsConfig + * Options used to configure credentials, including auth token caching, for the + * client. For a full list of supporting configuration options, see + * {@see \Google\ApiCore\CredentialsWrapper::build()} . + * @type bool $disableRetries + * Determines whether or not retries defined by the client configuration should be + * disabled. Defaults to `false`. + * @type string|array $clientConfig + * Client method configuration, including retry settings. This option can be either + * a path to a JSON file, or a PHP array containing the decoded JSON data. By + * default this settings points to the default client config file, which is + * provided in the resources folder. + * @type string|TransportInterface $transport + * The transport used for executing network requests. May be either the string + * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. + * *Advanced usage*: Additionally, it is possible to pass in an already + * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note + * that when this object is provided, any settings in $transportConfig, and any + * $apiEndpoint setting, will be ignored. + * @type array $transportConfig + * Configuration options that will be used to construct the transport. Options for + * each supported transport type should be passed in a key for that transport. For + * example: + * $transportConfig = [ + * 'grpc' => [...], + * 'rest' => [...], + * ]; + * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and + * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the + * supported options. + * @type callable $clientCertSource + * A callable which returns the client cert as a string. This can be used to + * provide a certificate and private key to the transport layer for mTLS. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag + * @type string $universeDomain + * The service domain for the client. Defaults to 'googleapis.com'. + * } + * + * @throws ValidationException + * + * @experimental + */ + public function __construct(array|ClientOptions $options = []) + { + $clientOptions = $this->buildClientOptions($options); + $this->setClientOptions($clientOptions); + } + + /** Handles execution of the async variants for each documented method. */ + public function __call($method, $args) + { + if (substr($method, -5) !== 'Async') { + trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); + } + + array_unshift($args, substr($method, 0, -5)); + return call_user_func_array([$this, 'startAsyncCall'], $args); + } + + /** + * Acknowledges the terms of user data collection for the specified property. + * + * This acknowledgement must be completed (either in the Google Analytics UI + * or through this API) before MeasurementProtocolSecret resources may be + * created. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::acknowledgeUserDataCollectionAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php + * + * @param AcknowledgeUserDataCollectionRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 AcknowledgeUserDataCollectionResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function acknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest $request, array $callOptions = []): AcknowledgeUserDataCollectionResponse + { + return $this->startApiCall('AcknowledgeUserDataCollection', $request, $callOptions)->wait(); + } + + /** + * Archives a CustomDimension on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::archiveCustomDimensionAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/archive_custom_dimension.php + * + * @param ArchiveCustomDimensionRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function archiveCustomDimension(ArchiveCustomDimensionRequest $request, array $callOptions = []): void + { + $this->startApiCall('ArchiveCustomDimension', $request, $callOptions)->wait(); + } + + /** + * Archives a CustomMetric on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::archiveCustomMetricAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/archive_custom_metric.php + * + * @param ArchiveCustomMetricRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function archiveCustomMetric(ArchiveCustomMetricRequest $request, array $callOptions = []): void + { + $this->startApiCall('ArchiveCustomMetric', $request, $callOptions)->wait(); + } + + /** + * Deprecated: Use `CreateKeyEvent` instead. + * Creates a conversion event with the specified attributes. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createConversionEventAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/create_conversion_event.php + * + * @param CreateConversionEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ConversionEvent + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + * + * @deprecated This method will be removed in the next major version update. + */ + public function createConversionEvent(CreateConversionEventRequest $request, array $callOptions = []): ConversionEvent + { + return $this->startApiCall('CreateConversionEvent', $request, $callOptions)->wait(); + } + + /** + * Creates a CustomDimension. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createCustomDimensionAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/create_custom_dimension.php + * + * @param CreateCustomDimensionRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CustomDimension + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createCustomDimension(CreateCustomDimensionRequest $request, array $callOptions = []): CustomDimension + { + return $this->startApiCall('CreateCustomDimension', $request, $callOptions)->wait(); + } + + /** + * Creates a CustomMetric. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createCustomMetricAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/create_custom_metric.php + * + * @param CreateCustomMetricRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CustomMetric + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createCustomMetric(CreateCustomMetricRequest $request, array $callOptions = []): CustomMetric + { + return $this->startApiCall('CreateCustomMetric', $request, $callOptions)->wait(); + } + + /** + * Creates a DataStream. + * + * The async variant is {@see AnalyticsAdminServiceClient::createDataStreamAsync()} + * . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/create_data_stream.php + * + * @param CreateDataStreamRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DataStream + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createDataStream(CreateDataStreamRequest $request, array $callOptions = []): DataStream + { + return $this->startApiCall('CreateDataStream', $request, $callOptions)->wait(); + } + + /** + * Creates a FirebaseLink. + * + * Properties can have at most one FirebaseLink. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createFirebaseLinkAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/create_firebase_link.php + * + * @param CreateFirebaseLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 FirebaseLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createFirebaseLink(CreateFirebaseLinkRequest $request, array $callOptions = []): FirebaseLink + { + return $this->startApiCall('CreateFirebaseLink', $request, $callOptions)->wait(); + } + + /** + * Creates a GoogleAdsLink. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createGoogleAdsLinkAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/create_google_ads_link.php + * + * @param CreateGoogleAdsLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 GoogleAdsLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createGoogleAdsLink(CreateGoogleAdsLinkRequest $request, array $callOptions = []): GoogleAdsLink + { + return $this->startApiCall('CreateGoogleAdsLink', $request, $callOptions)->wait(); + } + + /** + * Creates a Key Event. + * + * The async variant is {@see AnalyticsAdminServiceClient::createKeyEventAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/create_key_event.php + * + * @param CreateKeyEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 KeyEvent + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createKeyEvent(CreateKeyEventRequest $request, array $callOptions = []): KeyEvent + { + return $this->startApiCall('CreateKeyEvent', $request, $callOptions)->wait(); + } + + /** + * Creates a measurement protocol secret. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::createMeasurementProtocolSecretAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php + * + * @param CreateMeasurementProtocolSecretRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 MeasurementProtocolSecret + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest $request, array $callOptions = []): MeasurementProtocolSecret + { + return $this->startApiCall('CreateMeasurementProtocolSecret', $request, $callOptions)->wait(); + } + + /** + * Creates a Google Analytics property with the specified location and + * attributes. + * + * The async variant is {@see AnalyticsAdminServiceClient::createPropertyAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/create_property.php + * + * @param CreatePropertyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Property + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function createProperty(CreatePropertyRequest $request, array $callOptions = []): Property + { + return $this->startApiCall('CreateProperty', $request, $callOptions)->wait(); + } + + /** + * Marks target Account as soft-deleted (ie: "trashed") and returns it. + * + * This API does not have a method to restore soft-deleted accounts. + * However, they can be restored using the Trash Can UI. + * + * If the accounts are not restored before the expiration time, the account + * and all child resources (eg: Properties, GoogleAdsLinks, Streams, + * AccessBindings) will be permanently purged. + * https://support.google.com/analytics/answer/6154772 + * + * Returns an error if the target is not found. + * + * The async variant is {@see AnalyticsAdminServiceClient::deleteAccountAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/delete_account.php + * + * @param DeleteAccountRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteAccount(DeleteAccountRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteAccount', $request, $callOptions)->wait(); + } + + /** + * Deprecated: Use `DeleteKeyEvent` instead. + * Deletes a conversion event in a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteConversionEventAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/delete_conversion_event.php + * + * @param DeleteConversionEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + * + * @deprecated This method will be removed in the next major version update. + */ + public function deleteConversionEvent(DeleteConversionEventRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteConversionEvent', $request, $callOptions)->wait(); + } + + /** + * Deletes a DataStream on a property. + * + * The async variant is {@see AnalyticsAdminServiceClient::deleteDataStreamAsync()} + * . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/delete_data_stream.php + * + * @param DeleteDataStreamRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteDataStream(DeleteDataStreamRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteDataStream', $request, $callOptions)->wait(); + } + + /** + * Deletes a FirebaseLink on a property + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteFirebaseLinkAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/delete_firebase_link.php + * + * @param DeleteFirebaseLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteFirebaseLink(DeleteFirebaseLinkRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteFirebaseLink', $request, $callOptions)->wait(); + } + + /** + * Deletes a GoogleAdsLink on a property + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteGoogleAdsLinkAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/delete_google_ads_link.php + * + * @param DeleteGoogleAdsLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteGoogleAdsLink(DeleteGoogleAdsLinkRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteGoogleAdsLink', $request, $callOptions)->wait(); + } + + /** + * Deletes a Key Event. + * + * The async variant is {@see AnalyticsAdminServiceClient::deleteKeyEventAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/delete_key_event.php + * + * @param DeleteKeyEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteKeyEvent(DeleteKeyEventRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteKeyEvent', $request, $callOptions)->wait(); + } + + /** + * Deletes target MeasurementProtocolSecret. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::deleteMeasurementProtocolSecretAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php + * + * @param DeleteMeasurementProtocolSecretRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Thrown if the API call fails. + * + * @experimental + */ + public function deleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteMeasurementProtocolSecret', $request, $callOptions)->wait(); + } + + /** + * Marks target Property as soft-deleted (ie: "trashed") and returns it. + * + * This API does not have a method to restore soft-deleted properties. + * However, they can be restored using the Trash Can UI. + * + * If the properties are not restored before the expiration time, the Property + * and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) + * will be permanently purged. + * https://support.google.com/analytics/answer/6154772 + * + * Returns an error if the target is not found. + * + * The async variant is {@see AnalyticsAdminServiceClient::deletePropertyAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/delete_property.php + * + * @param DeletePropertyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Property + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function deleteProperty(DeletePropertyRequest $request, array $callOptions = []): Property + { + return $this->startApiCall('DeleteProperty', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single Account. + * + * The async variant is {@see AnalyticsAdminServiceClient::getAccountAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/get_account.php + * + * @param GetAccountRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Account + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getAccount(GetAccountRequest $request, array $callOptions = []): Account + { + return $this->startApiCall('GetAccount', $request, $callOptions)->wait(); + } + + /** + * Deprecated: Use `GetKeyEvent` instead. + * Retrieve a single conversion event. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getConversionEventAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/get_conversion_event.php + * + * @param GetConversionEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ConversionEvent + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + * + * @deprecated This method will be removed in the next major version update. + */ + public function getConversionEvent(GetConversionEventRequest $request, array $callOptions = []): ConversionEvent + { + return $this->startApiCall('GetConversionEvent', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single CustomDimension. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getCustomDimensionAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/get_custom_dimension.php + * + * @param GetCustomDimensionRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CustomDimension + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getCustomDimension(GetCustomDimensionRequest $request, array $callOptions = []): CustomDimension + { + return $this->startApiCall('GetCustomDimension', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single CustomMetric. + * + * The async variant is {@see AnalyticsAdminServiceClient::getCustomMetricAsync()} + * . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/get_custom_metric.php + * + * @param GetCustomMetricRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CustomMetric + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getCustomMetric(GetCustomMetricRequest $request, array $callOptions = []): CustomMetric + { + return $this->startApiCall('GetCustomMetric', $request, $callOptions)->wait(); + } + + /** + * Returns the singleton data retention settings for this property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getDataRetentionSettingsAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/get_data_retention_settings.php + * + * @param GetDataRetentionSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DataRetentionSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getDataRetentionSettings(GetDataRetentionSettingsRequest $request, array $callOptions = []): DataRetentionSettings + { + return $this->startApiCall('GetDataRetentionSettings', $request, $callOptions)->wait(); + } + + /** + * Get data sharing settings on an account. + * Data sharing settings are singletons. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getDataSharingSettingsAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/get_data_sharing_settings.php + * + * @param GetDataSharingSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DataSharingSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getDataSharingSettings(GetDataSharingSettingsRequest $request, array $callOptions = []): DataSharingSettings + { + return $this->startApiCall('GetDataSharingSettings', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single DataStream. + * + * The async variant is {@see AnalyticsAdminServiceClient::getDataStreamAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/get_data_stream.php + * + * @param GetDataStreamRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DataStream + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getDataStream(GetDataStreamRequest $request, array $callOptions = []): DataStream + { + return $this->startApiCall('GetDataStream', $request, $callOptions)->wait(); + } + + /** + * Retrieve a single Key Event. + * + * The async variant is {@see AnalyticsAdminServiceClient::getKeyEventAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/get_key_event.php + * + * @param GetKeyEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 KeyEvent + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getKeyEvent(GetKeyEventRequest $request, array $callOptions = []): KeyEvent + { + return $this->startApiCall('GetKeyEvent', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single MeasurementProtocolSecret. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getMeasurementProtocolSecretAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php + * + * @param GetMeasurementProtocolSecretRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 MeasurementProtocolSecret + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest $request, array $callOptions = []): MeasurementProtocolSecret + { + return $this->startApiCall('GetMeasurementProtocolSecret', $request, $callOptions)->wait(); + } + + /** + * Lookup for a single GA Property. + * + * The async variant is {@see AnalyticsAdminServiceClient::getPropertyAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/get_property.php + * + * @param GetPropertyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Property + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getProperty(GetPropertyRequest $request, array $callOptions = []): Property + { + return $this->startApiCall('GetProperty', $request, $callOptions)->wait(); + } + + /** + * Returns summaries of all accounts accessible by the caller. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listAccountSummariesAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/list_account_summaries.php + * + * @param ListAccountSummariesRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listAccountSummaries(ListAccountSummariesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListAccountSummaries', $request, $callOptions); + } + + /** + * Returns all accounts accessible by the caller. + * + * Note that these accounts might not currently have GA properties. + * Soft-deleted (ie: "trashed") accounts are excluded by default. + * Returns an empty list if no relevant accounts are found. + * + * The async variant is {@see AnalyticsAdminServiceClient::listAccountsAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/list_accounts.php + * + * @param ListAccountsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listAccounts(ListAccountsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListAccounts', $request, $callOptions); + } + + /** + * Deprecated: Use `ListKeyEvents` instead. + * Returns a list of conversion events in the specified parent property. + * + * Returns an empty list if no conversion events are found. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listConversionEventsAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/list_conversion_events.php + * + * @param ListConversionEventsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + * + * @deprecated This method will be removed in the next major version update. + */ + public function listConversionEvents(ListConversionEventsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListConversionEvents', $request, $callOptions); + } + + /** + * Lists CustomDimensions on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listCustomDimensionsAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/list_custom_dimensions.php + * + * @param ListCustomDimensionsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listCustomDimensions(ListCustomDimensionsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListCustomDimensions', $request, $callOptions); + } + + /** + * Lists CustomMetrics on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listCustomMetricsAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/list_custom_metrics.php + * + * @param ListCustomMetricsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listCustomMetrics(ListCustomMetricsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListCustomMetrics', $request, $callOptions); + } + + /** + * Lists DataStreams on a property. + * + * The async variant is {@see AnalyticsAdminServiceClient::listDataStreamsAsync()} + * . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/list_data_streams.php + * + * @param ListDataStreamsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listDataStreams(ListDataStreamsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListDataStreams', $request, $callOptions); + } + + /** + * Lists FirebaseLinks on a property. + * Properties can have at most one FirebaseLink. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listFirebaseLinksAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/list_firebase_links.php + * + * @param ListFirebaseLinksRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listFirebaseLinks(ListFirebaseLinksRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListFirebaseLinks', $request, $callOptions); + } + + /** + * Lists GoogleAdsLinks on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listGoogleAdsLinksAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/list_google_ads_links.php + * + * @param ListGoogleAdsLinksRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listGoogleAdsLinks(ListGoogleAdsLinksRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListGoogleAdsLinks', $request, $callOptions); + } + + /** + * Returns a list of Key Events in the specified parent property. + * Returns an empty list if no Key Events are found. + * + * The async variant is {@see AnalyticsAdminServiceClient::listKeyEventsAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/list_key_events.php + * + * @param ListKeyEventsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listKeyEvents(ListKeyEventsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListKeyEvents', $request, $callOptions); + } + + /** + * Returns child MeasurementProtocolSecrets under the specified parent + * Property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::listMeasurementProtocolSecretsAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php + * + * @param ListMeasurementProtocolSecretsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListMeasurementProtocolSecrets', $request, $callOptions); + } + + /** + * Returns child Properties under the specified parent Account. + * + * Properties will be excluded if the caller does not have access. + * Soft-deleted (ie: "trashed") properties are excluded by default. + * Returns an empty list if no relevant properties are found. + * + * The async variant is {@see AnalyticsAdminServiceClient::listPropertiesAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/list_properties.php + * + * @param ListPropertiesRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function listProperties(ListPropertiesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListProperties', $request, $callOptions); + } + + /** + * Requests a ticket for creating an account. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::provisionAccountTicketAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/provision_account_ticket.php + * + * @param ProvisionAccountTicketRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ProvisionAccountTicketResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function provisionAccountTicket(ProvisionAccountTicketRequest $request, array $callOptions = []): ProvisionAccountTicketResponse + { + return $this->startApiCall('ProvisionAccountTicket', $request, $callOptions)->wait(); + } + + /** + * Returns a customized report of data access records. The report provides + * records of each time a user reads Google Analytics reporting data. Access + * records are retained for up to 2 years. + * + * Data Access Reports can be requested for a property. Reports may be + * requested for any property, but dimensions that aren't related to quota can + * only be requested on Google Analytics 360 properties. This method is only + * available to Administrators. + * + * These data access records include GA UI Reporting, GA UI Explorations, + * GA Data API, and other products like Firebase & Admob that can retrieve + * data from Google Analytics through a linkage. These records don't include + * property configuration changes like adding a stream or changing a + * property's time zone. For configuration change history, see + * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + * + * To give your feedback on this API, complete the [Google Analytics Access + * Reports + * feedback](https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) + * form. + * + * The async variant is {@see AnalyticsAdminServiceClient::runAccessReportAsync()} + * . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/run_access_report.php + * + * @param RunAccessReportRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 RunAccessReportResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function runAccessReport(RunAccessReportRequest $request, array $callOptions = []): RunAccessReportResponse + { + return $this->startApiCall('RunAccessReport', $request, $callOptions)->wait(); + } + + /** + * Searches through all changes to an account or its children given the + * specified set of filters. + * + * Only returns the subset of changes supported by the API. The UI may return + * additional changes. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::searchChangeHistoryEventsAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/search_change_history_events.php + * + * @param SearchChangeHistoryEventsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function searchChangeHistoryEvents(SearchChangeHistoryEventsRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('SearchChangeHistoryEvents', $request, $callOptions); + } + + /** + * Updates an account. + * + * The async variant is {@see AnalyticsAdminServiceClient::updateAccountAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/update_account.php + * + * @param UpdateAccountRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Account + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateAccount(UpdateAccountRequest $request, array $callOptions = []): Account + { + return $this->startApiCall('UpdateAccount', $request, $callOptions)->wait(); + } + + /** + * Deprecated: Use `UpdateKeyEvent` instead. + * Updates a conversion event with the specified attributes. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateConversionEventAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/update_conversion_event.php + * + * @param UpdateConversionEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 ConversionEvent + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + * + * @deprecated This method will be removed in the next major version update. + */ + public function updateConversionEvent(UpdateConversionEventRequest $request, array $callOptions = []): ConversionEvent + { + return $this->startApiCall('UpdateConversionEvent', $request, $callOptions)->wait(); + } + + /** + * Updates a CustomDimension on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateCustomDimensionAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/update_custom_dimension.php + * + * @param UpdateCustomDimensionRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CustomDimension + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateCustomDimension(UpdateCustomDimensionRequest $request, array $callOptions = []): CustomDimension + { + return $this->startApiCall('UpdateCustomDimension', $request, $callOptions)->wait(); + } + + /** + * Updates a CustomMetric on a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateCustomMetricAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/update_custom_metric.php + * + * @param UpdateCustomMetricRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 CustomMetric + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateCustomMetric(UpdateCustomMetricRequest $request, array $callOptions = []): CustomMetric + { + return $this->startApiCall('UpdateCustomMetric', $request, $callOptions)->wait(); + } + + /** + * Updates the singleton data retention settings for this property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateDataRetentionSettingsAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/update_data_retention_settings.php + * + * @param UpdateDataRetentionSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DataRetentionSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateDataRetentionSettings(UpdateDataRetentionSettingsRequest $request, array $callOptions = []): DataRetentionSettings + { + return $this->startApiCall('UpdateDataRetentionSettings', $request, $callOptions)->wait(); + } + + /** + * Updates a DataStream on a property. + * + * The async variant is {@see AnalyticsAdminServiceClient::updateDataStreamAsync()} + * . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/update_data_stream.php + * + * @param UpdateDataStreamRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 DataStream + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateDataStream(UpdateDataStreamRequest $request, array $callOptions = []): DataStream + { + return $this->startApiCall('UpdateDataStream', $request, $callOptions)->wait(); + } + + /** + * Updates a GoogleAdsLink on a property + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateGoogleAdsLinkAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/update_google_ads_link.php + * + * @param UpdateGoogleAdsLinkRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 GoogleAdsLink + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateGoogleAdsLink(UpdateGoogleAdsLinkRequest $request, array $callOptions = []): GoogleAdsLink + { + return $this->startApiCall('UpdateGoogleAdsLink', $request, $callOptions)->wait(); + } + + /** + * Updates a Key Event. + * + * The async variant is {@see AnalyticsAdminServiceClient::updateKeyEventAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/update_key_event.php + * + * @param UpdateKeyEventRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 KeyEvent + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateKeyEvent(UpdateKeyEventRequest $request, array $callOptions = []): KeyEvent + { + return $this->startApiCall('UpdateKeyEvent', $request, $callOptions)->wait(); + } + + /** + * Updates a measurement protocol secret. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::updateMeasurementProtocolSecretAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php + * + * @param UpdateMeasurementProtocolSecretRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 MeasurementProtocolSecret + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest $request, array $callOptions = []): MeasurementProtocolSecret + { + return $this->startApiCall('UpdateMeasurementProtocolSecret', $request, $callOptions)->wait(); + } + + /** + * Updates a property. + * + * The async variant is {@see AnalyticsAdminServiceClient::updatePropertyAsync()} . + * + * @example samples/V1beta/AnalyticsAdminServiceClient/update_property.php + * + * @param UpdatePropertyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 Property + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function updateProperty(UpdatePropertyRequest $request, array $callOptions = []): Property + { + return $this->startApiCall('UpdateProperty', $request, $callOptions)->wait(); + } +} diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/gapic_metadata.json b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/gapic_metadata.json new file mode 100644 index 000000000000..598ade2f6653 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/gapic_metadata.json @@ -0,0 +1,288 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services\/RPCs to the corresponding library clients\/methods", + "language": "php", + "protoPackage": "google.analytics.admin.v1beta", + "libraryPackage": "Google\\Analytics\\Admin\\V1beta", + "services": { + "AnalyticsAdminService": { + "clients": { + "grpc": { + "libraryClient": "AnalyticsAdminServiceGapicClient", + "rpcs": { + "AcknowledgeUserDataCollection": { + "methods": [ + "acknowledgeUserDataCollection" + ] + }, + "ArchiveCustomDimension": { + "methods": [ + "archiveCustomDimension" + ] + }, + "ArchiveCustomMetric": { + "methods": [ + "archiveCustomMetric" + ] + }, + "CreateConversionEvent": { + "methods": [ + "createConversionEvent" + ] + }, + "CreateCustomDimension": { + "methods": [ + "createCustomDimension" + ] + }, + "CreateCustomMetric": { + "methods": [ + "createCustomMetric" + ] + }, + "CreateDataStream": { + "methods": [ + "createDataStream" + ] + }, + "CreateFirebaseLink": { + "methods": [ + "createFirebaseLink" + ] + }, + "CreateGoogleAdsLink": { + "methods": [ + "createGoogleAdsLink" + ] + }, + "CreateKeyEvent": { + "methods": [ + "createKeyEvent" + ] + }, + "CreateMeasurementProtocolSecret": { + "methods": [ + "createMeasurementProtocolSecret" + ] + }, + "CreateProperty": { + "methods": [ + "createProperty" + ] + }, + "DeleteAccount": { + "methods": [ + "deleteAccount" + ] + }, + "DeleteConversionEvent": { + "methods": [ + "deleteConversionEvent" + ] + }, + "DeleteDataStream": { + "methods": [ + "deleteDataStream" + ] + }, + "DeleteFirebaseLink": { + "methods": [ + "deleteFirebaseLink" + ] + }, + "DeleteGoogleAdsLink": { + "methods": [ + "deleteGoogleAdsLink" + ] + }, + "DeleteKeyEvent": { + "methods": [ + "deleteKeyEvent" + ] + }, + "DeleteMeasurementProtocolSecret": { + "methods": [ + "deleteMeasurementProtocolSecret" + ] + }, + "DeleteProperty": { + "methods": [ + "deleteProperty" + ] + }, + "GetAccount": { + "methods": [ + "getAccount" + ] + }, + "GetConversionEvent": { + "methods": [ + "getConversionEvent" + ] + }, + "GetCustomDimension": { + "methods": [ + "getCustomDimension" + ] + }, + "GetCustomMetric": { + "methods": [ + "getCustomMetric" + ] + }, + "GetDataRetentionSettings": { + "methods": [ + "getDataRetentionSettings" + ] + }, + "GetDataSharingSettings": { + "methods": [ + "getDataSharingSettings" + ] + }, + "GetDataStream": { + "methods": [ + "getDataStream" + ] + }, + "GetKeyEvent": { + "methods": [ + "getKeyEvent" + ] + }, + "GetMeasurementProtocolSecret": { + "methods": [ + "getMeasurementProtocolSecret" + ] + }, + "GetProperty": { + "methods": [ + "getProperty" + ] + }, + "ListAccountSummaries": { + "methods": [ + "listAccountSummaries" + ] + }, + "ListAccounts": { + "methods": [ + "listAccounts" + ] + }, + "ListConversionEvents": { + "methods": [ + "listConversionEvents" + ] + }, + "ListCustomDimensions": { + "methods": [ + "listCustomDimensions" + ] + }, + "ListCustomMetrics": { + "methods": [ + "listCustomMetrics" + ] + }, + "ListDataStreams": { + "methods": [ + "listDataStreams" + ] + }, + "ListFirebaseLinks": { + "methods": [ + "listFirebaseLinks" + ] + }, + "ListGoogleAdsLinks": { + "methods": [ + "listGoogleAdsLinks" + ] + }, + "ListKeyEvents": { + "methods": [ + "listKeyEvents" + ] + }, + "ListMeasurementProtocolSecrets": { + "methods": [ + "listMeasurementProtocolSecrets" + ] + }, + "ListProperties": { + "methods": [ + "listProperties" + ] + }, + "ProvisionAccountTicket": { + "methods": [ + "provisionAccountTicket" + ] + }, + "RunAccessReport": { + "methods": [ + "runAccessReport" + ] + }, + "SearchChangeHistoryEvents": { + "methods": [ + "searchChangeHistoryEvents" + ] + }, + "UpdateAccount": { + "methods": [ + "updateAccount" + ] + }, + "UpdateConversionEvent": { + "methods": [ + "updateConversionEvent" + ] + }, + "UpdateCustomDimension": { + "methods": [ + "updateCustomDimension" + ] + }, + "UpdateCustomMetric": { + "methods": [ + "updateCustomMetric" + ] + }, + "UpdateDataRetentionSettings": { + "methods": [ + "updateDataRetentionSettings" + ] + }, + "UpdateDataStream": { + "methods": [ + "updateDataStream" + ] + }, + "UpdateGoogleAdsLink": { + "methods": [ + "updateGoogleAdsLink" + ] + }, + "UpdateKeyEvent": { + "methods": [ + "updateKeyEvent" + ] + }, + "UpdateMeasurementProtocolSecret": { + "methods": [ + "updateMeasurementProtocolSecret" + ] + }, + "UpdateProperty": { + "methods": [ + "updateProperty" + ] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_client_config.json b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_client_config.json new file mode 100644 index 000000000000..e546f6c5e3fa --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_client_config.json @@ -0,0 +1,305 @@ +{ + "interfaces": { + "google.analytics.admin.v1beta.AnalyticsAdminService": { + "retry_codes": { + "no_retry_codes": [], + "retry_policy_1_codes": [ + "UNAVAILABLE", + "UNKNOWN" + ] + }, + "retry_params": { + "no_retry_params": { + "initial_retry_delay_millis": 0, + "retry_delay_multiplier": 0.0, + "max_retry_delay_millis": 0, + "initial_rpc_timeout_millis": 0, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 0, + "total_timeout_millis": 0 + }, + "retry_policy_1_params": { + "initial_retry_delay_millis": 1000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 60000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 60000, + "total_timeout_millis": 60000 + } + }, + "methods": { + "AcknowledgeUserDataCollection": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ArchiveCustomDimension": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ArchiveCustomMetric": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateConversionEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateCustomDimension": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateCustomMetric": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateDataStream": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateFirebaseLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateGoogleAdsLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateKeyEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateMeasurementProtocolSecret": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "CreateProperty": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteAccount": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteConversionEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteDataStream": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteFirebaseLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteGoogleAdsLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteKeyEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteMeasurementProtocolSecret": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "DeleteProperty": { + "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" + }, + "GetConversionEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetCustomDimension": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetCustomMetric": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetDataRetentionSettings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetDataSharingSettings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetDataStream": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetKeyEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetMeasurementProtocolSecret": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "GetProperty": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListAccountSummaries": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListAccounts": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListConversionEvents": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListCustomDimensions": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListCustomMetrics": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListDataStreams": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListFirebaseLinks": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListGoogleAdsLinks": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListKeyEvents": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListMeasurementProtocolSecrets": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ListProperties": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "ProvisionAccountTicket": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "RunAccessReport": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "SearchChangeHistoryEvents": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateAccount": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateConversionEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateCustomDimension": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateCustomMetric": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateDataRetentionSettings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateDataStream": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateGoogleAdsLink": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateKeyEvent": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateMeasurementProtocolSecret": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, + "UpdateProperty": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + } + } + } + } +} diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_descriptor_config.php b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_descriptor_config.php new file mode 100644 index 000000000000..2cc54403fe6c --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_descriptor_config.php @@ -0,0 +1,757 @@ + [ + 'google.analytics.admin.v1beta.AnalyticsAdminService' => [ + 'AcknowledgeUserDataCollection' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\AcknowledgeUserDataCollectionResponse', + 'headerParams' => [ + [ + 'keyName' => 'property', + 'fieldAccessors' => [ + 'getProperty', + ], + ], + ], + ], + 'ArchiveCustomDimension' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'ArchiveCustomMetric' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'CreateConversionEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ConversionEvent', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateCustomDimension' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\CustomDimension', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateCustomMetric' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\CustomMetric', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateDataStream' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\DataStream', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateFirebaseLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\FirebaseLink', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateGoogleAdsLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\GoogleAdsLink', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateKeyEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\KeyEvent', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateMeasurementProtocolSecret' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\MeasurementProtocolSecret', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'CreateProperty' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\Property', + ], + 'DeleteAccount' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteConversionEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteDataStream' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteFirebaseLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteGoogleAdsLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteKeyEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteMeasurementProtocolSecret' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'DeleteProperty' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\Property', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetAccount' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\Account', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetConversionEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ConversionEvent', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetCustomDimension' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\CustomDimension', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetCustomMetric' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\CustomMetric', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetDataRetentionSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\DataRetentionSettings', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetDataSharingSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\DataSharingSettings', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetDataStream' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\DataStream', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetKeyEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\KeyEvent', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetMeasurementProtocolSecret' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\MeasurementProtocolSecret', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'GetProperty' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\Property', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], + 'ListAccountSummaries' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getAccountSummaries', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ListAccountSummariesResponse', + ], + 'ListAccounts' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getAccounts', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ListAccountsResponse', + ], + 'ListConversionEvents' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getConversionEvents', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ListConversionEventsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListCustomDimensions' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getCustomDimensions', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ListCustomDimensionsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListCustomMetrics' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getCustomMetrics', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ListCustomMetricsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListDataStreams' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getDataStreams', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ListDataStreamsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListFirebaseLinks' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getFirebaseLinks', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ListFirebaseLinksResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListGoogleAdsLinks' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getGoogleAdsLinks', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ListGoogleAdsLinksResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListKeyEvents' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getKeyEvents', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ListKeyEventsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListMeasurementProtocolSecrets' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getMeasurementProtocolSecrets', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ListMeasurementProtocolSecretsResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], + 'ListProperties' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getProperties', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ListPropertiesResponse', + ], + 'ProvisionAccountTicket' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ProvisionAccountTicketResponse', + ], + 'RunAccessReport' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\RunAccessReportResponse', + 'headerParams' => [ + [ + 'keyName' => 'entity', + 'fieldAccessors' => [ + 'getEntity', + ], + ], + ], + ], + 'SearchChangeHistoryEvents' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getChangeHistoryEvents', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\SearchChangeHistoryEventsResponse', + 'headerParams' => [ + [ + 'keyName' => 'account', + 'fieldAccessors' => [ + 'getAccount', + ], + ], + ], + ], + 'UpdateAccount' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\Account', + 'headerParams' => [ + [ + 'keyName' => 'account.name', + 'fieldAccessors' => [ + 'getAccount', + 'getName', + ], + ], + ], + ], + 'UpdateConversionEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\ConversionEvent', + 'headerParams' => [ + [ + 'keyName' => 'conversion_event.name', + 'fieldAccessors' => [ + 'getConversionEvent', + 'getName', + ], + ], + ], + ], + 'UpdateCustomDimension' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\CustomDimension', + 'headerParams' => [ + [ + 'keyName' => 'custom_dimension.name', + 'fieldAccessors' => [ + 'getCustomDimension', + 'getName', + ], + ], + ], + ], + 'UpdateCustomMetric' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\CustomMetric', + 'headerParams' => [ + [ + 'keyName' => 'custom_metric.name', + 'fieldAccessors' => [ + 'getCustomMetric', + 'getName', + ], + ], + ], + ], + 'UpdateDataRetentionSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\DataRetentionSettings', + 'headerParams' => [ + [ + 'keyName' => 'data_retention_settings.name', + 'fieldAccessors' => [ + 'getDataRetentionSettings', + 'getName', + ], + ], + ], + ], + 'UpdateDataStream' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\DataStream', + 'headerParams' => [ + [ + 'keyName' => 'data_stream.name', + 'fieldAccessors' => [ + 'getDataStream', + 'getName', + ], + ], + ], + ], + 'UpdateGoogleAdsLink' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\GoogleAdsLink', + 'headerParams' => [ + [ + 'keyName' => 'google_ads_link.name', + 'fieldAccessors' => [ + 'getGoogleAdsLink', + 'getName', + ], + ], + ], + ], + 'UpdateKeyEvent' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\KeyEvent', + 'headerParams' => [ + [ + 'keyName' => 'key_event.name', + 'fieldAccessors' => [ + 'getKeyEvent', + 'getName', + ], + ], + ], + ], + 'UpdateMeasurementProtocolSecret' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\MeasurementProtocolSecret', + 'headerParams' => [ + [ + 'keyName' => 'measurement_protocol_secret.name', + 'fieldAccessors' => [ + 'getMeasurementProtocolSecret', + 'getName', + ], + ], + ], + ], + 'UpdateProperty' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1beta\Property', + 'headerParams' => [ + [ + 'keyName' => 'property.name', + 'fieldAccessors' => [ + 'getProperty', + 'getName', + ], + ], + ], + ], + 'templateMap' => [ + 'account' => 'accounts/{account}', + 'conversionEvent' => 'properties/{property}/conversionEvents/{conversion_event}', + 'customDimension' => 'properties/{property}/customDimensions/{custom_dimension}', + 'customMetric' => 'properties/{property}/customMetrics/{custom_metric}', + 'dataRetentionSettings' => 'properties/{property}/dataRetentionSettings', + 'dataSharingSettings' => 'accounts/{account}/dataSharingSettings', + 'dataStream' => 'properties/{property}/dataStreams/{data_stream}', + 'firebaseLink' => 'properties/{property}/firebaseLinks/{firebase_link}', + 'googleAdsLink' => 'properties/{property}/googleAdsLinks/{google_ads_link}', + 'keyEvent' => 'properties/{property}/keyEvents/{key_event}', + 'measurementProtocolSecret' => 'properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}', + 'organization' => 'organizations/{organization}', + 'property' => 'properties/{property}', + ], + ], + ], +]; diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_rest_client_config.php b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_rest_client_config.php new file mode 100644 index 000000000000..76c0312d56fd --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_rest_client_config.php @@ -0,0 +1,663 @@ + [ + 'google.analytics.admin.v1beta.AnalyticsAdminService' => [ + 'AcknowledgeUserDataCollection' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{property=properties/*}:acknowledgeUserDataCollection', + 'body' => '*', + 'placeholders' => [ + 'property' => [ + 'getters' => [ + 'getProperty', + ], + ], + ], + ], + 'ArchiveCustomDimension' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{name=properties/*/customDimensions/*}:archive', + 'body' => '*', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'ArchiveCustomMetric' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{name=properties/*/customMetrics/*}:archive', + 'body' => '*', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'CreateConversionEvent' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{parent=properties/*}/conversionEvents', + 'body' => 'conversion_event', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateCustomDimension' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{parent=properties/*}/customDimensions', + 'body' => 'custom_dimension', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateCustomMetric' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{parent=properties/*}/customMetrics', + 'body' => 'custom_metric', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateDataStream' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{parent=properties/*}/dataStreams', + 'body' => 'data_stream', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateFirebaseLink' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{parent=properties/*}/firebaseLinks', + 'body' => 'firebase_link', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateGoogleAdsLink' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{parent=properties/*}/googleAdsLinks', + 'body' => 'google_ads_link', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateKeyEvent' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{parent=properties/*}/keyEvents', + 'body' => 'key_event', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateMeasurementProtocolSecret' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets', + 'body' => 'measurement_protocol_secret', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'CreateProperty' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/properties', + 'body' => 'property', + ], + 'DeleteAccount' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1beta/{name=accounts/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteConversionEvent' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1beta/{name=properties/*/conversionEvents/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteDataStream' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1beta/{name=properties/*/dataStreams/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteFirebaseLink' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1beta/{name=properties/*/firebaseLinks/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteGoogleAdsLink' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1beta/{name=properties/*/googleAdsLinks/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteKeyEvent' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1beta/{name=properties/*/keyEvents/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteMeasurementProtocolSecret' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1beta/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'DeleteProperty' => [ + 'method' => 'delete', + 'uriTemplate' => '/v1beta/{name=properties/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetAccount' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=accounts/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetConversionEvent' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=properties/*/conversionEvents/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetCustomDimension' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=properties/*/customDimensions/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetCustomMetric' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=properties/*/customMetrics/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetDataRetentionSettings' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=properties/*/dataRetentionSettings}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetDataSharingSettings' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=accounts/*/dataSharingSettings}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetDataStream' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=properties/*/dataStreams/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetKeyEvent' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=properties/*/keyEvents/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetMeasurementProtocolSecret' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'GetProperty' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{name=properties/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], + 'ListAccountSummaries' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/accountSummaries', + ], + 'ListAccounts' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/accounts', + ], + 'ListConversionEvents' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{parent=properties/*}/conversionEvents', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListCustomDimensions' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{parent=properties/*}/customDimensions', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListCustomMetrics' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{parent=properties/*}/customMetrics', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListDataStreams' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{parent=properties/*}/dataStreams', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListFirebaseLinks' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{parent=properties/*}/firebaseLinks', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListGoogleAdsLinks' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{parent=properties/*}/googleAdsLinks', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListKeyEvents' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{parent=properties/*}/keyEvents', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListMeasurementProtocolSecrets' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], + 'ListProperties' => [ + 'method' => 'get', + 'uriTemplate' => '/v1beta/properties', + 'queryParams' => [ + 'filter', + ], + ], + 'ProvisionAccountTicket' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/accounts:provisionAccountTicket', + 'body' => '*', + ], + 'RunAccessReport' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{entity=properties/*}:runAccessReport', + 'body' => '*', + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{entity=accounts/*}:runAccessReport', + 'body' => '*', + ], + ], + 'placeholders' => [ + 'entity' => [ + 'getters' => [ + 'getEntity', + ], + ], + ], + ], + 'SearchChangeHistoryEvents' => [ + 'method' => 'post', + 'uriTemplate' => '/v1beta/{account=accounts/*}:searchChangeHistoryEvents', + 'body' => '*', + 'placeholders' => [ + 'account' => [ + 'getters' => [ + 'getAccount', + ], + ], + ], + ], + 'UpdateAccount' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1beta/{account.name=accounts/*}', + 'body' => 'account', + 'placeholders' => [ + 'account.name' => [ + 'getters' => [ + 'getAccount', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateConversionEvent' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1beta/{conversion_event.name=properties/*/conversionEvents/*}', + 'body' => 'conversion_event', + 'placeholders' => [ + 'conversion_event.name' => [ + 'getters' => [ + 'getConversionEvent', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateCustomDimension' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1beta/{custom_dimension.name=properties/*/customDimensions/*}', + 'body' => 'custom_dimension', + 'placeholders' => [ + 'custom_dimension.name' => [ + 'getters' => [ + 'getCustomDimension', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateCustomMetric' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1beta/{custom_metric.name=properties/*/customMetrics/*}', + 'body' => 'custom_metric', + 'placeholders' => [ + 'custom_metric.name' => [ + 'getters' => [ + 'getCustomMetric', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateDataRetentionSettings' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1beta/{data_retention_settings.name=properties/*/dataRetentionSettings}', + 'body' => 'data_retention_settings', + 'placeholders' => [ + 'data_retention_settings.name' => [ + 'getters' => [ + 'getDataRetentionSettings', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateDataStream' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1beta/{data_stream.name=properties/*/dataStreams/*}', + 'body' => 'data_stream', + 'placeholders' => [ + 'data_stream.name' => [ + 'getters' => [ + 'getDataStream', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateGoogleAdsLink' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1beta/{google_ads_link.name=properties/*/googleAdsLinks/*}', + 'body' => 'google_ads_link', + 'placeholders' => [ + 'google_ads_link.name' => [ + 'getters' => [ + 'getGoogleAdsLink', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateKeyEvent' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1beta/{key_event.name=properties/*/keyEvents/*}', + 'body' => 'key_event', + 'placeholders' => [ + 'key_event.name' => [ + 'getters' => [ + 'getKeyEvent', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateMeasurementProtocolSecret' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1beta/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', + 'body' => 'measurement_protocol_secret', + 'placeholders' => [ + 'measurement_protocol_secret.name' => [ + 'getters' => [ + 'getMeasurementProtocolSecret', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + 'UpdateProperty' => [ + 'method' => 'patch', + 'uriTemplate' => '/v1beta/{property.name=properties/*}', + 'body' => 'property', + 'placeholders' => [ + 'property.name' => [ + 'getters' => [ + 'getProperty', + 'getName', + ], + ], + ], + 'queryParams' => [ + 'update_mask', + ], + ], + ], + ], + 'numericEnums' => true, +]; diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/tests/Unit/V1beta/Client/AnalyticsAdminServiceClientTest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/tests/Unit/V1beta/Client/AnalyticsAdminServiceClientTest.php new file mode 100644 index 000000000000..cb295a16a6c7 --- /dev/null +++ b/owl-bot-staging/AnalyticsAdmin/v1beta/tests/Unit/V1beta/Client/AnalyticsAdminServiceClientTest.php @@ -0,0 +1,4019 @@ +getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); + } + + /** @return AnalyticsAdminServiceClient */ + private function createClient(array $options = []) + { + $options += [ + 'credentials' => $this->createCredentials(), + ]; + return new AnalyticsAdminServiceClient($options); + } + + /** @test */ + public function acknowledgeUserDataCollectionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new AcknowledgeUserDataCollectionResponse(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedProperty = $gapicClient->propertyName('[PROPERTY]'); + $acknowledgement = 'acknowledgement1769490938'; + $request = (new AcknowledgeUserDataCollectionRequest()) + ->setProperty($formattedProperty) + ->setAcknowledgement($acknowledgement); + $response = $gapicClient->acknowledgeUserDataCollection($request); + $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.v1beta.AnalyticsAdminService/AcknowledgeUserDataCollection', $actualFuncCall); + $actualValue = $actualRequestObject->getProperty(); + $this->assertProtobufEquals($formattedProperty, $actualValue); + $actualValue = $actualRequestObject->getAcknowledgement(); + $this->assertProtobufEquals($acknowledgement, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function acknowledgeUserDataCollectionExceptionTest() + { + $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 + $formattedProperty = $gapicClient->propertyName('[PROPERTY]'); + $acknowledgement = 'acknowledgement1769490938'; + $request = (new AcknowledgeUserDataCollectionRequest()) + ->setProperty($formattedProperty) + ->setAcknowledgement($acknowledgement); + try { + $gapicClient->acknowledgeUserDataCollection($request); + // 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 archiveCustomDimensionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); + $request = (new ArchiveCustomDimensionRequest()) + ->setName($formattedName); + $gapicClient->archiveCustomDimension($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ArchiveCustomDimension', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function archiveCustomDimensionExceptionTest() + { + $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->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); + $request = (new ArchiveCustomDimensionRequest()) + ->setName($formattedName); + try { + $gapicClient->archiveCustomDimension($request); + // 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 archiveCustomMetricTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); + $request = (new ArchiveCustomMetricRequest()) + ->setName($formattedName); + $gapicClient->archiveCustomMetric($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ArchiveCustomMetric', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function archiveCustomMetricExceptionTest() + { + $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->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); + $request = (new ArchiveCustomMetricRequest()) + ->setName($formattedName); + try { + $gapicClient->archiveCustomMetric($request); + // 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 createConversionEventTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $eventName = 'eventName984174864'; + $deletable = true; + $custom = false; + $expectedResponse = new ConversionEvent(); + $expectedResponse->setName($name); + $expectedResponse->setEventName($eventName); + $expectedResponse->setDeletable($deletable); + $expectedResponse->setCustom($custom); + $transport->addResponse($expectedResponse); + // Mock request + $conversionEvent = new ConversionEvent(); + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new CreateConversionEventRequest()) + ->setConversionEvent($conversionEvent) + ->setParent($formattedParent); + $response = $gapicClient->createConversionEvent($request); + $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.v1beta.AnalyticsAdminService/CreateConversionEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getConversionEvent(); + $this->assertProtobufEquals($conversionEvent, $actualValue); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createConversionEventExceptionTest() + { + $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 + $conversionEvent = new ConversionEvent(); + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new CreateConversionEventRequest()) + ->setConversionEvent($conversionEvent) + ->setParent($formattedParent); + try { + $gapicClient->createConversionEvent($request); + // 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 createCustomDimensionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $parameterName = 'parameterName1133142369'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $disallowAdsPersonalization = false; + $expectedResponse = new CustomDimension(); + $expectedResponse->setName($name); + $expectedResponse->setParameterName($parameterName); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $expectedResponse->setDisallowAdsPersonalization($disallowAdsPersonalization); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $customDimension = new CustomDimension(); + $customDimensionParameterName = 'customDimensionParameterName-405505313'; + $customDimension->setParameterName($customDimensionParameterName); + $customDimensionDisplayName = 'customDimensionDisplayName2102948408'; + $customDimension->setDisplayName($customDimensionDisplayName); + $customDimensionScope = DimensionScope::DIMENSION_SCOPE_UNSPECIFIED; + $customDimension->setScope($customDimensionScope); + $request = (new CreateCustomDimensionRequest()) + ->setParent($formattedParent) + ->setCustomDimension($customDimension); + $response = $gapicClient->createCustomDimension($request); + $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.v1beta.AnalyticsAdminService/CreateCustomDimension', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getCustomDimension(); + $this->assertProtobufEquals($customDimension, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createCustomDimensionExceptionTest() + { + $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]'); + $customDimension = new CustomDimension(); + $customDimensionParameterName = 'customDimensionParameterName-405505313'; + $customDimension->setParameterName($customDimensionParameterName); + $customDimensionDisplayName = 'customDimensionDisplayName2102948408'; + $customDimension->setDisplayName($customDimensionDisplayName); + $customDimensionScope = DimensionScope::DIMENSION_SCOPE_UNSPECIFIED; + $customDimension->setScope($customDimensionScope); + $request = (new CreateCustomDimensionRequest()) + ->setParent($formattedParent) + ->setCustomDimension($customDimension); + try { + $gapicClient->createCustomDimension($request); + // 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 createCustomMetricTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $parameterName = 'parameterName1133142369'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $expectedResponse = new CustomMetric(); + $expectedResponse->setName($name); + $expectedResponse->setParameterName($parameterName); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $customMetric = new CustomMetric(); + $customMetricParameterName = 'customMetricParameterName1627167443'; + $customMetric->setParameterName($customMetricParameterName); + $customMetricDisplayName = 'customMetricDisplayName-835715284'; + $customMetric->setDisplayName($customMetricDisplayName); + $customMetricMeasurementUnit = MeasurementUnit::MEASUREMENT_UNIT_UNSPECIFIED; + $customMetric->setMeasurementUnit($customMetricMeasurementUnit); + $customMetricScope = MetricScope::METRIC_SCOPE_UNSPECIFIED; + $customMetric->setScope($customMetricScope); + $request = (new CreateCustomMetricRequest()) + ->setParent($formattedParent) + ->setCustomMetric($customMetric); + $response = $gapicClient->createCustomMetric($request); + $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.v1beta.AnalyticsAdminService/CreateCustomMetric', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getCustomMetric(); + $this->assertProtobufEquals($customMetric, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createCustomMetricExceptionTest() + { + $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]'); + $customMetric = new CustomMetric(); + $customMetricParameterName = 'customMetricParameterName1627167443'; + $customMetric->setParameterName($customMetricParameterName); + $customMetricDisplayName = 'customMetricDisplayName-835715284'; + $customMetric->setDisplayName($customMetricDisplayName); + $customMetricMeasurementUnit = MeasurementUnit::MEASUREMENT_UNIT_UNSPECIFIED; + $customMetric->setMeasurementUnit($customMetricMeasurementUnit); + $customMetricScope = MetricScope::METRIC_SCOPE_UNSPECIFIED; + $customMetric->setScope($customMetricScope); + $request = (new CreateCustomMetricRequest()) + ->setParent($formattedParent) + ->setCustomMetric($customMetric); + try { + $gapicClient->createCustomMetric($request); + // 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 createDataStreamTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $expectedResponse = new DataStream(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $dataStream = new DataStream(); + $dataStreamType = DataStreamType::DATA_STREAM_TYPE_UNSPECIFIED; + $dataStream->setType($dataStreamType); + $request = (new CreateDataStreamRequest()) + ->setParent($formattedParent) + ->setDataStream($dataStream); + $response = $gapicClient->createDataStream($request); + $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.v1beta.AnalyticsAdminService/CreateDataStream', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getDataStream(); + $this->assertProtobufEquals($dataStream, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createDataStreamExceptionTest() + { + $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]'); + $dataStream = new DataStream(); + $dataStreamType = DataStreamType::DATA_STREAM_TYPE_UNSPECIFIED; + $dataStream->setType($dataStreamType); + $request = (new CreateDataStreamRequest()) + ->setParent($formattedParent) + ->setDataStream($dataStream); + try { + $gapicClient->createDataStream($request); + // 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 createFirebaseLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $project = 'project-309310695'; + $expectedResponse = new FirebaseLink(); + $expectedResponse->setName($name); + $expectedResponse->setProject($project); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $firebaseLink = new FirebaseLink(); + $request = (new CreateFirebaseLinkRequest()) + ->setParent($formattedParent) + ->setFirebaseLink($firebaseLink); + $response = $gapicClient->createFirebaseLink($request); + $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.v1beta.AnalyticsAdminService/CreateFirebaseLink', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getFirebaseLink(); + $this->assertProtobufEquals($firebaseLink, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createFirebaseLinkExceptionTest() + { + $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]'); + $firebaseLink = new FirebaseLink(); + $request = (new CreateFirebaseLinkRequest()) + ->setParent($formattedParent) + ->setFirebaseLink($firebaseLink); + try { + $gapicClient->createFirebaseLink($request); + // 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 createGoogleAdsLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $customerId = 'customerId-1772061412'; + $canManageClients = false; + $creatorEmailAddress = 'creatorEmailAddress-1491810434'; + $expectedResponse = new GoogleAdsLink(); + $expectedResponse->setName($name); + $expectedResponse->setCustomerId($customerId); + $expectedResponse->setCanManageClients($canManageClients); + $expectedResponse->setCreatorEmailAddress($creatorEmailAddress); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $googleAdsLink = new GoogleAdsLink(); + $request = (new CreateGoogleAdsLinkRequest()) + ->setParent($formattedParent) + ->setGoogleAdsLink($googleAdsLink); + $response = $gapicClient->createGoogleAdsLink($request); + $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.v1beta.AnalyticsAdminService/CreateGoogleAdsLink', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getGoogleAdsLink(); + $this->assertProtobufEquals($googleAdsLink, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createGoogleAdsLinkExceptionTest() + { + $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]'); + $googleAdsLink = new GoogleAdsLink(); + $request = (new CreateGoogleAdsLinkRequest()) + ->setParent($formattedParent) + ->setGoogleAdsLink($googleAdsLink); + try { + $gapicClient->createGoogleAdsLink($request); + // 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 createKeyEventTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $eventName = 'eventName984174864'; + $deletable = true; + $custom = false; + $expectedResponse = new KeyEvent(); + $expectedResponse->setName($name); + $expectedResponse->setEventName($eventName); + $expectedResponse->setDeletable($deletable); + $expectedResponse->setCustom($custom); + $transport->addResponse($expectedResponse); + // Mock request + $keyEvent = new KeyEvent(); + $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; + $keyEvent->setCountingMethod($keyEventCountingMethod); + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new CreateKeyEventRequest()) + ->setKeyEvent($keyEvent) + ->setParent($formattedParent); + $response = $gapicClient->createKeyEvent($request); + $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.v1beta.AnalyticsAdminService/CreateKeyEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getKeyEvent(); + $this->assertProtobufEquals($keyEvent, $actualValue); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createKeyEventExceptionTest() + { + $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 + $keyEvent = new KeyEvent(); + $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; + $keyEvent->setCountingMethod($keyEventCountingMethod); + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new CreateKeyEventRequest()) + ->setKeyEvent($keyEvent) + ->setParent($formattedParent); + try { + $gapicClient->createKeyEvent($request); + // 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 createMeasurementProtocolSecretTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $secretValue = 'secretValue1322942242'; + $expectedResponse = new MeasurementProtocolSecret(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setSecretValue($secretValue); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $measurementProtocolSecret = new MeasurementProtocolSecret(); + $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; + $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); + $request = (new CreateMeasurementProtocolSecretRequest()) + ->setParent($formattedParent) + ->setMeasurementProtocolSecret($measurementProtocolSecret); + $response = $gapicClient->createMeasurementProtocolSecret($request); + $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.v1beta.AnalyticsAdminService/CreateMeasurementProtocolSecret', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getMeasurementProtocolSecret(); + $this->assertProtobufEquals($measurementProtocolSecret, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createMeasurementProtocolSecretExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $measurementProtocolSecret = new MeasurementProtocolSecret(); + $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; + $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); + $request = (new CreateMeasurementProtocolSecretRequest()) + ->setParent($formattedParent) + ->setMeasurementProtocolSecret($measurementProtocolSecret); + try { + $gapicClient->createMeasurementProtocolSecret($request); + // 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 createPropertyTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $parent = 'parent-995424086'; + $displayName = 'displayName1615086568'; + $timeZone = 'timeZone36848094'; + $currencyCode = 'currencyCode1108728155'; + $account = 'account-1177318867'; + $expectedResponse = new Property(); + $expectedResponse->setName($name); + $expectedResponse->setParent($parent); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setTimeZone($timeZone); + $expectedResponse->setCurrencyCode($currencyCode); + $expectedResponse->setAccount($account); + $transport->addResponse($expectedResponse); + // Mock request + $property = new Property(); + $propertyDisplayName = 'propertyDisplayName-1254483624'; + $property->setDisplayName($propertyDisplayName); + $propertyTimeZone = 'propertyTimeZone-1600366322'; + $property->setTimeZone($propertyTimeZone); + $request = (new CreatePropertyRequest()) + ->setProperty($property); + $response = $gapicClient->createProperty($request); + $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.v1beta.AnalyticsAdminService/CreateProperty', $actualFuncCall); + $actualValue = $actualRequestObject->getProperty(); + $this->assertProtobufEquals($property, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createPropertyExceptionTest() + { + $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 = new Property(); + $propertyDisplayName = 'propertyDisplayName-1254483624'; + $property->setDisplayName($propertyDisplayName); + $propertyTimeZone = 'propertyTimeZone-1600366322'; + $property->setTimeZone($propertyTimeZone); + $request = (new CreatePropertyRequest()) + ->setProperty($property); + try { + $gapicClient->createProperty($request); + // 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 deleteAccountTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->accountName('[ACCOUNT]'); + $request = (new DeleteAccountRequest()) + ->setName($formattedName); + $gapicClient->deleteAccount($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/DeleteAccount', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteAccountExceptionTest() + { + $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->accountName('[ACCOUNT]'); + $request = (new DeleteAccountRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteAccount($request); + // 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 deleteConversionEventTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); + $request = (new DeleteConversionEventRequest()) + ->setName($formattedName); + $gapicClient->deleteConversionEvent($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/DeleteConversionEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteConversionEventExceptionTest() + { + $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->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); + $request = (new DeleteConversionEventRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteConversionEvent($request); + // 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 deleteDataStreamTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new DeleteDataStreamRequest()) + ->setName($formattedName); + $gapicClient->deleteDataStream($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/DeleteDataStream', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteDataStreamExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new DeleteDataStreamRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteDataStream($request); + // 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 deleteFirebaseLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->firebaseLinkName('[PROPERTY]', '[FIREBASE_LINK]'); + $request = (new DeleteFirebaseLinkRequest()) + ->setName($formattedName); + $gapicClient->deleteFirebaseLink($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/DeleteFirebaseLink', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteFirebaseLinkExceptionTest() + { + $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->firebaseLinkName('[PROPERTY]', '[FIREBASE_LINK]'); + $request = (new DeleteFirebaseLinkRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteFirebaseLink($request); + // 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 deleteGoogleAdsLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->googleAdsLinkName('[PROPERTY]', '[GOOGLE_ADS_LINK]'); + $request = (new DeleteGoogleAdsLinkRequest()) + ->setName($formattedName); + $gapicClient->deleteGoogleAdsLink($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/DeleteGoogleAdsLink', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteGoogleAdsLinkExceptionTest() + { + $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->googleAdsLinkName('[PROPERTY]', '[GOOGLE_ADS_LINK]'); + $request = (new DeleteGoogleAdsLinkRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteGoogleAdsLink($request); + // 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 deleteKeyEventTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->keyEventName('[PROPERTY]', '[KEY_EVENT]'); + $request = (new DeleteKeyEventRequest()) + ->setName($formattedName); + $gapicClient->deleteKeyEvent($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/DeleteKeyEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteKeyEventExceptionTest() + { + $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->keyEventName('[PROPERTY]', '[KEY_EVENT]'); + $request = (new DeleteKeyEventRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteKeyEvent($request); + // 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 deleteMeasurementProtocolSecretTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); + $request = (new DeleteMeasurementProtocolSecretRequest()) + ->setName($formattedName); + $gapicClient->deleteMeasurementProtocolSecret($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/DeleteMeasurementProtocolSecret', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteMeasurementProtocolSecretExceptionTest() + { + $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->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); + $request = (new DeleteMeasurementProtocolSecretRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteMeasurementProtocolSecret($request); + // 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 deletePropertyTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $parent = 'parent-995424086'; + $displayName = 'displayName1615086568'; + $timeZone = 'timeZone36848094'; + $currencyCode = 'currencyCode1108728155'; + $account = 'account-1177318867'; + $expectedResponse = new Property(); + $expectedResponse->setName($name2); + $expectedResponse->setParent($parent); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setTimeZone($timeZone); + $expectedResponse->setCurrencyCode($currencyCode); + $expectedResponse->setAccount($account); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->propertyName('[PROPERTY]'); + $request = (new DeletePropertyRequest()) + ->setName($formattedName); + $response = $gapicClient->deleteProperty($request); + $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.v1beta.AnalyticsAdminService/DeleteProperty', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deletePropertyExceptionTest() + { + $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->propertyName('[PROPERTY]'); + $request = (new DeletePropertyRequest()) + ->setName($formattedName); + try { + $gapicClient->deleteProperty($request); + // 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() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $displayName = 'displayName1615086568'; + $regionCode = 'regionCode-1566082984'; + $deleted = false; + $gmpOrganization = 'gmpOrganization-1643573496'; + $expectedResponse = new Account(); + $expectedResponse->setName($name2); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setRegionCode($regionCode); + $expectedResponse->setDeleted($deleted); + $expectedResponse->setGmpOrganization($gmpOrganization); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->accountName('[ACCOUNT]'); + $request = (new GetAccountRequest()) + ->setName($formattedName); + $response = $gapicClient->getAccount($request); + $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.v1beta.AnalyticsAdminService/GetAccount', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getAccountExceptionTest() + { + $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->accountName('[ACCOUNT]'); + $request = (new GetAccountRequest()) + ->setName($formattedName); + try { + $gapicClient->getAccount($request); + // 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() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $eventName = 'eventName984174864'; + $deletable = true; + $custom = false; + $expectedResponse = new ConversionEvent(); + $expectedResponse->setName($name2); + $expectedResponse->setEventName($eventName); + $expectedResponse->setDeletable($deletable); + $expectedResponse->setCustom($custom); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); + $request = (new GetConversionEventRequest()) + ->setName($formattedName); + $response = $gapicClient->getConversionEvent($request); + $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.v1beta.AnalyticsAdminService/GetConversionEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getConversionEventExceptionTest() + { + $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->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); + $request = (new GetConversionEventRequest()) + ->setName($formattedName); + try { + $gapicClient->getConversionEvent($request); + // 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 getCustomDimensionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $parameterName = 'parameterName1133142369'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $disallowAdsPersonalization = false; + $expectedResponse = new CustomDimension(); + $expectedResponse->setName($name2); + $expectedResponse->setParameterName($parameterName); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $expectedResponse->setDisallowAdsPersonalization($disallowAdsPersonalization); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); + $request = (new GetCustomDimensionRequest()) + ->setName($formattedName); + $response = $gapicClient->getCustomDimension($request); + $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.v1beta.AnalyticsAdminService/GetCustomDimension', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getCustomDimensionExceptionTest() + { + $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->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); + $request = (new GetCustomDimensionRequest()) + ->setName($formattedName); + try { + $gapicClient->getCustomDimension($request); + // 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 getCustomMetricTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $parameterName = 'parameterName1133142369'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $expectedResponse = new CustomMetric(); + $expectedResponse->setName($name2); + $expectedResponse->setParameterName($parameterName); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); + $request = (new GetCustomMetricRequest()) + ->setName($formattedName); + $response = $gapicClient->getCustomMetric($request); + $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.v1beta.AnalyticsAdminService/GetCustomMetric', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getCustomMetricExceptionTest() + { + $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->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); + $request = (new GetCustomMetricRequest()) + ->setName($formattedName); + try { + $gapicClient->getCustomMetric($request); + // 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 getDataRetentionSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $resetUserDataOnNewActivity = false; + $expectedResponse = new DataRetentionSettings(); + $expectedResponse->setName($name2); + $expectedResponse->setResetUserDataOnNewActivity($resetUserDataOnNewActivity); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->dataRetentionSettingsName('[PROPERTY]'); + $request = (new GetDataRetentionSettingsRequest()) + ->setName($formattedName); + $response = $gapicClient->getDataRetentionSettings($request); + $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.v1beta.AnalyticsAdminService/GetDataRetentionSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getDataRetentionSettingsExceptionTest() + { + $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->dataRetentionSettingsName('[PROPERTY]'); + $request = (new GetDataRetentionSettingsRequest()) + ->setName($formattedName); + try { + $gapicClient->getDataRetentionSettings($request); + // 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 getDataSharingSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $sharingWithGoogleSupportEnabled = false; + $sharingWithGoogleAssignedSalesEnabled = false; + $sharingWithGoogleAnySalesEnabled = false; + $sharingWithGoogleProductsEnabled = true; + $sharingWithOthersEnabled = false; + $expectedResponse = new DataSharingSettings(); + $expectedResponse->setName($name2); + $expectedResponse->setSharingWithGoogleSupportEnabled($sharingWithGoogleSupportEnabled); + $expectedResponse->setSharingWithGoogleAssignedSalesEnabled($sharingWithGoogleAssignedSalesEnabled); + $expectedResponse->setSharingWithGoogleAnySalesEnabled($sharingWithGoogleAnySalesEnabled); + $expectedResponse->setSharingWithGoogleProductsEnabled($sharingWithGoogleProductsEnabled); + $expectedResponse->setSharingWithOthersEnabled($sharingWithOthersEnabled); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->dataSharingSettingsName('[ACCOUNT]'); + $request = (new GetDataSharingSettingsRequest()) + ->setName($formattedName); + $response = $gapicClient->getDataSharingSettings($request); + $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.v1beta.AnalyticsAdminService/GetDataSharingSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getDataSharingSettingsExceptionTest() + { + $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->dataSharingSettingsName('[ACCOUNT]'); + $request = (new GetDataSharingSettingsRequest()) + ->setName($formattedName); + try { + $gapicClient->getDataSharingSettings($request); + // 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 getDataStreamTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $displayName = 'displayName1615086568'; + $expectedResponse = new DataStream(); + $expectedResponse->setName($name2); + $expectedResponse->setDisplayName($displayName); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new GetDataStreamRequest()) + ->setName($formattedName); + $response = $gapicClient->getDataStream($request); + $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.v1beta.AnalyticsAdminService/GetDataStream', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getDataStreamExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new GetDataStreamRequest()) + ->setName($formattedName); + try { + $gapicClient->getDataStream($request); + // 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 getKeyEventTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $eventName = 'eventName984174864'; + $deletable = true; + $custom = false; + $expectedResponse = new KeyEvent(); + $expectedResponse->setName($name2); + $expectedResponse->setEventName($eventName); + $expectedResponse->setDeletable($deletable); + $expectedResponse->setCustom($custom); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->keyEventName('[PROPERTY]', '[KEY_EVENT]'); + $request = (new GetKeyEventRequest()) + ->setName($formattedName); + $response = $gapicClient->getKeyEvent($request); + $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.v1beta.AnalyticsAdminService/GetKeyEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getKeyEventExceptionTest() + { + $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->keyEventName('[PROPERTY]', '[KEY_EVENT]'); + $request = (new GetKeyEventRequest()) + ->setName($formattedName); + try { + $gapicClient->getKeyEvent($request); + // 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 getMeasurementProtocolSecretTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $displayName = 'displayName1615086568'; + $secretValue = 'secretValue1322942242'; + $expectedResponse = new MeasurementProtocolSecret(); + $expectedResponse->setName($name2); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setSecretValue($secretValue); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); + $request = (new GetMeasurementProtocolSecretRequest()) + ->setName($formattedName); + $response = $gapicClient->getMeasurementProtocolSecret($request); + $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.v1beta.AnalyticsAdminService/GetMeasurementProtocolSecret', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getMeasurementProtocolSecretExceptionTest() + { + $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->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); + $request = (new GetMeasurementProtocolSecretRequest()) + ->setName($formattedName); + try { + $gapicClient->getMeasurementProtocolSecret($request); + // 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 getPropertyTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $parent = 'parent-995424086'; + $displayName = 'displayName1615086568'; + $timeZone = 'timeZone36848094'; + $currencyCode = 'currencyCode1108728155'; + $account = 'account-1177318867'; + $expectedResponse = new Property(); + $expectedResponse->setName($name2); + $expectedResponse->setParent($parent); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setTimeZone($timeZone); + $expectedResponse->setCurrencyCode($currencyCode); + $expectedResponse->setAccount($account); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->propertyName('[PROPERTY]'); + $request = (new GetPropertyRequest()) + ->setName($formattedName); + $response = $gapicClient->getProperty($request); + $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.v1beta.AnalyticsAdminService/GetProperty', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getPropertyExceptionTest() + { + $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->propertyName('[PROPERTY]'); + $request = (new GetPropertyRequest()) + ->setName($formattedName); + try { + $gapicClient->getProperty($request); + // 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 listAccountSummariesTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $accountSummariesElement = new AccountSummary(); + $accountSummaries = [ + $accountSummariesElement, + ]; + $expectedResponse = new ListAccountSummariesResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setAccountSummaries($accountSummaries); + $transport->addResponse($expectedResponse); + $request = new ListAccountSummariesRequest(); + $response = $gapicClient->listAccountSummaries($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getAccountSummaries()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListAccountSummaries', $actualFuncCall); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listAccountSummariesExceptionTest() + { + $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); + $request = new ListAccountSummariesRequest(); + try { + $gapicClient->listAccountSummaries($request); + // 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 listAccountsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $accountsElement = new Account(); + $accounts = [ + $accountsElement, + ]; + $expectedResponse = new ListAccountsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setAccounts($accounts); + $transport->addResponse($expectedResponse); + $request = new ListAccountsRequest(); + $response = $gapicClient->listAccounts($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getAccounts()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListAccounts', $actualFuncCall); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listAccountsExceptionTest() + { + $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); + $request = new ListAccountsRequest(); + try { + $gapicClient->listAccounts($request); + // 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() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $conversionEventsElement = new ConversionEvent(); + $conversionEvents = [ + $conversionEventsElement, + ]; + $expectedResponse = new ListConversionEventsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setConversionEvents($conversionEvents); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListConversionEventsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listConversionEvents($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getConversionEvents()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListConversionEvents', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listConversionEventsExceptionTest() + { + $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]'); + $request = (new ListConversionEventsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listConversionEvents($request); + // 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 listCustomDimensionsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $customDimensionsElement = new CustomDimension(); + $customDimensions = [ + $customDimensionsElement, + ]; + $expectedResponse = new ListCustomDimensionsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setCustomDimensions($customDimensions); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListCustomDimensionsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listCustomDimensions($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getCustomDimensions()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListCustomDimensions', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listCustomDimensionsExceptionTest() + { + $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]'); + $request = (new ListCustomDimensionsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listCustomDimensions($request); + // 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 listCustomMetricsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $customMetricsElement = new CustomMetric(); + $customMetrics = [ + $customMetricsElement, + ]; + $expectedResponse = new ListCustomMetricsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setCustomMetrics($customMetrics); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListCustomMetricsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listCustomMetrics($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getCustomMetrics()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListCustomMetrics', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listCustomMetricsExceptionTest() + { + $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]'); + $request = (new ListCustomMetricsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listCustomMetrics($request); + // 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 listDataStreamsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $dataStreamsElement = new DataStream(); + $dataStreams = [ + $dataStreamsElement, + ]; + $expectedResponse = new ListDataStreamsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setDataStreams($dataStreams); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListDataStreamsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listDataStreams($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getDataStreams()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListDataStreams', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listDataStreamsExceptionTest() + { + $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]'); + $request = (new ListDataStreamsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listDataStreams($request); + // 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 listFirebaseLinksTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $firebaseLinksElement = new FirebaseLink(); + $firebaseLinks = [ + $firebaseLinksElement, + ]; + $expectedResponse = new ListFirebaseLinksResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setFirebaseLinks($firebaseLinks); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListFirebaseLinksRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listFirebaseLinks($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getFirebaseLinks()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListFirebaseLinks', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listFirebaseLinksExceptionTest() + { + $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]'); + $request = (new ListFirebaseLinksRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listFirebaseLinks($request); + // 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 listGoogleAdsLinksTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $googleAdsLinksElement = new GoogleAdsLink(); + $googleAdsLinks = [ + $googleAdsLinksElement, + ]; + $expectedResponse = new ListGoogleAdsLinksResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setGoogleAdsLinks($googleAdsLinks); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListGoogleAdsLinksRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listGoogleAdsLinks($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getGoogleAdsLinks()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListGoogleAdsLinks', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listGoogleAdsLinksExceptionTest() + { + $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]'); + $request = (new ListGoogleAdsLinksRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listGoogleAdsLinks($request); + // 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 listKeyEventsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $keyEventsElement = new KeyEvent(); + $keyEvents = [ + $keyEventsElement, + ]; + $expectedResponse = new ListKeyEventsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setKeyEvents($keyEvents); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->propertyName('[PROPERTY]'); + $request = (new ListKeyEventsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listKeyEvents($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getKeyEvents()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListKeyEvents', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listKeyEventsExceptionTest() + { + $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]'); + $request = (new ListKeyEventsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listKeyEvents($request); + // 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 listMeasurementProtocolSecretsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $measurementProtocolSecretsElement = new MeasurementProtocolSecret(); + $measurementProtocolSecrets = [ + $measurementProtocolSecretsElement, + ]; + $expectedResponse = new ListMeasurementProtocolSecretsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setMeasurementProtocolSecrets($measurementProtocolSecrets); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new ListMeasurementProtocolSecretsRequest()) + ->setParent($formattedParent); + $response = $gapicClient->listMeasurementProtocolSecrets($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getMeasurementProtocolSecrets()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListMeasurementProtocolSecrets', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listMeasurementProtocolSecretsExceptionTest() + { + $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); + $request = (new ListMeasurementProtocolSecretsRequest()) + ->setParent($formattedParent); + try { + $gapicClient->listMeasurementProtocolSecrets($request); + // 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 listPropertiesTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $propertiesElement = new Property(); + $properties = [ + $propertiesElement, + ]; + $expectedResponse = new ListPropertiesResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setProperties($properties); + $transport->addResponse($expectedResponse); + // Mock request + $filter = 'filter-1274492040'; + $request = (new ListPropertiesRequest()) + ->setFilter($filter); + $response = $gapicClient->listProperties($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getProperties()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListProperties', $actualFuncCall); + $actualValue = $actualRequestObject->getFilter(); + $this->assertProtobufEquals($filter, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listPropertiesExceptionTest() + { + $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 + $filter = 'filter-1274492040'; + $request = (new ListPropertiesRequest()) + ->setFilter($filter); + try { + $gapicClient->listProperties($request); + // 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 provisionAccountTicketTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $accountTicketId = 'accountTicketId-442102884'; + $expectedResponse = new ProvisionAccountTicketResponse(); + $expectedResponse->setAccountTicketId($accountTicketId); + $transport->addResponse($expectedResponse); + $request = new ProvisionAccountTicketRequest(); + $response = $gapicClient->provisionAccountTicket($request); + $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.v1beta.AnalyticsAdminService/ProvisionAccountTicket', $actualFuncCall); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function provisionAccountTicketExceptionTest() + { + $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); + $request = new ProvisionAccountTicketRequest(); + try { + $gapicClient->provisionAccountTicket($request); + // 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 runAccessReportTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $rowCount = 1340416618; + $expectedResponse = new RunAccessReportResponse(); + $expectedResponse->setRowCount($rowCount); + $transport->addResponse($expectedResponse); + $request = new RunAccessReportRequest(); + $response = $gapicClient->runAccessReport($request); + $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.v1beta.AnalyticsAdminService/RunAccessReport', $actualFuncCall); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function runAccessReportExceptionTest() + { + $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); + $request = new RunAccessReportRequest(); + try { + $gapicClient->runAccessReport($request); + // 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 searchChangeHistoryEventsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $changeHistoryEventsElement = new ChangeHistoryEvent(); + $changeHistoryEvents = [ + $changeHistoryEventsElement, + ]; + $expectedResponse = new SearchChangeHistoryEventsResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setChangeHistoryEvents($changeHistoryEvents); + $transport->addResponse($expectedResponse); + // Mock request + $formattedAccount = $gapicClient->accountName('[ACCOUNT]'); + $request = (new SearchChangeHistoryEventsRequest()) + ->setAccount($formattedAccount); + $response = $gapicClient->searchChangeHistoryEvents($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getChangeHistoryEvents()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/SearchChangeHistoryEvents', $actualFuncCall); + $actualValue = $actualRequestObject->getAccount(); + $this->assertProtobufEquals($formattedAccount, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function searchChangeHistoryEventsExceptionTest() + { + $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 + $formattedAccount = $gapicClient->accountName('[ACCOUNT]'); + $request = (new SearchChangeHistoryEventsRequest()) + ->setAccount($formattedAccount); + try { + $gapicClient->searchChangeHistoryEvents($request); + // 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() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $regionCode = 'regionCode-1566082984'; + $deleted = false; + $gmpOrganization = 'gmpOrganization-1643573496'; + $expectedResponse = new Account(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setRegionCode($regionCode); + $expectedResponse->setDeleted($deleted); + $expectedResponse->setGmpOrganization($gmpOrganization); + $transport->addResponse($expectedResponse); + // Mock request + $account = new Account(); + $accountDisplayName = 'accountDisplayName-616446464'; + $account->setDisplayName($accountDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateAccountRequest()) + ->setAccount($account) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateAccount($request); + $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.v1beta.AnalyticsAdminService/UpdateAccount', $actualFuncCall); + $actualValue = $actualRequestObject->getAccount(); + $this->assertProtobufEquals($account, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateAccountExceptionTest() + { + $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 + $account = new Account(); + $accountDisplayName = 'accountDisplayName-616446464'; + $account->setDisplayName($accountDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateAccountRequest()) + ->setAccount($account) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateAccount($request); + // 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 updateConversionEventTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $eventName = 'eventName984174864'; + $deletable = true; + $custom = false; + $expectedResponse = new ConversionEvent(); + $expectedResponse->setName($name); + $expectedResponse->setEventName($eventName); + $expectedResponse->setDeletable($deletable); + $expectedResponse->setCustom($custom); + $transport->addResponse($expectedResponse); + // Mock request + $conversionEvent = new ConversionEvent(); + $updateMask = new FieldMask(); + $request = (new UpdateConversionEventRequest()) + ->setConversionEvent($conversionEvent) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateConversionEvent($request); + $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.v1beta.AnalyticsAdminService/UpdateConversionEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getConversionEvent(); + $this->assertProtobufEquals($conversionEvent, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateConversionEventExceptionTest() + { + $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 + $conversionEvent = new ConversionEvent(); + $updateMask = new FieldMask(); + $request = (new UpdateConversionEventRequest()) + ->setConversionEvent($conversionEvent) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateConversionEvent($request); + // 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 updateCustomDimensionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $parameterName = 'parameterName1133142369'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $disallowAdsPersonalization = false; + $expectedResponse = new CustomDimension(); + $expectedResponse->setName($name); + $expectedResponse->setParameterName($parameterName); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $expectedResponse->setDisallowAdsPersonalization($disallowAdsPersonalization); + $transport->addResponse($expectedResponse); + // Mock request + $updateMask = new FieldMask(); + $request = (new UpdateCustomDimensionRequest()) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateCustomDimension($request); + $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.v1beta.AnalyticsAdminService/UpdateCustomDimension', $actualFuncCall); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateCustomDimensionExceptionTest() + { + $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(); + $request = (new UpdateCustomDimensionRequest()) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateCustomDimension($request); + // 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 updateCustomMetricTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $parameterName = 'parameterName1133142369'; + $displayName = 'displayName1615086568'; + $description = 'description-1724546052'; + $expectedResponse = new CustomMetric(); + $expectedResponse->setName($name); + $expectedResponse->setParameterName($parameterName); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setDescription($description); + $transport->addResponse($expectedResponse); + // Mock request + $updateMask = new FieldMask(); + $request = (new UpdateCustomMetricRequest()) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateCustomMetric($request); + $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.v1beta.AnalyticsAdminService/UpdateCustomMetric', $actualFuncCall); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateCustomMetricExceptionTest() + { + $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(); + $request = (new UpdateCustomMetricRequest()) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateCustomMetric($request); + // 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 updateDataRetentionSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $resetUserDataOnNewActivity = false; + $expectedResponse = new DataRetentionSettings(); + $expectedResponse->setName($name); + $expectedResponse->setResetUserDataOnNewActivity($resetUserDataOnNewActivity); + $transport->addResponse($expectedResponse); + // Mock request + $dataRetentionSettings = new DataRetentionSettings(); + $dataRetentionSettingsEventDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; + $dataRetentionSettings->setEventDataRetention($dataRetentionSettingsEventDataRetention); + $dataRetentionSettingsUserDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; + $dataRetentionSettings->setUserDataRetention($dataRetentionSettingsUserDataRetention); + $updateMask = new FieldMask(); + $request = (new UpdateDataRetentionSettingsRequest()) + ->setDataRetentionSettings($dataRetentionSettings) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateDataRetentionSettings($request); + $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.v1beta.AnalyticsAdminService/UpdateDataRetentionSettings', $actualFuncCall); + $actualValue = $actualRequestObject->getDataRetentionSettings(); + $this->assertProtobufEquals($dataRetentionSettings, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateDataRetentionSettingsExceptionTest() + { + $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 + $dataRetentionSettings = new DataRetentionSettings(); + $dataRetentionSettingsEventDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; + $dataRetentionSettings->setEventDataRetention($dataRetentionSettingsEventDataRetention); + $dataRetentionSettingsUserDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; + $dataRetentionSettings->setUserDataRetention($dataRetentionSettingsUserDataRetention); + $updateMask = new FieldMask(); + $request = (new UpdateDataRetentionSettingsRequest()) + ->setDataRetentionSettings($dataRetentionSettings) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateDataRetentionSettings($request); + // 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 updateDataStreamTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $expectedResponse = new DataStream(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $transport->addResponse($expectedResponse); + // Mock request + $updateMask = new FieldMask(); + $request = (new UpdateDataStreamRequest()) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateDataStream($request); + $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.v1beta.AnalyticsAdminService/UpdateDataStream', $actualFuncCall); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateDataStreamExceptionTest() + { + $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(); + $request = (new UpdateDataStreamRequest()) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateDataStream($request); + // 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 updateGoogleAdsLinkTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $customerId = 'customerId-1772061412'; + $canManageClients = false; + $creatorEmailAddress = 'creatorEmailAddress-1491810434'; + $expectedResponse = new GoogleAdsLink(); + $expectedResponse->setName($name); + $expectedResponse->setCustomerId($customerId); + $expectedResponse->setCanManageClients($canManageClients); + $expectedResponse->setCreatorEmailAddress($creatorEmailAddress); + $transport->addResponse($expectedResponse); + // Mock request + $updateMask = new FieldMask(); + $request = (new UpdateGoogleAdsLinkRequest()) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateGoogleAdsLink($request); + $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.v1beta.AnalyticsAdminService/UpdateGoogleAdsLink', $actualFuncCall); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateGoogleAdsLinkExceptionTest() + { + $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(); + $request = (new UpdateGoogleAdsLinkRequest()) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateGoogleAdsLink($request); + // 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 updateKeyEventTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $eventName = 'eventName984174864'; + $deletable = true; + $custom = false; + $expectedResponse = new KeyEvent(); + $expectedResponse->setName($name); + $expectedResponse->setEventName($eventName); + $expectedResponse->setDeletable($deletable); + $expectedResponse->setCustom($custom); + $transport->addResponse($expectedResponse); + // Mock request + $keyEvent = new KeyEvent(); + $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; + $keyEvent->setCountingMethod($keyEventCountingMethod); + $updateMask = new FieldMask(); + $request = (new UpdateKeyEventRequest()) + ->setKeyEvent($keyEvent) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateKeyEvent($request); + $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.v1beta.AnalyticsAdminService/UpdateKeyEvent', $actualFuncCall); + $actualValue = $actualRequestObject->getKeyEvent(); + $this->assertProtobufEquals($keyEvent, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateKeyEventExceptionTest() + { + $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 + $keyEvent = new KeyEvent(); + $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; + $keyEvent->setCountingMethod($keyEventCountingMethod); + $updateMask = new FieldMask(); + $request = (new UpdateKeyEventRequest()) + ->setKeyEvent($keyEvent) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateKeyEvent($request); + // 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 updateMeasurementProtocolSecretTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $secretValue = 'secretValue1322942242'; + $expectedResponse = new MeasurementProtocolSecret(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setSecretValue($secretValue); + $transport->addResponse($expectedResponse); + // Mock request + $measurementProtocolSecret = new MeasurementProtocolSecret(); + $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; + $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateMeasurementProtocolSecretRequest()) + ->setMeasurementProtocolSecret($measurementProtocolSecret) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateMeasurementProtocolSecret($request); + $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.v1beta.AnalyticsAdminService/UpdateMeasurementProtocolSecret', $actualFuncCall); + $actualValue = $actualRequestObject->getMeasurementProtocolSecret(); + $this->assertProtobufEquals($measurementProtocolSecret, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateMeasurementProtocolSecretExceptionTest() + { + $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 + $measurementProtocolSecret = new MeasurementProtocolSecret(); + $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; + $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); + $updateMask = new FieldMask(); + $request = (new UpdateMeasurementProtocolSecretRequest()) + ->setMeasurementProtocolSecret($measurementProtocolSecret) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateMeasurementProtocolSecret($request); + // 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 updatePropertyTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $parent = 'parent-995424086'; + $displayName = 'displayName1615086568'; + $timeZone = 'timeZone36848094'; + $currencyCode = 'currencyCode1108728155'; + $account = 'account-1177318867'; + $expectedResponse = new Property(); + $expectedResponse->setName($name); + $expectedResponse->setParent($parent); + $expectedResponse->setDisplayName($displayName); + $expectedResponse->setTimeZone($timeZone); + $expectedResponse->setCurrencyCode($currencyCode); + $expectedResponse->setAccount($account); + $transport->addResponse($expectedResponse); + // Mock request + $property = new Property(); + $propertyDisplayName = 'propertyDisplayName-1254483624'; + $property->setDisplayName($propertyDisplayName); + $propertyTimeZone = 'propertyTimeZone-1600366322'; + $property->setTimeZone($propertyTimeZone); + $updateMask = new FieldMask(); + $request = (new UpdatePropertyRequest()) + ->setProperty($property) + ->setUpdateMask($updateMask); + $response = $gapicClient->updateProperty($request); + $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.v1beta.AnalyticsAdminService/UpdateProperty', $actualFuncCall); + $actualValue = $actualRequestObject->getProperty(); + $this->assertProtobufEquals($property, $actualValue); + $actualValue = $actualRequestObject->getUpdateMask(); + $this->assertProtobufEquals($updateMask, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updatePropertyExceptionTest() + { + $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 = new Property(); + $propertyDisplayName = 'propertyDisplayName-1254483624'; + $property->setDisplayName($propertyDisplayName); + $propertyTimeZone = 'propertyTimeZone-1600366322'; + $property->setTimeZone($propertyTimeZone); + $updateMask = new FieldMask(); + $request = (new UpdatePropertyRequest()) + ->setProperty($property) + ->setUpdateMask($updateMask); + try { + $gapicClient->updateProperty($request); + // 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 acknowledgeUserDataCollectionAsyncTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new AcknowledgeUserDataCollectionResponse(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedProperty = $gapicClient->propertyName('[PROPERTY]'); + $acknowledgement = 'acknowledgement1769490938'; + $request = (new AcknowledgeUserDataCollectionRequest()) + ->setProperty($formattedProperty) + ->setAcknowledgement($acknowledgement); + $response = $gapicClient->acknowledgeUserDataCollectionAsync($request)->wait(); + $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.v1beta.AnalyticsAdminService/AcknowledgeUserDataCollection', $actualFuncCall); + $actualValue = $actualRequestObject->getProperty(); + $this->assertProtobufEquals($formattedProperty, $actualValue); + $actualValue = $actualRequestObject->getAcknowledgement(); + $this->assertProtobufEquals($acknowledgement, $actualValue); + $this->assertTrue($transport->isExhausted()); + } +} From 124eaa082bd0c7fd49c56cf89eeeb75971f44e0a Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 14 Apr 2026 19:09:31 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../metadata/V1Alpha/AnalyticsAdmin.php | 2 +- AnalyticsAdmin/metadata/V1Alpha/Resources.php | 2 +- .../get_reporting_identity_settings.php | 2 +- .../get_user_provided_data_settings.php | 0 AnalyticsAdmin/src/V1alpha/Account.php | 14 +- AnalyticsAdmin/src/V1alpha/AccountSummary.php | 14 +- .../src/V1alpha/CalculatedMetric.php | 14 +- .../ChangeHistoryResource.php | 33 + .../src/V1alpha/ChangeHistoryResourceType.php | 7 + .../Client/AnalyticsAdminServiceClient.php | 54 +- .../src/V1alpha/ConversionEvent.php | 14 +- .../src/V1alpha/CustomDimension.php | 14 +- AnalyticsAdmin/src/V1alpha/CustomMetric.php | 14 +- .../src/V1alpha/DataRetentionSettings.php | 14 +- .../src/V1alpha/DataSharingSettings.php | 14 +- AnalyticsAdmin/src/V1alpha/DataStream.php | 14 +- .../V1alpha/DisplayVideo360AdvertiserLink.php | 14 +- .../DisplayVideo360AdvertiserLinkProposal.php | 14 +- AnalyticsAdmin/src/V1alpha/FirebaseLink.php | 14 +- .../GetUserProvidedDataSettingsRequest.php | 0 AnalyticsAdmin/src/V1alpha/GlobalSiteTag.php | 14 +- AnalyticsAdmin/src/V1alpha/GoogleAdsLink.php | 14 +- .../V1alpha/ListAccountSummariesRequest.php | 76 +- .../src/V1alpha/ListAccountsRequest.php | 28 +- .../V1alpha/ListConversionEventsRequest.php | 52 +- .../V1alpha/ListCustomDimensionsRequest.php | 36 +- .../src/V1alpha/ListFirebaseLinksRequest.php | 28 +- .../src/V1alpha/ListGoogleAdsLinksRequest.php | 28 +- .../src/V1alpha/ListKeyEventsRequest.php | 28 +- .../ListMeasurementProtocolSecretsRequest.php | 56 +- .../src/V1alpha/ListPropertiesRequest.php | 28 +- ...AdNetworkConversionValueSchemasRequest.php | 28 +- .../src/V1alpha/MeasurementProtocolSecret.php | 22 +- AnalyticsAdmin/src/V1alpha/Property.php | 14 +- .../SKAdNetworkConversionValueSchema.php | 14 +- .../src/V1alpha/SearchAds360Link.php | 14 +- .../src}/V1alpha/UserProvidedDataSettings.php | 0 .../src/V1alpha/gapic_metadata.json | 5 + ...analytics_admin_service_client_config.json | 5 + ...lytics_admin_service_descriptor_config.php | 13 + ...ytics_admin_service_rest_client_config.php | 11 + .../AnalyticsAdminServiceClientTest.php | 74 + .../Analytics/Admin/V1Alpha/AccessReport.php | 24 - .../Admin/V1Alpha/AnalyticsAdmin.php | 38 - .../Analytics/Admin/V1Alpha/Audience.php | 28 - .../Analytics/Admin/V1Alpha/ChannelGroup.php | 26 - .../Admin/V1Alpha/EventCreateAndEdit.php | 26 - .../Admin/V1Alpha/ExpandedDataSet.php | 27 - .../Analytics/Admin/V1Alpha/Resources.php | 33 - .../Admin/V1Alpha/SubpropertyEventFilter.php | 26 - .../Admin/V1alpha/AccessBetweenFilter.php | 121 - .../Analytics/Admin/V1alpha/AccessBinding.php | 198 - .../Admin/V1alpha/AccessDateRange.php | 125 - .../Admin/V1alpha/AccessDimension.php | 81 - .../Admin/V1alpha/AccessDimensionHeader.php | 70 - .../Admin/V1alpha/AccessDimensionValue.php | 71 - .../Analytics/Admin/V1alpha/AccessFilter.php | 208 - .../Admin/V1alpha/AccessFilterExpression.php | 178 - .../V1alpha/AccessFilterExpressionList.php | 67 - .../Admin/V1alpha/AccessInListFilter.php | 101 - .../Analytics/Admin/V1alpha/AccessMetric.php | 80 - .../Admin/V1alpha/AccessMetricHeader.php | 70 - .../Admin/V1alpha/AccessMetricValue.php | 67 - .../Admin/V1alpha/AccessNumericFilter.php | 111 - .../V1alpha/AccessNumericFilter/Operation.php | 82 - .../Analytics/Admin/V1alpha/AccessOrderBy.php | 148 - .../AccessOrderBy/DimensionOrderBy.php | 101 - .../DimensionOrderBy/OrderType.php | 73 - .../V1alpha/AccessOrderBy/MetricOrderBy.php | 67 - .../Analytics/Admin/V1alpha/AccessQuota.php | 283 - .../Admin/V1alpha/AccessQuotaStatus.php | 101 - .../Analytics/Admin/V1alpha/AccessRow.php | 109 - .../Admin/V1alpha/AccessStringFilter.php | 135 - .../V1alpha/AccessStringFilter/MatchType.php | 89 - .../Analytics/Admin/V1alpha/Account.php | 311 - .../Admin/V1alpha/AccountSummary.php | 186 - .../AcknowledgeUserDataCollectionRequest.php | 125 - .../AcknowledgeUserDataCollectionResponse.php | 33 - .../Analytics/Admin/V1alpha/ActionType.php | 68 - .../Analytics/Admin/V1alpha/ActorType.php | 69 - .../Analytics/Admin/V1alpha/AdSenseLink.php | 114 - ...yVideo360AdvertiserLinkProposalRequest.php | 71 - ...Video360AdvertiserLinkProposalResponse.php | 81 - .../Admin/V1alpha/ArchiveAudienceRequest.php | 67 - .../V1alpha/ArchiveCustomDimensionRequest.php | 86 - .../V1alpha/ArchiveCustomMetricRequest.php | 86 - .../Admin/V1alpha/AttributionSettings.php | 240 - ...quisitionConversionEventLookbackWindow.php | 63 - .../AdsWebConversionDataExportScope.php | 74 - .../OtherConversionEventLookbackWindow.php | 70 - .../ReportingAttributionModel.php | 77 - .../Analytics/Admin/V1alpha/Audience.php | 387 - .../AudienceExclusionDurationMode.php | 63 - .../AudienceDimensionOrMetricFilter.php | 350 - .../BetweenFilter.php | 122 - .../InListFilter.php | 109 - .../NumericFilter.php | 111 - .../NumericFilter/Operation.php | 68 - .../NumericValue.php | 108 - .../StringFilter.php | 139 - .../StringFilter/MatchType.php | 82 - .../Admin/V1alpha/AudienceEventFilter.php | 137 - .../Admin/V1alpha/AudienceEventTrigger.php | 101 - .../AudienceEventTrigger/LogCondition.php | 62 - .../Admin/V1alpha/AudienceFilterClause.php | 148 - .../AudienceClauseType.php | 65 - .../V1alpha/AudienceFilterExpression.php | 228 - .../V1alpha/AudienceFilterExpressionList.php | 67 - .../Admin/V1alpha/AudienceFilterScope.php | 71 - .../Admin/V1alpha/AudienceSequenceFilter.php | 150 - .../AudienceSequenceStep.php | 222 - .../Admin/V1alpha/AudienceSimpleFilter.php | 116 - .../BatchCreateAccessBindingsRequest.php | 121 - .../BatchCreateAccessBindingsResponse.php | 67 - .../BatchDeleteAccessBindingsRequest.php | 121 - .../V1alpha/BatchGetAccessBindingsRequest.php | 133 - .../BatchGetAccessBindingsResponse.php | 67 - .../BatchUpdateAccessBindingsRequest.php | 125 - .../BatchUpdateAccessBindingsResponse.php | 67 - .../Analytics/Admin/V1alpha/BigQueryLink.php | 435 - .../Admin/V1alpha/CalculatedMetric.php | 361 - .../V1alpha/CalculatedMetric/MetricUnit.php | 117 - .../CalculatedMetric/RestrictedMetricType.php | 62 - ...yVideo360AdvertiserLinkProposalRequest.php | 71 - .../Admin/V1alpha/ChangeHistoryChange.php | 197 - .../ChangeHistoryResource.php | 1042 -- .../Admin/V1alpha/ChangeHistoryEvent.php | 266 - .../V1alpha/ChangeHistoryResourceType.php | 257 - .../Analytics/Admin/V1alpha/ChannelGroup.php | 269 - .../Admin/V1alpha/ChannelGroupFilter.php | 145 - .../ChannelGroupFilter/InListFilter.php | 72 - .../ChannelGroupFilter/StringFilter.php | 101 - .../StringFilter/MatchType.php | 89 - .../V1alpha/ChannelGroupFilterExpression.php | 192 - .../ChannelGroupFilterExpressionList.php | 67 - .../Analytics/Admin/V1alpha/CoarseValue.php | 71 - .../Admin/V1alpha/ConversionEvent.php | 331 - .../ConversionCountingMethod.php | 63 - .../DefaultConversionValue.php | 138 - .../Admin/V1alpha/ConversionValues.php | 254 - .../V1alpha/CreateAccessBindingRequest.php | 137 - .../V1alpha/CreateAdSenseLinkRequest.php | 137 - .../Admin/V1alpha/CreateAudienceRequest.php | 127 - .../V1alpha/CreateBigQueryLinkRequest.php | 127 - .../V1alpha/CreateCalculatedMetricRequest.php | 199 - .../V1alpha/CreateChannelGroupRequest.php | 132 - .../V1alpha/CreateConversionEventRequest.php | 132 - .../V1alpha/CreateCustomDimensionRequest.php | 127 - .../V1alpha/CreateCustomMetricRequest.php | 127 - .../Admin/V1alpha/CreateDataStreamRequest.php | 127 - ...yVideo360AdvertiserLinkProposalRequest.php | 127 - ...teDisplayVideo360AdvertiserLinkRequest.php | 127 - .../V1alpha/CreateEventCreateRuleRequest.php | 127 - .../V1alpha/CreateEventEditRuleRequest.php | 127 - .../V1alpha/CreateExpandedDataSetRequest.php | 127 - .../V1alpha/CreateFirebaseLinkRequest.php | 133 - .../V1alpha/CreateGoogleAdsLinkRequest.php | 127 - .../Admin/V1alpha/CreateKeyEventRequest.php | 132 - ...CreateMeasurementProtocolSecretRequest.php | 132 - .../Admin/V1alpha/CreatePropertyRequest.php | 95 - .../CreateReportingDataAnnotationRequest.php | 137 - .../V1alpha/CreateRollupPropertyRequest.php | 115 - .../V1alpha/CreateRollupPropertyResponse.php | 111 - .../CreateRollupPropertySourceLinkRequest.php | 132 - ...KAdNetworkConversionValueSchemaRequest.php | 132 - .../V1alpha/CreateSearchAds360LinkRequest.php | 127 - .../CreateSubpropertyEventFilterRequest.php | 132 - .../Admin/V1alpha/CustomDimension.php | 301 - .../CustomDimension/DimensionScope.php | 68 - .../Analytics/Admin/V1alpha/CustomMetric.php | 319 - .../V1alpha/CustomMetric/MeasurementUnit.php | 119 - .../V1alpha/CustomMetric/MetricScope.php | 54 - .../CustomMetric/RestrictedMetricType.php | 62 - .../Admin/V1alpha/DataRedactionSettings.php | 210 - .../Admin/V1alpha/DataRetentionSettings.php | 177 - .../RetentionDuration.php | 85 - .../Admin/V1alpha/DataSharingSettings.php | 329 - .../Analytics/Admin/V1alpha/DataStream.php | 356 - .../DataStream/AndroidAppStreamData.php | 109 - .../V1alpha/DataStream/DataStreamType.php | 68 - .../V1alpha/DataStream/IosAppStreamData.php | 109 - .../V1alpha/DataStream/WebStreamData.php | 147 - .../V1alpha/DeleteAccessBindingRequest.php | 91 - .../Admin/V1alpha/DeleteAccountRequest.php | 91 - .../V1alpha/DeleteAdSenseLinkRequest.php | 91 - .../V1alpha/DeleteBigQueryLinkRequest.php | 86 - .../V1alpha/DeleteCalculatedMetricRequest.php | 91 - .../V1alpha/DeleteChannelGroupRequest.php | 86 - .../V1alpha/DeleteConversionEventRequest.php | 91 - .../Admin/V1alpha/DeleteDataStreamRequest.php | 86 - ...yVideo360AdvertiserLinkProposalRequest.php | 86 - ...teDisplayVideo360AdvertiserLinkRequest.php | 86 - .../V1alpha/DeleteEventCreateRuleRequest.php | 86 - .../V1alpha/DeleteEventEditRuleRequest.php | 81 - .../V1alpha/DeleteExpandedDataSetRequest.php | 81 - .../V1alpha/DeleteFirebaseLinkRequest.php | 87 - .../V1alpha/DeleteGoogleAdsLinkRequest.php | 81 - .../Admin/V1alpha/DeleteKeyEventRequest.php | 91 - ...DeleteMeasurementProtocolSecretRequest.php | 91 - .../Admin/V1alpha/DeletePropertyRequest.php | 91 - .../DeleteReportingDataAnnotationRequest.php | 96 - .../DeleteRollupPropertySourceLinkRequest.php | 91 - ...KAdNetworkConversionValueSchemaRequest.php | 91 - .../V1alpha/DeleteSearchAds360LinkRequest.php | 86 - .../DeleteSubpropertyEventFilterRequest.php | 96 - .../V1alpha/DisplayVideo360AdvertiserLink.php | 409 - .../DisplayVideo360AdvertiserLinkProposal.php | 490 - .../V1alpha/EnhancedMeasurementSettings.php | 472 - .../Admin/V1alpha/EventCreateRule.php | 257 - .../Analytics/Admin/V1alpha/EventEditRule.php | 245 - .../Analytics/Admin/V1alpha/EventMapping.php | 279 - .../Admin/V1alpha/ExpandedDataSet.php | 339 - .../Admin/V1alpha/ExpandedDataSetFilter.php | 145 - .../ExpandedDataSetFilter/InListFilter.php | 113 - .../ExpandedDataSetFilter/StringFilter.php | 147 - .../StringFilter/MatchType.php | 61 - .../ExpandedDataSetFilterExpression.php | 159 - .../ExpandedDataSetFilterExpressionList.php | 67 - .../Analytics/Admin/V1alpha/FirebaseLink.php | 165 - .../Admin/V1alpha/GetAccessBindingRequest.php | 96 - .../Admin/V1alpha/GetAccountRequest.php | 91 - .../Admin/V1alpha/GetAdSenseLinkRequest.php | 91 - .../V1alpha/GetAttributionSettingsRequest.php | 86 - .../Admin/V1alpha/GetAudienceRequest.php | 86 - .../Admin/V1alpha/GetBigQueryLinkRequest.php | 91 - .../V1alpha/GetCalculatedMetricRequest.php | 91 - .../Admin/V1alpha/GetChannelGroupRequest.php | 86 - .../V1alpha/GetConversionEventRequest.php | 91 - .../V1alpha/GetCustomDimensionRequest.php | 86 - .../Admin/V1alpha/GetCustomMetricRequest.php | 86 - .../GetDataRedactionSettingsRequest.php | 96 - .../GetDataRetentionSettingsRequest.php | 96 - .../V1alpha/GetDataSharingSettingsRequest.php | 92 - .../Admin/V1alpha/GetDataStreamRequest.php | 86 - ...yVideo360AdvertiserLinkProposalRequest.php | 86 - ...etDisplayVideo360AdvertiserLinkRequest.php | 86 - .../GetEnhancedMeasurementSettingsRequest.php | 96 - .../V1alpha/GetEventCreateRuleRequest.php | 86 - .../Admin/V1alpha/GetEventEditRuleRequest.php | 86 - .../V1alpha/GetExpandedDataSetRequest.php | 86 - .../Admin/V1alpha/GetGlobalSiteTagRequest.php | 97 - .../GetGoogleSignalsSettingsRequest.php | 86 - .../Admin/V1alpha/GetKeyEventRequest.php | 91 - .../GetMeasurementProtocolSecretRequest.php | 91 - .../Admin/V1alpha/GetPropertyRequest.php | 91 - .../GetReportingDataAnnotationRequest.php | 96 - .../GetReportingIdentitySettingsRequest.php | 96 - .../GetRollupPropertySourceLinkRequest.php | 96 - ...KAdNetworkConversionValueSchemaRequest.php | 91 - .../V1alpha/GetSearchAds360LinkRequest.php | 86 - .../GetSubpropertyEventFilterRequest.php | 96 - .../GetSubpropertySyncConfigRequest.php | 96 - .../Analytics/Admin/V1alpha/GlobalSiteTag.php | 114 - .../Analytics/Admin/V1alpha/GoogleAdsLink.php | 358 - .../Admin/V1alpha/GoogleSignalsConsent.php | 63 - .../Admin/V1alpha/GoogleSignalsSettings.php | 143 - .../Admin/V1alpha/GoogleSignalsState.php | 62 - .../Analytics/Admin/V1alpha/GroupingRule.php | 111 - .../Admin/V1alpha/IndustryCategory.php | 229 - .../Analytics/Admin/V1alpha/KeyEvent.php | 323 - .../Admin/V1alpha/KeyEvent/CountingMethod.php | 63 - .../Admin/V1alpha/KeyEvent/DefaultValue.php | 121 - .../V1alpha/LinkProposalInitiatingProduct.php | 62 - .../Admin/V1alpha/LinkProposalState.php | 97 - .../V1alpha/LinkProposalStatusDetails.php | 135 - .../V1alpha/ListAccessBindingsRequest.php | 183 - .../V1alpha/ListAccessBindingsResponse.php | 109 - .../V1alpha/ListAccountSummariesRequest.php | 125 - .../V1alpha/ListAccountSummariesResponse.php | 105 - .../Admin/V1alpha/ListAccountsRequest.php | 167 - .../Admin/V1alpha/ListAccountsResponse.php | 105 - .../Admin/V1alpha/ListAdSenseLinksRequest.php | 179 - .../V1alpha/ListAdSenseLinksResponse.php | 105 - .../Admin/V1alpha/ListAudiencesRequest.php | 169 - .../Admin/V1alpha/ListAudiencesResponse.php | 105 - .../V1alpha/ListBigQueryLinksRequest.php | 183 - .../V1alpha/ListBigQueryLinksResponse.php | 105 - .../V1alpha/ListCalculatedMetricsRequest.php | 169 - .../V1alpha/ListCalculatedMetricsResponse.php | 105 - .../V1alpha/ListChannelGroupsRequest.php | 174 - .../V1alpha/ListChannelGroupsResponse.php | 109 - .../V1alpha/ListConversionEventsRequest.php | 174 - .../V1alpha/ListConversionEventsResponse.php | 105 - .../V1alpha/ListCustomDimensionsRequest.php | 169 - .../V1alpha/ListCustomDimensionsResponse.php | 105 - .../V1alpha/ListCustomMetricsRequest.php | 169 - .../V1alpha/ListCustomMetricsResponse.php | 105 - .../Admin/V1alpha/ListDataStreamsRequest.php | 169 - .../Admin/V1alpha/ListDataStreamsResponse.php | 105 - ...Video360AdvertiserLinkProposalsRequest.php | 177 - ...ideo360AdvertiserLinkProposalsResponse.php | 105 - ...tDisplayVideo360AdvertiserLinksRequest.php | 173 - ...DisplayVideo360AdvertiserLinksResponse.php | 105 - .../V1alpha/ListEventCreateRulesRequest.php | 169 - .../V1alpha/ListEventCreateRulesResponse.php | 109 - .../V1alpha/ListEventEditRulesRequest.php | 169 - .../V1alpha/ListEventEditRulesResponse.php | 109 - .../V1alpha/ListExpandedDataSetsRequest.php | 169 - .../V1alpha/ListExpandedDataSetsResponse.php | 109 - .../V1alpha/ListFirebaseLinksRequest.php | 179 - .../V1alpha/ListFirebaseLinksResponse.php | 113 - .../V1alpha/ListGoogleAdsLinksRequest.php | 169 - .../V1alpha/ListGoogleAdsLinksResponse.php | 105 - .../Admin/V1alpha/ListKeyEventsRequest.php | 174 - .../Admin/V1alpha/ListKeyEventsResponse.php | 105 - .../ListMeasurementProtocolSecretsRequest.php | 183 - ...ListMeasurementProtocolSecretsResponse.php | 105 - .../Admin/V1alpha/ListPropertiesRequest.php | 257 - .../Admin/V1alpha/ListPropertiesResponse.php | 105 - .../ListReportingDataAnnotationsRequest.php | 361 - .../ListReportingDataAnnotationsResponse.php | 105 - .../ListRollupPropertySourceLinksRequest.php | 182 - .../ListRollupPropertySourceLinksResponse.php | 105 - ...AdNetworkConversionValueSchemasRequest.php | 192 - ...dNetworkConversionValueSchemasResponse.php | 121 - .../V1alpha/ListSearchAds360LinksRequest.php | 173 - .../V1alpha/ListSearchAds360LinksResponse.php | 105 - .../ListSubpropertyEventFiltersRequest.php | 187 - .../ListSubpropertyEventFiltersResponse.php | 105 - .../ListSubpropertySyncConfigsRequest.php | 187 - .../ListSubpropertySyncConfigsResponse.php | 105 - .../Admin/V1alpha/MatchingCondition.php | 202 - .../MatchingCondition/ComparisonType.php | 145 - .../V1alpha/MeasurementProtocolSecret.php | 151 - .../Analytics/Admin/V1alpha/NumericValue.php | 108 - .../Admin/V1alpha/ParameterMutation.php | 145 - .../Admin/V1alpha/PostbackWindow.php | 137 - .../Analytics/Admin/V1alpha/Property.php | 607 - .../Admin/V1alpha/PropertySummary.php | 189 - .../Analytics/Admin/V1alpha/PropertyType.php | 68 - .../V1alpha/ProvisionAccountTicketRequest.php | 115 - .../ProvisionAccountTicketResponse.php | 67 - .../V1alpha/ProvisionSubpropertyRequest.php | 159 - .../V1alpha/ProvisionSubpropertyResponse.php | 121 - .../V1alpha/ReorderEventEditRulesRequest.php | 109 - .../Admin/V1alpha/ReportingDataAnnotation.php | 304 - .../V1alpha/ReportingDataAnnotation/Color.php | 96 - .../ReportingDataAnnotation/DateRange.php | 138 - .../V1alpha/ReportingIdentitySettings.php | 113 - .../ReportingIdentity.php | 68 - .../V1alpha/RollupPropertySourceLink.php | 121 - .../Admin/V1alpha/RunAccessReportRequest.php | 679 - .../Admin/V1alpha/RunAccessReportResponse.php | 257 - .../SKAdNetworkConversionValueSchema.php | 309 - .../Admin/V1alpha/SearchAds360Link.php | 489 - .../SearchChangeHistoryEventsRequest.php | 435 - .../SearchChangeHistoryEventsResponse.php | 105 - .../Analytics/Admin/V1alpha/ServiceLevel.php | 61 - .../V1alpha/SubmitUserDeletionRequest.php | 258 - .../V1alpha/SubmitUserDeletionResponse.php | 85 - .../Admin/V1alpha/SubpropertyEventFilter.php | 161 - .../V1alpha/SubpropertyEventFilterClause.php | 118 - .../FilterClauseType.php | 66 - .../SubpropertyEventFilterCondition.php | 142 - .../StringFilter.php | 139 - .../StringFilter/MatchType.php | 89 - .../SubpropertyEventFilterExpression.php | 153 - .../SubpropertyEventFilterExpressionList.php | 67 - .../Admin/V1alpha/SubpropertySyncConfig.php | 181 - .../SynchronizationMode.php | 64 - .../V1alpha/UpdateAccessBindingRequest.php | 90 - .../Admin/V1alpha/UpdateAccountRequest.php | 156 - .../UpdateAttributionSettingsRequest.php | 156 - .../Admin/V1alpha/UpdateAudienceRequest.php | 156 - .../V1alpha/UpdateBigQueryLinkRequest.php | 156 - .../V1alpha/UpdateCalculatedMetricRequest.php | 146 - .../V1alpha/UpdateChannelGroupRequest.php | 161 - .../V1alpha/UpdateConversionEventRequest.php | 156 - .../V1alpha/UpdateCustomDimensionRequest.php | 146 - .../V1alpha/UpdateCustomMetricRequest.php | 146 - .../UpdateDataRedactionSettingsRequest.php | 156 - .../UpdateDataRetentionSettingsRequest.php | 156 - .../Admin/V1alpha/UpdateDataStreamRequest.php | 146 - ...teDisplayVideo360AdvertiserLinkRequest.php | 146 - ...dateEnhancedMeasurementSettingsRequest.php | 156 - .../V1alpha/UpdateEventCreateRuleRequest.php | 161 - .../V1alpha/UpdateEventEditRuleRequest.php | 161 - .../V1alpha/UpdateExpandedDataSetRequest.php | 161 - .../V1alpha/UpdateGoogleAdsLinkRequest.php | 151 - .../UpdateGoogleSignalsSettingsRequest.php | 156 - .../Admin/V1alpha/UpdateKeyEventRequest.php | 156 - ...UpdateMeasurementProtocolSecretRequest.php | 141 - .../Admin/V1alpha/UpdatePropertyRequest.php | 161 - .../UpdateReportingDataAnnotationRequest.php | 151 - ...KAdNetworkConversionValueSchemaRequest.php | 141 - .../V1alpha/UpdateSearchAds360LinkRequest.php | 146 - .../UpdateSubpropertyEventFilterRequest.php | 151 - .../UpdateSubpropertySyncConfigRequest.php | 151 - .../acknowledge_user_data_collection.php | 87 - ...play_video360_advertiser_link_proposal.php | 77 - .../archive_audience.php | 69 - .../archive_custom_dimension.php | 73 - .../archive_custom_metric.php | 70 - .../batch_create_access_bindings.php | 94 - .../batch_delete_access_bindings.php | 88 - .../batch_get_access_bindings.php | 89 - .../batch_update_access_bindings.php | 84 - ...play_video360_advertiser_link_proposal.php | 79 - .../create_access_binding.php | 75 - .../create_ad_sense_link.php | 75 - .../create_audience.php | 102 - .../create_big_query_link.php | 80 - .../create_calculated_metric.php | 112 - .../create_channel_group.php | 95 - .../create_conversion_event.php | 75 - .../create_custom_dimension.php | 107 - .../create_custom_metric.php | 108 - .../create_data_stream.php | 77 - ...reate_display_video360_advertiser_link.php | 77 - ...play_video360_advertiser_link_proposal.php | 73 - .../create_event_create_rule.php | 113 - .../create_event_edit_rule.php | 134 - .../create_expanded_data_set.php | 79 - .../create_firebase_link.php | 77 - .../create_google_ads_link.php | 73 - .../create_key_event.php | 79 - .../create_measurement_protocol_secret.php | 79 - .../create_property.php | 86 - .../create_reporting_data_annotation.php | 97 - .../create_rollup_property.php | 88 - .../create_rollup_property_source_link.php | 76 - .../create_search_ads360_link.php | 73 - ..._sk_ad_network_conversion_value_schema.php | 77 - .../create_subproperty_event_filter.php | 90 - .../delete_access_binding.php | 71 - .../delete_account.php | 81 - .../delete_ad_sense_link.php | 71 - .../delete_big_query_link.php | 70 - .../delete_calculated_metric.php | 74 - .../delete_channel_group.php | 70 - .../delete_conversion_event.php | 75 - .../delete_data_stream.php | 70 - ...elete_display_video360_advertiser_link.php | 73 - ...play_video360_advertiser_link_proposal.php | 74 - .../delete_event_create_rule.php | 74 - .../delete_event_edit_rule.php | 73 - .../delete_expanded_data_set.php | 72 - .../delete_firebase_link.php | 71 - .../delete_google_ads_link.php | 69 - .../delete_key_event.php | 71 - .../delete_measurement_protocol_secret.php | 75 - .../delete_property.php | 83 - .../delete_reporting_data_annotation.php | 75 - .../delete_rollup_property_source_link.php | 76 - .../delete_search_ads360_link.php | 73 - ..._sk_ad_network_conversion_value_schema.php | 75 - .../delete_subproperty_event_filter.php | 75 - .../get_access_binding.php | 74 - .../get_account.php | 73 - .../get_ad_sense_link.php | 73 - .../get_attribution_settings.php | 72 - .../get_audience.php | 74 - .../get_big_query_link.php | 73 - .../get_calculated_metric.php | 76 - .../get_channel_group.php | 72 - .../get_conversion_event.php | 77 - .../get_custom_dimension.php | 75 - .../get_custom_metric.php | 72 - .../get_data_redaction_settings.php | 77 - .../get_data_retention_settings.php | 74 - .../get_data_sharing_settings.php | 75 - .../get_data_stream.php | 72 - .../get_display_video360_advertiser_link.php | 75 - ...play_video360_advertiser_link_proposal.php | 75 - .../get_enhanced_measurement_settings.php | 79 - .../get_event_create_rule.php | 76 - .../get_event_edit_rule.php | 76 - .../get_expanded_data_set.php | 75 - .../get_global_site_tag.php | 76 - .../get_google_signals_settings.php | 72 - .../get_key_event.php | 73 - .../get_measurement_protocol_secret.php | 77 - .../get_property.php | 73 - .../get_reporting_data_annotation.php | 77 - .../get_reporting_identity_settings.php | 74 - .../get_rollup_property_source_link.php | 79 - .../get_search_ads360_link.php | 75 - ..._sk_ad_network_conversion_value_schema.php | 77 - .../get_subproperty_event_filter.php | 77 - .../get_subproperty_sync_config.php | 77 - .../list_access_bindings.php | 78 - .../list_account_summaries.php | 62 - .../list_accounts.php | 66 - .../list_ad_sense_links.php | 78 - .../list_audiences.php | 78 - .../list_big_query_links.php | 78 - .../list_calculated_metrics.php | 76 - .../list_channel_groups.php | 77 - .../list_conversion_events.php | 80 - .../list_custom_dimensions.php | 76 - .../list_custom_metrics.php | 76 - .../list_data_streams.php | 76 - ...lay_video360_advertiser_link_proposals.php | 76 - ...list_display_video360_advertiser_links.php | 76 - .../list_event_create_rules.php | 76 - .../list_event_edit_rules.php | 76 - .../list_expanded_data_sets.php | 76 - .../list_firebase_links.php | 79 - .../list_google_ads_links.php | 76 - .../list_key_events.php | 78 - .../list_measurement_protocol_secrets.php | 79 - .../list_properties.php | 94 - .../list_reporting_data_annotations.php | 78 - .../list_rollup_property_source_links.php | 79 - .../list_search_ads360_links.php | 76 - ...sk_ad_network_conversion_value_schemas.php | 80 - .../list_subproperty_event_filters.php | 78 - .../list_subproperty_sync_configs.php | 78 - .../provision_account_ticket.php | 57 - .../provision_subproperty.php | 89 - .../reorder_event_edit_rules.php | 77 - .../run_access_report.php | 76 - .../search_change_history_events.php | 83 - .../submit_user_deletion.php | 71 - .../update_access_binding.php | 59 - .../update_account.php | 75 - .../update_attribution_settings.php | 107 - .../update_audience.php | 99 - .../update_big_query_link.php | 77 - .../update_calculated_metric.php | 96 - .../update_channel_group.php | 88 - .../update_conversion_event.php | 63 - .../update_custom_dimension.php | 60 - .../update_custom_metric.php | 60 - .../update_data_redaction_settings.php | 62 - .../update_data_retention_settings.php | 84 - .../update_data_stream.php | 60 - ...pdate_display_video360_advertiser_link.php | 60 - .../update_enhanced_measurement_settings.php | 79 - .../update_event_create_rule.php | 110 - .../update_event_edit_rule.php | 131 - .../update_expanded_data_set.php | 76 - .../update_google_ads_link.php | 60 - .../update_google_signals_settings.php | 62 - .../update_key_event.php | 77 - .../update_measurement_protocol_secret.php | 76 - .../update_property.php | 88 - .../update_reporting_data_annotation.php | 89 - .../update_search_ads360_link.php | 60 - ..._sk_ad_network_conversion_value_schema.php | 65 - .../update_subproperty_event_filter.php | 84 - .../update_subproperty_sync_config.php | 84 - .../Client/AnalyticsAdminServiceClient.php | 5889 -------- .../v1alpha/src/V1alpha/gapic_metadata.json | 793 -- ...analytics_admin_service_client_config.json | 820 -- ...lytics_admin_service_descriptor_config.php | 2133 --- ...ytics_admin_service_rest_client_config.php | 1929 --- .../AnalyticsAdminServiceClientTest.php | 11424 ---------------- .../Analytics/Admin/V1Beta/AccessReport.php | 24 - .../Analytics/Admin/V1Beta/AnalyticsAdmin.php | 33 - .../Analytics/Admin/V1Beta/Resources.php | 28 - .../Admin/V1beta/AccessBetweenFilter.php | 121 - .../Admin/V1beta/AccessDateRange.php | 125 - .../Admin/V1beta/AccessDimension.php | 81 - .../Admin/V1beta/AccessDimensionHeader.php | 70 - .../Admin/V1beta/AccessDimensionValue.php | 71 - .../Analytics/Admin/V1beta/AccessFilter.php | 208 - .../Admin/V1beta/AccessFilterExpression.php | 178 - .../V1beta/AccessFilterExpressionList.php | 67 - .../Admin/V1beta/AccessInListFilter.php | 101 - .../Analytics/Admin/V1beta/AccessMetric.php | 80 - .../Admin/V1beta/AccessMetricHeader.php | 70 - .../Admin/V1beta/AccessMetricValue.php | 67 - .../Admin/V1beta/AccessNumericFilter.php | 111 - .../V1beta/AccessNumericFilter/Operation.php | 82 - .../Analytics/Admin/V1beta/AccessOrderBy.php | 148 - .../V1beta/AccessOrderBy/DimensionOrderBy.php | 101 - .../DimensionOrderBy/OrderType.php | 73 - .../V1beta/AccessOrderBy/MetricOrderBy.php | 67 - .../Analytics/Admin/V1beta/AccessQuota.php | 283 - .../Admin/V1beta/AccessQuotaStatus.php | 101 - .../Analytics/Admin/V1beta/AccessRow.php | 109 - .../Admin/V1beta/AccessStringFilter.php | 135 - .../V1beta/AccessStringFilter/MatchType.php | 89 - .../Google/Analytics/Admin/V1beta/Account.php | 311 - .../Analytics/Admin/V1beta/AccountSummary.php | 186 - .../AcknowledgeUserDataCollectionRequest.php | 125 - .../AcknowledgeUserDataCollectionResponse.php | 33 - .../Analytics/Admin/V1beta/ActionType.php | 68 - .../Analytics/Admin/V1beta/ActorType.php | 69 - .../V1beta/ArchiveCustomDimensionRequest.php | 86 - .../V1beta/ArchiveCustomMetricRequest.php | 86 - .../Admin/V1beta/ChangeHistoryChange.php | 197 - .../ChangeHistoryResource.php | 307 - .../Admin/V1beta/ChangeHistoryEvent.php | 266 - .../V1beta/ChangeHistoryResourceType.php | 145 - .../Admin/V1beta/ConversionEvent.php | 331 - .../ConversionCountingMethod.php | 63 - .../DefaultConversionValue.php | 138 - .../V1beta/CreateConversionEventRequest.php | 132 - .../V1beta/CreateCustomDimensionRequest.php | 127 - .../V1beta/CreateCustomMetricRequest.php | 127 - .../Admin/V1beta/CreateDataStreamRequest.php | 127 - .../V1beta/CreateFirebaseLinkRequest.php | 133 - .../V1beta/CreateGoogleAdsLinkRequest.php | 127 - .../Admin/V1beta/CreateKeyEventRequest.php | 132 - ...CreateMeasurementProtocolSecretRequest.php | 132 - .../Admin/V1beta/CreatePropertyRequest.php | 95 - .../Admin/V1beta/CustomDimension.php | 301 - .../V1beta/CustomDimension/DimensionScope.php | 68 - .../Analytics/Admin/V1beta/CustomMetric.php | 319 - .../V1beta/CustomMetric/MeasurementUnit.php | 119 - .../Admin/V1beta/CustomMetric/MetricScope.php | 54 - .../CustomMetric/RestrictedMetricType.php | 62 - .../Admin/V1beta/DataRetentionSettings.php | 177 - .../RetentionDuration.php | 85 - .../Admin/V1beta/DataSharingSettings.php | 262 - .../Analytics/Admin/V1beta/DataStream.php | 356 - .../DataStream/AndroidAppStreamData.php | 109 - .../V1beta/DataStream/DataStreamType.php | 68 - .../V1beta/DataStream/IosAppStreamData.php | 109 - .../Admin/V1beta/DataStream/WebStreamData.php | 147 - .../Admin/V1beta/DeleteAccountRequest.php | 91 - .../V1beta/DeleteConversionEventRequest.php | 91 - .../Admin/V1beta/DeleteDataStreamRequest.php | 86 - .../V1beta/DeleteFirebaseLinkRequest.php | 87 - .../V1beta/DeleteGoogleAdsLinkRequest.php | 81 - .../Admin/V1beta/DeleteKeyEventRequest.php | 91 - ...DeleteMeasurementProtocolSecretRequest.php | 91 - .../Admin/V1beta/DeletePropertyRequest.php | 91 - .../Analytics/Admin/V1beta/FirebaseLink.php | 165 - .../Admin/V1beta/GetAccountRequest.php | 91 - .../V1beta/GetConversionEventRequest.php | 91 - .../V1beta/GetCustomDimensionRequest.php | 86 - .../Admin/V1beta/GetCustomMetricRequest.php | 86 - .../GetDataRetentionSettingsRequest.php | 96 - .../V1beta/GetDataSharingSettingsRequest.php | 92 - .../Admin/V1beta/GetDataStreamRequest.php | 86 - .../Admin/V1beta/GetKeyEventRequest.php | 91 - .../GetMeasurementProtocolSecretRequest.php | 91 - .../Admin/V1beta/GetPropertyRequest.php | 91 - .../Analytics/Admin/V1beta/GoogleAdsLink.php | 358 - .../Admin/V1beta/IndustryCategory.php | 229 - .../Analytics/Admin/V1beta/KeyEvent.php | 323 - .../Admin/V1beta/KeyEvent/CountingMethod.php | 63 - .../Admin/V1beta/KeyEvent/DefaultValue.php | 121 - .../V1beta/ListAccountSummariesRequest.php | 125 - .../V1beta/ListAccountSummariesResponse.php | 105 - .../Admin/V1beta/ListAccountsRequest.php | 167 - .../Admin/V1beta/ListAccountsResponse.php | 105 - .../V1beta/ListConversionEventsRequest.php | 174 - .../V1beta/ListConversionEventsResponse.php | 105 - .../V1beta/ListCustomDimensionsRequest.php | 169 - .../V1beta/ListCustomDimensionsResponse.php | 105 - .../Admin/V1beta/ListCustomMetricsRequest.php | 169 - .../V1beta/ListCustomMetricsResponse.php | 105 - .../Admin/V1beta/ListDataStreamsRequest.php | 169 - .../Admin/V1beta/ListDataStreamsResponse.php | 105 - .../Admin/V1beta/ListFirebaseLinksRequest.php | 179 - .../V1beta/ListFirebaseLinksResponse.php | 113 - .../V1beta/ListGoogleAdsLinksRequest.php | 169 - .../V1beta/ListGoogleAdsLinksResponse.php | 105 - .../Admin/V1beta/ListKeyEventsRequest.php | 174 - .../Admin/V1beta/ListKeyEventsResponse.php | 105 - .../ListMeasurementProtocolSecretsRequest.php | 179 - ...ListMeasurementProtocolSecretsResponse.php | 105 - .../Admin/V1beta/ListPropertiesRequest.php | 257 - .../Admin/V1beta/ListPropertiesResponse.php | 105 - .../V1beta/MeasurementProtocolSecret.php | 151 - .../Analytics/Admin/V1beta/NumericValue.php | 108 - .../Analytics/Admin/V1beta/Property.php | 607 - .../Admin/V1beta/PropertySummary.php | 189 - .../Analytics/Admin/V1beta/PropertyType.php | 68 - .../V1beta/ProvisionAccountTicketRequest.php | 115 - .../V1beta/ProvisionAccountTicketResponse.php | 67 - .../Admin/V1beta/RunAccessReportRequest.php | 679 - .../Admin/V1beta/RunAccessReportResponse.php | 257 - .../SearchChangeHistoryEventsRequest.php | 435 - .../SearchChangeHistoryEventsResponse.php | 105 - .../Analytics/Admin/V1beta/ServiceLevel.php | 61 - .../Admin/V1beta/UpdateAccountRequest.php | 156 - .../V1beta/UpdateConversionEventRequest.php | 156 - .../V1beta/UpdateCustomDimensionRequest.php | 146 - .../V1beta/UpdateCustomMetricRequest.php | 146 - .../UpdateDataRetentionSettingsRequest.php | 156 - .../Admin/V1beta/UpdateDataStreamRequest.php | 146 - .../V1beta/UpdateGoogleAdsLinkRequest.php | 151 - .../Admin/V1beta/UpdateKeyEventRequest.php | 156 - ...UpdateMeasurementProtocolSecretRequest.php | 141 - .../Admin/V1beta/UpdatePropertyRequest.php | 161 - .../acknowledge_user_data_collection.php | 87 - .../archive_custom_dimension.php | 73 - .../archive_custom_metric.php | 70 - .../create_conversion_event.php | 75 - .../create_custom_dimension.php | 107 - .../create_custom_metric.php | 108 - .../create_data_stream.php | 77 - .../create_firebase_link.php | 77 - .../create_google_ads_link.php | 73 - .../create_key_event.php | 79 - .../create_measurement_protocol_secret.php | 79 - .../create_property.php | 86 - .../delete_account.php | 81 - .../delete_conversion_event.php | 75 - .../delete_data_stream.php | 70 - .../delete_firebase_link.php | 71 - .../delete_google_ads_link.php | 69 - .../delete_key_event.php | 71 - .../delete_measurement_protocol_secret.php | 75 - .../delete_property.php | 83 - .../get_account.php | 73 - .../get_conversion_event.php | 77 - .../get_custom_dimension.php | 75 - .../get_custom_metric.php | 72 - .../get_data_retention_settings.php | 74 - .../get_data_sharing_settings.php | 75 - .../get_data_stream.php | 72 - .../get_key_event.php | 73 - .../get_measurement_protocol_secret.php | 77 - .../get_property.php | 73 - .../list_account_summaries.php | 62 - .../list_accounts.php | 66 - .../list_conversion_events.php | 80 - .../list_custom_dimensions.php | 76 - .../list_custom_metrics.php | 76 - .../list_data_streams.php | 76 - .../list_firebase_links.php | 79 - .../list_google_ads_links.php | 76 - .../list_key_events.php | 78 - .../list_measurement_protocol_secrets.php | 79 - .../list_properties.php | 94 - .../provision_account_ticket.php | 57 - .../run_access_report.php | 76 - .../search_change_history_events.php | 83 - .../update_account.php | 75 - .../update_conversion_event.php | 63 - .../update_custom_dimension.php | 60 - .../update_custom_metric.php | 60 - .../update_data_retention_settings.php | 84 - .../update_data_stream.php | 60 - .../update_google_ads_link.php | 60 - .../update_key_event.php | 77 - .../update_measurement_protocol_secret.php | 76 - .../update_property.php | 88 - .../Client/AnalyticsAdminServiceClient.php | 2203 --- .../v1beta/src/V1beta/gapic_metadata.json | 288 - ...analytics_admin_service_client_config.json | 305 - ...lytics_admin_service_descriptor_config.php | 757 - ...ytics_admin_service_rest_client_config.php | 663 - .../AnalyticsAdminServiceClientTest.php | 4019 ------ 740 files changed, 530 insertions(+), 115032 deletions(-) rename {owl-bot-staging/AnalyticsAdmin/v1alpha => AnalyticsAdmin}/samples/V1alpha/AnalyticsAdminServiceClient/get_user_provided_data_settings.php (100%) rename {owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin => AnalyticsAdmin/src}/V1alpha/GetUserProvidedDataSettingsRequest.php (100%) rename {owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin => AnalyticsAdmin/src}/V1alpha/UserProvidedDataSettings.php (100%) delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AccessReport.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AnalyticsAdmin.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Audience.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ChannelGroup.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/EventCreateAndEdit.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ExpandedDataSet.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Resources.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/SubpropertyEventFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBetweenFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBinding.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDateRange.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimension.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionHeader.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionValue.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpression.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpressionList.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessInListFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricHeader.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricValue.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter/Operation.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy/OrderType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/MetricOrderBy.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuota.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuotaStatus.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessRow.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter/MatchType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Account.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccountSummary.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActionType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActorType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AdSenseLink.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveAudienceRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomDimensionRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomMetricRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AcquisitionConversionEventLookbackWindow.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AdsWebConversionDataExportScope.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/OtherConversionEventLookbackWindow.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/ReportingAttributionModel.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience/AudienceExclusionDurationMode.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/BetweenFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/InListFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter/Operation.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericValue.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter/MatchType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger/LogCondition.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause/AudienceClauseType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpression.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpressionList.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterScope.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSimpleFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchDeleteAccessBindingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BigQueryLink.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/MetricUnit.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/RestrictedMetricType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryEvent.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryResourceType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroup.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/InListFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter/MatchType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpression.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpressionList.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CoarseValue.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/ConversionCountingMethod.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/DefaultConversionValue.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionValues.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAccessBindingRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAdSenseLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAudienceRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateBigQueryLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCalculatedMetricRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateChannelGroupRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateConversionEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomDimensionRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomMetricRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDataStreamRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventCreateRuleRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventEditRuleRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateExpandedDataSetRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateFirebaseLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateGoogleAdsLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateKeyEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateMeasurementProtocolSecretRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreatePropertyRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateReportingDataAnnotationRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertySourceLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSKAdNetworkConversionValueSchemaRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSearchAds360LinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSubpropertyEventFilterRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension/DimensionScope.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MeasurementUnit.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MetricScope.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/RestrictedMetricType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRedactionSettings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings/RetentionDuration.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataSharingSettings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/AndroidAppStreamData.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/DataStreamType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/IosAppStreamData.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/WebStreamData.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccessBindingRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccountRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAdSenseLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteBigQueryLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteCalculatedMetricRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteChannelGroupRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteConversionEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDataStreamRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventCreateRuleRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventEditRuleRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteExpandedDataSetRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteFirebaseLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteGoogleAdsLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteKeyEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteMeasurementProtocolSecretRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeletePropertyRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteReportingDataAnnotationRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteRollupPropertySourceLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSearchAds360LinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSubpropertyEventFilterRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLink.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLinkProposal.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EnhancedMeasurementSettings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventCreateRule.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventEditRule.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventMapping.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSet.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/InListFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter/MatchType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilterExpression.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilterExpressionList.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/FirebaseLink.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccessBindingRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccountRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAdSenseLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAttributionSettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAudienceRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetBigQueryLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCalculatedMetricRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetChannelGroupRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetConversionEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomDimensionRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomMetricRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRedactionSettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRetentionSettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataSharingSettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataStreamRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEnhancedMeasurementSettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventCreateRuleRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventEditRuleRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetExpandedDataSetRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGlobalSiteTagRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGoogleSignalsSettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetKeyEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetMeasurementProtocolSecretRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetPropertyRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingDataAnnotationRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingIdentitySettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetRollupPropertySourceLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSKAdNetworkConversionValueSchemaRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSearchAds360LinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertyEventFilterRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertySyncConfigRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GlobalSiteTag.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleAdsLink.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsConsent.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsSettings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsState.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GroupingRule.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/IndustryCategory.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/CountingMethod.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/DefaultValue.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalInitiatingProduct.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalState.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalStatusDetails.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition/ComparisonType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MeasurementProtocolSecret.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/NumericValue.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ParameterMutation.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PostbackWindow.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Property.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertySummary.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertyType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReorderEventEditRulesRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/Color.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/DateRange.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings/ReportingIdentity.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RollupPropertySourceLink.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SKAdNetworkConversionValueSchema.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchAds360Link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ServiceLevel.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause/FilterClauseType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter/MatchType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpression.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpressionList.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig/SynchronizationMode.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccessBindingRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccountRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAttributionSettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAudienceRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateBigQueryLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCalculatedMetricRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateChannelGroupRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateConversionEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomDimensionRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomMetricRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRedactionSettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRetentionSettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataStreamRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEnhancedMeasurementSettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventCreateRuleRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventEditRuleRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateExpandedDataSetRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleAdsLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleSignalsSettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateKeyEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateMeasurementProtocolSecretRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdatePropertyRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateReportingDataAnnotationRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSearchAds360LinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertyEventFilterRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertySyncConfigRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/approve_display_video360_advertiser_link_proposal.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_audience.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_dimension.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_metric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_access_bindings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_delete_access_bindings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_get_access_bindings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_update_access_bindings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/cancel_display_video360_advertiser_link_proposal.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_access_binding.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_ad_sense_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_audience.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_big_query_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_calculated_metric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_channel_group.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_conversion_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_dimension.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_metric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_data_stream.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link_proposal.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_create_rule.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_edit_rule.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_expanded_data_set.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_firebase_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_google_ads_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_key_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_property.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_reporting_data_annotation.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property_source_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_search_ads360_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_sk_ad_network_conversion_value_schema.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty_event_filter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_access_binding.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_account.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_ad_sense_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_big_query_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_calculated_metric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_channel_group.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_conversion_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_data_stream.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link_proposal.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_create_rule.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_edit_rule.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_expanded_data_set.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_firebase_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_google_ads_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_key_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_reporting_data_annotation.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_rollup_property_source_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_search_ads360_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_sk_ad_network_conversion_value_schema.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_subproperty_event_filter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_access_binding.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_account.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_ad_sense_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_attribution_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_audience.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_big_query_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_calculated_metric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_channel_group.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_conversion_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_dimension.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_metric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_redaction_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_retention_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_sharing_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_stream.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link_proposal.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_enhanced_measurement_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_create_rule.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_edit_rule.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_expanded_data_set.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_global_site_tag.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_google_signals_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_key_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_property.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_data_annotation.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_identity_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_rollup_property_source_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_search_ads360_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_sk_ad_network_conversion_value_schema.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_event_filter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_sync_config.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_access_bindings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_account_summaries.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_accounts.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_ad_sense_links.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_audiences.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_big_query_links.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_calculated_metrics.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_channel_groups.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_conversion_events.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_dimensions.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_metrics.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_data_streams.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_link_proposals.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_links.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_create_rules.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_edit_rules.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_expanded_data_sets.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_firebase_links.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_google_ads_links.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_key_events.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_properties.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_reporting_data_annotations.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_rollup_property_source_links.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_search_ads360_links.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_sk_ad_network_conversion_value_schemas.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_event_filters.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_sync_configs.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_account_ticket.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_subproperty.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/reorder_event_edit_rules.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/run_access_report.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/submit_user_deletion.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_access_binding.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_account.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_attribution_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_audience.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_big_query_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_calculated_metric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_channel_group.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_conversion_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_dimension.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_metric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_redaction_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_retention_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_stream.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_display_video360_advertiser_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_enhanced_measurement_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_create_rule.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_edit_rule.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_expanded_data_set.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_ads_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_signals_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_key_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_property.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_reporting_data_annotation.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_search_ads360_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_sk_ad_network_conversion_value_schema.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_event_filter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_sync_config.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/Client/AnalyticsAdminServiceClient.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/gapic_metadata.json delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_client_config.json delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_descriptor_config.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_rest_client_config.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1alpha/tests/Unit/V1alpha/Client/AnalyticsAdminServiceClientTest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AccessReport.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AnalyticsAdmin.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/Resources.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessBetweenFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDateRange.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimension.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionHeader.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionValue.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpression.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpressionList.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessInListFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricHeader.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricValue.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter/Operation.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy/OrderType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/MetricOrderBy.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuota.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuotaStatus.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessRow.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter/MatchType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Account.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccountSummary.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActionType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActorType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomDimensionRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomMetricRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange/ChangeHistoryResource.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryEvent.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryResourceType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/ConversionCountingMethod.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/DefaultConversionValue.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateConversionEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomDimensionRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomMetricRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateDataStreamRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateFirebaseLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateGoogleAdsLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateKeyEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateMeasurementProtocolSecretRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreatePropertyRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension/DimensionScope.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MeasurementUnit.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MetricScope.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/RestrictedMetricType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings/RetentionDuration.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataSharingSettings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/AndroidAppStreamData.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/DataStreamType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/IosAppStreamData.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/WebStreamData.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteAccountRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteConversionEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteDataStreamRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteFirebaseLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteGoogleAdsLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteKeyEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteMeasurementProtocolSecretRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeletePropertyRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/FirebaseLink.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetAccountRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetConversionEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomDimensionRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomMetricRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataRetentionSettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataSharingSettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataStreamRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetKeyEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetMeasurementProtocolSecretRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetPropertyRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GoogleAdsLink.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/IndustryCategory.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/CountingMethod.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/DefaultValue.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/MeasurementProtocolSecret.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/NumericValue.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Property.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertySummary.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertyType.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsResponse.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ServiceLevel.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateAccountRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateConversionEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomDimensionRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomMetricRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataRetentionSettingsRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataStreamRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateGoogleAdsLinkRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateKeyEventRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateMeasurementProtocolSecretRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdatePropertyRequest.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_dimension.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_metric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_conversion_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_dimension.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_metric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_data_stream.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_firebase_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_google_ads_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_key_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_property.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_account.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_conversion_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_data_stream.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_firebase_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_google_ads_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_key_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_property.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_account.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_conversion_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_dimension.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_metric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_retention_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_sharing_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_stream.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_key_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_property.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_account_summaries.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_accounts.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_conversion_events.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_dimensions.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_metrics.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_data_streams.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_firebase_links.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_google_ads_links.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_key_events.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_properties.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/provision_account_ticket.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/run_access_report.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/search_change_history_events.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_account.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_conversion_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_dimension.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_metric.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_retention_settings.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_stream.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_google_ads_link.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_key_event.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_property.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/Client/AnalyticsAdminServiceClient.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/gapic_metadata.json delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_client_config.json delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_descriptor_config.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_rest_client_config.php delete mode 100644 owl-bot-staging/AnalyticsAdmin/v1beta/tests/Unit/V1beta/Client/AnalyticsAdminServiceClientTest.php diff --git a/AnalyticsAdmin/metadata/V1Alpha/AnalyticsAdmin.php b/AnalyticsAdmin/metadata/V1Alpha/AnalyticsAdmin.php index 0a9747d42d30..31f58032e9c1 100644 --- a/AnalyticsAdmin/metadata/V1Alpha/AnalyticsAdmin.php +++ b/AnalyticsAdmin/metadata/V1Alpha/AnalyticsAdmin.php @@ -29,7 +29,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\xE2\xF9\x03\x0A4google/analytics/admin/v1alpha/analytics_admin.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A-google/analytics/admin/v1alpha/audience.proto\x1A2google/analytics/admin/v1alpha/channel_group.proto\x1A:google/analytics/admin/v1alpha/event_create_and_edit.proto\x1A6google/analytics/admin/v1alpha/expanded_data_set.proto\x1A.google/analytics/admin/v1alpha/resources.proto\x1A=google/analytics/admin/v1alpha/subproperty_event_filter.proto\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xE0\x04\x0A\x16RunAccessReportRequest\x12\x0E\x0A\x06entity\x18\x01 \x01(\x09\x12C\x0A\x0Adimensions\x18\x02 \x03(\x0B2/.google.analytics.admin.v1alpha.AccessDimension\x12=\x0A\x07metrics\x18\x03 \x03(\x0B2,.google.analytics.admin.v1alpha.AccessMetric\x12D\x0A\x0Bdate_ranges\x18\x04 \x03(\x0B2/.google.analytics.admin.v1alpha.AccessDateRange\x12P\x0A\x10dimension_filter\x18\x05 \x01(\x0B26.google.analytics.admin.v1alpha.AccessFilterExpression\x12M\x0A\x0Dmetric_filter\x18\x06 \x01(\x0B26.google.analytics.admin.v1alpha.AccessFilterExpression\x12\x0E\x0A\x06offset\x18\x07 \x01(\x03\x12\x0D\x0A\x05limit\x18\x08 \x01(\x03\x12\x11\x0A\x09time_zone\x18\x09 \x01(\x09\x12@\x0A\x09order_bys\x18\x0A \x03(\x0B2-.google.analytics.admin.v1alpha.AccessOrderBy\x12\x1B\x0A\x13return_entity_quota\x18\x0B \x01(\x08\x12\x1E\x0A\x11include_all_users\x18\x0C \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dexpand_groups\x18\x0D \x01(\x08B\x03\xE0A\x01\"\xBF\x02\x0A\x17RunAccessReportResponse\x12P\x0A\x11dimension_headers\x18\x01 \x03(\x0B25.google.analytics.admin.v1alpha.AccessDimensionHeader\x12J\x0A\x0Emetric_headers\x18\x02 \x03(\x0B22.google.analytics.admin.v1alpha.AccessMetricHeader\x127\x0A\x04rows\x18\x03 \x03(\x0B2).google.analytics.admin.v1alpha.AccessRow\x12\x11\x0A\x09row_count\x18\x04 \x01(\x05\x12:\x0A\x05quota\x18\x05 \x01(\x0B2+.google.analytics.admin.v1alpha.AccessQuota\"P\x0A\x11GetAccountRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\"R\x0A\x13ListAccountsRequest\x12\x11\x0A\x09page_size\x18\x01 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x14\x0A\x0Cshow_deleted\x18\x03 \x01(\x08\"j\x0A\x14ListAccountsResponse\x129\x0A\x08accounts\x18\x01 \x03(\x0B2'.google.analytics.admin.v1alpha.Account\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"S\x0A\x14DeleteAccountRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\"\x8B\x01\x0A\x14UpdateAccountRequest\x12=\x0A\x07account\x18\x01 \x01(\x0B2'.google.analytics.admin.v1alpha.AccountB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"o\x0A\x1DProvisionAccountTicketRequest\x128\x0A\x07account\x18\x01 \x01(\x0B2'.google.analytics.admin.v1alpha.Account\x12\x14\x0A\x0Credirect_uri\x18\x02 \x01(\x09\";\x0A\x1EProvisionAccountTicketResponse\x12\x19\x0A\x11account_ticket_id\x18\x01 \x01(\x09\"R\x0A\x12GetPropertyRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\"i\x0A\x15ListPropertiesRequest\x12\x13\x0A\x06filter\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x14\x0A\x0Cshow_deleted\x18\x04 \x01(\x08\"o\x0A\x16ListPropertiesResponse\x12<\x0A\x0Aproperties\x18\x01 \x03(\x0B2(.google.analytics.admin.v1alpha.Property\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x8E\x01\x0A\x15UpdatePropertyRequest\x12?\x0A\x08property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"X\x0A\x15CreatePropertyRequest\x12?\x0A\x08property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\"U\x0A\x15DeletePropertyRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\"\xA9\x01\x0A\x19CreateFirebaseLinkRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/FirebaseLink\x12H\x0A\x0Dfirebase_link\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.FirebaseLinkB\x03\xE0A\x02\"]\x0A\x19DeleteFirebaseLinkRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/FirebaseLink\"\x85\x01\x0A\x18ListFirebaseLinksRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/FirebaseLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"z\x0A\x19ListFirebaseLinksResponse\x12D\x0A\x0Efirebase_links\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.FirebaseLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\\\x0A\x17GetGlobalSiteTagRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/GlobalSiteTag\"\xAE\x01\x0A\x1ACreateGoogleAdsLinkRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/GoogleAdsLink\x12K\x0A\x0Fgoogle_ads_link\x18\x02 \x01(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLinkB\x03\xE0A\x02\"\x9A\x01\x0A\x1AUpdateGoogleAdsLinkRequest\x12F\x0A\x0Fgoogle_ads_link\x18\x01 \x01(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLink\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"_\x0A\x1ADeleteGoogleAdsLinkRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/GoogleAdsLink\"\x87\x01\x0A\x19ListGoogleAdsLinksRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/GoogleAdsLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"~\x0A\x1AListGoogleAdsLinksResponse\x12G\x0A\x10google_ads_links\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"h\x0A\x1DGetDataSharingSettingsRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1analyticsadmin.googleapis.com/DataSharingSettings\"D\x0A\x1BListAccountSummariesRequest\x12\x11\x0A\x09page_size\x18\x01 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\"\x82\x01\x0A\x1CListAccountSummariesResponse\x12I\x0A\x11account_summaries\x18\x01 \x03(\x0B2..google.analytics.admin.v1alpha.AccountSummary\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x86\x01\x0A\$AcknowledgeUserDataCollectionRequest\x12@\x0A\x08property\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12\x1C\x0A\x0Facknowledgement\x18\x02 \x01(\x09B\x03\xE0A\x02\"'\x0A%AcknowledgeUserDataCollectionResponse\"\x83\x04\x0A SearchChangeHistoryEventsRequest\x12>\x0A\x07account\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\x12@\x0A\x08property\x18\x02 \x01(\x09B.\xE0A\x01\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12U\x0A\x0Dresource_type\x18\x03 \x03(\x0E29.google.analytics.admin.v1alpha.ChangeHistoryResourceTypeB\x03\xE0A\x01\x12?\x0A\x06action\x18\x04 \x03(\x0E2*.google.analytics.admin.v1alpha.ActionTypeB\x03\xE0A\x01\x12\x18\x0A\x0Bactor_email\x18\x05 \x03(\x09B\x03\xE0A\x01\x12=\x0A\x14earliest_change_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12;\x0A\x12latest_change_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x08 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x09 \x01(\x09B\x03\xE0A\x01\"\x8F\x01\x0A!SearchChangeHistoryEventsResponse\x12Q\x0A\x15change_history_events\x18\x01 \x03(\x0B22.google.analytics.admin.v1alpha.ChangeHistoryEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"t\x0A#GetMeasurementProtocolSecretRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\"\xDE\x01\x0A&CreateMeasurementProtocolSecretRequest\x12O\x0A\x06parent\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x127analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12c\x0A\x1Bmeasurement_protocol_secret\x18\x02 \x01(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecretB\x03\xE0A\x02\"w\x0A&DeleteMeasurementProtocolSecretRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\"\xC3\x01\x0A&UpdateMeasurementProtocolSecretRequest\x12c\x0A\x1Bmeasurement_protocol_secret\x18\x01 \x01(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecretB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x9F\x01\x0A%ListMeasurementProtocolSecretsRequest\x12O\x0A\x06parent\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x127analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\xA2\x01\x0A&ListMeasurementProtocolSecretsResponse\x12_\x0A\x1Cmeasurement_protocol_secrets\x18\x01 \x03(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecret\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x82\x01\x0A*GetSKAdNetworkConversionValueSchemaRequest\x12T\x0A\x04name\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x0A>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\"\xFB\x01\x0A-CreateSKAdNetworkConversionValueSchemaRequest\x12V\x0A\x06parent\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x12>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\x12r\x0A#skadnetwork_conversion_value_schema\x18\x02 \x01(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaB\x03\xE0A\x02\"\x85\x01\x0A-DeleteSKAdNetworkConversionValueSchemaRequest\x12T\x0A\x04name\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x0A>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\"\xD9\x01\x0A-UpdateSKAdNetworkConversionValueSchemaRequest\x12r\x0A#skadnetwork_conversion_value_schema\x18\x01 \x01(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xAD\x01\x0A,ListSKAdNetworkConversionValueSchemasRequest\x12V\x0A\x06parent\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x12>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\xB8\x01\x0A-ListSKAdNetworkConversionValueSchemasResponse\x12n\x0A\$skadnetwork_conversion_value_schemas\x18\x01 \x03(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"l\x0A\x1FGetGoogleSignalsSettingsRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/GoogleSignalsSettings\"\xB7\x01\x0A\"UpdateGoogleSignalsSettingsRequest\x12[\x0A\x17google_signals_settings\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.GoogleSignalsSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xB5\x01\x0A\x1CCreateConversionEventRequest\x12N\x0A\x10conversion_event\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.ConversionEventB\x03\xE0A\x02\x12E\x0A\x06parent\x18\x02 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ConversionEvent\"\xA4\x01\x0A\x1CUpdateConversionEventRequest\x12N\x0A\x10conversion_event\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.ConversionEventB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"`\x0A\x19GetConversionEventRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ConversionEvent\"c\x0A\x1CDeleteConversionEventRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ConversionEvent\"\x8B\x01\x0A\x1BListConversionEventsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ConversionEvent\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x83\x01\x0A\x1CListConversionEventsResponse\x12J\x0A\x11conversion_events\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.ConversionEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x99\x01\x0A\x15CreateKeyEventRequest\x12@\x0A\x09key_event\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.KeyEventB\x03\xE0A\x02\x12>\x0A\x06parent\x18\x02 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/KeyEvent\"\x8F\x01\x0A\x15UpdateKeyEventRequest\x12@\x0A\x09key_event\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.KeyEventB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"R\x0A\x12GetKeyEventRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/KeyEvent\"U\x0A\x15DeleteKeyEventRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/KeyEvent\"}\x0A\x14ListKeyEventsRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/KeyEvent\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"n\x0A\x15ListKeyEventsResponse\x12<\x0A\x0Akey_events\x18\x01 \x03(\x0B2(.google.analytics.admin.v1alpha.KeyEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"|\x0A'GetDisplayVideo360AdvertiserLinkRequest\x12Q\x0A\x04name\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x0A;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\"\xA7\x01\x0A)ListDisplayVideo360AdvertiserLinksRequest\x12S\x0A\x06parent\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x12;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\xB0\x01\x0A*ListDisplayVideo360AdvertiserLinksResponse\x12i\x0A\"display_video_360_advertiser_links\x18\x01 \x03(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xF0\x01\x0A*CreateDisplayVideo360AdvertiserLinkRequest\x12S\x0A\x06parent\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x12;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\x12m\x0A!display_video_360_advertiser_link\x18\x02 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkB\x03\xE0A\x02\"\x7F\x0A*DeleteDisplayVideo360AdvertiserLinkRequest\x12Q\x0A\x04name\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x0A;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\"\xCC\x01\x0A*UpdateDisplayVideo360AdvertiserLinkRequest\x12h\x0A!display_video_360_advertiser_link\x18\x01 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x8C\x01\x0A/GetDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\xB7\x01\x0A1ListDisplayVideo360AdvertiserLinkProposalsRequest\x12[\x0A\x06parent\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x12Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\xC9\x01\x0A2ListDisplayVideo360AdvertiserLinkProposalsResponse\x12z\x0A+display_video_360_advertiser_link_proposals\x18\x01 \x03(\x0B2E.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x91\x02\x0A2CreateDisplayVideo360AdvertiserLinkProposalRequest\x12[\x0A\x06parent\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x12Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\x12~\x0A*display_video_360_advertiser_link_proposal\x18\x02 \x01(\x0B2E.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalB\x03\xE0A\x02\"\x8F\x01\x0A2DeleteDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\x90\x01\x0A3ApproveDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\xA0\x01\x0A4ApproveDisplayVideo360AdvertiserLinkProposalResponse\x12h\x0A!display_video_360_advertiser_link\x18\x01 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"\x8F\x01\x0A2CancelDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"b\x0A\x1AGetSearchAds360LinkRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/SearchAds360Link\"\x8D\x01\x0A\x1CListSearchAds360LinksRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/SearchAds360Link\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x88\x01\x0A\x1DListSearchAds360LinksResponse\x12N\x0A\x14search_ads_360_links\x18\x01 \x03(\x0B20.google.analytics.admin.v1alpha.SearchAds360Link\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xBB\x01\x0A\x1DCreateSearchAds360LinkRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/SearchAds360Link\x12R\x0A\x13search_ads_360_link\x18\x02 \x01(\x0B20.google.analytics.admin.v1alpha.SearchAds360LinkB\x03\xE0A\x02\"e\x0A\x1DDeleteSearchAds360LinkRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/SearchAds360Link\"\xA4\x01\x0A\x1DUpdateSearchAds360LinkRequest\x12M\x0A\x13search_ads_360_link\x18\x01 \x01(\x0B20.google.analytics.admin.v1alpha.SearchAds360Link\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xB5\x01\x0A\x1CCreateCustomDimensionRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/CustomDimension\x12N\x0A\x10custom_dimension\x18\x02 \x01(\x0B2/.google.analytics.admin.v1alpha.CustomDimensionB\x03\xE0A\x02\"\x9F\x01\x0A\x1CUpdateCustomDimensionRequest\x12I\x0A\x10custom_dimension\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.CustomDimension\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x8B\x01\x0A\x1BListCustomDimensionsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/CustomDimension\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x83\x01\x0A\x1CListCustomDimensionsResponse\x12J\x0A\x11custom_dimensions\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.CustomDimension\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"d\x0A\x1DArchiveCustomDimensionRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/CustomDimension\"`\x0A\x19GetCustomDimensionRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/CustomDimension\"\xA9\x01\x0A\x19CreateCustomMetricRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/CustomMetric\x12H\x0A\x0Dcustom_metric\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.CustomMetricB\x03\xE0A\x02\"\x96\x01\x0A\x19UpdateCustomMetricRequest\x12C\x0A\x0Dcustom_metric\x18\x01 \x01(\x0B2,.google.analytics.admin.v1alpha.CustomMetric\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x85\x01\x0A\x18ListCustomMetricsRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/CustomMetric\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"z\x0A\x19ListCustomMetricsResponse\x12D\x0A\x0Ecustom_metrics\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.CustomMetric\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"^\x0A\x1AArchiveCustomMetricRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/CustomMetric\"Z\x0A\x16GetCustomMetricRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/CustomMetric\"\xDC\x01\x0A\x1DCreateCalculatedMetricRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/CalculatedMetric\x12!\x0A\x14calculated_metric_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12P\x0A\x11calculated_metric\x18\x03 \x01(\x0B20.google.analytics.admin.v1alpha.CalculatedMetricB\x03\xE0A\x02\"\xA7\x01\x0A\x1DUpdateCalculatedMetricRequest\x12P\x0A\x11calculated_metric\x18\x01 \x01(\x0B20.google.analytics.admin.v1alpha.CalculatedMetricB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"e\x0A\x1DDeleteCalculatedMetricRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/CalculatedMetric\"\x97\x01\x0A\x1CListCalculatedMetricsRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/CalculatedMetric\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x86\x01\x0A\x1DListCalculatedMetricsResponse\x12L\x0A\x12calculated_metrics\x18\x01 \x03(\x0B20.google.analytics.admin.v1alpha.CalculatedMetric\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"b\x0A\x1AGetCalculatedMetricRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/CalculatedMetric\"l\x0A\x1FGetDataRetentionSettingsRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/DataRetentionSettings\"\xB7\x01\x0A\"UpdateDataRetentionSettingsRequest\x12[\x0A\x17data_retention_settings\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.DataRetentionSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xA1\x01\x0A\x17CreateDataStreamRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(analyticsadmin.googleapis.com/DataStream\x12D\x0A\x0Bdata_stream\x18\x02 \x01(\x0B2*.google.analytics.admin.v1alpha.DataStreamB\x03\xE0A\x02\"Y\x0A\x17DeleteDataStreamRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(analyticsadmin.googleapis.com/DataStream\"\x90\x01\x0A\x17UpdateDataStreamRequest\x12?\x0A\x0Bdata_stream\x18\x01 \x01(\x0B2*.google.analytics.admin.v1alpha.DataStream\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x81\x01\x0A\x16ListDataStreamsRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(analyticsadmin.googleapis.com/DataStream\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"t\x0A\x17ListDataStreamsResponse\x12@\x0A\x0Cdata_streams\x18\x01 \x03(\x0B2*.google.analytics.admin.v1alpha.DataStream\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"V\x0A\x14GetDataStreamRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(analyticsadmin.googleapis.com/DataStream\"R\x0A\x12GetAudienceRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Audience\"}\x0A\x14ListAudiencesRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/Audience\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"m\x0A\x15ListAudiencesResponse\x12;\x0A\x09audiences\x18\x01 \x03(\x0B2(.google.analytics.admin.v1alpha.Audience\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x98\x01\x0A\x15CreateAudienceRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/Audience\x12?\x0A\x08audience\x18\x02 \x01(\x0B2(.google.analytics.admin.v1alpha.AudienceB\x03\xE0A\x02\"\x8E\x01\x0A\x15UpdateAudienceRequest\x12?\x0A\x08audience\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.AudienceB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"V\x0A\x16ArchiveAudienceRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/Audience\"h\x0A\x1DGetAttributionSettingsRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1analyticsadmin.googleapis.com/AttributionSettings\"\xB0\x01\x0A UpdateAttributionSettingsRequest\x12V\x0A\x14attribution_settings\x18\x01 \x01(\x0B23.google.analytics.admin.v1alpha.AttributionSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\\\x0A\x17GetAccessBindingRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/AccessBinding\"\xA8\x01\x0A\x1DBatchGetAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12B\x0A\x05names\x18\x02 \x03(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/AccessBinding\"h\x0A\x1EBatchGetAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\"\x87\x01\x0A\x19ListAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"}\x0A\x1AListAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xAD\x01\x0A\x1ACreateAccessBindingRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12J\x0A\x0Eaccess_binding\x18\x02 \x01(\x0B2-.google.analytics.admin.v1alpha.AccessBindingB\x03\xE0A\x02\"\xBA\x01\x0A BatchCreateAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12Q\x0A\x08requests\x18\x03 \x03(\x0B2:.google.analytics.admin.v1alpha.CreateAccessBindingRequestB\x03\xE0A\x02\"k\x0A!BatchCreateAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\"h\x0A\x1AUpdateAccessBindingRequest\x12J\x0A\x0Eaccess_binding\x18\x01 \x01(\x0B2-.google.analytics.admin.v1alpha.AccessBindingB\x03\xE0A\x02\"\xBA\x01\x0A BatchUpdateAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12Q\x0A\x08requests\x18\x02 \x03(\x0B2:.google.analytics.admin.v1alpha.UpdateAccessBindingRequestB\x03\xE0A\x02\"k\x0A!BatchUpdateAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\"_\x0A\x1ADeleteAccessBindingRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/AccessBinding\"\xBA\x01\x0A BatchDeleteAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12Q\x0A\x08requests\x18\x02 \x03(\x0B2:.google.analytics.admin.v1alpha.DeleteAccessBindingRequestB\x03\xE0A\x02\"\xB6\x01\x0A\x1CCreateExpandedDataSetRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ExpandedDataSet\x12O\x0A\x11expanded_data_set\x18\x02 \x01(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSetB\x03\xE0A\x02\"\xA5\x01\x0A\x1CUpdateExpandedDataSetRequest\x12O\x0A\x11expanded_data_set\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSetB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"c\x0A\x1CDeleteExpandedDataSetRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ExpandedDataSet\"`\x0A\x19GetExpandedDataSetRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ExpandedDataSet\"\x8B\x01\x0A\x1BListExpandedDataSetsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ExpandedDataSet\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x84\x01\x0A\x1CListExpandedDataSetsResponse\x12K\x0A\x12expanded_data_sets\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSet\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA9\x01\x0A\x19CreateChannelGroupRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/ChannelGroup\x12H\x0A\x0Dchannel_group\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.ChannelGroupB\x03\xE0A\x02\"\x9B\x01\x0A\x19UpdateChannelGroupRequest\x12H\x0A\x0Dchannel_group\x18\x01 \x01(\x0B2,.google.analytics.admin.v1alpha.ChannelGroupB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"]\x0A\x19DeleteChannelGroupRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/ChannelGroup\"Z\x0A\x16GetChannelGroupRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/ChannelGroup\"\x85\x01\x0A\x18ListChannelGroupsRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/ChannelGroup\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"z\x0A\x19ListChannelGroupsResponse\x12D\x0A\x0Echannel_groups\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.ChannelGroup\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA9\x01\x0A\x19CreateBigQueryLinkRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/BigQueryLink\x12H\x0A\x0Dbigquery_link\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.BigQueryLinkB\x03\xE0A\x02\"Z\x0A\x16GetBigQueryLinkRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/BigQueryLink\"\x85\x01\x0A\x18ListBigQueryLinksRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/BigQueryLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"z\x0A\x19ListBigQueryLinksResponse\x12D\x0A\x0Ebigquery_links\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.BigQueryLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x9B\x01\x0A\x19UpdateBigQueryLinkRequest\x12H\x0A\x0Dbigquery_link\x18\x01 \x01(\x0B2,.google.analytics.admin.v1alpha.BigQueryLinkB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"]\x0A\x19DeleteBigQueryLinkRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/BigQueryLink\"x\x0A%GetEnhancedMeasurementSettingsRequest\x12O\x0A\x04name\x18\x01 \x01(\x09BA\xE0A\x02\xFAA;\x0A9analyticsadmin.googleapis.com/EnhancedMeasurementSettings\"\xC9\x01\x0A(UpdateEnhancedMeasurementSettingsRequest\x12g\x0A\x1Denhanced_measurement_settings\x18\x01 \x01(\x0B2;.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"l\x0A\x1FGetDataRedactionSettingsRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/DataRedactionSettings\"\xB7\x01\x0A\"UpdateDataRedactionSettingsRequest\x12[\x0A\x17data_redaction_settings\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.DataRedactionSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xA5\x01\x0A\x18CreateAdSenseLinkRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x12)analyticsadmin.googleapis.com/AdSenseLink\x12F\x0A\x0Cadsense_link\x18\x02 \x01(\x0B2+.google.analytics.admin.v1alpha.AdSenseLinkB\x03\xE0A\x02\"X\x0A\x15GetAdSenseLinkRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)analyticsadmin.googleapis.com/AdSenseLink\"[\x0A\x18DeleteAdSenseLinkRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)analyticsadmin.googleapis.com/AdSenseLink\"\x83\x01\x0A\x17ListAdSenseLinksRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x12)analyticsadmin.googleapis.com/AdSenseLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"w\x0A\x18ListAdSenseLinksResponse\x12B\x0A\x0Dadsense_links\x18\x01 \x03(\x0B2+.google.analytics.admin.v1alpha.AdSenseLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB6\x01\x0A\x1CCreateEventCreateRuleRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/EventCreateRule\x12O\x0A\x11event_create_rule\x18\x02 \x01(\x0B2/.google.analytics.admin.v1alpha.EventCreateRuleB\x03\xE0A\x02\"\xA5\x01\x0A\x1CUpdateEventCreateRuleRequest\x12O\x0A\x11event_create_rule\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.EventCreateRuleB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"c\x0A\x1CDeleteEventCreateRuleRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/EventCreateRule\"`\x0A\x19GetEventCreateRuleRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/EventCreateRule\"\x8B\x01\x0A\x1BListEventCreateRulesRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/EventCreateRule\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x84\x01\x0A\x1CListEventCreateRulesResponse\x12K\x0A\x12event_create_rules\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.EventCreateRule\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xAE\x01\x0A\x1ACreateEventEditRuleRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/EventEditRule\x12K\x0A\x0Fevent_edit_rule\x18\x02 \x01(\x0B2-.google.analytics.admin.v1alpha.EventEditRuleB\x03\xE0A\x02\"\x9F\x01\x0A\x1AUpdateEventEditRuleRequest\x12K\x0A\x0Fevent_edit_rule\x18\x01 \x01(\x0B2-.google.analytics.admin.v1alpha.EventEditRuleB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"_\x0A\x1ADeleteEventEditRuleRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/EventEditRule\"\\\x0A\x17GetEventEditRuleRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/EventEditRule\"\x91\x01\x0A\x19ListEventEditRulesRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/EventEditRule\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"~\x0A\x1AListEventEditRulesResponse\x12G\x0A\x10event_edit_rules\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.EventEditRule\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x82\x01\x0A\x1CReorderEventEditRulesRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/EventEditRule\x12\x1D\x0A\x10event_edit_rules\x18\x02 \x03(\x09B\x03\xE0A\x02\"\x85\x01\x0A\x1BCreateRollupPropertyRequest\x12F\x0A\x0Frollup_property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\x12\x1E\x0A\x11source_properties\x18\x02 \x03(\x09B\x03\xE0A\x01\"\xC1\x01\x0A\x1CCreateRollupPropertyResponse\x12A\x0A\x0Frollup_property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.Property\x12^\x0A\x1Crollup_property_source_links\x18\x02 \x03(\x0B28.google.analytics.admin.v1alpha.RollupPropertySourceLink\"r\x0A\"GetRollupPropertySourceLinkRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6analyticsadmin.googleapis.com/RollupPropertySourceLink\"\xA7\x01\x0A\$ListRollupPropertySourceLinksRequest\x12N\x0A\x06parent\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x126analyticsadmin.googleapis.com/RollupPropertySourceLink\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xA0\x01\x0A%ListRollupPropertySourceLinksResponse\x12^\x0A\x1Crollup_property_source_links\x18\x01 \x03(\x0B28.google.analytics.admin.v1alpha.RollupPropertySourceLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xDB\x01\x0A%CreateRollupPropertySourceLinkRequest\x12N\x0A\x06parent\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x126analyticsadmin.googleapis.com/RollupPropertySourceLink\x12b\x0A\x1Brollup_property_source_link\x18\x02 \x01(\x0B28.google.analytics.admin.v1alpha.RollupPropertySourceLinkB\x03\xE0A\x02\"u\x0A%DeleteRollupPropertySourceLinkRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6analyticsadmin.googleapis.com/RollupPropertySourceLink\"\xCB\x02\x0A\x1BProvisionSubpropertyRequest\x12B\x0A\x0Bsubproperty\x18\x02 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\x12]\x0A\x18subproperty_event_filter\x18\x03 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilterB\x03\xE0A\x01\x12\x88\x01\x0A0custom_dimension_and_metric_synchronization_mode\x18\x04 \x01(\x0E2I.google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationModeB\x03\xE0A\x01\"\xB7\x01\x0A\x1CProvisionSubpropertyResponse\x12=\x0A\x0Bsubproperty\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.Property\x12X\x0A\x18subproperty_event_filter\x18\x02 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilter\"\xD2\x01\x0A#CreateSubpropertyEventFilterRequest\x12L\x0A\x06parent\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x124analyticsadmin.googleapis.com/SubpropertyEventFilter\x12]\x0A\x18subproperty_event_filter\x18\x02 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilterB\x03\xE0A\x02\"n\x0A GetSubpropertyEventFilterRequest\x12J\x0A\x04name\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x0A4analyticsadmin.googleapis.com/SubpropertyEventFilter\"\xA3\x01\x0A\"ListSubpropertyEventFiltersRequest\x12L\x0A\x06parent\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x124analyticsadmin.googleapis.com/SubpropertyEventFilter\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x99\x01\x0A#ListSubpropertyEventFiltersResponse\x12Y\x0A\x19subproperty_event_filters\x18\x01 \x03(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilter\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xBA\x01\x0A#UpdateSubpropertyEventFilterRequest\x12]\x0A\x18subproperty_event_filter\x18\x01 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilterB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"q\x0A#DeleteSubpropertyEventFilterRequest\x12J\x0A\x04name\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x0A4analyticsadmin.googleapis.com/SubpropertyEventFilter\"\xD6\x01\x0A\$CreateReportingDataAnnotationRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125analyticsadmin.googleapis.com/ReportingDataAnnotation\x12_\x0A\x19reporting_data_annotation\x18\x02 \x01(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotationB\x03\xE0A\x02\"p\x0A!GetReportingDataAnnotationRequest\x12K\x0A\x04name\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x0A5analyticsadmin.googleapis.com/ReportingDataAnnotation\"\xBA\x01\x0A#ListReportingDataAnnotationsRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125analyticsadmin.googleapis.com/ReportingDataAnnotation\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\"\x9C\x01\x0A\$ListReportingDataAnnotationsResponse\x12[\x0A\x1Areporting_data_annotations\x18\x01 \x03(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotation\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xBD\x01\x0A\$UpdateReportingDataAnnotationRequest\x12_\x0A\x19reporting_data_annotation\x18\x01 \x01(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotationB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"s\x0A\$DeleteReportingDataAnnotationRequest\x12K\x0A\x04name\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x0A5analyticsadmin.googleapis.com/ReportingDataAnnotation\"\xC2\x01\x0A\x19SubmitUserDeletionRequest\x12\x11\x0A\x07user_id\x18\x02 \x01(\x09H\x00\x12\x13\x0A\x09client_id\x18\x03 \x01(\x09H\x00\x12\x19\x0A\x0Fapp_instance_id\x18\x04 \x01(\x09H\x00\x12\x1C\x0A\x12user_provided_data\x18\x05 \x01(\x09H\x00\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/PropertyB\x06\x0A\x04user\"W\x0A\x1ASubmitUserDeletionResponse\x129\x0A\x15deletion_request_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\"l\x0A\x1FGetSubpropertySyncConfigRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/SubpropertySyncConfig\"\xA1\x01\x0A!ListSubpropertySyncConfigsRequest\x12K\x0A\x06parent\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x123analyticsadmin.googleapis.com/SubpropertySyncConfig\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x96\x01\x0A\"ListSubpropertySyncConfigsResponse\x12W\x0A\x18subproperty_sync_configs\x18\x01 \x03(\x0B25.google.analytics.admin.v1alpha.SubpropertySyncConfig\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB7\x01\x0A\"UpdateSubpropertySyncConfigRequest\x12[\x0A\x17subproperty_sync_config\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.SubpropertySyncConfigB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"t\x0A#GetReportingIdentitySettingsRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/ReportingIdentitySettings2\xA4\x97\x02\x0A\x15AnalyticsAdminService\x12\x93\x01\x0A\x0AGetAccount\x121.google.analytics.admin.v1alpha.GetAccountRequest\x1A'.google.analytics.admin.v1alpha.Account\")\xDAA\x04name\x82\xD3\xE4\x93\x02\x1C\x12\x1A/v1alpha/{name=accounts/*}\x12\x94\x01\x0A\x0CListAccounts\x123.google.analytics.admin.v1alpha.ListAccountsRequest\x1A4.google.analytics.admin.v1alpha.ListAccountsResponse\"\x19\x82\xD3\xE4\x93\x02\x13\x12\x11/v1alpha/accounts\x12\x88\x01\x0A\x0DDeleteAccount\x124.google.analytics.admin.v1alpha.DeleteAccountRequest\x1A\x16.google.protobuf.Empty\")\xDAA\x04name\x82\xD3\xE4\x93\x02\x1C*\x1A/v1alpha/{name=accounts/*}\x12\xB9\x01\x0A\x0DUpdateAccount\x124.google.analytics.admin.v1alpha.UpdateAccountRequest\x1A'.google.analytics.admin.v1alpha.Account\"I\xDAA\x13account,update_mask\x82\xD3\xE4\x93\x02-2\"/v1alpha/{account.name=accounts/*}:\x07account\x12\xCC\x01\x0A\x16ProvisionAccountTicket\x12=.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest\x1A>.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse\"3\x82\xD3\xE4\x93\x02-\"(/v1alpha/accounts:provisionAccountTicket:\x01*\x12\xB4\x01\x0A\x14ListAccountSummaries\x12;.google.analytics.admin.v1alpha.ListAccountSummariesRequest\x1A<.google.analytics.admin.v1alpha.ListAccountSummariesResponse\"!\x82\xD3\xE4\x93\x02\x1B\x12\x19/v1alpha/accountSummaries\x12\x98\x01\x0A\x0BGetProperty\x122.google.analytics.admin.v1alpha.GetPropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"+\xDAA\x04name\x82\xD3\xE4\x93\x02\x1E\x12\x1C/v1alpha/{name=properties/*}\x12\x9C\x01\x0A\x0EListProperties\x125.google.analytics.admin.v1alpha.ListPropertiesRequest\x1A6.google.analytics.admin.v1alpha.ListPropertiesResponse\"\x1B\x82\xD3\xE4\x93\x02\x15\x12\x13/v1alpha/properties\x12\xA3\x01\x0A\x0ECreateProperty\x125.google.analytics.admin.v1alpha.CreatePropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"0\xDAA\x08property\x82\xD3\xE4\x93\x02\x1F\"\x13/v1alpha/properties:\x08property\x12\x9E\x01\x0A\x0EDeleteProperty\x125.google.analytics.admin.v1alpha.DeletePropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"+\xDAA\x04name\x82\xD3\xE4\x93\x02\x1E*\x1C/v1alpha/{name=properties/*}\x12\xC1\x01\x0A\x0EUpdateProperty\x125.google.analytics.admin.v1alpha.UpdatePropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"N\xDAA\x14property,update_mask\x82\xD3\xE4\x93\x0212%/v1alpha/{property.name=properties/*}:\x08property\x12\xD9\x01\x0A\x12CreateFirebaseLink\x129.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest\x1A,.google.analytics.admin.v1alpha.FirebaseLink\"Z\xDAA\x14parent,firebase_link\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/firebaseLinks:\x0Dfirebase_link\x12\xA4\x01\x0A\x12DeleteFirebaseLink\x129.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest\x1A\x16.google.protobuf.Empty\";\xDAA\x04name\x82\xD3\xE4\x93\x02.*,/v1alpha/{name=properties/*/firebaseLinks/*}\x12\xC7\x01\x0A\x11ListFirebaseLinks\x128.google.analytics.admin.v1alpha.ListFirebaseLinksRequest\x1A9.google.analytics.admin.v1alpha.ListFirebaseLinksResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/firebaseLinks\x12\xC3\x01\x0A\x10GetGlobalSiteTag\x127.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest\x1A-.google.analytics.admin.v1alpha.GlobalSiteTag\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\x128/v1alpha/{name=properties/*/dataStreams/*/globalSiteTag}\x12\xE1\x01\x0A\x13CreateGoogleAdsLink\x12:.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest\x1A-.google.analytics.admin.v1alpha.GoogleAdsLink\"_\xDAA\x16parent,google_ads_link\x82\xD3\xE4\x93\x02@\"-/v1alpha/{parent=properties/*}/googleAdsLinks:\x0Fgoogle_ads_link\x12\xF6\x01\x0A\x13UpdateGoogleAdsLink\x12:.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest\x1A-.google.analytics.admin.v1alpha.GoogleAdsLink\"t\xDAA\x1Bgoogle_ads_link,update_mask\x82\xD3\xE4\x93\x02P2=/v1alpha/{google_ads_link.name=properties/*/googleAdsLinks/*}:\x0Fgoogle_ads_link\x12\xA7\x01\x0A\x13DeleteGoogleAdsLink\x12:.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest\x1A\x16.google.protobuf.Empty\"<\xDAA\x04name\x82\xD3\xE4\x93\x02/*-/v1alpha/{name=properties/*/googleAdsLinks/*}\x12\xCB\x01\x0A\x12ListGoogleAdsLinks\x129.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest\x1A:.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse\">\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1alpha/{parent=properties/*}/googleAdsLinks\x12\xCB\x01\x0A\x16GetDataSharingSettings\x12=.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest\x1A3.google.analytics.admin.v1alpha.DataSharingSettings\"=\xDAA\x04name\x82\xD3\xE4\x93\x020\x12./v1alpha/{name=accounts/*/dataSharingSettings}\x12\xF6\x01\x0A\x1CGetMeasurementProtocolSecret\x12C.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest\x1A9.google.analytics.admin.v1alpha.MeasurementProtocolSecret\"V\xDAA\x04name\x82\xD3\xE4\x93\x02I\x12G/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}\x12\x89\x02\x0A\x1EListMeasurementProtocolSecrets\x12E.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest\x1AF.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse\"X\xDAA\x06parent\x82\xD3\xE4\x93\x02I\x12G/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets\x12\xB8\x02\x0A\x1FCreateMeasurementProtocolSecret\x12F.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest\x1A9.google.analytics.admin.v1alpha.MeasurementProtocolSecret\"\x91\x01\xDAA\"parent,measurement_protocol_secret\x82\xD3\xE4\x93\x02f\"G/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets:\x1Bmeasurement_protocol_secret\x12\xD9\x01\x0A\x1FDeleteMeasurementProtocolSecret\x12F.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest\x1A\x16.google.protobuf.Empty\"V\xDAA\x04name\x82\xD3\xE4\x93\x02I*G/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}\x12\xDA\x02\x0A\x1FUpdateMeasurementProtocolSecret\x12F.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest\x1A9.google.analytics.admin.v1alpha.MeasurementProtocolSecret\"\xB3\x01\xDAA'measurement_protocol_secret,update_mask\x82\xD3\xE4\x93\x02\x82\x012c/v1alpha/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}:\x1Bmeasurement_protocol_secret\x12\xF7\x01\x0A\x1DAcknowledgeUserDataCollection\x12D.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest\x1AE.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse\"I\x82\xD3\xE4\x93\x02C\">/v1alpha/{property=properties/*}:acknowledgeUserDataCollection:\x01*\x12\x91\x02\x0A#GetSKAdNetworkConversionValueSchema\x12J.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest\x1A@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\"\\\xDAA\x04name\x82\xD3\xE4\x93\x02O\x12M/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}\x12\xE3\x02\x0A&CreateSKAdNetworkConversionValueSchema\x12M.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest\x1A@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\"\xA7\x01\xDAA*parent,skadnetwork_conversion_value_schema\x82\xD3\xE4\x93\x02t\"M/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema:#skadnetwork_conversion_value_schema\x12\xED\x01\x0A&DeleteSKAdNetworkConversionValueSchema\x12M.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest\x1A\x16.google.protobuf.Empty\"\\\xDAA\x04name\x82\xD3\xE4\x93\x02O*M/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}\x12\x8D\x03\x0A&UpdateSKAdNetworkConversionValueSchema\x12M.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest\x1A@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\"\xD1\x01\xDAA/skadnetwork_conversion_value_schema,update_mask\x82\xD3\xE4\x93\x02\x98\x012q/v1alpha/{skadnetwork_conversion_value_schema.name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}:#skadnetwork_conversion_value_schema\x12\xA4\x02\x0A%ListSKAdNetworkConversionValueSchemas\x12L.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest\x1AM.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse\"^\xDAA\x06parent\x82\xD3\xE4\x93\x02O\x12M/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema\x12\xE4\x01\x0A\x19SearchChangeHistoryEvents\x12@.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest\x1AA.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse\"B\x82\xD3\xE4\x93\x02<\"7/v1alpha/{account=accounts/*}:searchChangeHistoryEvents:\x01*\x12\xD5\x01\x0A\x18GetGoogleSignalsSettings\x12?.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest\x1A5.google.analytics.admin.v1alpha.GoogleSignalsSettings\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\x122/v1alpha/{name=properties/*/googleSignalsSettings}\x12\xAC\x02\x0A\x1BUpdateGoogleSignalsSettings\x12B.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest\x1A5.google.analytics.admin.v1alpha.GoogleSignalsSettings\"\x91\x01\xDAA#google_signals_settings,update_mask\x82\xD3\xE4\x93\x02e2J/v1alpha/{google_signals_settings.name=properties/*/googleSignalsSettings}:\x17google_signals_settings\x12\xEE\x01\x0A\x15CreateConversionEvent\x12<.google.analytics.admin.v1alpha.CreateConversionEventRequest\x1A/.google.analytics.admin.v1alpha.ConversionEvent\"f\x88\x02\x01\xDAA\x17parent,conversion_event\x82\xD3\xE4\x93\x02C\"//v1alpha/{parent=properties/*}/conversionEvents:\x10conversion_event\x12\x84\x02\x0A\x15UpdateConversionEvent\x12<.google.analytics.admin.v1alpha.UpdateConversionEventRequest\x1A/.google.analytics.admin.v1alpha.ConversionEvent\"|\x88\x02\x01\xDAA\x1Cconversion_event,update_mask\x82\xD3\xE4\x93\x02T2@/v1alpha/{conversion_event.name=properties/*/conversionEvents/*}:\x10conversion_event\x12\xC3\x01\x0A\x12GetConversionEvent\x129.google.analytics.admin.v1alpha.GetConversionEventRequest\x1A/.google.analytics.admin.v1alpha.ConversionEvent\"A\x88\x02\x01\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1alpha/{name=properties/*/conversionEvents/*}\x12\xB0\x01\x0A\x15DeleteConversionEvent\x12<.google.analytics.admin.v1alpha.DeleteConversionEventRequest\x1A\x16.google.protobuf.Empty\"A\x88\x02\x01\xDAA\x04name\x82\xD3\xE4\x93\x021*//v1alpha/{name=properties/*/conversionEvents/*}\x12\xD6\x01\x0A\x14ListConversionEvents\x12;.google.analytics.admin.v1alpha.ListConversionEventsRequest\x1A<.google.analytics.admin.v1alpha.ListConversionEventsResponse\"C\x88\x02\x01\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1alpha/{parent=properties/*}/conversionEvents\x12\xC1\x01\x0A\x0ECreateKeyEvent\x125.google.analytics.admin.v1alpha.CreateKeyEventRequest\x1A(.google.analytics.admin.v1alpha.KeyEvent\"N\xDAA\x10parent,key_event\x82\xD3\xE4\x93\x025\"(/v1alpha/{parent=properties/*}/keyEvents:\x09key_event\x12\xD0\x01\x0A\x0EUpdateKeyEvent\x125.google.analytics.admin.v1alpha.UpdateKeyEventRequest\x1A(.google.analytics.admin.v1alpha.KeyEvent\"]\xDAA\x15key_event,update_mask\x82\xD3\xE4\x93\x02?22/v1alpha/{key_event.name=properties/*/keyEvents/*}:\x09key_event\x12\xA4\x01\x0A\x0BGetKeyEvent\x122.google.analytics.admin.v1alpha.GetKeyEventRequest\x1A(.google.analytics.admin.v1alpha.KeyEvent\"7\xDAA\x04name\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{name=properties/*/keyEvents/*}\x12\x98\x01\x0A\x0EDeleteKeyEvent\x125.google.analytics.admin.v1alpha.DeleteKeyEventRequest\x1A\x16.google.protobuf.Empty\"7\xDAA\x04name\x82\xD3\xE4\x93\x02**(/v1alpha/{name=properties/*/keyEvents/*}\x12\xB7\x01\x0A\x0DListKeyEvents\x124.google.analytics.admin.v1alpha.ListKeyEventsRequest\x1A5.google.analytics.admin.v1alpha.ListKeyEventsResponse\"9\xDAA\x06parent\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{parent=properties/*}/keyEvents\x12\xF8\x01\x0A GetDisplayVideo360AdvertiserLink\x12G.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest\x1A=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}\x12\x8B\x02\x0A\"ListDisplayVideo360AdvertiserLinks\x12I.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest\x1AJ.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse\"N\xDAA\x06parent\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks\x12\xC6\x02\x0A#CreateDisplayVideo360AdvertiserLink\x12J.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest\x1A=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"\x93\x01\xDAA(parent,display_video_360_advertiser_link\x82\xD3\xE4\x93\x02b\"=/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks:!display_video_360_advertiser_link\x12\xD7\x01\x0A#DeleteDisplayVideo360AdvertiserLink\x12J.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest\x1A\x16.google.protobuf.Empty\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?*=/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}\x12\xEE\x02\x0A#UpdateDisplayVideo360AdvertiserLink\x12J.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest\x1A=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"\xBB\x01\xDAA-display_video_360_advertiser_link,update_mask\x82\xD3\xE4\x93\x02\x84\x012_/v1alpha/{display_video_360_advertiser_link.name=properties/*/displayVideo360AdvertiserLinks/*}:!display_video_360_advertiser_link\x12\x98\x02\x0A(GetDisplayVideo360AdvertiserLinkProposal\x12O.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest\x1AE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\"T\xDAA\x04name\x82\xD3\xE4\x93\x02G\x12E/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}\x12\xAB\x02\x0A*ListDisplayVideo360AdvertiserLinkProposals\x12Q.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest\x1AR.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse\"V\xDAA\x06parent\x82\xD3\xE4\x93\x02G\x12E/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals\x12\xF8\x02\x0A+CreateDisplayVideo360AdvertiserLinkProposal\x12R.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest\x1AE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\"\xAD\x01\xDAA1parent,display_video_360_advertiser_link_proposal\x82\xD3\xE4\x93\x02s\"E/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals:*display_video_360_advertiser_link_proposal\x12\xEF\x01\x0A+DeleteDisplayVideo360AdvertiserLinkProposal\x12R.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest\x1A\x16.google.protobuf.Empty\"T\xDAA\x04name\x82\xD3\xE4\x93\x02G*E/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}\x12\xB3\x02\x0A,ApproveDisplayVideo360AdvertiserLinkProposal\x12S.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest\x1AT.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse\"X\x82\xD3\xE4\x93\x02R\"M/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve:\x01*\x12\xA1\x02\x0A+CancelDisplayVideo360AdvertiserLinkProposal\x12R.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest\x1AE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\"W\x82\xD3\xE4\x93\x02Q\"L/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:cancel:\x01*\x12\xEB\x01\x0A\x15CreateCustomDimension\x12<.google.analytics.admin.v1alpha.CreateCustomDimensionRequest\x1A/.google.analytics.admin.v1alpha.CustomDimension\"c\xDAA\x17parent,custom_dimension\x82\xD3\xE4\x93\x02C\"//v1alpha/{parent=properties/*}/customDimensions:\x10custom_dimension\x12\x81\x02\x0A\x15UpdateCustomDimension\x12<.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest\x1A/.google.analytics.admin.v1alpha.CustomDimension\"y\xDAA\x1Ccustom_dimension,update_mask\x82\xD3\xE4\x93\x02T2@/v1alpha/{custom_dimension.name=properties/*/customDimensions/*}:\x10custom_dimension\x12\xD3\x01\x0A\x14ListCustomDimensions\x12;.google.analytics.admin.v1alpha.ListCustomDimensionsRequest\x1A<.google.analytics.admin.v1alpha.ListCustomDimensionsResponse\"@\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1alpha/{parent=properties/*}/customDimensions\x12\xBA\x01\x0A\x16ArchiveCustomDimension\x12=.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest\x1A\x16.google.protobuf.Empty\"I\xDAA\x04name\x82\xD3\xE4\x93\x02<\"7/v1alpha/{name=properties/*/customDimensions/*}:archive:\x01*\x12\xC0\x01\x0A\x12GetCustomDimension\x129.google.analytics.admin.v1alpha.GetCustomDimensionRequest\x1A/.google.analytics.admin.v1alpha.CustomDimension\">\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1alpha/{name=properties/*/customDimensions/*}\x12\xD9\x01\x0A\x12CreateCustomMetric\x129.google.analytics.admin.v1alpha.CreateCustomMetricRequest\x1A,.google.analytics.admin.v1alpha.CustomMetric\"Z\xDAA\x14parent,custom_metric\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/customMetrics:\x0Dcustom_metric\x12\xEC\x01\x0A\x12UpdateCustomMetric\x129.google.analytics.admin.v1alpha.UpdateCustomMetricRequest\x1A,.google.analytics.admin.v1alpha.CustomMetric\"m\xDAA\x19custom_metric,update_mask\x82\xD3\xE4\x93\x02K2:/v1alpha/{custom_metric.name=properties/*/customMetrics/*}:\x0Dcustom_metric\x12\xC7\x01\x0A\x11ListCustomMetrics\x128.google.analytics.admin.v1alpha.ListCustomMetricsRequest\x1A9.google.analytics.admin.v1alpha.ListCustomMetricsResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/customMetrics\x12\xB1\x01\x0A\x13ArchiveCustomMetric\x12:.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest\x1A\x16.google.protobuf.Empty\"F\xDAA\x04name\x82\xD3\xE4\x93\x029\"4/v1alpha/{name=properties/*/customMetrics/*}:archive:\x01*\x12\xB4\x01\x0A\x0FGetCustomMetric\x126.google.analytics.admin.v1alpha.GetCustomMetricRequest\x1A,.google.analytics.admin.v1alpha.CustomMetric\";\xDAA\x04name\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{name=properties/*/customMetrics/*}\x12\xD5\x01\x0A\x18GetDataRetentionSettings\x12?.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRetentionSettings\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\x122/v1alpha/{name=properties/*/dataRetentionSettings}\x12\xAC\x02\x0A\x1BUpdateDataRetentionSettings\x12B.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRetentionSettings\"\x91\x01\xDAA#data_retention_settings,update_mask\x82\xD3\xE4\x93\x02e2J/v1alpha/{data_retention_settings.name=properties/*/dataRetentionSettings}:\x17data_retention_settings\x12\xCD\x01\x0A\x10CreateDataStream\x127.google.analytics.admin.v1alpha.CreateDataStreamRequest\x1A*.google.analytics.admin.v1alpha.DataStream\"T\xDAA\x12parent,data_stream\x82\xD3\xE4\x93\x029\"*/v1alpha/{parent=properties/*}/dataStreams:\x0Bdata_stream\x12\x9E\x01\x0A\x10DeleteDataStream\x127.google.analytics.admin.v1alpha.DeleteDataStreamRequest\x1A\x16.google.protobuf.Empty\"9\xDAA\x04name\x82\xD3\xE4\x93\x02,**/v1alpha/{name=properties/*/dataStreams/*}\x12\xDE\x01\x0A\x10UpdateDataStream\x127.google.analytics.admin.v1alpha.UpdateDataStreamRequest\x1A*.google.analytics.admin.v1alpha.DataStream\"e\xDAA\x17data_stream,update_mask\x82\xD3\xE4\x93\x02E26/v1alpha/{data_stream.name=properties/*/dataStreams/*}:\x0Bdata_stream\x12\xBF\x01\x0A\x0FListDataStreams\x126.google.analytics.admin.v1alpha.ListDataStreamsRequest\x1A7.google.analytics.admin.v1alpha.ListDataStreamsResponse\";\xDAA\x06parent\x82\xD3\xE4\x93\x02,\x12*/v1alpha/{parent=properties/*}/dataStreams\x12\xAC\x01\x0A\x0DGetDataStream\x124.google.analytics.admin.v1alpha.GetDataStreamRequest\x1A*.google.analytics.admin.v1alpha.DataStream\"9\xDAA\x04name\x82\xD3\xE4\x93\x02,\x12*/v1alpha/{name=properties/*/dataStreams/*}\x12\xA4\x01\x0A\x0BGetAudience\x122.google.analytics.admin.v1alpha.GetAudienceRequest\x1A(.google.analytics.admin.v1alpha.Audience\"7\xDAA\x04name\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{name=properties/*/audiences/*}\x12\xB7\x01\x0A\x0DListAudiences\x124.google.analytics.admin.v1alpha.ListAudiencesRequest\x1A5.google.analytics.admin.v1alpha.ListAudiencesResponse\"9\xDAA\x06parent\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{parent=properties/*}/audiences\x12\xBF\x01\x0A\x0ECreateAudience\x125.google.analytics.admin.v1alpha.CreateAudienceRequest\x1A(.google.analytics.admin.v1alpha.Audience\"L\xDAA\x0Fparent,audience\x82\xD3\xE4\x93\x024\"(/v1alpha/{parent=properties/*}/audiences:\x08audience\x12\xCD\x01\x0A\x0EUpdateAudience\x125.google.analytics.admin.v1alpha.UpdateAudienceRequest\x1A(.google.analytics.admin.v1alpha.Audience\"Z\xDAA\x14audience,update_mask\x82\xD3\xE4\x93\x02=21/v1alpha/{audience.name=properties/*/audiences/*}:\x08audience\x12\x9E\x01\x0A\x0FArchiveAudience\x126.google.analytics.admin.v1alpha.ArchiveAudienceRequest\x1A\x16.google.protobuf.Empty\";\x82\xD3\xE4\x93\x025\"0/v1alpha/{name=properties/*/audiences/*}:archive:\x01*\x12\xC4\x01\x0A\x13GetSearchAds360Link\x12:.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest\x1A0.google.analytics.admin.v1alpha.SearchAds360Link\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1alpha/{name=properties/*/searchAds360Links/*}\x12\xD7\x01\x0A\x15ListSearchAds360Links\x12<.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest\x1A=.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse\"A\xDAA\x06parent\x82\xD3\xE4\x93\x022\x120/v1alpha/{parent=properties/*}/searchAds360Links\x12\xF5\x01\x0A\x16CreateSearchAds360Link\x12=.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest\x1A0.google.analytics.admin.v1alpha.SearchAds360Link\"j\xDAA\x1Aparent,search_ads_360_link\x82\xD3\xE4\x93\x02G\"0/v1alpha/{parent=properties/*}/searchAds360Links:\x13search_ads_360_link\x12\xB0\x01\x0A\x16DeleteSearchAds360Link\x12=.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest\x1A\x16.google.protobuf.Empty\"?\xDAA\x04name\x82\xD3\xE4\x93\x022*0/v1alpha/{name=properties/*/searchAds360Links/*}\x12\x8F\x02\x0A\x16UpdateSearchAds360Link\x12=.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest\x1A0.google.analytics.admin.v1alpha.SearchAds360Link\"\x83\x01\xDAA\x1Fsearch_ads_360_link,update_mask\x82\xD3\xE4\x93\x02[2D/v1alpha/{search_ads_360_link.name=properties/*/searchAds360Links/*}:\x13search_ads_360_link\x12\xCD\x01\x0A\x16GetAttributionSettings\x12=.google.analytics.admin.v1alpha.GetAttributionSettingsRequest\x1A3.google.analytics.admin.v1alpha.AttributionSettings\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1alpha/{name=properties/*/attributionSettings}\x12\x9B\x02\x0A\x19UpdateAttributionSettings\x12@.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest\x1A3.google.analytics.admin.v1alpha.AttributionSettings\"\x86\x01\xDAA attribution_settings,update_mask\x82\xD3\xE4\x93\x02]2E/v1alpha/{attribution_settings.name=properties/*/attributionSettings}:\x14attribution_settings\x12\xF0\x01\x0A\x0FRunAccessReport\x126.google.analytics.admin.v1alpha.RunAccessReportRequest\x1A7.google.analytics.admin.v1alpha.RunAccessReportResponse\"l\x82\xD3\xE4\x93\x02f\"./v1alpha/{entity=properties/*}:runAccessReport:\x01*Z1\",/v1alpha/{entity=accounts/*}:runAccessReport:\x01*\x12\x9F\x02\x0A\x13CreateAccessBinding\x12:.google.analytics.admin.v1alpha.CreateAccessBindingRequest\x1A-.google.analytics.admin.v1alpha.AccessBinding\"\x9C\x01\xDAA\x15parent,access_binding\x82\xD3\xE4\x93\x02~\"+/v1alpha/{parent=accounts/*}/accessBindings:\x0Eaccess_bindingZ?\"-/v1alpha/{parent=properties/*}/accessBindings:\x0Eaccess_binding\x12\xE7\x01\x0A\x10GetAccessBinding\x127.google.analytics.admin.v1alpha.GetAccessBindingRequest\x1A-.google.analytics.admin.v1alpha.AccessBinding\"k\xDAA\x04name\x82\xD3\xE4\x93\x02^\x12+/v1alpha/{name=accounts/*/accessBindings/*}Z/\x12-/v1alpha/{name=properties/*/accessBindings/*}\x12\xB7\x02\x0A\x13UpdateAccessBinding\x12:.google.analytics.admin.v1alpha.UpdateAccessBindingRequest\x1A-.google.analytics.admin.v1alpha.AccessBinding\"\xB4\x01\xDAA\x0Eaccess_binding\x82\xD3\xE4\x93\x02\x9C\x012:/v1alpha/{access_binding.name=accounts/*/accessBindings/*}:\x0Eaccess_bindingZN2\"9/v1alpha/{parent=properties/*}/accessBindings:batchCreate:\x01*\x12\x8F\x02\x0A\x16BatchGetAccessBindings\x12=.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest\x1A>.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse\"v\x82\xD3\xE4\x93\x02p\x124/v1alpha/{parent=accounts/*}/accessBindings:batchGetZ8\x126/v1alpha/{parent=properties/*}/accessBindings:batchGet\x12\xA5\x02\x0A\x19BatchUpdateAccessBindings\x12@.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest\x1AA.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse\"\x82\x01\x82\xD3\xE4\x93\x02|\"7/v1alpha/{parent=accounts/*}/accessBindings:batchUpdate:\x01*Z>\"9/v1alpha/{parent=properties/*}/accessBindings:batchUpdate:\x01*\x12\xFA\x01\x0A\x19BatchDeleteAccessBindings\x12@.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest\x1A\x16.google.protobuf.Empty\"\x82\x01\x82\xD3\xE4\x93\x02|\"7/v1alpha/{parent=accounts/*}/accessBindings:batchDelete:\x01*Z>\"9/v1alpha/{parent=properties/*}/accessBindings:batchDelete:\x01*\x12\xC0\x01\x0A\x12GetExpandedDataSet\x129.google.analytics.admin.v1alpha.GetExpandedDataSetRequest\x1A/.google.analytics.admin.v1alpha.ExpandedDataSet\">\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1alpha/{name=properties/*/expandedDataSets/*}\x12\xD3\x01\x0A\x14ListExpandedDataSets\x12;.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest\x1A<.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse\"@\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1alpha/{parent=properties/*}/expandedDataSets\x12\xED\x01\x0A\x15CreateExpandedDataSet\x12<.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest\x1A/.google.analytics.admin.v1alpha.ExpandedDataSet\"e\xDAA\x18parent,expanded_data_set\x82\xD3\xE4\x93\x02D\"//v1alpha/{parent=properties/*}/expandedDataSets:\x11expanded_data_set\x12\x84\x02\x0A\x15UpdateExpandedDataSet\x12<.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest\x1A/.google.analytics.admin.v1alpha.ExpandedDataSet\"|\xDAA\x1Dexpanded_data_set,update_mask\x82\xD3\xE4\x93\x02V2A/v1alpha/{expanded_data_set.name=properties/*/expandedDataSets/*}:\x11expanded_data_set\x12\xAD\x01\x0A\x15DeleteExpandedDataSet\x12<.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest\x1A\x16.google.protobuf.Empty\">\xDAA\x04name\x82\xD3\xE4\x93\x021*//v1alpha/{name=properties/*/expandedDataSets/*}\x12\xB4\x01\x0A\x0FGetChannelGroup\x126.google.analytics.admin.v1alpha.GetChannelGroupRequest\x1A,.google.analytics.admin.v1alpha.ChannelGroup\";\xDAA\x04name\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{name=properties/*/channelGroups/*}\x12\xC7\x01\x0A\x11ListChannelGroups\x128.google.analytics.admin.v1alpha.ListChannelGroupsRequest\x1A9.google.analytics.admin.v1alpha.ListChannelGroupsResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/channelGroups\x12\xD9\x01\x0A\x12CreateChannelGroup\x129.google.analytics.admin.v1alpha.CreateChannelGroupRequest\x1A,.google.analytics.admin.v1alpha.ChannelGroup\"Z\xDAA\x14parent,channel_group\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/channelGroups:\x0Dchannel_group\x12\xEC\x01\x0A\x12UpdateChannelGroup\x129.google.analytics.admin.v1alpha.UpdateChannelGroupRequest\x1A,.google.analytics.admin.v1alpha.ChannelGroup\"m\xDAA\x19channel_group,update_mask\x82\xD3\xE4\x93\x02K2:/v1alpha/{channel_group.name=properties/*/channelGroups/*}:\x0Dchannel_group\x12\xA4\x01\x0A\x12DeleteChannelGroup\x129.google.analytics.admin.v1alpha.DeleteChannelGroupRequest\x1A\x16.google.protobuf.Empty\";\xDAA\x04name\x82\xD3\xE4\x93\x02.*,/v1alpha/{name=properties/*/channelGroups/*}\x12\xD9\x01\x0A\x12CreateBigQueryLink\x129.google.analytics.admin.v1alpha.CreateBigQueryLinkRequest\x1A,.google.analytics.admin.v1alpha.BigQueryLink\"Z\xDAA\x14parent,bigquery_link\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/bigQueryLinks:\x0Dbigquery_link\x12\xB4\x01\x0A\x0FGetBigQueryLink\x126.google.analytics.admin.v1alpha.GetBigQueryLinkRequest\x1A,.google.analytics.admin.v1alpha.BigQueryLink\";\xDAA\x04name\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{name=properties/*/bigQueryLinks/*}\x12\xC7\x01\x0A\x11ListBigQueryLinks\x128.google.analytics.admin.v1alpha.ListBigQueryLinksRequest\x1A9.google.analytics.admin.v1alpha.ListBigQueryLinksResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/bigQueryLinks\x12\xA4\x01\x0A\x12DeleteBigQueryLink\x129.google.analytics.admin.v1alpha.DeleteBigQueryLinkRequest\x1A\x16.google.protobuf.Empty\";\xDAA\x04name\x82\xD3\xE4\x93\x02.*,/v1alpha/{name=properties/*/bigQueryLinks/*}\x12\xEC\x01\x0A\x12UpdateBigQueryLink\x129.google.analytics.admin.v1alpha.UpdateBigQueryLinkRequest\x1A,.google.analytics.admin.v1alpha.BigQueryLink\"m\xDAA\x19bigquery_link,update_mask\x82\xD3\xE4\x93\x02K2:/v1alpha/{bigquery_link.name=properties/*/bigQueryLinks/*}:\x0Dbigquery_link\x12\xFB\x01\x0A\x1EGetEnhancedMeasurementSettings\x12E.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest\x1A;.google.analytics.admin.v1alpha.EnhancedMeasurementSettings\"U\xDAA\x04name\x82\xD3\xE4\x93\x02H\x12F/v1alpha/{name=properties/*/dataStreams/*/enhancedMeasurementSettings}\x12\xE5\x02\x0A!UpdateEnhancedMeasurementSettings\x12H.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest\x1A;.google.analytics.admin.v1alpha.EnhancedMeasurementSettings\"\xB8\x01\xDAA)enhanced_measurement_settings,update_mask\x82\xD3\xE4\x93\x02\x85\x012d/v1alpha/{enhanced_measurement_settings.name=properties/*/dataStreams/*/enhancedMeasurementSettings}:\x1Denhanced_measurement_settings\x12\xB0\x01\x0A\x0EGetAdSenseLink\x125.google.analytics.admin.v1alpha.GetAdSenseLinkRequest\x1A+.google.analytics.admin.v1alpha.AdSenseLink\":\xDAA\x04name\x82\xD3\xE4\x93\x02-\x12+/v1alpha/{name=properties/*/adSenseLinks/*}\x12\xD3\x01\x0A\x11CreateAdSenseLink\x128.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest\x1A+.google.analytics.admin.v1alpha.AdSenseLink\"W\xDAA\x13parent,adsense_link\x82\xD3\xE4\x93\x02;\"+/v1alpha/{parent=properties/*}/adSenseLinks:\x0Cadsense_link\x12\xA1\x01\x0A\x11DeleteAdSenseLink\x128.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest\x1A\x16.google.protobuf.Empty\":\xDAA\x04name\x82\xD3\xE4\x93\x02-*+/v1alpha/{name=properties/*/adSenseLinks/*}\x12\xC3\x01\x0A\x10ListAdSenseLinks\x127.google.analytics.admin.v1alpha.ListAdSenseLinksRequest\x1A8.google.analytics.admin.v1alpha.ListAdSenseLinksResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1alpha/{parent=properties/*}/adSenseLinks\x12\xCE\x01\x0A\x12GetEventCreateRule\x129.google.analytics.admin.v1alpha.GetEventCreateRuleRequest\x1A/.google.analytics.admin.v1alpha.EventCreateRule\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}\x12\xE1\x01\x0A\x14ListEventCreateRules\x12;.google.analytics.admin.v1alpha.ListEventCreateRulesRequest\x1A<.google.analytics.admin.v1alpha.ListEventCreateRulesResponse\"N\xDAA\x06parent\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules\x12\xFB\x01\x0A\x15CreateEventCreateRule\x12<.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest\x1A/.google.analytics.admin.v1alpha.EventCreateRule\"s\xDAA\x18parent,event_create_rule\x82\xD3\xE4\x93\x02R\"=/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules:\x11event_create_rule\x12\x93\x02\x0A\x15UpdateEventCreateRule\x12<.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest\x1A/.google.analytics.admin.v1alpha.EventCreateRule\"\x8A\x01\xDAA\x1Devent_create_rule,update_mask\x82\xD3\xE4\x93\x02d2O/v1alpha/{event_create_rule.name=properties/*/dataStreams/*/eventCreateRules/*}:\x11event_create_rule\x12\xBB\x01\x0A\x15DeleteEventCreateRule\x12<.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest\x1A\x16.google.protobuf.Empty\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?*=/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}\x12\xC6\x01\x0A\x10GetEventEditRule\x127.google.analytics.admin.v1alpha.GetEventEditRuleRequest\x1A-.google.analytics.admin.v1alpha.EventEditRule\"J\xDAA\x04name\x82\xD3\xE4\x93\x02=\x12;/v1alpha/{name=properties/*/dataStreams/*/eventEditRules/*}\x12\xD9\x01\x0A\x12ListEventEditRules\x129.google.analytics.admin.v1alpha.ListEventEditRulesRequest\x1A:.google.analytics.admin.v1alpha.ListEventEditRulesResponse\"L\xDAA\x06parent\x82\xD3\xE4\x93\x02=\x12;/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules\x12\xEF\x01\x0A\x13CreateEventEditRule\x12:.google.analytics.admin.v1alpha.CreateEventEditRuleRequest\x1A-.google.analytics.admin.v1alpha.EventEditRule\"m\xDAA\x16parent,event_edit_rule\x82\xD3\xE4\x93\x02N\";/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules:\x0Fevent_edit_rule\x12\x85\x02\x0A\x13UpdateEventEditRule\x12:.google.analytics.admin.v1alpha.UpdateEventEditRuleRequest\x1A-.google.analytics.admin.v1alpha.EventEditRule\"\x82\x01\xDAA\x1Bevent_edit_rule,update_mask\x82\xD3\xE4\x93\x02^2K/v1alpha/{event_edit_rule.name=properties/*/dataStreams/*/eventEditRules/*}:\x0Fevent_edit_rule\x12\xB5\x01\x0A\x13DeleteEventEditRule\x12:.google.analytics.admin.v1alpha.DeleteEventEditRuleRequest\x1A\x16.google.protobuf.Empty\"J\xDAA\x04name\x82\xD3\xE4\x93\x02=*;/v1alpha/{name=properties/*/dataStreams/*/eventEditRules/*}\x12\xBD\x01\x0A\x15ReorderEventEditRules\x12<.google.analytics.admin.v1alpha.ReorderEventEditRulesRequest\x1A\x16.google.protobuf.Empty\"N\x82\xD3\xE4\x93\x02H\"C/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules:reorder:\x01*\x12\xBA\x02\x0A\x1BUpdateDataRedactionSettings\x12B.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRedactionSettings\"\x9F\x01\xDAA#data_redaction_settings,update_mask\x82\xD3\xE4\x93\x02s2X/v1alpha/{data_redaction_settings.name=properties/*/dataStreams/*/dataRedactionSettings}:\x17data_redaction_settings\x12\xE3\x01\x0A\x18GetDataRedactionSettings\x12?.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRedactionSettings\"O\xDAA\x04name\x82\xD3\xE4\x93\x02B\x12@/v1alpha/{name=properties/*/dataStreams/*/dataRedactionSettings}\x12\xC4\x01\x0A\x13GetCalculatedMetric\x12:.google.analytics.admin.v1alpha.GetCalculatedMetricRequest\x1A0.google.analytics.admin.v1alpha.CalculatedMetric\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1alpha/{name=properties/*/calculatedMetrics/*}\x12\x86\x02\x0A\x16CreateCalculatedMetric\x12=.google.analytics.admin.v1alpha.CreateCalculatedMetricRequest\x1A0.google.analytics.admin.v1alpha.CalculatedMetric\"{\xDAA-parent,calculated_metric,calculated_metric_id\x82\xD3\xE4\x93\x02E\"0/v1alpha/{parent=properties/*}/calculatedMetrics:\x11calculated_metric\x12\xD7\x01\x0A\x15ListCalculatedMetrics\x12<.google.analytics.admin.v1alpha.ListCalculatedMetricsRequest\x1A=.google.analytics.admin.v1alpha.ListCalculatedMetricsResponse\"A\xDAA\x06parent\x82\xD3\xE4\x93\x022\x120/v1alpha/{parent=properties/*}/calculatedMetrics\x12\x88\x02\x0A\x16UpdateCalculatedMetric\x12=.google.analytics.admin.v1alpha.UpdateCalculatedMetricRequest\x1A0.google.analytics.admin.v1alpha.CalculatedMetric\"}\xDAA\x1Dcalculated_metric,update_mask\x82\xD3\xE4\x93\x02W2B/v1alpha/{calculated_metric.name=properties/*/calculatedMetrics/*}:\x11calculated_metric\x12\xB0\x01\x0A\x16DeleteCalculatedMetric\x12=.google.analytics.admin.v1alpha.DeleteCalculatedMetricRequest\x1A\x16.google.protobuf.Empty\"?\xDAA\x04name\x82\xD3\xE4\x93\x022*0/v1alpha/{name=properties/*/calculatedMetrics/*}\x12\xC6\x01\x0A\x14CreateRollupProperty\x12;.google.analytics.admin.v1alpha.CreateRollupPropertyRequest\x1A<.google.analytics.admin.v1alpha.CreateRollupPropertyResponse\"3\x82\xD3\xE4\x93\x02-\"(/v1alpha/properties:createRollupProperty:\x01*\x12\xE4\x01\x0A\x1BGetRollupPropertySourceLink\x12B.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest\x1A8.google.analytics.admin.v1alpha.RollupPropertySourceLink\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\x128/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}\x12\xF7\x01\x0A\x1DListRollupPropertySourceLinks\x12D.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest\x1AE.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse\"I\xDAA\x06parent\x82\xD3\xE4\x93\x02:\x128/v1alpha/{parent=properties/*}/rollupPropertySourceLinks\x12\xA6\x02\x0A\x1ECreateRollupPropertySourceLink\x12E.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest\x1A8.google.analytics.admin.v1alpha.RollupPropertySourceLink\"\x82\x01\xDAA\"parent,rollup_property_source_link\x82\xD3\xE4\x93\x02W\"8/v1alpha/{parent=properties/*}/rollupPropertySourceLinks:\x1Brollup_property_source_link\x12\xC8\x01\x0A\x1EDeleteRollupPropertySourceLink\x12E.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest\x1A\x16.google.protobuf.Empty\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:*8/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}\x12\xC6\x01\x0A\x14ProvisionSubproperty\x12;.google.analytics.admin.v1alpha.ProvisionSubpropertyRequest\x1A<.google.analytics.admin.v1alpha.ProvisionSubpropertyResponse\"3\x82\xD3\xE4\x93\x02-\"(/v1alpha/properties:provisionSubproperty:\x01*\x12\x97\x02\x0A\x1CCreateSubpropertyEventFilter\x12C.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest\x1A6.google.analytics.admin.v1alpha.SubpropertyEventFilter\"z\xDAA\x1Fparent,subproperty_event_filter\x82\xD3\xE4\x93\x02R\"6/v1alpha/{parent=properties/*}/subpropertyEventFilters:\x18subproperty_event_filter\x12\xDC\x01\x0A\x19GetSubpropertyEventFilter\x12@.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest\x1A6.google.analytics.admin.v1alpha.SubpropertyEventFilter\"E\xDAA\x04name\x82\xD3\xE4\x93\x028\x126/v1alpha/{name=properties/*/subpropertyEventFilters/*}\x12\xEF\x01\x0A\x1BListSubpropertyEventFilters\x12B.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest\x1AC.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse\"G\xDAA\x06parent\x82\xD3\xE4\x93\x028\x126/v1alpha/{parent=properties/*}/subpropertyEventFilters\x12\xB6\x02\x0A\x1CUpdateSubpropertyEventFilter\x12C.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest\x1A6.google.analytics.admin.v1alpha.SubpropertyEventFilter\"\x98\x01\xDAA\$subproperty_event_filter,update_mask\x82\xD3\xE4\x93\x02k2O/v1alpha/{subproperty_event_filter.name=properties/*/subpropertyEventFilters/*}:\x18subproperty_event_filter\x12\xC2\x01\x0A\x1CDeleteSubpropertyEventFilter\x12C.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest\x1A\x16.google.protobuf.Empty\"E\xDAA\x04name\x82\xD3\xE4\x93\x028*6/v1alpha/{name=properties/*/subpropertyEventFilters/*}\x12\x9D\x02\x0A\x1DCreateReportingDataAnnotation\x12D.google.analytics.admin.v1alpha.CreateReportingDataAnnotationRequest\x1A7.google.analytics.admin.v1alpha.ReportingDataAnnotation\"}\xDAA parent,reporting_data_annotation\x82\xD3\xE4\x93\x02T\"7/v1alpha/{parent=properties/*}/reportingDataAnnotations:\x19reporting_data_annotation\x12\xE0\x01\x0A\x1AGetReportingDataAnnotation\x12A.google.analytics.admin.v1alpha.GetReportingDataAnnotationRequest\x1A7.google.analytics.admin.v1alpha.ReportingDataAnnotation\"F\xDAA\x04name\x82\xD3\xE4\x93\x029\x127/v1alpha/{name=properties/*/reportingDataAnnotations/*}\x12\xF3\x01\x0A\x1CListReportingDataAnnotations\x12C.google.analytics.admin.v1alpha.ListReportingDataAnnotationsRequest\x1AD.google.analytics.admin.v1alpha.ListReportingDataAnnotationsResponse\"H\xDAA\x06parent\x82\xD3\xE4\x93\x029\x127/v1alpha/{parent=properties/*}/reportingDataAnnotations\x12\xBD\x02\x0A\x1DUpdateReportingDataAnnotation\x12D.google.analytics.admin.v1alpha.UpdateReportingDataAnnotationRequest\x1A7.google.analytics.admin.v1alpha.ReportingDataAnnotation\"\x9C\x01\xDAA%reporting_data_annotation,update_mask\x82\xD3\xE4\x93\x02n2Q/v1alpha/{reporting_data_annotation.name=properties/*/reportingDataAnnotations/*}:\x19reporting_data_annotation\x12\xC5\x01\x0A\x1DDeleteReportingDataAnnotation\x12D.google.analytics.admin.v1alpha.DeleteReportingDataAnnotationRequest\x1A\x16.google.protobuf.Empty\"F\xDAA\x04name\x82\xD3\xE4\x93\x029*7/v1alpha/{name=properties/*/reportingDataAnnotations/*}\x12\xCE\x01\x0A\x12SubmitUserDeletion\x129.google.analytics.admin.v1alpha.SubmitUserDeletionRequest\x1A:.google.analytics.admin.v1alpha.SubmitUserDeletionResponse\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\"//v1alpha/{name=properties/*}:submitUserDeletion:\x01*\x12\xEB\x01\x0A\x1AListSubpropertySyncConfigs\x12A.google.analytics.admin.v1alpha.ListSubpropertySyncConfigsRequest\x1AB.google.analytics.admin.v1alpha.ListSubpropertySyncConfigsResponse\"F\xDAA\x06parent\x82\xD3\xE4\x93\x027\x125/v1alpha/{parent=properties/*}/subpropertySyncConfigs\x12\xAF\x02\x0A\x1BUpdateSubpropertySyncConfig\x12B.google.analytics.admin.v1alpha.UpdateSubpropertySyncConfigRequest\x1A5.google.analytics.admin.v1alpha.SubpropertySyncConfig\"\x94\x01\xDAA#subproperty_sync_config,update_mask\x82\xD3\xE4\x93\x02h2M/v1alpha/{subproperty_sync_config.name=properties/*/subpropertySyncConfigs/*}:\x17subproperty_sync_config\x12\xD8\x01\x0A\x18GetSubpropertySyncConfig\x12?.google.analytics.admin.v1alpha.GetSubpropertySyncConfigRequest\x1A5.google.analytics.admin.v1alpha.SubpropertySyncConfig\"D\xDAA\x04name\x82\xD3\xE4\x93\x027\x125/v1alpha/{name=properties/*/subpropertySyncConfigs/*}\x12\xE5\x01\x0A\x1CGetReportingIdentitySettings\x12C.google.analytics.admin.v1alpha.GetReportingIdentitySettingsRequest\x1A9.google.analytics.admin.v1alpha.ReportingIdentitySettings\"E\xDAA\x04name\x82\xD3\xE4\x93\x028\x126/v1alpha/{name=properties/*/reportingIdentitySettings}\x1A\xFC\x01\xCAA\x1Danalyticsadmin.googleapis.com\xD2A\xD8\x01https://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{\x0A\"com.google.analytics.admin.v1alphaB\x13AnalyticsAdminProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" + "\x0A\x9F\xFD\x03\x0A4google/analytics/admin/v1alpha/analytics_admin.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A-google/analytics/admin/v1alpha/audience.proto\x1A2google/analytics/admin/v1alpha/channel_group.proto\x1A:google/analytics/admin/v1alpha/event_create_and_edit.proto\x1A6google/analytics/admin/v1alpha/expanded_data_set.proto\x1A.google/analytics/admin/v1alpha/resources.proto\x1A=google/analytics/admin/v1alpha/subproperty_event_filter.proto\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xE0\x04\x0A\x16RunAccessReportRequest\x12\x0E\x0A\x06entity\x18\x01 \x01(\x09\x12C\x0A\x0Adimensions\x18\x02 \x03(\x0B2/.google.analytics.admin.v1alpha.AccessDimension\x12=\x0A\x07metrics\x18\x03 \x03(\x0B2,.google.analytics.admin.v1alpha.AccessMetric\x12D\x0A\x0Bdate_ranges\x18\x04 \x03(\x0B2/.google.analytics.admin.v1alpha.AccessDateRange\x12P\x0A\x10dimension_filter\x18\x05 \x01(\x0B26.google.analytics.admin.v1alpha.AccessFilterExpression\x12M\x0A\x0Dmetric_filter\x18\x06 \x01(\x0B26.google.analytics.admin.v1alpha.AccessFilterExpression\x12\x0E\x0A\x06offset\x18\x07 \x01(\x03\x12\x0D\x0A\x05limit\x18\x08 \x01(\x03\x12\x11\x0A\x09time_zone\x18\x09 \x01(\x09\x12@\x0A\x09order_bys\x18\x0A \x03(\x0B2-.google.analytics.admin.v1alpha.AccessOrderBy\x12\x1B\x0A\x13return_entity_quota\x18\x0B \x01(\x08\x12\x1E\x0A\x11include_all_users\x18\x0C \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dexpand_groups\x18\x0D \x01(\x08B\x03\xE0A\x01\"\xBF\x02\x0A\x17RunAccessReportResponse\x12P\x0A\x11dimension_headers\x18\x01 \x03(\x0B25.google.analytics.admin.v1alpha.AccessDimensionHeader\x12J\x0A\x0Emetric_headers\x18\x02 \x03(\x0B22.google.analytics.admin.v1alpha.AccessMetricHeader\x127\x0A\x04rows\x18\x03 \x03(\x0B2).google.analytics.admin.v1alpha.AccessRow\x12\x11\x0A\x09row_count\x18\x04 \x01(\x05\x12:\x0A\x05quota\x18\x05 \x01(\x0B2+.google.analytics.admin.v1alpha.AccessQuota\"P\x0A\x11GetAccountRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\"\\\x0A\x13ListAccountsRequest\x12\x16\x0A\x09page_size\x18\x01 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x14\x0A\x0Cshow_deleted\x18\x03 \x01(\x08\"j\x0A\x14ListAccountsResponse\x129\x0A\x08accounts\x18\x01 \x03(\x0B2'.google.analytics.admin.v1alpha.Account\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"S\x0A\x14DeleteAccountRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\"\x8B\x01\x0A\x14UpdateAccountRequest\x12=\x0A\x07account\x18\x01 \x01(\x0B2'.google.analytics.admin.v1alpha.AccountB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"o\x0A\x1DProvisionAccountTicketRequest\x128\x0A\x07account\x18\x01 \x01(\x0B2'.google.analytics.admin.v1alpha.Account\x12\x14\x0A\x0Credirect_uri\x18\x02 \x01(\x09\";\x0A\x1EProvisionAccountTicketResponse\x12\x19\x0A\x11account_ticket_id\x18\x01 \x01(\x09\"R\x0A\x12GetPropertyRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\"s\x0A\x15ListPropertiesRequest\x12\x13\x0A\x06filter\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x14\x0A\x0Cshow_deleted\x18\x04 \x01(\x08\"o\x0A\x16ListPropertiesResponse\x12<\x0A\x0Aproperties\x18\x01 \x03(\x0B2(.google.analytics.admin.v1alpha.Property\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x8E\x01\x0A\x15UpdatePropertyRequest\x12?\x0A\x08property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"X\x0A\x15CreatePropertyRequest\x12?\x0A\x08property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\"U\x0A\x15DeletePropertyRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\"\xA9\x01\x0A\x19CreateFirebaseLinkRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/FirebaseLink\x12H\x0A\x0Dfirebase_link\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.FirebaseLinkB\x03\xE0A\x02\"]\x0A\x19DeleteFirebaseLinkRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/FirebaseLink\"\x8F\x01\x0A\x18ListFirebaseLinksRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/FirebaseLink\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"z\x0A\x19ListFirebaseLinksResponse\x12D\x0A\x0Efirebase_links\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.FirebaseLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\\\x0A\x17GetGlobalSiteTagRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/GlobalSiteTag\"\xAE\x01\x0A\x1ACreateGoogleAdsLinkRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/GoogleAdsLink\x12K\x0A\x0Fgoogle_ads_link\x18\x02 \x01(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLinkB\x03\xE0A\x02\"\x9A\x01\x0A\x1AUpdateGoogleAdsLinkRequest\x12F\x0A\x0Fgoogle_ads_link\x18\x01 \x01(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLink\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"_\x0A\x1ADeleteGoogleAdsLinkRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/GoogleAdsLink\"\x91\x01\x0A\x19ListGoogleAdsLinksRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/GoogleAdsLink\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"~\x0A\x1AListGoogleAdsLinksResponse\x12G\x0A\x10google_ads_links\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"h\x0A\x1DGetDataSharingSettingsRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1analyticsadmin.googleapis.com/DataSharingSettings\"N\x0A\x1BListAccountSummariesRequest\x12\x16\x0A\x09page_size\x18\x01 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x02 \x01(\x09B\x03\xE0A\x01\"\x82\x01\x0A\x1CListAccountSummariesResponse\x12I\x0A\x11account_summaries\x18\x01 \x03(\x0B2..google.analytics.admin.v1alpha.AccountSummary\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x86\x01\x0A\$AcknowledgeUserDataCollectionRequest\x12@\x0A\x08property\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12\x1C\x0A\x0Facknowledgement\x18\x02 \x01(\x09B\x03\xE0A\x02\"'\x0A%AcknowledgeUserDataCollectionResponse\"\x83\x04\x0A SearchChangeHistoryEventsRequest\x12>\x0A\x07account\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\x12@\x0A\x08property\x18\x02 \x01(\x09B.\xE0A\x01\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12U\x0A\x0Dresource_type\x18\x03 \x03(\x0E29.google.analytics.admin.v1alpha.ChangeHistoryResourceTypeB\x03\xE0A\x01\x12?\x0A\x06action\x18\x04 \x03(\x0E2*.google.analytics.admin.v1alpha.ActionTypeB\x03\xE0A\x01\x12\x18\x0A\x0Bactor_email\x18\x05 \x03(\x09B\x03\xE0A\x01\x12=\x0A\x14earliest_change_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12;\x0A\x12latest_change_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x08 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x09 \x01(\x09B\x03\xE0A\x01\"\x8F\x01\x0A!SearchChangeHistoryEventsResponse\x12Q\x0A\x15change_history_events\x18\x01 \x03(\x0B22.google.analytics.admin.v1alpha.ChangeHistoryEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"t\x0A#GetMeasurementProtocolSecretRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\"\xDE\x01\x0A&CreateMeasurementProtocolSecretRequest\x12O\x0A\x06parent\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x127analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12c\x0A\x1Bmeasurement_protocol_secret\x18\x02 \x01(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecretB\x03\xE0A\x02\"w\x0A&DeleteMeasurementProtocolSecretRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\"\xC3\x01\x0A&UpdateMeasurementProtocolSecretRequest\x12c\x0A\x1Bmeasurement_protocol_secret\x18\x01 \x01(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecretB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xA9\x01\x0A%ListMeasurementProtocolSecretsRequest\x12O\x0A\x06parent\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x127analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xA2\x01\x0A&ListMeasurementProtocolSecretsResponse\x12_\x0A\x1Cmeasurement_protocol_secrets\x18\x01 \x03(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecret\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x82\x01\x0A*GetSKAdNetworkConversionValueSchemaRequest\x12T\x0A\x04name\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x0A>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\"\xFB\x01\x0A-CreateSKAdNetworkConversionValueSchemaRequest\x12V\x0A\x06parent\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x12>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\x12r\x0A#skadnetwork_conversion_value_schema\x18\x02 \x01(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaB\x03\xE0A\x02\"\x85\x01\x0A-DeleteSKAdNetworkConversionValueSchemaRequest\x12T\x0A\x04name\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x0A>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\"\xD9\x01\x0A-UpdateSKAdNetworkConversionValueSchemaRequest\x12r\x0A#skadnetwork_conversion_value_schema\x18\x01 \x01(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xB7\x01\x0A,ListSKAdNetworkConversionValueSchemasRequest\x12V\x0A\x06parent\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x12>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xB8\x01\x0A-ListSKAdNetworkConversionValueSchemasResponse\x12n\x0A\$skadnetwork_conversion_value_schemas\x18\x01 \x03(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"l\x0A\x1FGetGoogleSignalsSettingsRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/GoogleSignalsSettings\"\xB7\x01\x0A\"UpdateGoogleSignalsSettingsRequest\x12[\x0A\x17google_signals_settings\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.GoogleSignalsSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xB5\x01\x0A\x1CCreateConversionEventRequest\x12N\x0A\x10conversion_event\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.ConversionEventB\x03\xE0A\x02\x12E\x0A\x06parent\x18\x02 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ConversionEvent\"\xA4\x01\x0A\x1CUpdateConversionEventRequest\x12N\x0A\x10conversion_event\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.ConversionEventB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"`\x0A\x19GetConversionEventRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ConversionEvent\"c\x0A\x1CDeleteConversionEventRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ConversionEvent\"\x95\x01\x0A\x1BListConversionEventsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ConversionEvent\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x83\x01\x0A\x1CListConversionEventsResponse\x12J\x0A\x11conversion_events\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.ConversionEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x99\x01\x0A\x15CreateKeyEventRequest\x12@\x0A\x09key_event\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.KeyEventB\x03\xE0A\x02\x12>\x0A\x06parent\x18\x02 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/KeyEvent\"\x8F\x01\x0A\x15UpdateKeyEventRequest\x12@\x0A\x09key_event\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.KeyEventB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"R\x0A\x12GetKeyEventRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/KeyEvent\"U\x0A\x15DeleteKeyEventRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/KeyEvent\"\x87\x01\x0A\x14ListKeyEventsRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/KeyEvent\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"n\x0A\x15ListKeyEventsResponse\x12<\x0A\x0Akey_events\x18\x01 \x03(\x0B2(.google.analytics.admin.v1alpha.KeyEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"|\x0A'GetDisplayVideo360AdvertiserLinkRequest\x12Q\x0A\x04name\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x0A;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\"\xA7\x01\x0A)ListDisplayVideo360AdvertiserLinksRequest\x12S\x0A\x06parent\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x12;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\xB0\x01\x0A*ListDisplayVideo360AdvertiserLinksResponse\x12i\x0A\"display_video_360_advertiser_links\x18\x01 \x03(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xF0\x01\x0A*CreateDisplayVideo360AdvertiserLinkRequest\x12S\x0A\x06parent\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x12;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\x12m\x0A!display_video_360_advertiser_link\x18\x02 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkB\x03\xE0A\x02\"\x7F\x0A*DeleteDisplayVideo360AdvertiserLinkRequest\x12Q\x0A\x04name\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x0A;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\"\xCC\x01\x0A*UpdateDisplayVideo360AdvertiserLinkRequest\x12h\x0A!display_video_360_advertiser_link\x18\x01 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x8C\x01\x0A/GetDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\xB7\x01\x0A1ListDisplayVideo360AdvertiserLinkProposalsRequest\x12[\x0A\x06parent\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x12Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\xC9\x01\x0A2ListDisplayVideo360AdvertiserLinkProposalsResponse\x12z\x0A+display_video_360_advertiser_link_proposals\x18\x01 \x03(\x0B2E.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x91\x02\x0A2CreateDisplayVideo360AdvertiserLinkProposalRequest\x12[\x0A\x06parent\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x12Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\x12~\x0A*display_video_360_advertiser_link_proposal\x18\x02 \x01(\x0B2E.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalB\x03\xE0A\x02\"\x8F\x01\x0A2DeleteDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\x90\x01\x0A3ApproveDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\xA0\x01\x0A4ApproveDisplayVideo360AdvertiserLinkProposalResponse\x12h\x0A!display_video_360_advertiser_link\x18\x01 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"\x8F\x01\x0A2CancelDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"b\x0A\x1AGetSearchAds360LinkRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/SearchAds360Link\"\x8D\x01\x0A\x1CListSearchAds360LinksRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/SearchAds360Link\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x88\x01\x0A\x1DListSearchAds360LinksResponse\x12N\x0A\x14search_ads_360_links\x18\x01 \x03(\x0B20.google.analytics.admin.v1alpha.SearchAds360Link\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xBB\x01\x0A\x1DCreateSearchAds360LinkRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/SearchAds360Link\x12R\x0A\x13search_ads_360_link\x18\x02 \x01(\x0B20.google.analytics.admin.v1alpha.SearchAds360LinkB\x03\xE0A\x02\"e\x0A\x1DDeleteSearchAds360LinkRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/SearchAds360Link\"\xA4\x01\x0A\x1DUpdateSearchAds360LinkRequest\x12M\x0A\x13search_ads_360_link\x18\x01 \x01(\x0B20.google.analytics.admin.v1alpha.SearchAds360Link\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xB5\x01\x0A\x1CCreateCustomDimensionRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/CustomDimension\x12N\x0A\x10custom_dimension\x18\x02 \x01(\x0B2/.google.analytics.admin.v1alpha.CustomDimensionB\x03\xE0A\x02\"\x9F\x01\x0A\x1CUpdateCustomDimensionRequest\x12I\x0A\x10custom_dimension\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.CustomDimension\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x95\x01\x0A\x1BListCustomDimensionsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/CustomDimension\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x83\x01\x0A\x1CListCustomDimensionsResponse\x12J\x0A\x11custom_dimensions\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.CustomDimension\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"d\x0A\x1DArchiveCustomDimensionRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/CustomDimension\"`\x0A\x19GetCustomDimensionRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/CustomDimension\"\xA9\x01\x0A\x19CreateCustomMetricRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/CustomMetric\x12H\x0A\x0Dcustom_metric\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.CustomMetricB\x03\xE0A\x02\"\x96\x01\x0A\x19UpdateCustomMetricRequest\x12C\x0A\x0Dcustom_metric\x18\x01 \x01(\x0B2,.google.analytics.admin.v1alpha.CustomMetric\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x85\x01\x0A\x18ListCustomMetricsRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/CustomMetric\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"z\x0A\x19ListCustomMetricsResponse\x12D\x0A\x0Ecustom_metrics\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.CustomMetric\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"^\x0A\x1AArchiveCustomMetricRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/CustomMetric\"Z\x0A\x16GetCustomMetricRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/CustomMetric\"\xDC\x01\x0A\x1DCreateCalculatedMetricRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/CalculatedMetric\x12!\x0A\x14calculated_metric_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12P\x0A\x11calculated_metric\x18\x03 \x01(\x0B20.google.analytics.admin.v1alpha.CalculatedMetricB\x03\xE0A\x02\"\xA7\x01\x0A\x1DUpdateCalculatedMetricRequest\x12P\x0A\x11calculated_metric\x18\x01 \x01(\x0B20.google.analytics.admin.v1alpha.CalculatedMetricB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"e\x0A\x1DDeleteCalculatedMetricRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/CalculatedMetric\"\x97\x01\x0A\x1CListCalculatedMetricsRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/CalculatedMetric\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x86\x01\x0A\x1DListCalculatedMetricsResponse\x12L\x0A\x12calculated_metrics\x18\x01 \x03(\x0B20.google.analytics.admin.v1alpha.CalculatedMetric\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"b\x0A\x1AGetCalculatedMetricRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/CalculatedMetric\"l\x0A\x1FGetDataRetentionSettingsRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/DataRetentionSettings\"\xB7\x01\x0A\"UpdateDataRetentionSettingsRequest\x12[\x0A\x17data_retention_settings\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.DataRetentionSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xA1\x01\x0A\x17CreateDataStreamRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(analyticsadmin.googleapis.com/DataStream\x12D\x0A\x0Bdata_stream\x18\x02 \x01(\x0B2*.google.analytics.admin.v1alpha.DataStreamB\x03\xE0A\x02\"Y\x0A\x17DeleteDataStreamRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(analyticsadmin.googleapis.com/DataStream\"\x90\x01\x0A\x17UpdateDataStreamRequest\x12?\x0A\x0Bdata_stream\x18\x01 \x01(\x0B2*.google.analytics.admin.v1alpha.DataStream\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x81\x01\x0A\x16ListDataStreamsRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(analyticsadmin.googleapis.com/DataStream\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"t\x0A\x17ListDataStreamsResponse\x12@\x0A\x0Cdata_streams\x18\x01 \x03(\x0B2*.google.analytics.admin.v1alpha.DataStream\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"V\x0A\x14GetDataStreamRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(analyticsadmin.googleapis.com/DataStream\"R\x0A\x12GetAudienceRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Audience\"}\x0A\x14ListAudiencesRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/Audience\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"m\x0A\x15ListAudiencesResponse\x12;\x0A\x09audiences\x18\x01 \x03(\x0B2(.google.analytics.admin.v1alpha.Audience\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x98\x01\x0A\x15CreateAudienceRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/Audience\x12?\x0A\x08audience\x18\x02 \x01(\x0B2(.google.analytics.admin.v1alpha.AudienceB\x03\xE0A\x02\"\x8E\x01\x0A\x15UpdateAudienceRequest\x12?\x0A\x08audience\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.AudienceB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"V\x0A\x16ArchiveAudienceRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/Audience\"h\x0A\x1DGetAttributionSettingsRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1analyticsadmin.googleapis.com/AttributionSettings\"\xB0\x01\x0A UpdateAttributionSettingsRequest\x12V\x0A\x14attribution_settings\x18\x01 \x01(\x0B23.google.analytics.admin.v1alpha.AttributionSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\\\x0A\x17GetAccessBindingRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/AccessBinding\"\xA8\x01\x0A\x1DBatchGetAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12B\x0A\x05names\x18\x02 \x03(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/AccessBinding\"h\x0A\x1EBatchGetAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\"\x87\x01\x0A\x19ListAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"}\x0A\x1AListAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xAD\x01\x0A\x1ACreateAccessBindingRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12J\x0A\x0Eaccess_binding\x18\x02 \x01(\x0B2-.google.analytics.admin.v1alpha.AccessBindingB\x03\xE0A\x02\"\xBA\x01\x0A BatchCreateAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12Q\x0A\x08requests\x18\x03 \x03(\x0B2:.google.analytics.admin.v1alpha.CreateAccessBindingRequestB\x03\xE0A\x02\"k\x0A!BatchCreateAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\"h\x0A\x1AUpdateAccessBindingRequest\x12J\x0A\x0Eaccess_binding\x18\x01 \x01(\x0B2-.google.analytics.admin.v1alpha.AccessBindingB\x03\xE0A\x02\"\xBA\x01\x0A BatchUpdateAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12Q\x0A\x08requests\x18\x02 \x03(\x0B2:.google.analytics.admin.v1alpha.UpdateAccessBindingRequestB\x03\xE0A\x02\"k\x0A!BatchUpdateAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\"_\x0A\x1ADeleteAccessBindingRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/AccessBinding\"\xBA\x01\x0A BatchDeleteAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12Q\x0A\x08requests\x18\x02 \x03(\x0B2:.google.analytics.admin.v1alpha.DeleteAccessBindingRequestB\x03\xE0A\x02\"\xB6\x01\x0A\x1CCreateExpandedDataSetRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ExpandedDataSet\x12O\x0A\x11expanded_data_set\x18\x02 \x01(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSetB\x03\xE0A\x02\"\xA5\x01\x0A\x1CUpdateExpandedDataSetRequest\x12O\x0A\x11expanded_data_set\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSetB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"c\x0A\x1CDeleteExpandedDataSetRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ExpandedDataSet\"`\x0A\x19GetExpandedDataSetRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ExpandedDataSet\"\x8B\x01\x0A\x1BListExpandedDataSetsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ExpandedDataSet\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x84\x01\x0A\x1CListExpandedDataSetsResponse\x12K\x0A\x12expanded_data_sets\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSet\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA9\x01\x0A\x19CreateChannelGroupRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/ChannelGroup\x12H\x0A\x0Dchannel_group\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.ChannelGroupB\x03\xE0A\x02\"\x9B\x01\x0A\x19UpdateChannelGroupRequest\x12H\x0A\x0Dchannel_group\x18\x01 \x01(\x0B2,.google.analytics.admin.v1alpha.ChannelGroupB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"]\x0A\x19DeleteChannelGroupRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/ChannelGroup\"Z\x0A\x16GetChannelGroupRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/ChannelGroup\"\x85\x01\x0A\x18ListChannelGroupsRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/ChannelGroup\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"z\x0A\x19ListChannelGroupsResponse\x12D\x0A\x0Echannel_groups\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.ChannelGroup\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA9\x01\x0A\x19CreateBigQueryLinkRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/BigQueryLink\x12H\x0A\x0Dbigquery_link\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.BigQueryLinkB\x03\xE0A\x02\"Z\x0A\x16GetBigQueryLinkRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/BigQueryLink\"\x85\x01\x0A\x18ListBigQueryLinksRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/BigQueryLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"z\x0A\x19ListBigQueryLinksResponse\x12D\x0A\x0Ebigquery_links\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.BigQueryLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x9B\x01\x0A\x19UpdateBigQueryLinkRequest\x12H\x0A\x0Dbigquery_link\x18\x01 \x01(\x0B2,.google.analytics.admin.v1alpha.BigQueryLinkB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"]\x0A\x19DeleteBigQueryLinkRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/BigQueryLink\"x\x0A%GetEnhancedMeasurementSettingsRequest\x12O\x0A\x04name\x18\x01 \x01(\x09BA\xE0A\x02\xFAA;\x0A9analyticsadmin.googleapis.com/EnhancedMeasurementSettings\"\xC9\x01\x0A(UpdateEnhancedMeasurementSettingsRequest\x12g\x0A\x1Denhanced_measurement_settings\x18\x01 \x01(\x0B2;.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"l\x0A\x1FGetDataRedactionSettingsRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/DataRedactionSettings\"\xB7\x01\x0A\"UpdateDataRedactionSettingsRequest\x12[\x0A\x17data_redaction_settings\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.DataRedactionSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xA5\x01\x0A\x18CreateAdSenseLinkRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x12)analyticsadmin.googleapis.com/AdSenseLink\x12F\x0A\x0Cadsense_link\x18\x02 \x01(\x0B2+.google.analytics.admin.v1alpha.AdSenseLinkB\x03\xE0A\x02\"X\x0A\x15GetAdSenseLinkRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)analyticsadmin.googleapis.com/AdSenseLink\"[\x0A\x18DeleteAdSenseLinkRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)analyticsadmin.googleapis.com/AdSenseLink\"\x83\x01\x0A\x17ListAdSenseLinksRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x12)analyticsadmin.googleapis.com/AdSenseLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"w\x0A\x18ListAdSenseLinksResponse\x12B\x0A\x0Dadsense_links\x18\x01 \x03(\x0B2+.google.analytics.admin.v1alpha.AdSenseLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB6\x01\x0A\x1CCreateEventCreateRuleRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/EventCreateRule\x12O\x0A\x11event_create_rule\x18\x02 \x01(\x0B2/.google.analytics.admin.v1alpha.EventCreateRuleB\x03\xE0A\x02\"\xA5\x01\x0A\x1CUpdateEventCreateRuleRequest\x12O\x0A\x11event_create_rule\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.EventCreateRuleB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"c\x0A\x1CDeleteEventCreateRuleRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/EventCreateRule\"`\x0A\x19GetEventCreateRuleRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/EventCreateRule\"\x8B\x01\x0A\x1BListEventCreateRulesRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/EventCreateRule\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x84\x01\x0A\x1CListEventCreateRulesResponse\x12K\x0A\x12event_create_rules\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.EventCreateRule\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xAE\x01\x0A\x1ACreateEventEditRuleRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/EventEditRule\x12K\x0A\x0Fevent_edit_rule\x18\x02 \x01(\x0B2-.google.analytics.admin.v1alpha.EventEditRuleB\x03\xE0A\x02\"\x9F\x01\x0A\x1AUpdateEventEditRuleRequest\x12K\x0A\x0Fevent_edit_rule\x18\x01 \x01(\x0B2-.google.analytics.admin.v1alpha.EventEditRuleB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"_\x0A\x1ADeleteEventEditRuleRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/EventEditRule\"\\\x0A\x17GetEventEditRuleRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/EventEditRule\"\x91\x01\x0A\x19ListEventEditRulesRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/EventEditRule\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"~\x0A\x1AListEventEditRulesResponse\x12G\x0A\x10event_edit_rules\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.EventEditRule\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x82\x01\x0A\x1CReorderEventEditRulesRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/EventEditRule\x12\x1D\x0A\x10event_edit_rules\x18\x02 \x03(\x09B\x03\xE0A\x02\"\x85\x01\x0A\x1BCreateRollupPropertyRequest\x12F\x0A\x0Frollup_property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\x12\x1E\x0A\x11source_properties\x18\x02 \x03(\x09B\x03\xE0A\x01\"\xC1\x01\x0A\x1CCreateRollupPropertyResponse\x12A\x0A\x0Frollup_property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.Property\x12^\x0A\x1Crollup_property_source_links\x18\x02 \x03(\x0B28.google.analytics.admin.v1alpha.RollupPropertySourceLink\"r\x0A\"GetRollupPropertySourceLinkRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6analyticsadmin.googleapis.com/RollupPropertySourceLink\"\xA7\x01\x0A\$ListRollupPropertySourceLinksRequest\x12N\x0A\x06parent\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x126analyticsadmin.googleapis.com/RollupPropertySourceLink\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xA0\x01\x0A%ListRollupPropertySourceLinksResponse\x12^\x0A\x1Crollup_property_source_links\x18\x01 \x03(\x0B28.google.analytics.admin.v1alpha.RollupPropertySourceLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xDB\x01\x0A%CreateRollupPropertySourceLinkRequest\x12N\x0A\x06parent\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x126analyticsadmin.googleapis.com/RollupPropertySourceLink\x12b\x0A\x1Brollup_property_source_link\x18\x02 \x01(\x0B28.google.analytics.admin.v1alpha.RollupPropertySourceLinkB\x03\xE0A\x02\"u\x0A%DeleteRollupPropertySourceLinkRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6analyticsadmin.googleapis.com/RollupPropertySourceLink\"\xCB\x02\x0A\x1BProvisionSubpropertyRequest\x12B\x0A\x0Bsubproperty\x18\x02 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\x12]\x0A\x18subproperty_event_filter\x18\x03 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilterB\x03\xE0A\x01\x12\x88\x01\x0A0custom_dimension_and_metric_synchronization_mode\x18\x04 \x01(\x0E2I.google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationModeB\x03\xE0A\x01\"\xB7\x01\x0A\x1CProvisionSubpropertyResponse\x12=\x0A\x0Bsubproperty\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.Property\x12X\x0A\x18subproperty_event_filter\x18\x02 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilter\"\xD2\x01\x0A#CreateSubpropertyEventFilterRequest\x12L\x0A\x06parent\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x124analyticsadmin.googleapis.com/SubpropertyEventFilter\x12]\x0A\x18subproperty_event_filter\x18\x02 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilterB\x03\xE0A\x02\"n\x0A GetSubpropertyEventFilterRequest\x12J\x0A\x04name\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x0A4analyticsadmin.googleapis.com/SubpropertyEventFilter\"\xA3\x01\x0A\"ListSubpropertyEventFiltersRequest\x12L\x0A\x06parent\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x124analyticsadmin.googleapis.com/SubpropertyEventFilter\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x99\x01\x0A#ListSubpropertyEventFiltersResponse\x12Y\x0A\x19subproperty_event_filters\x18\x01 \x03(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilter\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xBA\x01\x0A#UpdateSubpropertyEventFilterRequest\x12]\x0A\x18subproperty_event_filter\x18\x01 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilterB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"q\x0A#DeleteSubpropertyEventFilterRequest\x12J\x0A\x04name\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x0A4analyticsadmin.googleapis.com/SubpropertyEventFilter\"\xD6\x01\x0A\$CreateReportingDataAnnotationRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125analyticsadmin.googleapis.com/ReportingDataAnnotation\x12_\x0A\x19reporting_data_annotation\x18\x02 \x01(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotationB\x03\xE0A\x02\"p\x0A!GetReportingDataAnnotationRequest\x12K\x0A\x04name\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x0A5analyticsadmin.googleapis.com/ReportingDataAnnotation\"\xBA\x01\x0A#ListReportingDataAnnotationsRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125analyticsadmin.googleapis.com/ReportingDataAnnotation\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\"\x9C\x01\x0A\$ListReportingDataAnnotationsResponse\x12[\x0A\x1Areporting_data_annotations\x18\x01 \x03(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotation\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xBD\x01\x0A\$UpdateReportingDataAnnotationRequest\x12_\x0A\x19reporting_data_annotation\x18\x01 \x01(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotationB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"s\x0A\$DeleteReportingDataAnnotationRequest\x12K\x0A\x04name\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x0A5analyticsadmin.googleapis.com/ReportingDataAnnotation\"\xC2\x01\x0A\x19SubmitUserDeletionRequest\x12\x11\x0A\x07user_id\x18\x02 \x01(\x09H\x00\x12\x13\x0A\x09client_id\x18\x03 \x01(\x09H\x00\x12\x19\x0A\x0Fapp_instance_id\x18\x04 \x01(\x09H\x00\x12\x1C\x0A\x12user_provided_data\x18\x05 \x01(\x09H\x00\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/PropertyB\x06\x0A\x04user\"W\x0A\x1ASubmitUserDeletionResponse\x129\x0A\x15deletion_request_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\"l\x0A\x1FGetSubpropertySyncConfigRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/SubpropertySyncConfig\"\xA1\x01\x0A!ListSubpropertySyncConfigsRequest\x12K\x0A\x06parent\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x123analyticsadmin.googleapis.com/SubpropertySyncConfig\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x96\x01\x0A\"ListSubpropertySyncConfigsResponse\x12W\x0A\x18subproperty_sync_configs\x18\x01 \x03(\x0B25.google.analytics.admin.v1alpha.SubpropertySyncConfig\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB7\x01\x0A\"UpdateSubpropertySyncConfigRequest\x12[\x0A\x17subproperty_sync_config\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.SubpropertySyncConfigB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"t\x0A#GetReportingIdentitySettingsRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/ReportingIdentitySettings\"r\x0A\"GetUserProvidedDataSettingsRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6analyticsadmin.googleapis.com/UserProvidedDataSettings2\x88\x99\x02\x0A\x15AnalyticsAdminService\x12\x93\x01\x0A\x0AGetAccount\x121.google.analytics.admin.v1alpha.GetAccountRequest\x1A'.google.analytics.admin.v1alpha.Account\")\xDAA\x04name\x82\xD3\xE4\x93\x02\x1C\x12\x1A/v1alpha/{name=accounts/*}\x12\x94\x01\x0A\x0CListAccounts\x123.google.analytics.admin.v1alpha.ListAccountsRequest\x1A4.google.analytics.admin.v1alpha.ListAccountsResponse\"\x19\x82\xD3\xE4\x93\x02\x13\x12\x11/v1alpha/accounts\x12\x88\x01\x0A\x0DDeleteAccount\x124.google.analytics.admin.v1alpha.DeleteAccountRequest\x1A\x16.google.protobuf.Empty\")\xDAA\x04name\x82\xD3\xE4\x93\x02\x1C*\x1A/v1alpha/{name=accounts/*}\x12\xB9\x01\x0A\x0DUpdateAccount\x124.google.analytics.admin.v1alpha.UpdateAccountRequest\x1A'.google.analytics.admin.v1alpha.Account\"I\xDAA\x13account,update_mask\x82\xD3\xE4\x93\x02-2\"/v1alpha/{account.name=accounts/*}:\x07account\x12\xCC\x01\x0A\x16ProvisionAccountTicket\x12=.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest\x1A>.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse\"3\x82\xD3\xE4\x93\x02-\"(/v1alpha/accounts:provisionAccountTicket:\x01*\x12\xB4\x01\x0A\x14ListAccountSummaries\x12;.google.analytics.admin.v1alpha.ListAccountSummariesRequest\x1A<.google.analytics.admin.v1alpha.ListAccountSummariesResponse\"!\x82\xD3\xE4\x93\x02\x1B\x12\x19/v1alpha/accountSummaries\x12\x98\x01\x0A\x0BGetProperty\x122.google.analytics.admin.v1alpha.GetPropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"+\xDAA\x04name\x82\xD3\xE4\x93\x02\x1E\x12\x1C/v1alpha/{name=properties/*}\x12\x9C\x01\x0A\x0EListProperties\x125.google.analytics.admin.v1alpha.ListPropertiesRequest\x1A6.google.analytics.admin.v1alpha.ListPropertiesResponse\"\x1B\x82\xD3\xE4\x93\x02\x15\x12\x13/v1alpha/properties\x12\xA3\x01\x0A\x0ECreateProperty\x125.google.analytics.admin.v1alpha.CreatePropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"0\xDAA\x08property\x82\xD3\xE4\x93\x02\x1F\"\x13/v1alpha/properties:\x08property\x12\x9E\x01\x0A\x0EDeleteProperty\x125.google.analytics.admin.v1alpha.DeletePropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"+\xDAA\x04name\x82\xD3\xE4\x93\x02\x1E*\x1C/v1alpha/{name=properties/*}\x12\xC1\x01\x0A\x0EUpdateProperty\x125.google.analytics.admin.v1alpha.UpdatePropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"N\xDAA\x14property,update_mask\x82\xD3\xE4\x93\x0212%/v1alpha/{property.name=properties/*}:\x08property\x12\xD9\x01\x0A\x12CreateFirebaseLink\x129.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest\x1A,.google.analytics.admin.v1alpha.FirebaseLink\"Z\xDAA\x14parent,firebase_link\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/firebaseLinks:\x0Dfirebase_link\x12\xA4\x01\x0A\x12DeleteFirebaseLink\x129.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest\x1A\x16.google.protobuf.Empty\";\xDAA\x04name\x82\xD3\xE4\x93\x02.*,/v1alpha/{name=properties/*/firebaseLinks/*}\x12\xC7\x01\x0A\x11ListFirebaseLinks\x128.google.analytics.admin.v1alpha.ListFirebaseLinksRequest\x1A9.google.analytics.admin.v1alpha.ListFirebaseLinksResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/firebaseLinks\x12\xC3\x01\x0A\x10GetGlobalSiteTag\x127.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest\x1A-.google.analytics.admin.v1alpha.GlobalSiteTag\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\x128/v1alpha/{name=properties/*/dataStreams/*/globalSiteTag}\x12\xE1\x01\x0A\x13CreateGoogleAdsLink\x12:.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest\x1A-.google.analytics.admin.v1alpha.GoogleAdsLink\"_\xDAA\x16parent,google_ads_link\x82\xD3\xE4\x93\x02@\"-/v1alpha/{parent=properties/*}/googleAdsLinks:\x0Fgoogle_ads_link\x12\xF6\x01\x0A\x13UpdateGoogleAdsLink\x12:.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest\x1A-.google.analytics.admin.v1alpha.GoogleAdsLink\"t\xDAA\x1Bgoogle_ads_link,update_mask\x82\xD3\xE4\x93\x02P2=/v1alpha/{google_ads_link.name=properties/*/googleAdsLinks/*}:\x0Fgoogle_ads_link\x12\xA7\x01\x0A\x13DeleteGoogleAdsLink\x12:.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest\x1A\x16.google.protobuf.Empty\"<\xDAA\x04name\x82\xD3\xE4\x93\x02/*-/v1alpha/{name=properties/*/googleAdsLinks/*}\x12\xCB\x01\x0A\x12ListGoogleAdsLinks\x129.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest\x1A:.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse\">\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1alpha/{parent=properties/*}/googleAdsLinks\x12\xCB\x01\x0A\x16GetDataSharingSettings\x12=.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest\x1A3.google.analytics.admin.v1alpha.DataSharingSettings\"=\xDAA\x04name\x82\xD3\xE4\x93\x020\x12./v1alpha/{name=accounts/*/dataSharingSettings}\x12\xF6\x01\x0A\x1CGetMeasurementProtocolSecret\x12C.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest\x1A9.google.analytics.admin.v1alpha.MeasurementProtocolSecret\"V\xDAA\x04name\x82\xD3\xE4\x93\x02I\x12G/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}\x12\x89\x02\x0A\x1EListMeasurementProtocolSecrets\x12E.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest\x1AF.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse\"X\xDAA\x06parent\x82\xD3\xE4\x93\x02I\x12G/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets\x12\xB8\x02\x0A\x1FCreateMeasurementProtocolSecret\x12F.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest\x1A9.google.analytics.admin.v1alpha.MeasurementProtocolSecret\"\x91\x01\xDAA\"parent,measurement_protocol_secret\x82\xD3\xE4\x93\x02f\"G/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets:\x1Bmeasurement_protocol_secret\x12\xD9\x01\x0A\x1FDeleteMeasurementProtocolSecret\x12F.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest\x1A\x16.google.protobuf.Empty\"V\xDAA\x04name\x82\xD3\xE4\x93\x02I*G/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}\x12\xDA\x02\x0A\x1FUpdateMeasurementProtocolSecret\x12F.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest\x1A9.google.analytics.admin.v1alpha.MeasurementProtocolSecret\"\xB3\x01\xDAA'measurement_protocol_secret,update_mask\x82\xD3\xE4\x93\x02\x82\x012c/v1alpha/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}:\x1Bmeasurement_protocol_secret\x12\xF7\x01\x0A\x1DAcknowledgeUserDataCollection\x12D.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest\x1AE.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse\"I\x82\xD3\xE4\x93\x02C\">/v1alpha/{property=properties/*}:acknowledgeUserDataCollection:\x01*\x12\x91\x02\x0A#GetSKAdNetworkConversionValueSchema\x12J.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest\x1A@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\"\\\xDAA\x04name\x82\xD3\xE4\x93\x02O\x12M/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}\x12\xE3\x02\x0A&CreateSKAdNetworkConversionValueSchema\x12M.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest\x1A@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\"\xA7\x01\xDAA*parent,skadnetwork_conversion_value_schema\x82\xD3\xE4\x93\x02t\"M/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema:#skadnetwork_conversion_value_schema\x12\xED\x01\x0A&DeleteSKAdNetworkConversionValueSchema\x12M.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest\x1A\x16.google.protobuf.Empty\"\\\xDAA\x04name\x82\xD3\xE4\x93\x02O*M/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}\x12\x8D\x03\x0A&UpdateSKAdNetworkConversionValueSchema\x12M.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest\x1A@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\"\xD1\x01\xDAA/skadnetwork_conversion_value_schema,update_mask\x82\xD3\xE4\x93\x02\x98\x012q/v1alpha/{skadnetwork_conversion_value_schema.name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}:#skadnetwork_conversion_value_schema\x12\xA4\x02\x0A%ListSKAdNetworkConversionValueSchemas\x12L.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest\x1AM.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse\"^\xDAA\x06parent\x82\xD3\xE4\x93\x02O\x12M/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema\x12\xE4\x01\x0A\x19SearchChangeHistoryEvents\x12@.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest\x1AA.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse\"B\x82\xD3\xE4\x93\x02<\"7/v1alpha/{account=accounts/*}:searchChangeHistoryEvents:\x01*\x12\xD5\x01\x0A\x18GetGoogleSignalsSettings\x12?.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest\x1A5.google.analytics.admin.v1alpha.GoogleSignalsSettings\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\x122/v1alpha/{name=properties/*/googleSignalsSettings}\x12\xAC\x02\x0A\x1BUpdateGoogleSignalsSettings\x12B.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest\x1A5.google.analytics.admin.v1alpha.GoogleSignalsSettings\"\x91\x01\xDAA#google_signals_settings,update_mask\x82\xD3\xE4\x93\x02e2J/v1alpha/{google_signals_settings.name=properties/*/googleSignalsSettings}:\x17google_signals_settings\x12\xEE\x01\x0A\x15CreateConversionEvent\x12<.google.analytics.admin.v1alpha.CreateConversionEventRequest\x1A/.google.analytics.admin.v1alpha.ConversionEvent\"f\x88\x02\x01\xDAA\x17parent,conversion_event\x82\xD3\xE4\x93\x02C\"//v1alpha/{parent=properties/*}/conversionEvents:\x10conversion_event\x12\x84\x02\x0A\x15UpdateConversionEvent\x12<.google.analytics.admin.v1alpha.UpdateConversionEventRequest\x1A/.google.analytics.admin.v1alpha.ConversionEvent\"|\x88\x02\x01\xDAA\x1Cconversion_event,update_mask\x82\xD3\xE4\x93\x02T2@/v1alpha/{conversion_event.name=properties/*/conversionEvents/*}:\x10conversion_event\x12\xC3\x01\x0A\x12GetConversionEvent\x129.google.analytics.admin.v1alpha.GetConversionEventRequest\x1A/.google.analytics.admin.v1alpha.ConversionEvent\"A\x88\x02\x01\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1alpha/{name=properties/*/conversionEvents/*}\x12\xB0\x01\x0A\x15DeleteConversionEvent\x12<.google.analytics.admin.v1alpha.DeleteConversionEventRequest\x1A\x16.google.protobuf.Empty\"A\x88\x02\x01\xDAA\x04name\x82\xD3\xE4\x93\x021*//v1alpha/{name=properties/*/conversionEvents/*}\x12\xD6\x01\x0A\x14ListConversionEvents\x12;.google.analytics.admin.v1alpha.ListConversionEventsRequest\x1A<.google.analytics.admin.v1alpha.ListConversionEventsResponse\"C\x88\x02\x01\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1alpha/{parent=properties/*}/conversionEvents\x12\xC1\x01\x0A\x0ECreateKeyEvent\x125.google.analytics.admin.v1alpha.CreateKeyEventRequest\x1A(.google.analytics.admin.v1alpha.KeyEvent\"N\xDAA\x10parent,key_event\x82\xD3\xE4\x93\x025\"(/v1alpha/{parent=properties/*}/keyEvents:\x09key_event\x12\xD0\x01\x0A\x0EUpdateKeyEvent\x125.google.analytics.admin.v1alpha.UpdateKeyEventRequest\x1A(.google.analytics.admin.v1alpha.KeyEvent\"]\xDAA\x15key_event,update_mask\x82\xD3\xE4\x93\x02?22/v1alpha/{key_event.name=properties/*/keyEvents/*}:\x09key_event\x12\xA4\x01\x0A\x0BGetKeyEvent\x122.google.analytics.admin.v1alpha.GetKeyEventRequest\x1A(.google.analytics.admin.v1alpha.KeyEvent\"7\xDAA\x04name\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{name=properties/*/keyEvents/*}\x12\x98\x01\x0A\x0EDeleteKeyEvent\x125.google.analytics.admin.v1alpha.DeleteKeyEventRequest\x1A\x16.google.protobuf.Empty\"7\xDAA\x04name\x82\xD3\xE4\x93\x02**(/v1alpha/{name=properties/*/keyEvents/*}\x12\xB7\x01\x0A\x0DListKeyEvents\x124.google.analytics.admin.v1alpha.ListKeyEventsRequest\x1A5.google.analytics.admin.v1alpha.ListKeyEventsResponse\"9\xDAA\x06parent\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{parent=properties/*}/keyEvents\x12\xF8\x01\x0A GetDisplayVideo360AdvertiserLink\x12G.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest\x1A=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}\x12\x8B\x02\x0A\"ListDisplayVideo360AdvertiserLinks\x12I.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest\x1AJ.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse\"N\xDAA\x06parent\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks\x12\xC6\x02\x0A#CreateDisplayVideo360AdvertiserLink\x12J.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest\x1A=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"\x93\x01\xDAA(parent,display_video_360_advertiser_link\x82\xD3\xE4\x93\x02b\"=/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks:!display_video_360_advertiser_link\x12\xD7\x01\x0A#DeleteDisplayVideo360AdvertiserLink\x12J.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest\x1A\x16.google.protobuf.Empty\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?*=/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}\x12\xEE\x02\x0A#UpdateDisplayVideo360AdvertiserLink\x12J.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest\x1A=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"\xBB\x01\xDAA-display_video_360_advertiser_link,update_mask\x82\xD3\xE4\x93\x02\x84\x012_/v1alpha/{display_video_360_advertiser_link.name=properties/*/displayVideo360AdvertiserLinks/*}:!display_video_360_advertiser_link\x12\x98\x02\x0A(GetDisplayVideo360AdvertiserLinkProposal\x12O.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest\x1AE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\"T\xDAA\x04name\x82\xD3\xE4\x93\x02G\x12E/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}\x12\xAB\x02\x0A*ListDisplayVideo360AdvertiserLinkProposals\x12Q.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest\x1AR.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse\"V\xDAA\x06parent\x82\xD3\xE4\x93\x02G\x12E/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals\x12\xF8\x02\x0A+CreateDisplayVideo360AdvertiserLinkProposal\x12R.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest\x1AE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\"\xAD\x01\xDAA1parent,display_video_360_advertiser_link_proposal\x82\xD3\xE4\x93\x02s\"E/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals:*display_video_360_advertiser_link_proposal\x12\xEF\x01\x0A+DeleteDisplayVideo360AdvertiserLinkProposal\x12R.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest\x1A\x16.google.protobuf.Empty\"T\xDAA\x04name\x82\xD3\xE4\x93\x02G*E/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}\x12\xB3\x02\x0A,ApproveDisplayVideo360AdvertiserLinkProposal\x12S.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest\x1AT.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse\"X\x82\xD3\xE4\x93\x02R\"M/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve:\x01*\x12\xA1\x02\x0A+CancelDisplayVideo360AdvertiserLinkProposal\x12R.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest\x1AE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\"W\x82\xD3\xE4\x93\x02Q\"L/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:cancel:\x01*\x12\xEB\x01\x0A\x15CreateCustomDimension\x12<.google.analytics.admin.v1alpha.CreateCustomDimensionRequest\x1A/.google.analytics.admin.v1alpha.CustomDimension\"c\xDAA\x17parent,custom_dimension\x82\xD3\xE4\x93\x02C\"//v1alpha/{parent=properties/*}/customDimensions:\x10custom_dimension\x12\x81\x02\x0A\x15UpdateCustomDimension\x12<.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest\x1A/.google.analytics.admin.v1alpha.CustomDimension\"y\xDAA\x1Ccustom_dimension,update_mask\x82\xD3\xE4\x93\x02T2@/v1alpha/{custom_dimension.name=properties/*/customDimensions/*}:\x10custom_dimension\x12\xD3\x01\x0A\x14ListCustomDimensions\x12;.google.analytics.admin.v1alpha.ListCustomDimensionsRequest\x1A<.google.analytics.admin.v1alpha.ListCustomDimensionsResponse\"@\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1alpha/{parent=properties/*}/customDimensions\x12\xBA\x01\x0A\x16ArchiveCustomDimension\x12=.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest\x1A\x16.google.protobuf.Empty\"I\xDAA\x04name\x82\xD3\xE4\x93\x02<\"7/v1alpha/{name=properties/*/customDimensions/*}:archive:\x01*\x12\xC0\x01\x0A\x12GetCustomDimension\x129.google.analytics.admin.v1alpha.GetCustomDimensionRequest\x1A/.google.analytics.admin.v1alpha.CustomDimension\">\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1alpha/{name=properties/*/customDimensions/*}\x12\xD9\x01\x0A\x12CreateCustomMetric\x129.google.analytics.admin.v1alpha.CreateCustomMetricRequest\x1A,.google.analytics.admin.v1alpha.CustomMetric\"Z\xDAA\x14parent,custom_metric\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/customMetrics:\x0Dcustom_metric\x12\xEC\x01\x0A\x12UpdateCustomMetric\x129.google.analytics.admin.v1alpha.UpdateCustomMetricRequest\x1A,.google.analytics.admin.v1alpha.CustomMetric\"m\xDAA\x19custom_metric,update_mask\x82\xD3\xE4\x93\x02K2:/v1alpha/{custom_metric.name=properties/*/customMetrics/*}:\x0Dcustom_metric\x12\xC7\x01\x0A\x11ListCustomMetrics\x128.google.analytics.admin.v1alpha.ListCustomMetricsRequest\x1A9.google.analytics.admin.v1alpha.ListCustomMetricsResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/customMetrics\x12\xB1\x01\x0A\x13ArchiveCustomMetric\x12:.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest\x1A\x16.google.protobuf.Empty\"F\xDAA\x04name\x82\xD3\xE4\x93\x029\"4/v1alpha/{name=properties/*/customMetrics/*}:archive:\x01*\x12\xB4\x01\x0A\x0FGetCustomMetric\x126.google.analytics.admin.v1alpha.GetCustomMetricRequest\x1A,.google.analytics.admin.v1alpha.CustomMetric\";\xDAA\x04name\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{name=properties/*/customMetrics/*}\x12\xD5\x01\x0A\x18GetDataRetentionSettings\x12?.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRetentionSettings\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\x122/v1alpha/{name=properties/*/dataRetentionSettings}\x12\xAC\x02\x0A\x1BUpdateDataRetentionSettings\x12B.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRetentionSettings\"\x91\x01\xDAA#data_retention_settings,update_mask\x82\xD3\xE4\x93\x02e2J/v1alpha/{data_retention_settings.name=properties/*/dataRetentionSettings}:\x17data_retention_settings\x12\xCD\x01\x0A\x10CreateDataStream\x127.google.analytics.admin.v1alpha.CreateDataStreamRequest\x1A*.google.analytics.admin.v1alpha.DataStream\"T\xDAA\x12parent,data_stream\x82\xD3\xE4\x93\x029\"*/v1alpha/{parent=properties/*}/dataStreams:\x0Bdata_stream\x12\x9E\x01\x0A\x10DeleteDataStream\x127.google.analytics.admin.v1alpha.DeleteDataStreamRequest\x1A\x16.google.protobuf.Empty\"9\xDAA\x04name\x82\xD3\xE4\x93\x02,**/v1alpha/{name=properties/*/dataStreams/*}\x12\xDE\x01\x0A\x10UpdateDataStream\x127.google.analytics.admin.v1alpha.UpdateDataStreamRequest\x1A*.google.analytics.admin.v1alpha.DataStream\"e\xDAA\x17data_stream,update_mask\x82\xD3\xE4\x93\x02E26/v1alpha/{data_stream.name=properties/*/dataStreams/*}:\x0Bdata_stream\x12\xBF\x01\x0A\x0FListDataStreams\x126.google.analytics.admin.v1alpha.ListDataStreamsRequest\x1A7.google.analytics.admin.v1alpha.ListDataStreamsResponse\";\xDAA\x06parent\x82\xD3\xE4\x93\x02,\x12*/v1alpha/{parent=properties/*}/dataStreams\x12\xAC\x01\x0A\x0DGetDataStream\x124.google.analytics.admin.v1alpha.GetDataStreamRequest\x1A*.google.analytics.admin.v1alpha.DataStream\"9\xDAA\x04name\x82\xD3\xE4\x93\x02,\x12*/v1alpha/{name=properties/*/dataStreams/*}\x12\xA4\x01\x0A\x0BGetAudience\x122.google.analytics.admin.v1alpha.GetAudienceRequest\x1A(.google.analytics.admin.v1alpha.Audience\"7\xDAA\x04name\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{name=properties/*/audiences/*}\x12\xB7\x01\x0A\x0DListAudiences\x124.google.analytics.admin.v1alpha.ListAudiencesRequest\x1A5.google.analytics.admin.v1alpha.ListAudiencesResponse\"9\xDAA\x06parent\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{parent=properties/*}/audiences\x12\xBF\x01\x0A\x0ECreateAudience\x125.google.analytics.admin.v1alpha.CreateAudienceRequest\x1A(.google.analytics.admin.v1alpha.Audience\"L\xDAA\x0Fparent,audience\x82\xD3\xE4\x93\x024\"(/v1alpha/{parent=properties/*}/audiences:\x08audience\x12\xCD\x01\x0A\x0EUpdateAudience\x125.google.analytics.admin.v1alpha.UpdateAudienceRequest\x1A(.google.analytics.admin.v1alpha.Audience\"Z\xDAA\x14audience,update_mask\x82\xD3\xE4\x93\x02=21/v1alpha/{audience.name=properties/*/audiences/*}:\x08audience\x12\x9E\x01\x0A\x0FArchiveAudience\x126.google.analytics.admin.v1alpha.ArchiveAudienceRequest\x1A\x16.google.protobuf.Empty\";\x82\xD3\xE4\x93\x025\"0/v1alpha/{name=properties/*/audiences/*}:archive:\x01*\x12\xC4\x01\x0A\x13GetSearchAds360Link\x12:.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest\x1A0.google.analytics.admin.v1alpha.SearchAds360Link\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1alpha/{name=properties/*/searchAds360Links/*}\x12\xD7\x01\x0A\x15ListSearchAds360Links\x12<.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest\x1A=.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse\"A\xDAA\x06parent\x82\xD3\xE4\x93\x022\x120/v1alpha/{parent=properties/*}/searchAds360Links\x12\xF5\x01\x0A\x16CreateSearchAds360Link\x12=.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest\x1A0.google.analytics.admin.v1alpha.SearchAds360Link\"j\xDAA\x1Aparent,search_ads_360_link\x82\xD3\xE4\x93\x02G\"0/v1alpha/{parent=properties/*}/searchAds360Links:\x13search_ads_360_link\x12\xB0\x01\x0A\x16DeleteSearchAds360Link\x12=.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest\x1A\x16.google.protobuf.Empty\"?\xDAA\x04name\x82\xD3\xE4\x93\x022*0/v1alpha/{name=properties/*/searchAds360Links/*}\x12\x8F\x02\x0A\x16UpdateSearchAds360Link\x12=.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest\x1A0.google.analytics.admin.v1alpha.SearchAds360Link\"\x83\x01\xDAA\x1Fsearch_ads_360_link,update_mask\x82\xD3\xE4\x93\x02[2D/v1alpha/{search_ads_360_link.name=properties/*/searchAds360Links/*}:\x13search_ads_360_link\x12\xCD\x01\x0A\x16GetAttributionSettings\x12=.google.analytics.admin.v1alpha.GetAttributionSettingsRequest\x1A3.google.analytics.admin.v1alpha.AttributionSettings\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1alpha/{name=properties/*/attributionSettings}\x12\x9B\x02\x0A\x19UpdateAttributionSettings\x12@.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest\x1A3.google.analytics.admin.v1alpha.AttributionSettings\"\x86\x01\xDAA attribution_settings,update_mask\x82\xD3\xE4\x93\x02]2E/v1alpha/{attribution_settings.name=properties/*/attributionSettings}:\x14attribution_settings\x12\xF0\x01\x0A\x0FRunAccessReport\x126.google.analytics.admin.v1alpha.RunAccessReportRequest\x1A7.google.analytics.admin.v1alpha.RunAccessReportResponse\"l\x82\xD3\xE4\x93\x02f\"./v1alpha/{entity=properties/*}:runAccessReport:\x01*Z1\",/v1alpha/{entity=accounts/*}:runAccessReport:\x01*\x12\x9F\x02\x0A\x13CreateAccessBinding\x12:.google.analytics.admin.v1alpha.CreateAccessBindingRequest\x1A-.google.analytics.admin.v1alpha.AccessBinding\"\x9C\x01\xDAA\x15parent,access_binding\x82\xD3\xE4\x93\x02~\"+/v1alpha/{parent=accounts/*}/accessBindings:\x0Eaccess_bindingZ?\"-/v1alpha/{parent=properties/*}/accessBindings:\x0Eaccess_binding\x12\xE7\x01\x0A\x10GetAccessBinding\x127.google.analytics.admin.v1alpha.GetAccessBindingRequest\x1A-.google.analytics.admin.v1alpha.AccessBinding\"k\xDAA\x04name\x82\xD3\xE4\x93\x02^\x12+/v1alpha/{name=accounts/*/accessBindings/*}Z/\x12-/v1alpha/{name=properties/*/accessBindings/*}\x12\xB7\x02\x0A\x13UpdateAccessBinding\x12:.google.analytics.admin.v1alpha.UpdateAccessBindingRequest\x1A-.google.analytics.admin.v1alpha.AccessBinding\"\xB4\x01\xDAA\x0Eaccess_binding\x82\xD3\xE4\x93\x02\x9C\x012:/v1alpha/{access_binding.name=accounts/*/accessBindings/*}:\x0Eaccess_bindingZN2\"9/v1alpha/{parent=properties/*}/accessBindings:batchCreate:\x01*\x12\x8F\x02\x0A\x16BatchGetAccessBindings\x12=.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest\x1A>.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse\"v\x82\xD3\xE4\x93\x02p\x124/v1alpha/{parent=accounts/*}/accessBindings:batchGetZ8\x126/v1alpha/{parent=properties/*}/accessBindings:batchGet\x12\xA5\x02\x0A\x19BatchUpdateAccessBindings\x12@.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest\x1AA.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse\"\x82\x01\x82\xD3\xE4\x93\x02|\"7/v1alpha/{parent=accounts/*}/accessBindings:batchUpdate:\x01*Z>\"9/v1alpha/{parent=properties/*}/accessBindings:batchUpdate:\x01*\x12\xFA\x01\x0A\x19BatchDeleteAccessBindings\x12@.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest\x1A\x16.google.protobuf.Empty\"\x82\x01\x82\xD3\xE4\x93\x02|\"7/v1alpha/{parent=accounts/*}/accessBindings:batchDelete:\x01*Z>\"9/v1alpha/{parent=properties/*}/accessBindings:batchDelete:\x01*\x12\xC0\x01\x0A\x12GetExpandedDataSet\x129.google.analytics.admin.v1alpha.GetExpandedDataSetRequest\x1A/.google.analytics.admin.v1alpha.ExpandedDataSet\">\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1alpha/{name=properties/*/expandedDataSets/*}\x12\xD3\x01\x0A\x14ListExpandedDataSets\x12;.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest\x1A<.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse\"@\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1alpha/{parent=properties/*}/expandedDataSets\x12\xED\x01\x0A\x15CreateExpandedDataSet\x12<.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest\x1A/.google.analytics.admin.v1alpha.ExpandedDataSet\"e\xDAA\x18parent,expanded_data_set\x82\xD3\xE4\x93\x02D\"//v1alpha/{parent=properties/*}/expandedDataSets:\x11expanded_data_set\x12\x84\x02\x0A\x15UpdateExpandedDataSet\x12<.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest\x1A/.google.analytics.admin.v1alpha.ExpandedDataSet\"|\xDAA\x1Dexpanded_data_set,update_mask\x82\xD3\xE4\x93\x02V2A/v1alpha/{expanded_data_set.name=properties/*/expandedDataSets/*}:\x11expanded_data_set\x12\xAD\x01\x0A\x15DeleteExpandedDataSet\x12<.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest\x1A\x16.google.protobuf.Empty\">\xDAA\x04name\x82\xD3\xE4\x93\x021*//v1alpha/{name=properties/*/expandedDataSets/*}\x12\xB4\x01\x0A\x0FGetChannelGroup\x126.google.analytics.admin.v1alpha.GetChannelGroupRequest\x1A,.google.analytics.admin.v1alpha.ChannelGroup\";\xDAA\x04name\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{name=properties/*/channelGroups/*}\x12\xC7\x01\x0A\x11ListChannelGroups\x128.google.analytics.admin.v1alpha.ListChannelGroupsRequest\x1A9.google.analytics.admin.v1alpha.ListChannelGroupsResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/channelGroups\x12\xD9\x01\x0A\x12CreateChannelGroup\x129.google.analytics.admin.v1alpha.CreateChannelGroupRequest\x1A,.google.analytics.admin.v1alpha.ChannelGroup\"Z\xDAA\x14parent,channel_group\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/channelGroups:\x0Dchannel_group\x12\xEC\x01\x0A\x12UpdateChannelGroup\x129.google.analytics.admin.v1alpha.UpdateChannelGroupRequest\x1A,.google.analytics.admin.v1alpha.ChannelGroup\"m\xDAA\x19channel_group,update_mask\x82\xD3\xE4\x93\x02K2:/v1alpha/{channel_group.name=properties/*/channelGroups/*}:\x0Dchannel_group\x12\xA4\x01\x0A\x12DeleteChannelGroup\x129.google.analytics.admin.v1alpha.DeleteChannelGroupRequest\x1A\x16.google.protobuf.Empty\";\xDAA\x04name\x82\xD3\xE4\x93\x02.*,/v1alpha/{name=properties/*/channelGroups/*}\x12\xD9\x01\x0A\x12CreateBigQueryLink\x129.google.analytics.admin.v1alpha.CreateBigQueryLinkRequest\x1A,.google.analytics.admin.v1alpha.BigQueryLink\"Z\xDAA\x14parent,bigquery_link\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/bigQueryLinks:\x0Dbigquery_link\x12\xB4\x01\x0A\x0FGetBigQueryLink\x126.google.analytics.admin.v1alpha.GetBigQueryLinkRequest\x1A,.google.analytics.admin.v1alpha.BigQueryLink\";\xDAA\x04name\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{name=properties/*/bigQueryLinks/*}\x12\xC7\x01\x0A\x11ListBigQueryLinks\x128.google.analytics.admin.v1alpha.ListBigQueryLinksRequest\x1A9.google.analytics.admin.v1alpha.ListBigQueryLinksResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/bigQueryLinks\x12\xA4\x01\x0A\x12DeleteBigQueryLink\x129.google.analytics.admin.v1alpha.DeleteBigQueryLinkRequest\x1A\x16.google.protobuf.Empty\";\xDAA\x04name\x82\xD3\xE4\x93\x02.*,/v1alpha/{name=properties/*/bigQueryLinks/*}\x12\xEC\x01\x0A\x12UpdateBigQueryLink\x129.google.analytics.admin.v1alpha.UpdateBigQueryLinkRequest\x1A,.google.analytics.admin.v1alpha.BigQueryLink\"m\xDAA\x19bigquery_link,update_mask\x82\xD3\xE4\x93\x02K2:/v1alpha/{bigquery_link.name=properties/*/bigQueryLinks/*}:\x0Dbigquery_link\x12\xFB\x01\x0A\x1EGetEnhancedMeasurementSettings\x12E.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest\x1A;.google.analytics.admin.v1alpha.EnhancedMeasurementSettings\"U\xDAA\x04name\x82\xD3\xE4\x93\x02H\x12F/v1alpha/{name=properties/*/dataStreams/*/enhancedMeasurementSettings}\x12\xE5\x02\x0A!UpdateEnhancedMeasurementSettings\x12H.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest\x1A;.google.analytics.admin.v1alpha.EnhancedMeasurementSettings\"\xB8\x01\xDAA)enhanced_measurement_settings,update_mask\x82\xD3\xE4\x93\x02\x85\x012d/v1alpha/{enhanced_measurement_settings.name=properties/*/dataStreams/*/enhancedMeasurementSettings}:\x1Denhanced_measurement_settings\x12\xB0\x01\x0A\x0EGetAdSenseLink\x125.google.analytics.admin.v1alpha.GetAdSenseLinkRequest\x1A+.google.analytics.admin.v1alpha.AdSenseLink\":\xDAA\x04name\x82\xD3\xE4\x93\x02-\x12+/v1alpha/{name=properties/*/adSenseLinks/*}\x12\xD3\x01\x0A\x11CreateAdSenseLink\x128.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest\x1A+.google.analytics.admin.v1alpha.AdSenseLink\"W\xDAA\x13parent,adsense_link\x82\xD3\xE4\x93\x02;\"+/v1alpha/{parent=properties/*}/adSenseLinks:\x0Cadsense_link\x12\xA1\x01\x0A\x11DeleteAdSenseLink\x128.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest\x1A\x16.google.protobuf.Empty\":\xDAA\x04name\x82\xD3\xE4\x93\x02-*+/v1alpha/{name=properties/*/adSenseLinks/*}\x12\xC3\x01\x0A\x10ListAdSenseLinks\x127.google.analytics.admin.v1alpha.ListAdSenseLinksRequest\x1A8.google.analytics.admin.v1alpha.ListAdSenseLinksResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1alpha/{parent=properties/*}/adSenseLinks\x12\xCE\x01\x0A\x12GetEventCreateRule\x129.google.analytics.admin.v1alpha.GetEventCreateRuleRequest\x1A/.google.analytics.admin.v1alpha.EventCreateRule\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}\x12\xE1\x01\x0A\x14ListEventCreateRules\x12;.google.analytics.admin.v1alpha.ListEventCreateRulesRequest\x1A<.google.analytics.admin.v1alpha.ListEventCreateRulesResponse\"N\xDAA\x06parent\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules\x12\xFB\x01\x0A\x15CreateEventCreateRule\x12<.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest\x1A/.google.analytics.admin.v1alpha.EventCreateRule\"s\xDAA\x18parent,event_create_rule\x82\xD3\xE4\x93\x02R\"=/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules:\x11event_create_rule\x12\x93\x02\x0A\x15UpdateEventCreateRule\x12<.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest\x1A/.google.analytics.admin.v1alpha.EventCreateRule\"\x8A\x01\xDAA\x1Devent_create_rule,update_mask\x82\xD3\xE4\x93\x02d2O/v1alpha/{event_create_rule.name=properties/*/dataStreams/*/eventCreateRules/*}:\x11event_create_rule\x12\xBB\x01\x0A\x15DeleteEventCreateRule\x12<.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest\x1A\x16.google.protobuf.Empty\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?*=/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}\x12\xC6\x01\x0A\x10GetEventEditRule\x127.google.analytics.admin.v1alpha.GetEventEditRuleRequest\x1A-.google.analytics.admin.v1alpha.EventEditRule\"J\xDAA\x04name\x82\xD3\xE4\x93\x02=\x12;/v1alpha/{name=properties/*/dataStreams/*/eventEditRules/*}\x12\xD9\x01\x0A\x12ListEventEditRules\x129.google.analytics.admin.v1alpha.ListEventEditRulesRequest\x1A:.google.analytics.admin.v1alpha.ListEventEditRulesResponse\"L\xDAA\x06parent\x82\xD3\xE4\x93\x02=\x12;/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules\x12\xEF\x01\x0A\x13CreateEventEditRule\x12:.google.analytics.admin.v1alpha.CreateEventEditRuleRequest\x1A-.google.analytics.admin.v1alpha.EventEditRule\"m\xDAA\x16parent,event_edit_rule\x82\xD3\xE4\x93\x02N\";/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules:\x0Fevent_edit_rule\x12\x85\x02\x0A\x13UpdateEventEditRule\x12:.google.analytics.admin.v1alpha.UpdateEventEditRuleRequest\x1A-.google.analytics.admin.v1alpha.EventEditRule\"\x82\x01\xDAA\x1Bevent_edit_rule,update_mask\x82\xD3\xE4\x93\x02^2K/v1alpha/{event_edit_rule.name=properties/*/dataStreams/*/eventEditRules/*}:\x0Fevent_edit_rule\x12\xB5\x01\x0A\x13DeleteEventEditRule\x12:.google.analytics.admin.v1alpha.DeleteEventEditRuleRequest\x1A\x16.google.protobuf.Empty\"J\xDAA\x04name\x82\xD3\xE4\x93\x02=*;/v1alpha/{name=properties/*/dataStreams/*/eventEditRules/*}\x12\xBD\x01\x0A\x15ReorderEventEditRules\x12<.google.analytics.admin.v1alpha.ReorderEventEditRulesRequest\x1A\x16.google.protobuf.Empty\"N\x82\xD3\xE4\x93\x02H\"C/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules:reorder:\x01*\x12\xBA\x02\x0A\x1BUpdateDataRedactionSettings\x12B.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRedactionSettings\"\x9F\x01\xDAA#data_redaction_settings,update_mask\x82\xD3\xE4\x93\x02s2X/v1alpha/{data_redaction_settings.name=properties/*/dataStreams/*/dataRedactionSettings}:\x17data_redaction_settings\x12\xE3\x01\x0A\x18GetDataRedactionSettings\x12?.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRedactionSettings\"O\xDAA\x04name\x82\xD3\xE4\x93\x02B\x12@/v1alpha/{name=properties/*/dataStreams/*/dataRedactionSettings}\x12\xC4\x01\x0A\x13GetCalculatedMetric\x12:.google.analytics.admin.v1alpha.GetCalculatedMetricRequest\x1A0.google.analytics.admin.v1alpha.CalculatedMetric\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1alpha/{name=properties/*/calculatedMetrics/*}\x12\x86\x02\x0A\x16CreateCalculatedMetric\x12=.google.analytics.admin.v1alpha.CreateCalculatedMetricRequest\x1A0.google.analytics.admin.v1alpha.CalculatedMetric\"{\xDAA-parent,calculated_metric,calculated_metric_id\x82\xD3\xE4\x93\x02E\"0/v1alpha/{parent=properties/*}/calculatedMetrics:\x11calculated_metric\x12\xD7\x01\x0A\x15ListCalculatedMetrics\x12<.google.analytics.admin.v1alpha.ListCalculatedMetricsRequest\x1A=.google.analytics.admin.v1alpha.ListCalculatedMetricsResponse\"A\xDAA\x06parent\x82\xD3\xE4\x93\x022\x120/v1alpha/{parent=properties/*}/calculatedMetrics\x12\x88\x02\x0A\x16UpdateCalculatedMetric\x12=.google.analytics.admin.v1alpha.UpdateCalculatedMetricRequest\x1A0.google.analytics.admin.v1alpha.CalculatedMetric\"}\xDAA\x1Dcalculated_metric,update_mask\x82\xD3\xE4\x93\x02W2B/v1alpha/{calculated_metric.name=properties/*/calculatedMetrics/*}:\x11calculated_metric\x12\xB0\x01\x0A\x16DeleteCalculatedMetric\x12=.google.analytics.admin.v1alpha.DeleteCalculatedMetricRequest\x1A\x16.google.protobuf.Empty\"?\xDAA\x04name\x82\xD3\xE4\x93\x022*0/v1alpha/{name=properties/*/calculatedMetrics/*}\x12\xC6\x01\x0A\x14CreateRollupProperty\x12;.google.analytics.admin.v1alpha.CreateRollupPropertyRequest\x1A<.google.analytics.admin.v1alpha.CreateRollupPropertyResponse\"3\x82\xD3\xE4\x93\x02-\"(/v1alpha/properties:createRollupProperty:\x01*\x12\xE4\x01\x0A\x1BGetRollupPropertySourceLink\x12B.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest\x1A8.google.analytics.admin.v1alpha.RollupPropertySourceLink\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\x128/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}\x12\xF7\x01\x0A\x1DListRollupPropertySourceLinks\x12D.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest\x1AE.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse\"I\xDAA\x06parent\x82\xD3\xE4\x93\x02:\x128/v1alpha/{parent=properties/*}/rollupPropertySourceLinks\x12\xA6\x02\x0A\x1ECreateRollupPropertySourceLink\x12E.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest\x1A8.google.analytics.admin.v1alpha.RollupPropertySourceLink\"\x82\x01\xDAA\"parent,rollup_property_source_link\x82\xD3\xE4\x93\x02W\"8/v1alpha/{parent=properties/*}/rollupPropertySourceLinks:\x1Brollup_property_source_link\x12\xC8\x01\x0A\x1EDeleteRollupPropertySourceLink\x12E.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest\x1A\x16.google.protobuf.Empty\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:*8/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}\x12\xC6\x01\x0A\x14ProvisionSubproperty\x12;.google.analytics.admin.v1alpha.ProvisionSubpropertyRequest\x1A<.google.analytics.admin.v1alpha.ProvisionSubpropertyResponse\"3\x82\xD3\xE4\x93\x02-\"(/v1alpha/properties:provisionSubproperty:\x01*\x12\x97\x02\x0A\x1CCreateSubpropertyEventFilter\x12C.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest\x1A6.google.analytics.admin.v1alpha.SubpropertyEventFilter\"z\xDAA\x1Fparent,subproperty_event_filter\x82\xD3\xE4\x93\x02R\"6/v1alpha/{parent=properties/*}/subpropertyEventFilters:\x18subproperty_event_filter\x12\xDC\x01\x0A\x19GetSubpropertyEventFilter\x12@.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest\x1A6.google.analytics.admin.v1alpha.SubpropertyEventFilter\"E\xDAA\x04name\x82\xD3\xE4\x93\x028\x126/v1alpha/{name=properties/*/subpropertyEventFilters/*}\x12\xEF\x01\x0A\x1BListSubpropertyEventFilters\x12B.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest\x1AC.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse\"G\xDAA\x06parent\x82\xD3\xE4\x93\x028\x126/v1alpha/{parent=properties/*}/subpropertyEventFilters\x12\xB6\x02\x0A\x1CUpdateSubpropertyEventFilter\x12C.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest\x1A6.google.analytics.admin.v1alpha.SubpropertyEventFilter\"\x98\x01\xDAA\$subproperty_event_filter,update_mask\x82\xD3\xE4\x93\x02k2O/v1alpha/{subproperty_event_filter.name=properties/*/subpropertyEventFilters/*}:\x18subproperty_event_filter\x12\xC2\x01\x0A\x1CDeleteSubpropertyEventFilter\x12C.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest\x1A\x16.google.protobuf.Empty\"E\xDAA\x04name\x82\xD3\xE4\x93\x028*6/v1alpha/{name=properties/*/subpropertyEventFilters/*}\x12\x9D\x02\x0A\x1DCreateReportingDataAnnotation\x12D.google.analytics.admin.v1alpha.CreateReportingDataAnnotationRequest\x1A7.google.analytics.admin.v1alpha.ReportingDataAnnotation\"}\xDAA parent,reporting_data_annotation\x82\xD3\xE4\x93\x02T\"7/v1alpha/{parent=properties/*}/reportingDataAnnotations:\x19reporting_data_annotation\x12\xE0\x01\x0A\x1AGetReportingDataAnnotation\x12A.google.analytics.admin.v1alpha.GetReportingDataAnnotationRequest\x1A7.google.analytics.admin.v1alpha.ReportingDataAnnotation\"F\xDAA\x04name\x82\xD3\xE4\x93\x029\x127/v1alpha/{name=properties/*/reportingDataAnnotations/*}\x12\xF3\x01\x0A\x1CListReportingDataAnnotations\x12C.google.analytics.admin.v1alpha.ListReportingDataAnnotationsRequest\x1AD.google.analytics.admin.v1alpha.ListReportingDataAnnotationsResponse\"H\xDAA\x06parent\x82\xD3\xE4\x93\x029\x127/v1alpha/{parent=properties/*}/reportingDataAnnotations\x12\xBD\x02\x0A\x1DUpdateReportingDataAnnotation\x12D.google.analytics.admin.v1alpha.UpdateReportingDataAnnotationRequest\x1A7.google.analytics.admin.v1alpha.ReportingDataAnnotation\"\x9C\x01\xDAA%reporting_data_annotation,update_mask\x82\xD3\xE4\x93\x02n2Q/v1alpha/{reporting_data_annotation.name=properties/*/reportingDataAnnotations/*}:\x19reporting_data_annotation\x12\xC5\x01\x0A\x1DDeleteReportingDataAnnotation\x12D.google.analytics.admin.v1alpha.DeleteReportingDataAnnotationRequest\x1A\x16.google.protobuf.Empty\"F\xDAA\x04name\x82\xD3\xE4\x93\x029*7/v1alpha/{name=properties/*/reportingDataAnnotations/*}\x12\xCE\x01\x0A\x12SubmitUserDeletion\x129.google.analytics.admin.v1alpha.SubmitUserDeletionRequest\x1A:.google.analytics.admin.v1alpha.SubmitUserDeletionResponse\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\"//v1alpha/{name=properties/*}:submitUserDeletion:\x01*\x12\xEB\x01\x0A\x1AListSubpropertySyncConfigs\x12A.google.analytics.admin.v1alpha.ListSubpropertySyncConfigsRequest\x1AB.google.analytics.admin.v1alpha.ListSubpropertySyncConfigsResponse\"F\xDAA\x06parent\x82\xD3\xE4\x93\x027\x125/v1alpha/{parent=properties/*}/subpropertySyncConfigs\x12\xAF\x02\x0A\x1BUpdateSubpropertySyncConfig\x12B.google.analytics.admin.v1alpha.UpdateSubpropertySyncConfigRequest\x1A5.google.analytics.admin.v1alpha.SubpropertySyncConfig\"\x94\x01\xDAA#subproperty_sync_config,update_mask\x82\xD3\xE4\x93\x02h2M/v1alpha/{subproperty_sync_config.name=properties/*/subpropertySyncConfigs/*}:\x17subproperty_sync_config\x12\xD8\x01\x0A\x18GetSubpropertySyncConfig\x12?.google.analytics.admin.v1alpha.GetSubpropertySyncConfigRequest\x1A5.google.analytics.admin.v1alpha.SubpropertySyncConfig\"D\xDAA\x04name\x82\xD3\xE4\x93\x027\x125/v1alpha/{name=properties/*/subpropertySyncConfigs/*}\x12\xE5\x01\x0A\x1CGetReportingIdentitySettings\x12C.google.analytics.admin.v1alpha.GetReportingIdentitySettingsRequest\x1A9.google.analytics.admin.v1alpha.ReportingIdentitySettings\"E\xDAA\x04name\x82\xD3\xE4\x93\x028\x126/v1alpha/{name=properties/*/reportingIdentitySettings}\x12\xE1\x01\x0A\x1BGetUserProvidedDataSettings\x12B.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest\x1A8.google.analytics.admin.v1alpha.UserProvidedDataSettings\"D\xDAA\x04name\x82\xD3\xE4\x93\x027\x125/v1alpha/{name=properties/*/userProvidedDataSettings}\x1A\xFC\x01\xCAA\x1Danalyticsadmin.googleapis.com\xD2A\xD8\x01https://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{\x0A\"com.google.analytics.admin.v1alphaB\x13AnalyticsAdminProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" , true); static::$is_initialized = true; diff --git a/AnalyticsAdmin/metadata/V1Alpha/Resources.php b/AnalyticsAdmin/metadata/V1Alpha/Resources.php index 63f6e715386f..d8eed048349a 100644 --- a/AnalyticsAdmin/metadata/V1Alpha/Resources.php +++ b/AnalyticsAdmin/metadata/V1Alpha/Resources.php @@ -24,7 +24,7 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\Wrappers::initOnce(); \GPBMetadata\Google\Type\Date::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\xCE\xAF\x01\x0A.google/analytics/admin/v1alpha/resources.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A2google/analytics/admin/v1alpha/channel_group.proto\x1A:google/analytics/admin/v1alpha/event_create_and_edit.proto\x1A6google/analytics/admin/v1alpha/expanded_data_set.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x1Egoogle/protobuf/wrappers.proto\x1A\x16google/type/date.proto\"\xE4\x02\x0A\x07Account\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bregion_code\x18\x05 \x01(\x09\x12\x14\x0A\x07deleted\x18\x06 \x01(\x08B\x03\xE0A\x03\x12T\x0A\x10gmp_organization\x18\x07 \x01(\x09B:\xE0A\x03\xFAA4\x0A2marketingplatformadmin.googleapis.com/Organization:>\xEAA;\x0A%analyticsadmin.googleapis.com/Account\x12\x12accounts/{account}\"\xB9\x05\x0A\x08Property\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12H\x0A\x0Dproperty_type\x18\x0E \x01(\x0E2,.google.analytics.admin.v1alpha.PropertyTypeB\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x13\x0A\x06parent\x18\x02 \x01(\x09B\x03\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x05 \x01(\x09B\x03\xE0A\x02\x12K\x0A\x11industry_category\x18\x06 \x01(\x0E20.google.analytics.admin.v1alpha.IndustryCategory\x12\x16\x0A\x09time_zone\x18\x07 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x0Dcurrency_code\x18\x08 \x01(\x09\x12H\x0A\x0Dservice_level\x18\x0A \x01(\x0E2,.google.analytics.admin.v1alpha.ServiceLevelB\x03\xE0A\x03\x124\x0A\x0Bdelete_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bexpire_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12>\x0A\x07account\x18\x0D \x01(\x09B-\xE0A\x05\xFAA'\x0A%analyticsadmin.googleapis.com/Account:B\xEAA?\x0A&analyticsadmin.googleapis.com/Property\x12\x15properties/{property}\"\xF4\x07\x0A\x0ADataStream\x12S\x0A\x0Fweb_stream_data\x18\x06 \x01(\x0B28.google.analytics.admin.v1alpha.DataStream.WebStreamDataH\x00\x12b\x0A\x17android_app_stream_data\x18\x07 \x01(\x0B2?.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataH\x00\x12Z\x0A\x13ios_app_stream_data\x18\x08 \x01(\x0B2;.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataH\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12O\x0A\x04type\x18\x02 \x01(\x0E29.google.analytics.admin.v1alpha.DataStream.DataStreamTypeB\x06\xE0A\x05\xE0A\x02\x12\x14\x0A\x0Cdisplay_name\x18\x03 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x1A_\x0A\x0DWebStreamData\x12\x1B\x0A\x0Emeasurement_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Ffirebase_app_id\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x13\x0A\x0Bdefault_uri\x18\x03 \x01(\x09\x1AO\x0A\x14AndroidAppStreamData\x12\x1C\x0A\x0Ffirebase_app_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cpackage_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x1AK\x0A\x10IosAppStreamData\x12\x1C\x0A\x0Ffirebase_app_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x09bundle_id\x18\x02 \x01(\x09B\x06\xE0A\x05\xE0A\x02\"}\x0A\x0EDataStreamType\x12 \x0A\x1CDATA_STREAM_TYPE_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FWEB_DATA_STREAM\x10\x01\x12\x1B\x0A\x17ANDROID_APP_DATA_STREAM\x10\x02\x12\x17\x0A\x13IOS_APP_DATA_STREAM\x10\x03:^\xEAA[\x0A(analyticsadmin.googleapis.com/DataStream\x12/properties/{property}/dataStreams/{data_stream}B\x0D\x0A\x0Bstream_data\"\xD3\x01\x0A\x0CFirebaseLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x07project\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03:d\xEAAa\x0A*analyticsadmin.googleapis.com/FirebaseLink\x123properties/{property}/firebaseLinks/{firebase_link}\"\xA9\x01\x0A\x0DGlobalSiteTag\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x07snippet\x18\x02 \x01(\x09B\x03\xE0A\x05:o\xEAAl\x0A+analyticsadmin.googleapis.com/GlobalSiteTag\x12=properties/{property}/dataStreams/{data_stream}/globalSiteTag\"\x98\x03\x0A\x0DGoogleAdsLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x18\x0A\x0Bcustomer_id\x18\x03 \x01(\x09B\x03\xE0A\x05\x12\x1F\x0A\x12can_manage_clients\x18\x04 \x01(\x08B\x03\xE0A\x03\x12?\x0A\x1Bads_personalization_enabled\x18\x05 \x01(\x0B2\x1A.google.protobuf.BoolValue\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\"\x0A\x15creator_email_address\x18\x09 \x01(\x09B\x03\xE0A\x03:h\xEAAe\x0A+analyticsadmin.googleapis.com/GoogleAdsLink\x126properties/{property}/googleAdsLinks/{google_ads_link}\"\xEF\x02\x0A\x13DataSharingSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12+\x0A#sharing_with_google_support_enabled\x18\x02 \x01(\x08\x122\x0A*sharing_with_google_assigned_sales_enabled\x18\x03 \x01(\x08\x121\x0A%sharing_with_google_any_sales_enabled\x18\x04 \x01(\x08B\x02\x18\x01\x12,\x0A\$sharing_with_google_products_enabled\x18\x05 \x01(\x08\x12#\x0A\x1Bsharing_with_others_enabled\x18\x06 \x01(\x08:^\xEAA[\x0A1analyticsadmin.googleapis.com/DataSharingSettings\x12&accounts/{account}/dataSharingSettings\"\x95\x02\x0A\x0EAccountSummary\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12;\x0A\x07account\x18\x02 \x01(\x09B*\xFAA'\x0A%analyticsadmin.googleapis.com/Account\x12\x14\x0A\x0Cdisplay_name\x18\x03 \x01(\x09\x12K\x0A\x12property_summaries\x18\x04 \x03(\x0B2/.google.analytics.admin.v1alpha.PropertySummary:U\xEAAR\x0A,analyticsadmin.googleapis.com/AccountSummary\x12\"accountSummaries/{account_summary}\"\xBB\x01\x0A\x0FPropertySummary\x12=\x0A\x08property\x18\x01 \x01(\x09B+\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12C\x0A\x0Dproperty_type\x18\x03 \x01(\x0E2,.google.analytics.admin.v1alpha.PropertyType\x12\x0E\x0A\x06parent\x18\x04 \x01(\x09\"\x8E\x02\x0A\x19MeasurementProtocolSecret\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x19\x0A\x0Csecret_value\x18\x03 \x01(\x09B\x03\xE0A\x03:\xA7\x01\xEAA\xA3\x01\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12hproperties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}\"\x83\x04\x0A SKAdNetworkConversionValueSchema\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12P\x0A\x13postback_window_one\x18\x02 \x01(\x0B2..google.analytics.admin.v1alpha.PostbackWindowB\x03\xE0A\x02\x12K\x0A\x13postback_window_two\x18\x03 \x01(\x0B2..google.analytics.admin.v1alpha.PostbackWindow\x12M\x0A\x15postback_window_three\x18\x04 \x01(\x0B2..google.analytics.admin.v1alpha.PostbackWindow\x12\x1F\x0A\x17apply_conversion_values\x18\x05 \x01(\x08:\xBC\x01\xEAA\xB8\x01\x0A>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\x12vproperties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}\"\x87\x01\x0A\x0EPostbackWindow\x12K\x0A\x11conversion_values\x18\x01 \x03(\x0B20.google.analytics.admin.v1alpha.ConversionValues\x12(\x0A postback_window_settings_enabled\x18\x02 \x01(\x08\"\xF4\x01\x0A\x10ConversionValues\x12\x14\x0A\x0Cdisplay_name\x18\x01 \x01(\x09\x12\x17\x0A\x0Afine_value\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12F\x0A\x0Ccoarse_value\x18\x03 \x01(\x0E2+.google.analytics.admin.v1alpha.CoarseValueB\x03\xE0A\x02\x12D\x0A\x0Eevent_mappings\x18\x04 \x03(\x0B2,.google.analytics.admin.v1alpha.EventMapping\x12\x14\x0A\x0Clock_enabled\x18\x05 \x01(\x08B\x0D\x0A\x0B_fine_value\"\xEF\x01\x0A\x0CEventMapping\x12\x17\x0A\x0Aevent_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1C\x0A\x0Fmin_event_count\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x1C\x0A\x0Fmax_event_count\x18\x03 \x01(\x03H\x01\x88\x01\x01\x12\x1C\x0A\x0Fmin_event_value\x18\x04 \x01(\x01H\x02\x88\x01\x01\x12\x1C\x0A\x0Fmax_event_value\x18\x05 \x01(\x01H\x03\x88\x01\x01B\x12\x0A\x10_min_event_countB\x12\x0A\x10_max_event_countB\x12\x0A\x10_min_event_valueB\x12\x0A\x10_max_event_value\"\x8A\x02\x0A\x12ChangeHistoryEvent\x12\x0A\x0A\x02id\x18\x01 \x01(\x09\x12/\x0A\x0Bchange_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12=\x0A\x0Aactor_type\x18\x03 \x01(\x0E2).google.analytics.admin.v1alpha.ActorType\x12\x18\x0A\x10user_actor_email\x18\x04 \x01(\x09\x12\x18\x0A\x10changes_filtered\x18\x05 \x01(\x08\x12D\x0A\x07changes\x18\x06 \x03(\x0B23.google.analytics.admin.v1alpha.ChangeHistoryChange\"\xB8\x15\x0A\x13ChangeHistoryChange\x12\x10\x0A\x08resource\x18\x01 \x01(\x09\x12:\x0A\x06action\x18\x02 \x01(\x0E2*.google.analytics.admin.v1alpha.ActionType\x12i\x0A\x16resource_before_change\x18\x03 \x01(\x0B2I.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource\x12h\x0A\x15resource_after_change\x18\x04 \x01(\x0B2I.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource\x1A\xFD\x12\x0A\x15ChangeHistoryResource\x12:\x0A\x07account\x18\x01 \x01(\x0B2'.google.analytics.admin.v1alpha.AccountH\x00\x12<\x0A\x08property\x18\x02 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyH\x00\x12E\x0A\x0Dfirebase_link\x18\x06 \x01(\x0B2,.google.analytics.admin.v1alpha.FirebaseLinkH\x00\x12H\x0A\x0Fgoogle_ads_link\x18\x07 \x01(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLinkH\x00\x12X\x0A\x17google_signals_settings\x18\x08 \x01(\x0B25.google.analytics.admin.v1alpha.GoogleSignalsSettingsH\x00\x12j\x0A!display_video_360_advertiser_link\x18\x09 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkH\x00\x12{\x0A*display_video_360_advertiser_link_proposal\x18\x0A \x01(\x0B2E.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalH\x00\x12K\x0A\x10conversion_event\x18\x0B \x01(\x0B2/.google.analytics.admin.v1alpha.ConversionEventH\x00\x12`\x0A\x1Bmeasurement_protocol_secret\x18\x0C \x01(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecretH\x00\x12K\x0A\x10custom_dimension\x18\x0D \x01(\x0B2/.google.analytics.admin.v1alpha.CustomDimensionH\x00\x12E\x0A\x0Dcustom_metric\x18\x0E \x01(\x0B2,.google.analytics.admin.v1alpha.CustomMetricH\x00\x12X\x0A\x17data_retention_settings\x18\x0F \x01(\x0B25.google.analytics.admin.v1alpha.DataRetentionSettingsH\x00\x12O\x0A\x13search_ads_360_link\x18\x10 \x01(\x0B20.google.analytics.admin.v1alpha.SearchAds360LinkH\x00\x12A\x0A\x0Bdata_stream\x18\x12 \x01(\x0B2*.google.analytics.admin.v1alpha.DataStreamH\x00\x12S\x0A\x14attribution_settings\x18\x14 \x01(\x0B23.google.analytics.admin.v1alpha.AttributionSettingsH\x00\x12L\x0A\x11expanded_data_set\x18\x15 \x01(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSetH\x00\x12E\x0A\x0Dchannel_group\x18\x16 \x01(\x0B2,.google.analytics.admin.v1alpha.ChannelGroupH\x00\x12E\x0A\x0Dbigquery_link\x18\x17 \x01(\x0B2,.google.analytics.admin.v1alpha.BigQueryLinkH\x00\x12d\x0A\x1Denhanced_measurement_settings\x18\x18 \x01(\x0B2;.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsH\x00\x12X\x0A\x17data_redaction_settings\x18\x19 \x01(\x0B25.google.analytics.admin.v1alpha.DataRedactionSettingsH\x00\x12o\x0A#skadnetwork_conversion_value_schema\x18\x1A \x01(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaH\x00\x12C\x0A\x0Cadsense_link\x18\x1B \x01(\x0B2+.google.analytics.admin.v1alpha.AdSenseLinkH\x00\x12<\x0A\x08audience\x18\x1C \x01(\x0B2(.google.analytics.admin.v1alpha.AudienceH\x00\x12L\x0A\x11event_create_rule\x18\x1D \x01(\x0B2/.google.analytics.admin.v1alpha.EventCreateRuleH\x00\x12=\x0A\x09key_event\x18\x1E \x01(\x0B2(.google.analytics.admin.v1alpha.KeyEventH\x00\x12M\x0A\x11calculated_metric\x18\x1F \x01(\x0B20.google.analytics.admin.v1alpha.CalculatedMetricH\x00\x12\\\x0A\x19reporting_data_annotation\x18 \x01(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotationH\x00\x12X\x0A\x17subproperty_sync_config\x18! \x01(\x0B25.google.analytics.admin.v1alpha.SubpropertySyncConfigH\x00\x12`\x0A\x1Breporting_identity_settings\x18\" \x01(\x0B29.google.analytics.admin.v1alpha.ReportingIdentitySettingsH\x00B\x0A\x0A\x08resource\"\xDF\x03\x0A\x1DDisplayVideo360AdvertiserLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1A\x0A\x0Dadvertiser_id\x18\x02 \x01(\x09B\x03\xE0A\x05\x12\$\x0A\x17advertiser_display_name\x18\x03 \x01(\x09B\x03\xE0A\x03\x12?\x0A\x1Bads_personalization_enabled\x18\x04 \x01(\x0B2\x1A.google.protobuf.BoolValue\x12F\x0A\x1Dcampaign_data_sharing_enabled\x18\x05 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12B\x0A\x19cost_data_sharing_enabled\x18\x06 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05:\x9B\x01\xEAA\x97\x01\x0A;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\x12Xproperties/{property}/displayVideo360AdvertiserLinks/{display_video_360_advertiser_link}\"\x8A\x05\x0A%DisplayVideo360AdvertiserLinkProposal\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1A\x0A\x0Dadvertiser_id\x18\x02 \x01(\x09B\x03\xE0A\x05\x12d\x0A\x1Clink_proposal_status_details\x18\x03 \x01(\x0B29.google.analytics.admin.v1alpha.LinkProposalStatusDetailsB\x03\xE0A\x03\x12\$\x0A\x17advertiser_display_name\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x1D\x0A\x10validation_email\x18\x05 \x01(\x09B\x03\xE0A\x04\x12D\x0A\x1Bads_personalization_enabled\x18\x06 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12F\x0A\x1Dcampaign_data_sharing_enabled\x18\x07 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12B\x0A\x19cost_data_sharing_enabled\x18\x08 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05:\xB4\x01\xEAA\xB0\x01\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\x12iproperties/{property}/displayVideo360AdvertiserLinkProposals/{display_video_360_advertiser_link_proposal}\"\xE8\x03\x0A\x10SearchAds360Link\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1A\x0A\x0Dadvertiser_id\x18\x02 \x01(\x09B\x03\xE0A\x05\x12F\x0A\x1Dcampaign_data_sharing_enabled\x18\x03 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12B\x0A\x19cost_data_sharing_enabled\x18\x04 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12\$\x0A\x17advertiser_display_name\x18\x05 \x01(\x09B\x03\xE0A\x03\x12?\x0A\x1Bads_personalization_enabled\x18\x06 \x01(\x0B2\x1A.google.protobuf.BoolValue\x12>\x0A\x1Asite_stats_sharing_enabled\x18\x07 \x01(\x0B2\x1A.google.protobuf.BoolValue:r\xEAAo\x0A.analyticsadmin.googleapis.com/SearchAds360Link\x12=properties/{property}/searchAds360Links/{search_ads_360_link}\"\xFC\x01\x0A\x19LinkProposalStatusDetails\x12l\x0A link_proposal_initiating_product\x18\x01 \x01(\x0E2=.google.analytics.admin.v1alpha.LinkProposalInitiatingProductB\x03\xE0A\x03\x12\x1C\x0A\x0Frequestor_email\x18\x02 \x01(\x09B\x03\xE0A\x03\x12S\x0A\x13link_proposal_state\x18\x03 \x01(\x0E21.google.analytics.admin.v1alpha.LinkProposalStateB\x03\xE0A\x03\"\xE0\x05\x0A\x0FConversionEvent\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x17\x0A\x0Aevent_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x16\x0A\x09deletable\x18\x04 \x01(\x08B\x03\xE0A\x03\x12\x13\x0A\x06custom\x18\x05 \x01(\x08B\x03\xE0A\x03\x12f\x0A\x0Fcounting_method\x18\x06 \x01(\x0E2H.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethodB\x03\xE0A\x01\x12r\x0A\x18default_conversion_value\x18\x07 \x01(\x0B2F.google.analytics.admin.v1alpha.ConversionEvent.DefaultConversionValueB\x03\xE0A\x01H\x00\x88\x01\x01\x1Ad\x0A\x16DefaultConversionValue\x12\x12\x0A\x05value\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x1A\x0A\x0Dcurrency_code\x18\x02 \x01(\x09H\x01\x88\x01\x01B\x08\x0A\x06_valueB\x10\x0A\x0E_currency_code\"p\x0A\x18ConversionCountingMethod\x12*\x0A&CONVERSION_COUNTING_METHOD_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EONCE_PER_EVENT\x10\x01\x12\x14\x0A\x10ONCE_PER_SESSION\x10\x02:m\xEAAj\x0A-analyticsadmin.googleapis.com/ConversionEvent\x129properties/{property}/conversionEvents/{conversion_event}B\x1B\x0A\x19_default_conversion_value\"\xD7\x04\x0A\x08KeyEvent\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x17\x0A\x0Aevent_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x16\x0A\x09deletable\x18\x04 \x01(\x08B\x03\xE0A\x03\x12\x13\x0A\x06custom\x18\x05 \x01(\x08B\x03\xE0A\x03\x12U\x0A\x0Fcounting_method\x18\x06 \x01(\x0E27.google.analytics.admin.v1alpha.KeyEvent.CountingMethodB\x03\xE0A\x02\x12Q\x0A\x0Ddefault_value\x18\x07 \x01(\x0B25.google.analytics.admin.v1alpha.KeyEvent.DefaultValueB\x03\xE0A\x01\x1AF\x0A\x0CDefaultValue\x12\x1A\x0A\x0Dnumeric_value\x18\x01 \x01(\x01B\x03\xE0A\x02\x12\x1A\x0A\x0Dcurrency_code\x18\x02 \x01(\x09B\x03\xE0A\x02\"[\x0A\x0ECountingMethod\x12\x1F\x0A\x1BCOUNTING_METHOD_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EONCE_PER_EVENT\x10\x01\x12\x14\x0A\x10ONCE_PER_SESSION\x10\x02:m\xEAAj\x0A&analyticsadmin.googleapis.com/KeyEvent\x12+properties/{property}/keyEvents/{key_event}*\x09keyEvents2\x08keyEvent\"\xA0\x02\x0A\x15GoogleSignalsSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12A\x0A\x05state\x18\x03 \x01(\x0E22.google.analytics.admin.v1alpha.GoogleSignalsState\x12J\x0A\x07consent\x18\x04 \x01(\x0E24.google.analytics.admin.v1alpha.GoogleSignalsConsentB\x03\xE0A\x03:e\xEAAb\x0A3analyticsadmin.googleapis.com/GoogleSignalsSettings\x12+properties/{property}/googleSignalsSettings\"\xBC\x03\x0A\x0FCustomDimension\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1E\x0A\x0Eparameter_name\x18\x02 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01\x12U\x0A\x05scope\x18\x05 \x01(\x0E2>.google.analytics.admin.v1alpha.CustomDimension.DimensionScopeB\x06\xE0A\x02\xE0A\x05\x12)\x0A\x1Cdisallow_ads_personalization\x18\x06 \x01(\x08B\x03\xE0A\x01\"P\x0A\x0EDimensionScope\x12\x1F\x0A\x1BDIMENSION_SCOPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EVENT\x10\x01\x12\x08\x0A\x04USER\x10\x02\x12\x08\x0A\x04ITEM\x10\x03:m\xEAAj\x0A-analyticsadmin.googleapis.com/CustomDimension\x129properties/{property}/customDimensions/{custom_dimension}\"\xC5\x06\x0A\x0CCustomMetric\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1E\x0A\x0Eparameter_name\x18\x02 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01\x12[\x0A\x10measurement_unit\x18\x05 \x01(\x0E2<.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnitB\x03\xE0A\x02\x12O\x0A\x05scope\x18\x06 \x01(\x0E28.google.analytics.admin.v1alpha.CustomMetric.MetricScopeB\x06\xE0A\x02\xE0A\x05\x12f\x0A\x16restricted_metric_type\x18\x08 \x03(\x0E2A.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricTypeB\x03\xE0A\x01\"\xB7\x01\x0A\x0FMeasurementUnit\x12 \x0A\x1CMEASUREMENT_UNIT_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08STANDARD\x10\x01\x12\x0C\x0A\x08CURRENCY\x10\x02\x12\x08\x0A\x04FEET\x10\x03\x12\x0A\x0A\x06METERS\x10\x04\x12\x0E\x0A\x0AKILOMETERS\x10\x05\x12\x09\x0A\x05MILES\x10\x06\x12\x10\x0A\x0CMILLISECONDS\x10\x07\x12\x0B\x0A\x07SECONDS\x10\x08\x12\x0B\x0A\x07MINUTES\x10\x09\x12\x09\x0A\x05HOURS\x10\x0A\"6\x0A\x0BMetricScope\x12\x1C\x0A\x18METRIC_SCOPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EVENT\x10\x01\"_\x0A\x14RestrictedMetricType\x12&\x0A\"RESTRICTED_METRIC_TYPE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09COST_DATA\x10\x01\x12\x10\x0A\x0CREVENUE_DATA\x10\x02:d\xEAAa\x0A*analyticsadmin.googleapis.com/CustomMetric\x123properties/{property}/customMetrics/{custom_metric}\"\xA7\x06\x0A\x10CalculatedMetric\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12!\x0A\x14calculated_metric_id\x18\x04 \x01(\x09B\x03\xE0A\x03\x12U\x0A\x0Bmetric_unit\x18\x05 \x01(\x0E2;.google.analytics.admin.v1alpha.CalculatedMetric.MetricUnitB\x03\xE0A\x02\x12j\x0A\x16restricted_metric_type\x18\x06 \x03(\x0E2E.google.analytics.admin.v1alpha.CalculatedMetric.RestrictedMetricTypeB\x03\xE0A\x03\x12\x14\x0A\x07formula\x18\x07 \x01(\x09B\x03\xE0A\x02\x12%\x0A\x18invalid_metric_reference\x18\x09 \x01(\x08B\x03\xE0A\x03\"\xAD\x01\x0A\x0AMetricUnit\x12\x1B\x0A\x17METRIC_UNIT_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08STANDARD\x10\x01\x12\x0C\x0A\x08CURRENCY\x10\x02\x12\x08\x0A\x04FEET\x10\x03\x12\x09\x0A\x05MILES\x10\x04\x12\x0A\x0A\x06METERS\x10\x05\x12\x0E\x0A\x0AKILOMETERS\x10\x06\x12\x10\x0A\x0CMILLISECONDS\x10\x07\x12\x0B\x0A\x07SECONDS\x10\x08\x12\x0B\x0A\x07MINUTES\x10\x09\x12\x09\x0A\x05HOURS\x10\x0A\"_\x0A\x14RestrictedMetricType\x12&\x0A\"RESTRICTED_METRIC_TYPE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09COST_DATA\x10\x01\x12\x10\x0A\x0CREVENUE_DATA\x10\x02:\x96\x01\xEAA\x92\x01\x0A.analyticsadmin.googleapis.com/CalculatedMetric\x12;properties/{property}/calculatedMetrics/{calculated_metric}*\x11calculatedMetrics2\x10calculatedMetric\"\xB2\x04\x0A\x15DataRetentionSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12j\x0A\x14event_data_retention\x18\x02 \x01(\x0E2G.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDurationB\x03\xE0A\x02\x12i\x0A\x13user_data_retention\x18\x04 \x01(\x0E2G.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDurationB\x03\xE0A\x02\x12'\x0A\x1Freset_user_data_on_new_activity\x18\x03 \x01(\x08\"\x9E\x01\x0A\x11RetentionDuration\x12\"\x0A\x1ERETENTION_DURATION_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0ATWO_MONTHS\x10\x01\x12\x13\x0A\x0FFOURTEEN_MONTHS\x10\x03\x12\x15\x0A\x11TWENTY_SIX_MONTHS\x10\x04\x12\x17\x0A\x13THIRTY_EIGHT_MONTHS\x10\x05\x12\x10\x0A\x0CFIFTY_MONTHS\x10\x06:e\xEAAb\x0A3analyticsadmin.googleapis.com/DataRetentionSettings\x12+properties/{property}/dataRetentionSettings\"\xFC\x0B\x0A\x13AttributionSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x97\x01\x0A,acquisition_conversion_event_lookback_window\x18\x02 \x01(\x0E2\\.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindowB\x03\xE0A\x02\x12\x8B\x01\x0A&other_conversion_event_lookback_window\x18\x03 \x01(\x0E2V.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindowB\x03\xE0A\x02\x12w\x0A\x1Breporting_attribution_model\x18\x04 \x01(\x0E2M.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModelB\x03\xE0A\x02\x12\x86\x01\x0A\$ads_web_conversion_data_export_scope\x18\x05 \x01(\x0E2S.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScopeB\x03\xE0A\x02\"\xDB\x01\x0A(AcquisitionConversionEventLookbackWindow\x12<\x0A8ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED\x10\x00\x127\x0A3ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS\x10\x01\x128\x0A4ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS\x10\x02\"\xF8\x01\x0A\"OtherConversionEventLookbackWindow\x126\x0A2OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED\x10\x00\x122\x0A.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS\x10\x01\x122\x0A.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS\x10\x02\x122\x0A.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS\x10\x03\"\xC2\x01\x0A\x19ReportingAttributionModel\x12+\x0A'REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED\x10\x00\x12)\x0A%PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN\x10\x01\x12(\x0A\$PAID_AND_ORGANIC_CHANNELS_LAST_CLICK\x10\x02\x12#\x0A\x1FGOOGLE_PAID_CHANNELS_LAST_CLICK\x10\x07\"\xA6\x01\x0A\x1FAdsWebConversionDataExportScope\x124\x0A0ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED\x10\x00\x12\x14\x0A\x10NOT_SELECTED_YET\x10\x01\x12\x1D\x0A\x19PAID_AND_ORGANIC_CHANNELS\x10\x02\x12\x18\x0A\x14GOOGLE_PAID_CHANNELS\x10\x03:a\xEAA^\x0A1analyticsadmin.googleapis.com/AttributionSettings\x12)properties/{property}/attributionSettings\"\xF1\x01\x0A\x0DAccessBinding\x12\x0E\x0A\x04user\x18\x02 \x01(\x09H\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x0D\x0A\x05roles\x18\x03 \x03(\x09:\x9C\x01\xEAA\x98\x01\x0A+analyticsadmin.googleapis.com/AccessBinding\x122accounts/{account}/accessBindings/{access_binding}\x125properties/{property}/accessBindings/{access_binding}B\x0F\x0A\x0Daccess_target\"\xAA\x03\x0A\x0CBigQueryLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x07project\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x1C\x0A\x14daily_export_enabled\x18\x04 \x01(\x08\x12 \x0A\x18streaming_export_enabled\x18\x05 \x01(\x08\x12\"\x0A\x1Afresh_daily_export_enabled\x18\x09 \x01(\x08\x12\x1E\x0A\x16include_advertising_id\x18\x06 \x01(\x08\x12\x16\x0A\x0Eexport_streams\x18\x07 \x03(\x09\x12\x17\x0A\x0Fexcluded_events\x18\x08 \x03(\x09\x12 \x0A\x10dataset_location\x18\x0A \x01(\x09B\x06\xE0A\x05\xE0A\x02:d\xEAAa\x0A*analyticsadmin.googleapis.com/BigQueryLink\x123properties/{property}/bigQueryLinks/{bigquery_link}\"\xF3\x03\x0A\x1BEnhancedMeasurementSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x16\x0A\x0Estream_enabled\x18\x02 \x01(\x08\x12\x17\x0A\x0Fscrolls_enabled\x18\x03 \x01(\x08\x12\x1F\x0A\x17outbound_clicks_enabled\x18\x04 \x01(\x08\x12\x1B\x0A\x13site_search_enabled\x18\x05 \x01(\x08\x12 \x0A\x18video_engagement_enabled\x18\x06 \x01(\x08\x12\x1E\x0A\x16file_downloads_enabled\x18\x07 \x01(\x08\x12\x1C\x0A\x14page_changes_enabled\x18\x08 \x01(\x08\x12!\x0A\x19form_interactions_enabled\x18\x09 \x01(\x08\x12#\x0A\x16search_query_parameter\x18\x0A \x01(\x09B\x03\xE0A\x02\x12\x1B\x0A\x13uri_query_parameter\x18\x0B \x01(\x09:\x8C\x01\xEAA\x88\x01\x0A9analyticsadmin.googleapis.com/EnhancedMeasurementSettings\x12Kproperties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings\"\x95\x02\x0A\x15DataRedactionSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1F\x0A\x17email_redaction_enabled\x18\x02 \x01(\x08\x12)\x0A!query_parameter_redaction_enabled\x18\x03 \x01(\x08\x12\x1C\x0A\x14query_parameter_keys\x18\x04 \x03(\x09:\x7F\xEAA|\x0A3analyticsadmin.googleapis.com/DataRedactionSettings\x12Eproperties/{property}/dataStreams/{data_stream}/dataRedactionSettings\"\xA0\x01\x0A\x0BAdSenseLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1B\x0A\x0Ead_client_code\x18\x02 \x01(\x09B\x03\xE0A\x05:a\xEAA^\x0A)analyticsadmin.googleapis.com/AdSenseLink\x121properties/{property}/adSenseLinks/{adsense_link}\"\x8E\x02\x0A\x18RollupPropertySourceLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Fsource_property\x18\x02 \x01(\x09B\x03\xE0A\x05:\xC0\x01\xEAA\xBC\x01\x0A6analyticsadmin.googleapis.com/RollupPropertySourceLink\x12Mproperties/{property}/rollupPropertySourceLinks/{rollup_property_source_link}*\x19rollupPropertySourceLinks2\x18rollupPropertySourceLink\"\xF6\x05\x0A\x17ReportingDataAnnotation\x12,\x0A\x0Fannotation_date\x18\x04 \x01(\x0B2\x11.google.type.DateH\x00\x12b\x0A\x15annotation_date_range\x18\x05 \x01(\x0B2A.google.analytics.admin.v1alpha.ReportingDataAnnotation.DateRangeH\x00\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x08\xE0A\x02\x12\x12\x0A\x05title\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x01\x12Q\x0A\x05color\x18\x06 \x01(\x0E2=.google.analytics.admin.v1alpha.ReportingDataAnnotation.ColorB\x03\xE0A\x02\x12\x1D\x0A\x10system_generated\x18\x07 \x01(\x08B\x03\xE0A\x03\x1Aa\x0A\x09DateRange\x12*\x0A\x0Astart_date\x18\x01 \x01(\x0B2\x11.google.type.DateB\x03\xE0A\x02\x12(\x0A\x08end_date\x18\x02 \x01(\x0B2\x11.google.type.DateB\x03\xE0A\x02\"i\x0A\x05Color\x12\x15\x0A\x11COLOR_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06PURPLE\x10\x01\x12\x09\x0A\x05BROWN\x10\x02\x12\x08\x0A\x04BLUE\x10\x03\x12\x09\x0A\x05GREEN\x10\x04\x12\x07\x0A\x03RED\x10\x05\x12\x08\x0A\x04CYAN\x10\x06\x12\x0A\x0A\x06ORANGE\x10\x07:\xBA\x01\xEAA\xB6\x01\x0A5analyticsadmin.googleapis.com/ReportingDataAnnotation\x12Jproperties/{property}/reportingDataAnnotations/{reporting_data_annotation}*\x18reportingDataAnnotations2\x17reportingDataAnnotationB\x08\x0A\x06target\"\xD2\x03\x0A\x15SubpropertySyncConfig\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x08\xE0A\x03\x12!\x0A\x11apply_to_property\x18\x02 \x01(\x09B\x06\xE0A\x05\xE0A\x03\x12}\x0A%custom_dimension_and_metric_sync_mode\x18\x03 \x01(\x0E2I.google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationModeB\x03\xE0A\x02\"N\x0A\x13SynchronizationMode\x12\$\x0A SYNCHRONIZATION_MODE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04NONE\x10\x01\x12\x07\x0A\x03ALL\x10\x02:\xB0\x01\xEAA\xAC\x01\x0A3analyticsadmin.googleapis.com/SubpropertySyncConfig\x12Fproperties/{property}/subpropertySyncConfigs/{subproperty_sync_config}*\x16subpropertySyncConfigs2\x15subpropertySyncConfig\"\xAF\x03\x0A\x19ReportingIdentitySettings\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x08\xE0A\x03\x12g\x0A\x12reporting_identity\x18\x02 \x01(\x0E2K.google.analytics.admin.v1alpha.ReportingIdentitySettings.ReportingIdentity\"l\x0A\x11ReportingIdentity\x12*\x0A&IDENTITY_BLENDING_STRATEGY_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07BLENDED\x10\x01\x12\x0C\x0A\x08OBSERVED\x10\x02\x12\x10\x0A\x0CDEVICE_BASED\x10\x03:\xA4\x01\xEAA\xA0\x01\x0A7analyticsadmin.googleapis.com/ReportingIdentitySettings\x12/properties/{property}/reportingIdentitySettings*\x19reportingIdentitySettings2\x19reportingIdentitySettings*\xAA\x04\x0A\x10IndustryCategory\x12!\x0A\x1DINDUSTRY_CATEGORY_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AAUTOMOTIVE\x10\x01\x12#\x0A\x1FBUSINESS_AND_INDUSTRIAL_MARKETS\x10\x02\x12\x0B\x0A\x07FINANCE\x10\x03\x12\x0E\x0A\x0AHEALTHCARE\x10\x04\x12\x0E\x0A\x0ATECHNOLOGY\x10\x05\x12\x0A\x0A\x06TRAVEL\x10\x06\x12\x09\x0A\x05OTHER\x10\x07\x12\x1A\x0A\x16ARTS_AND_ENTERTAINMENT\x10\x08\x12\x16\x0A\x12BEAUTY_AND_FITNESS\x10\x09\x12\x18\x0A\x14BOOKS_AND_LITERATURE\x10\x0A\x12\x12\x0A\x0EFOOD_AND_DRINK\x10\x0B\x12\x09\x0A\x05GAMES\x10\x0C\x12\x17\x0A\x13HOBBIES_AND_LEISURE\x10\x0D\x12\x13\x0A\x0FHOME_AND_GARDEN\x10\x0E\x12\x18\x0A\x14INTERNET_AND_TELECOM\x10\x0F\x12\x16\x0A\x12LAW_AND_GOVERNMENT\x10\x10\x12\x08\x0A\x04NEWS\x10\x11\x12\x16\x0A\x12ONLINE_COMMUNITIES\x10\x12\x12\x16\x0A\x12PEOPLE_AND_SOCIETY\x10\x13\x12\x14\x0A\x10PETS_AND_ANIMALS\x10\x14\x12\x0F\x0A\x0BREAL_ESTATE\x10\x15\x12\x0D\x0A\x09REFERENCE\x10\x16\x12\x0B\x0A\x07SCIENCE\x10\x17\x12\x0A\x0A\x06SPORTS\x10\x18\x12\x16\x0A\x12JOBS_AND_EDUCATION\x10\x19\x12\x0C\x0A\x08SHOPPING\x10\x1A*f\x0A\x0CServiceLevel\x12\x1D\x0A\x19SERVICE_LEVEL_UNSPECIFIED\x10\x00\x12\x1D\x0A\x19GOOGLE_ANALYTICS_STANDARD\x10\x01\x12\x18\x0A\x14GOOGLE_ANALYTICS_360\x10\x02*J\x0A\x09ActorType\x12\x1A\x0A\x16ACTOR_TYPE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04USER\x10\x01\x12\x0A\x0A\x06SYSTEM\x10\x02\x12\x0B\x0A\x07SUPPORT\x10\x03*P\x0A\x0AActionType\x12\x1B\x0A\x17ACTION_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07CREATED\x10\x01\x12\x0B\x0A\x07UPDATED\x10\x02\x12\x0B\x0A\x07DELETED\x10\x03*\xA1\x06\x0A\x19ChangeHistoryResourceType\x12,\x0A(CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07ACCOUNT\x10\x01\x12\x0C\x0A\x08PROPERTY\x10\x02\x12\x11\x0A\x0DFIREBASE_LINK\x10\x06\x12\x13\x0A\x0FGOOGLE_ADS_LINK\x10\x07\x12\x1B\x0A\x17GOOGLE_SIGNALS_SETTINGS\x10\x08\x12\x14\x0A\x10CONVERSION_EVENT\x10\x09\x12\x1F\x0A\x1BMEASUREMENT_PROTOCOL_SECRET\x10\x0A\x12\x14\x0A\x10CUSTOM_DIMENSION\x10\x0B\x12\x11\x0A\x0DCUSTOM_METRIC\x10\x0C\x12\x1B\x0A\x17DATA_RETENTION_SETTINGS\x10\x0D\x12%\x0A!DISPLAY_VIDEO_360_ADVERTISER_LINK\x10\x0E\x12.\x0A*DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL\x10\x0F\x12\x17\x0A\x13SEARCH_ADS_360_LINK\x10\x10\x12\x0F\x0A\x0BDATA_STREAM\x10\x12\x12\x18\x0A\x14ATTRIBUTION_SETTINGS\x10\x14\x12\x15\x0A\x11EXPANDED_DATA_SET\x10\x15\x12\x11\x0A\x0DCHANNEL_GROUP\x10\x16\x12\x11\x0A\x0DBIGQUERY_LINK\x10\x17\x12!\x0A\x1DENHANCED_MEASUREMENT_SETTINGS\x10\x18\x12\x1B\x0A\x17DATA_REDACTION_SETTINGS\x10\x19\x12'\x0A#SKADNETWORK_CONVERSION_VALUE_SCHEMA\x10\x1A\x12\x10\x0A\x0CADSENSE_LINK\x10\x1B\x12\x0C\x0A\x08AUDIENCE\x10\x1C\x12\x15\x0A\x11EVENT_CREATE_RULE\x10\x1D\x12\x0D\x0A\x09KEY_EVENT\x10\x1E\x12\x15\x0A\x11CALCULATED_METRIC\x10\x1F\x12\x1D\x0A\x19REPORTING_DATA_ANNOTATION\x10 \x12\x1B\x0A\x17SUBPROPERTY_SYNC_CONFIG\x10!\x12\x1F\x0A\x1BREPORTING_IDENTITY_SETTINGS\x10\"*s\x0A\x12GoogleSignalsState\x12\$\x0A GOOGLE_SIGNALS_STATE_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16GOOGLE_SIGNALS_ENABLED\x10\x01\x12\x1B\x0A\x17GOOGLE_SIGNALS_DISABLED\x10\x02*\x8E\x01\x0A\x14GoogleSignalsConsent\x12&\x0A\"GOOGLE_SIGNALS_CONSENT_UNSPECIFIED\x10\x00\x12\$\x0A GOOGLE_SIGNALS_CONSENT_CONSENTED\x10\x02\x12(\x0A\$GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED\x10\x01*{\x0A\x1DLinkProposalInitiatingProduct\x120\x0A,LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED\x10\x00\x12\x14\x0A\x10GOOGLE_ANALYTICS\x10\x01\x12\x12\x0A\x0ELINKED_PRODUCT\x10\x02*\xC4\x01\x0A\x11LinkProposalState\x12#\x0A\x1FLINK_PROPOSAL_STATE_UNSPECIFIED\x10\x00\x12)\x0A%AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS\x10\x01\x12'\x0A#AWAITING_REVIEW_FROM_LINKED_PRODUCT\x10\x02\x12\x0D\x0A\x09WITHDRAWN\x10\x03\x12\x0C\x0A\x08DECLINED\x10\x04\x12\x0B\x0A\x07EXPIRED\x10\x05\x12\x0C\x0A\x08OBSOLETE\x10\x06*\x82\x01\x0A\x0CPropertyType\x12\x1D\x0A\x19PROPERTY_TYPE_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16PROPERTY_TYPE_ORDINARY\x10\x01\x12\x1D\x0A\x19PROPERTY_TYPE_SUBPROPERTY\x10\x02\x12\x18\x0A\x14PROPERTY_TYPE_ROLLUP\x10\x03*q\x0A\x0BCoarseValue\x12\x1C\x0A\x18COARSE_VALUE_UNSPECIFIED\x10\x00\x12\x14\x0A\x10COARSE_VALUE_LOW\x10\x01\x12\x17\x0A\x13COARSE_VALUE_MEDIUM\x10\x02\x12\x15\x0A\x11COARSE_VALUE_HIGH\x10\x03B\xCB\x01\x0A\"com.google.analytics.admin.v1alphaB\x0EResourcesProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpb\xEAAR\x0A2marketingplatformadmin.googleapis.com/Organization\x12\x1Corganizations/{organization}b\x06proto3" + "\x0A\xD2\xB8\x01\x0A.google/analytics/admin/v1alpha/resources.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A2google/analytics/admin/v1alpha/channel_group.proto\x1A:google/analytics/admin/v1alpha/event_create_and_edit.proto\x1A6google/analytics/admin/v1alpha/expanded_data_set.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x1Egoogle/protobuf/wrappers.proto\x1A\x16google/type/date.proto\"\xF7\x02\x0A\x07Account\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bregion_code\x18\x05 \x01(\x09\x12\x14\x0A\x07deleted\x18\x06 \x01(\x08B\x03\xE0A\x03\x12T\x0A\x10gmp_organization\x18\x07 \x01(\x09B:\xE0A\x03\xFAA4\x0A2marketingplatformadmin.googleapis.com/Organization:Q\xEAAN\x0A%analyticsadmin.googleapis.com/Account\x12\x12accounts/{account}*\x08accounts2\x07account\"\xCF\x05\x0A\x08Property\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12H\x0A\x0Dproperty_type\x18\x0E \x01(\x0E2,.google.analytics.admin.v1alpha.PropertyTypeB\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x13\x0A\x06parent\x18\x02 \x01(\x09B\x03\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x05 \x01(\x09B\x03\xE0A\x02\x12K\x0A\x11industry_category\x18\x06 \x01(\x0E20.google.analytics.admin.v1alpha.IndustryCategory\x12\x16\x0A\x09time_zone\x18\x07 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x0Dcurrency_code\x18\x08 \x01(\x09\x12H\x0A\x0Dservice_level\x18\x0A \x01(\x0E2,.google.analytics.admin.v1alpha.ServiceLevelB\x03\xE0A\x03\x124\x0A\x0Bdelete_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bexpire_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12>\x0A\x07account\x18\x0D \x01(\x09B-\xE0A\x05\xFAA'\x0A%analyticsadmin.googleapis.com/Account:X\xEAAU\x0A&analyticsadmin.googleapis.com/Property\x12\x15properties/{property}*\x0Aproperties2\x08property\"\x8D\x08\x0A\x0ADataStream\x12S\x0A\x0Fweb_stream_data\x18\x06 \x01(\x0B28.google.analytics.admin.v1alpha.DataStream.WebStreamDataH\x00\x12b\x0A\x17android_app_stream_data\x18\x07 \x01(\x0B2?.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataH\x00\x12Z\x0A\x13ios_app_stream_data\x18\x08 \x01(\x0B2;.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataH\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12O\x0A\x04type\x18\x02 \x01(\x0E29.google.analytics.admin.v1alpha.DataStream.DataStreamTypeB\x06\xE0A\x05\xE0A\x02\x12\x14\x0A\x0Cdisplay_name\x18\x03 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x1A_\x0A\x0DWebStreamData\x12\x1B\x0A\x0Emeasurement_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Ffirebase_app_id\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x13\x0A\x0Bdefault_uri\x18\x03 \x01(\x09\x1AO\x0A\x14AndroidAppStreamData\x12\x1C\x0A\x0Ffirebase_app_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cpackage_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x1AK\x0A\x10IosAppStreamData\x12\x1C\x0A\x0Ffirebase_app_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x09bundle_id\x18\x02 \x01(\x09B\x06\xE0A\x05\xE0A\x02\"}\x0A\x0EDataStreamType\x12 \x0A\x1CDATA_STREAM_TYPE_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FWEB_DATA_STREAM\x10\x01\x12\x1B\x0A\x17ANDROID_APP_DATA_STREAM\x10\x02\x12\x17\x0A\x13IOS_APP_DATA_STREAM\x10\x03:w\xEAAt\x0A(analyticsadmin.googleapis.com/DataStream\x12/properties/{property}/dataStreams/{data_stream}*\x0BdataStreams2\x0AdataStreamB\x0D\x0A\x0Bstream_data\"\xF1\x01\x0A\x0CFirebaseLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x14\x0A\x07project\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03:\x81\x01\xEAA~\x0A*analyticsadmin.googleapis.com/FirebaseLink\x123properties/{property}/firebaseLinks/{firebase_link}*\x0DfirebaseLinks2\x0CfirebaseLink\"\xCA\x01\x0A\x0DGlobalSiteTag\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x14\x0A\x07snippet\x18\x02 \x01(\x09B\x03\xE0A\x05:\x8F\x01\xEAA\x8B\x01\x0A+analyticsadmin.googleapis.com/GlobalSiteTag\x12=properties/{property}/dataStreams/{data_stream}/globalSiteTag*\x0EglobalSiteTags2\x0DglobalSiteTag\"\xB9\x03\x0A\x0DGoogleAdsLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x18\x0A\x0Bcustomer_id\x18\x03 \x01(\x09B\x03\xE0A\x05\x12\x1F\x0A\x12can_manage_clients\x18\x04 \x01(\x08B\x03\xE0A\x03\x12?\x0A\x1Bads_personalization_enabled\x18\x05 \x01(\x0B2\x1A.google.protobuf.BoolValue\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\"\x0A\x15creator_email_address\x18\x09 \x01(\x09B\x03\xE0A\x03:\x88\x01\xEAA\x84\x01\x0A+analyticsadmin.googleapis.com/GoogleAdsLink\x126properties/{property}/googleAdsLinks/{google_ads_link}*\x0EgoogleAdsLinks2\x0DgoogleAdsLink\"\x9B\x03\x0A\x13DataSharingSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12+\x0A#sharing_with_google_support_enabled\x18\x02 \x01(\x08\x122\x0A*sharing_with_google_assigned_sales_enabled\x18\x03 \x01(\x08\x121\x0A%sharing_with_google_any_sales_enabled\x18\x04 \x01(\x08B\x02\x18\x01\x12,\x0A\$sharing_with_google_products_enabled\x18\x05 \x01(\x08\x12#\x0A\x1Bsharing_with_others_enabled\x18\x06 \x01(\x08:\x89\x01\xEAA\x85\x01\x0A1analyticsadmin.googleapis.com/DataSharingSettings\x12&accounts/{account}/dataSharingSettings*\x13dataSharingSettings2\x13dataSharingSettings\"\xBC\x02\x0A\x0EAccountSummary\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12;\x0A\x07account\x18\x02 \x01(\x09B*\xFAA'\x0A%analyticsadmin.googleapis.com/Account\x12\x14\x0A\x0Cdisplay_name\x18\x03 \x01(\x09\x12K\x0A\x12property_summaries\x18\x04 \x03(\x0B2/.google.analytics.admin.v1alpha.PropertySummary:w\xEAAt\x0A,analyticsadmin.googleapis.com/AccountSummary\x12\"accountSummaries/{account_summary}*\x10accountSummaries2\x0EaccountSummary\"\xBB\x01\x0A\x0FPropertySummary\x12=\x0A\x08property\x18\x01 \x01(\x09B+\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12C\x0A\x0Dproperty_type\x18\x03 \x01(\x0E2,.google.analytics.admin.v1alpha.PropertyType\x12\x0E\x0A\x06parent\x18\x04 \x01(\x09\"\xC5\x02\x0A\x19MeasurementProtocolSecret\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x19\x0A\x0Csecret_value\x18\x03 \x01(\x09B\x03\xE0A\x03:\xDE\x01\xEAA\xDA\x01\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12hproperties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}*\x1AmeasurementProtocolSecrets2\x19measurementProtocolSecret\"\xC8\x04\x0A SKAdNetworkConversionValueSchema\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12P\x0A\x13postback_window_one\x18\x02 \x01(\x0B2..google.analytics.admin.v1alpha.PostbackWindowB\x03\xE0A\x02\x12K\x0A\x13postback_window_two\x18\x03 \x01(\x0B2..google.analytics.admin.v1alpha.PostbackWindow\x12M\x0A\x15postback_window_three\x18\x04 \x01(\x0B2..google.analytics.admin.v1alpha.PostbackWindow\x12\x1F\x0A\x17apply_conversion_values\x18\x05 \x01(\x08:\x81\x02\xEAA\xFD\x01\x0A>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\x12vproperties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}*!skAdNetworkConversionValueSchemas2 skAdNetworkConversionValueSchema\"\x87\x01\x0A\x0EPostbackWindow\x12K\x0A\x11conversion_values\x18\x01 \x03(\x0B20.google.analytics.admin.v1alpha.ConversionValues\x12(\x0A postback_window_settings_enabled\x18\x02 \x01(\x08\"\xF4\x01\x0A\x10ConversionValues\x12\x14\x0A\x0Cdisplay_name\x18\x01 \x01(\x09\x12\x17\x0A\x0Afine_value\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12F\x0A\x0Ccoarse_value\x18\x03 \x01(\x0E2+.google.analytics.admin.v1alpha.CoarseValueB\x03\xE0A\x02\x12D\x0A\x0Eevent_mappings\x18\x04 \x03(\x0B2,.google.analytics.admin.v1alpha.EventMapping\x12\x14\x0A\x0Clock_enabled\x18\x05 \x01(\x08B\x0D\x0A\x0B_fine_value\"\xEF\x01\x0A\x0CEventMapping\x12\x17\x0A\x0Aevent_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1C\x0A\x0Fmin_event_count\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x1C\x0A\x0Fmax_event_count\x18\x03 \x01(\x03H\x01\x88\x01\x01\x12\x1C\x0A\x0Fmin_event_value\x18\x04 \x01(\x01H\x02\x88\x01\x01\x12\x1C\x0A\x0Fmax_event_value\x18\x05 \x01(\x01H\x03\x88\x01\x01B\x12\x0A\x10_min_event_countB\x12\x0A\x10_max_event_countB\x12\x0A\x10_min_event_valueB\x12\x0A\x10_max_event_value\"\x8A\x02\x0A\x12ChangeHistoryEvent\x12\x0A\x0A\x02id\x18\x01 \x01(\x09\x12/\x0A\x0Bchange_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12=\x0A\x0Aactor_type\x18\x03 \x01(\x0E2).google.analytics.admin.v1alpha.ActorType\x12\x18\x0A\x10user_actor_email\x18\x04 \x01(\x09\x12\x18\x0A\x10changes_filtered\x18\x05 \x01(\x08\x12D\x0A\x07changes\x18\x06 \x03(\x0B23.google.analytics.admin.v1alpha.ChangeHistoryChange\"\x99\x16\x0A\x13ChangeHistoryChange\x12\x10\x0A\x08resource\x18\x01 \x01(\x09\x12:\x0A\x06action\x18\x02 \x01(\x0E2*.google.analytics.admin.v1alpha.ActionType\x12i\x0A\x16resource_before_change\x18\x03 \x01(\x0B2I.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource\x12h\x0A\x15resource_after_change\x18\x04 \x01(\x0B2I.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource\x1A\xDE\x13\x0A\x15ChangeHistoryResource\x12:\x0A\x07account\x18\x01 \x01(\x0B2'.google.analytics.admin.v1alpha.AccountH\x00\x12<\x0A\x08property\x18\x02 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyH\x00\x12E\x0A\x0Dfirebase_link\x18\x06 \x01(\x0B2,.google.analytics.admin.v1alpha.FirebaseLinkH\x00\x12H\x0A\x0Fgoogle_ads_link\x18\x07 \x01(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLinkH\x00\x12X\x0A\x17google_signals_settings\x18\x08 \x01(\x0B25.google.analytics.admin.v1alpha.GoogleSignalsSettingsH\x00\x12j\x0A!display_video_360_advertiser_link\x18\x09 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkH\x00\x12{\x0A*display_video_360_advertiser_link_proposal\x18\x0A \x01(\x0B2E.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalH\x00\x12K\x0A\x10conversion_event\x18\x0B \x01(\x0B2/.google.analytics.admin.v1alpha.ConversionEventH\x00\x12`\x0A\x1Bmeasurement_protocol_secret\x18\x0C \x01(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecretH\x00\x12K\x0A\x10custom_dimension\x18\x0D \x01(\x0B2/.google.analytics.admin.v1alpha.CustomDimensionH\x00\x12E\x0A\x0Dcustom_metric\x18\x0E \x01(\x0B2,.google.analytics.admin.v1alpha.CustomMetricH\x00\x12X\x0A\x17data_retention_settings\x18\x0F \x01(\x0B25.google.analytics.admin.v1alpha.DataRetentionSettingsH\x00\x12O\x0A\x13search_ads_360_link\x18\x10 \x01(\x0B20.google.analytics.admin.v1alpha.SearchAds360LinkH\x00\x12A\x0A\x0Bdata_stream\x18\x12 \x01(\x0B2*.google.analytics.admin.v1alpha.DataStreamH\x00\x12S\x0A\x14attribution_settings\x18\x14 \x01(\x0B23.google.analytics.admin.v1alpha.AttributionSettingsH\x00\x12L\x0A\x11expanded_data_set\x18\x15 \x01(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSetH\x00\x12E\x0A\x0Dchannel_group\x18\x16 \x01(\x0B2,.google.analytics.admin.v1alpha.ChannelGroupH\x00\x12E\x0A\x0Dbigquery_link\x18\x17 \x01(\x0B2,.google.analytics.admin.v1alpha.BigQueryLinkH\x00\x12d\x0A\x1Denhanced_measurement_settings\x18\x18 \x01(\x0B2;.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsH\x00\x12X\x0A\x17data_redaction_settings\x18\x19 \x01(\x0B25.google.analytics.admin.v1alpha.DataRedactionSettingsH\x00\x12o\x0A#skadnetwork_conversion_value_schema\x18\x1A \x01(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaH\x00\x12C\x0A\x0Cadsense_link\x18\x1B \x01(\x0B2+.google.analytics.admin.v1alpha.AdSenseLinkH\x00\x12<\x0A\x08audience\x18\x1C \x01(\x0B2(.google.analytics.admin.v1alpha.AudienceH\x00\x12L\x0A\x11event_create_rule\x18\x1D \x01(\x0B2/.google.analytics.admin.v1alpha.EventCreateRuleH\x00\x12=\x0A\x09key_event\x18\x1E \x01(\x0B2(.google.analytics.admin.v1alpha.KeyEventH\x00\x12M\x0A\x11calculated_metric\x18\x1F \x01(\x0B20.google.analytics.admin.v1alpha.CalculatedMetricH\x00\x12\\\x0A\x19reporting_data_annotation\x18 \x01(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotationH\x00\x12X\x0A\x17subproperty_sync_config\x18! \x01(\x0B25.google.analytics.admin.v1alpha.SubpropertySyncConfigH\x00\x12`\x0A\x1Breporting_identity_settings\x18\" \x01(\x0B29.google.analytics.admin.v1alpha.ReportingIdentitySettingsH\x00\x12_\x0A\x1Buser_provided_data_settings\x18# \x01(\x0B28.google.analytics.admin.v1alpha.UserProvidedDataSettingsH\x00B\x0A\x0A\x08resource\"\x9E\x04\x0A\x1DDisplayVideo360AdvertiserLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1A\x0A\x0Dadvertiser_id\x18\x02 \x01(\x09B\x03\xE0A\x05\x12\$\x0A\x17advertiser_display_name\x18\x03 \x01(\x09B\x03\xE0A\x03\x12?\x0A\x1Bads_personalization_enabled\x18\x04 \x01(\x0B2\x1A.google.protobuf.BoolValue\x12F\x0A\x1Dcampaign_data_sharing_enabled\x18\x05 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12B\x0A\x19cost_data_sharing_enabled\x18\x06 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05:\xDA\x01\xEAA\xD6\x01\x0A;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\x12Xproperties/{property}/displayVideo360AdvertiserLinks/{display_video_360_advertiser_link}*\x1EdisplayVideo360AdvertiserLinks2\x1DdisplayVideo360AdvertiserLink\"\xD9\x05\x0A%DisplayVideo360AdvertiserLinkProposal\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1A\x0A\x0Dadvertiser_id\x18\x02 \x01(\x09B\x03\xE0A\x05\x12d\x0A\x1Clink_proposal_status_details\x18\x03 \x01(\x0B29.google.analytics.admin.v1alpha.LinkProposalStatusDetailsB\x03\xE0A\x03\x12\$\x0A\x17advertiser_display_name\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x1D\x0A\x10validation_email\x18\x05 \x01(\x09B\x03\xE0A\x04\x12D\x0A\x1Bads_personalization_enabled\x18\x06 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12F\x0A\x1Dcampaign_data_sharing_enabled\x18\x07 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12B\x0A\x19cost_data_sharing_enabled\x18\x08 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05:\x83\x02\xEAA\xFF\x01\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\x12iproperties/{property}/displayVideo360AdvertiserLinkProposals/{display_video_360_advertiser_link_proposal}*&displayVideo360AdvertiserLinkProposals2%displayVideo360AdvertiserLinkProposal\"\x8F\x04\x0A\x10SearchAds360Link\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1A\x0A\x0Dadvertiser_id\x18\x02 \x01(\x09B\x03\xE0A\x05\x12F\x0A\x1Dcampaign_data_sharing_enabled\x18\x03 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12B\x0A\x19cost_data_sharing_enabled\x18\x04 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12\$\x0A\x17advertiser_display_name\x18\x05 \x01(\x09B\x03\xE0A\x03\x12?\x0A\x1Bads_personalization_enabled\x18\x06 \x01(\x0B2\x1A.google.protobuf.BoolValue\x12>\x0A\x1Asite_stats_sharing_enabled\x18\x07 \x01(\x0B2\x1A.google.protobuf.BoolValue:\x98\x01\xEAA\x94\x01\x0A.analyticsadmin.googleapis.com/SearchAds360Link\x12=properties/{property}/searchAds360Links/{search_ads_360_link}*\x11searchAds360Links2\x10searchAds360Link\"\xFC\x01\x0A\x19LinkProposalStatusDetails\x12l\x0A link_proposal_initiating_product\x18\x01 \x01(\x0E2=.google.analytics.admin.v1alpha.LinkProposalInitiatingProductB\x03\xE0A\x03\x12\x1C\x0A\x0Frequestor_email\x18\x02 \x01(\x09B\x03\xE0A\x03\x12S\x0A\x13link_proposal_state\x18\x03 \x01(\x0E21.google.analytics.admin.v1alpha.LinkProposalStateB\x03\xE0A\x03\"\x85\x06\x0A\x0FConversionEvent\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x17\x0A\x0Aevent_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x16\x0A\x09deletable\x18\x04 \x01(\x08B\x03\xE0A\x03\x12\x13\x0A\x06custom\x18\x05 \x01(\x08B\x03\xE0A\x03\x12f\x0A\x0Fcounting_method\x18\x06 \x01(\x0E2H.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethodB\x03\xE0A\x01\x12r\x0A\x18default_conversion_value\x18\x07 \x01(\x0B2F.google.analytics.admin.v1alpha.ConversionEvent.DefaultConversionValueB\x03\xE0A\x01H\x00\x88\x01\x01\x1Ad\x0A\x16DefaultConversionValue\x12\x12\x0A\x05value\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x1A\x0A\x0Dcurrency_code\x18\x02 \x01(\x09H\x01\x88\x01\x01B\x08\x0A\x06_valueB\x10\x0A\x0E_currency_code\"p\x0A\x18ConversionCountingMethod\x12*\x0A&CONVERSION_COUNTING_METHOD_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EONCE_PER_EVENT\x10\x01\x12\x14\x0A\x10ONCE_PER_SESSION\x10\x02:\x91\x01\xEAA\x8D\x01\x0A-analyticsadmin.googleapis.com/ConversionEvent\x129properties/{property}/conversionEvents/{conversion_event}*\x10conversionEvents2\x0FconversionEventB\x1B\x0A\x19_default_conversion_value\"\xD7\x04\x0A\x08KeyEvent\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x17\x0A\x0Aevent_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x16\x0A\x09deletable\x18\x04 \x01(\x08B\x03\xE0A\x03\x12\x13\x0A\x06custom\x18\x05 \x01(\x08B\x03\xE0A\x03\x12U\x0A\x0Fcounting_method\x18\x06 \x01(\x0E27.google.analytics.admin.v1alpha.KeyEvent.CountingMethodB\x03\xE0A\x02\x12Q\x0A\x0Ddefault_value\x18\x07 \x01(\x0B25.google.analytics.admin.v1alpha.KeyEvent.DefaultValueB\x03\xE0A\x01\x1AF\x0A\x0CDefaultValue\x12\x1A\x0A\x0Dnumeric_value\x18\x01 \x01(\x01B\x03\xE0A\x02\x12\x1A\x0A\x0Dcurrency_code\x18\x02 \x01(\x09B\x03\xE0A\x02\"[\x0A\x0ECountingMethod\x12\x1F\x0A\x1BCOUNTING_METHOD_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EONCE_PER_EVENT\x10\x01\x12\x14\x0A\x10ONCE_PER_SESSION\x10\x02:m\xEAAj\x0A&analyticsadmin.googleapis.com/KeyEvent\x12+properties/{property}/keyEvents/{key_event}*\x09keyEvents2\x08keyEvent\"\xA0\x02\x0A\x15GoogleSignalsSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12A\x0A\x05state\x18\x03 \x01(\x0E22.google.analytics.admin.v1alpha.GoogleSignalsState\x12J\x0A\x07consent\x18\x04 \x01(\x0E24.google.analytics.admin.v1alpha.GoogleSignalsConsentB\x03\xE0A\x03:e\xEAAb\x0A3analyticsadmin.googleapis.com/GoogleSignalsSettings\x12+properties/{property}/googleSignalsSettings\"\xE1\x03\x0A\x0FCustomDimension\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Eparameter_name\x18\x02 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01\x12U\x0A\x05scope\x18\x05 \x01(\x0E2>.google.analytics.admin.v1alpha.CustomDimension.DimensionScopeB\x06\xE0A\x02\xE0A\x05\x12)\x0A\x1Cdisallow_ads_personalization\x18\x06 \x01(\x08B\x03\xE0A\x01\"P\x0A\x0EDimensionScope\x12\x1F\x0A\x1BDIMENSION_SCOPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EVENT\x10\x01\x12\x08\x0A\x04USER\x10\x02\x12\x08\x0A\x04ITEM\x10\x03:\x91\x01\xEAA\x8D\x01\x0A-analyticsadmin.googleapis.com/CustomDimension\x129properties/{property}/customDimensions/{custom_dimension}*\x10customDimensions2\x0FcustomDimension\"\xE3\x06\x0A\x0CCustomMetric\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Eparameter_name\x18\x02 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01\x12[\x0A\x10measurement_unit\x18\x05 \x01(\x0E2<.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnitB\x03\xE0A\x02\x12O\x0A\x05scope\x18\x06 \x01(\x0E28.google.analytics.admin.v1alpha.CustomMetric.MetricScopeB\x06\xE0A\x02\xE0A\x05\x12f\x0A\x16restricted_metric_type\x18\x08 \x03(\x0E2A.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricTypeB\x03\xE0A\x01\"\xB7\x01\x0A\x0FMeasurementUnit\x12 \x0A\x1CMEASUREMENT_UNIT_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08STANDARD\x10\x01\x12\x0C\x0A\x08CURRENCY\x10\x02\x12\x08\x0A\x04FEET\x10\x03\x12\x0A\x0A\x06METERS\x10\x04\x12\x0E\x0A\x0AKILOMETERS\x10\x05\x12\x09\x0A\x05MILES\x10\x06\x12\x10\x0A\x0CMILLISECONDS\x10\x07\x12\x0B\x0A\x07SECONDS\x10\x08\x12\x0B\x0A\x07MINUTES\x10\x09\x12\x09\x0A\x05HOURS\x10\x0A\"6\x0A\x0BMetricScope\x12\x1C\x0A\x18METRIC_SCOPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EVENT\x10\x01\"_\x0A\x14RestrictedMetricType\x12&\x0A\"RESTRICTED_METRIC_TYPE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09COST_DATA\x10\x01\x12\x10\x0A\x0CREVENUE_DATA\x10\x02:\x81\x01\xEAA~\x0A*analyticsadmin.googleapis.com/CustomMetric\x123properties/{property}/customMetrics/{custom_metric}*\x0DcustomMetrics2\x0CcustomMetric\"\xA7\x06\x0A\x10CalculatedMetric\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12!\x0A\x14calculated_metric_id\x18\x04 \x01(\x09B\x03\xE0A\x03\x12U\x0A\x0Bmetric_unit\x18\x05 \x01(\x0E2;.google.analytics.admin.v1alpha.CalculatedMetric.MetricUnitB\x03\xE0A\x02\x12j\x0A\x16restricted_metric_type\x18\x06 \x03(\x0E2E.google.analytics.admin.v1alpha.CalculatedMetric.RestrictedMetricTypeB\x03\xE0A\x03\x12\x14\x0A\x07formula\x18\x07 \x01(\x09B\x03\xE0A\x02\x12%\x0A\x18invalid_metric_reference\x18\x09 \x01(\x08B\x03\xE0A\x03\"\xAD\x01\x0A\x0AMetricUnit\x12\x1B\x0A\x17METRIC_UNIT_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08STANDARD\x10\x01\x12\x0C\x0A\x08CURRENCY\x10\x02\x12\x08\x0A\x04FEET\x10\x03\x12\x09\x0A\x05MILES\x10\x04\x12\x0A\x0A\x06METERS\x10\x05\x12\x0E\x0A\x0AKILOMETERS\x10\x06\x12\x10\x0A\x0CMILLISECONDS\x10\x07\x12\x0B\x0A\x07SECONDS\x10\x08\x12\x0B\x0A\x07MINUTES\x10\x09\x12\x09\x0A\x05HOURS\x10\x0A\"_\x0A\x14RestrictedMetricType\x12&\x0A\"RESTRICTED_METRIC_TYPE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09COST_DATA\x10\x01\x12\x10\x0A\x0CREVENUE_DATA\x10\x02:\x96\x01\xEAA\x92\x01\x0A.analyticsadmin.googleapis.com/CalculatedMetric\x12;properties/{property}/calculatedMetrics/{calculated_metric}*\x11calculatedMetrics2\x10calculatedMetric\"\xE2\x04\x0A\x15DataRetentionSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12j\x0A\x14event_data_retention\x18\x02 \x01(\x0E2G.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDurationB\x03\xE0A\x02\x12i\x0A\x13user_data_retention\x18\x04 \x01(\x0E2G.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDurationB\x03\xE0A\x02\x12'\x0A\x1Freset_user_data_on_new_activity\x18\x03 \x01(\x08\"\x9E\x01\x0A\x11RetentionDuration\x12\"\x0A\x1ERETENTION_DURATION_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0ATWO_MONTHS\x10\x01\x12\x13\x0A\x0FFOURTEEN_MONTHS\x10\x03\x12\x15\x0A\x11TWENTY_SIX_MONTHS\x10\x04\x12\x17\x0A\x13THIRTY_EIGHT_MONTHS\x10\x05\x12\x10\x0A\x0CFIFTY_MONTHS\x10\x06:\x94\x01\xEAA\x90\x01\x0A3analyticsadmin.googleapis.com/DataRetentionSettings\x12+properties/{property}/dataRetentionSettings*\x15dataRetentionSettings2\x15dataRetentionSettings\"\xFC\x0B\x0A\x13AttributionSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x97\x01\x0A,acquisition_conversion_event_lookback_window\x18\x02 \x01(\x0E2\\.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindowB\x03\xE0A\x02\x12\x8B\x01\x0A&other_conversion_event_lookback_window\x18\x03 \x01(\x0E2V.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindowB\x03\xE0A\x02\x12w\x0A\x1Breporting_attribution_model\x18\x04 \x01(\x0E2M.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModelB\x03\xE0A\x02\x12\x86\x01\x0A\$ads_web_conversion_data_export_scope\x18\x05 \x01(\x0E2S.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScopeB\x03\xE0A\x02\"\xDB\x01\x0A(AcquisitionConversionEventLookbackWindow\x12<\x0A8ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED\x10\x00\x127\x0A3ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS\x10\x01\x128\x0A4ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS\x10\x02\"\xF8\x01\x0A\"OtherConversionEventLookbackWindow\x126\x0A2OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED\x10\x00\x122\x0A.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS\x10\x01\x122\x0A.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS\x10\x02\x122\x0A.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS\x10\x03\"\xC2\x01\x0A\x19ReportingAttributionModel\x12+\x0A'REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED\x10\x00\x12)\x0A%PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN\x10\x01\x12(\x0A\$PAID_AND_ORGANIC_CHANNELS_LAST_CLICK\x10\x02\x12#\x0A\x1FGOOGLE_PAID_CHANNELS_LAST_CLICK\x10\x07\"\xA6\x01\x0A\x1FAdsWebConversionDataExportScope\x124\x0A0ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED\x10\x00\x12\x14\x0A\x10NOT_SELECTED_YET\x10\x01\x12\x1D\x0A\x19PAID_AND_ORGANIC_CHANNELS\x10\x02\x12\x18\x0A\x14GOOGLE_PAID_CHANNELS\x10\x03:a\xEAA^\x0A1analyticsadmin.googleapis.com/AttributionSettings\x12)properties/{property}/attributionSettings\"\xF1\x01\x0A\x0DAccessBinding\x12\x0E\x0A\x04user\x18\x02 \x01(\x09H\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x0D\x0A\x05roles\x18\x03 \x03(\x09:\x9C\x01\xEAA\x98\x01\x0A+analyticsadmin.googleapis.com/AccessBinding\x122accounts/{account}/accessBindings/{access_binding}\x125properties/{property}/accessBindings/{access_binding}B\x0F\x0A\x0Daccess_target\"\xAA\x03\x0A\x0CBigQueryLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x07project\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x1C\x0A\x14daily_export_enabled\x18\x04 \x01(\x08\x12 \x0A\x18streaming_export_enabled\x18\x05 \x01(\x08\x12\"\x0A\x1Afresh_daily_export_enabled\x18\x09 \x01(\x08\x12\x1E\x0A\x16include_advertising_id\x18\x06 \x01(\x08\x12\x16\x0A\x0Eexport_streams\x18\x07 \x03(\x09\x12\x17\x0A\x0Fexcluded_events\x18\x08 \x03(\x09\x12 \x0A\x10dataset_location\x18\x0A \x01(\x09B\x06\xE0A\x05\xE0A\x02:d\xEAAa\x0A*analyticsadmin.googleapis.com/BigQueryLink\x123properties/{property}/bigQueryLinks/{bigquery_link}\"\xF3\x03\x0A\x1BEnhancedMeasurementSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x16\x0A\x0Estream_enabled\x18\x02 \x01(\x08\x12\x17\x0A\x0Fscrolls_enabled\x18\x03 \x01(\x08\x12\x1F\x0A\x17outbound_clicks_enabled\x18\x04 \x01(\x08\x12\x1B\x0A\x13site_search_enabled\x18\x05 \x01(\x08\x12 \x0A\x18video_engagement_enabled\x18\x06 \x01(\x08\x12\x1E\x0A\x16file_downloads_enabled\x18\x07 \x01(\x08\x12\x1C\x0A\x14page_changes_enabled\x18\x08 \x01(\x08\x12!\x0A\x19form_interactions_enabled\x18\x09 \x01(\x08\x12#\x0A\x16search_query_parameter\x18\x0A \x01(\x09B\x03\xE0A\x02\x12\x1B\x0A\x13uri_query_parameter\x18\x0B \x01(\x09:\x8C\x01\xEAA\x88\x01\x0A9analyticsadmin.googleapis.com/EnhancedMeasurementSettings\x12Kproperties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings\"\x95\x02\x0A\x15DataRedactionSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1F\x0A\x17email_redaction_enabled\x18\x02 \x01(\x08\x12)\x0A!query_parameter_redaction_enabled\x18\x03 \x01(\x08\x12\x1C\x0A\x14query_parameter_keys\x18\x04 \x03(\x09:\x7F\xEAA|\x0A3analyticsadmin.googleapis.com/DataRedactionSettings\x12Eproperties/{property}/dataStreams/{data_stream}/dataRedactionSettings\"\xA0\x01\x0A\x0BAdSenseLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1B\x0A\x0Ead_client_code\x18\x02 \x01(\x09B\x03\xE0A\x05:a\xEAA^\x0A)analyticsadmin.googleapis.com/AdSenseLink\x121properties/{property}/adSenseLinks/{adsense_link}\"\x8E\x02\x0A\x18RollupPropertySourceLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Fsource_property\x18\x02 \x01(\x09B\x03\xE0A\x05:\xC0\x01\xEAA\xBC\x01\x0A6analyticsadmin.googleapis.com/RollupPropertySourceLink\x12Mproperties/{property}/rollupPropertySourceLinks/{rollup_property_source_link}*\x19rollupPropertySourceLinks2\x18rollupPropertySourceLink\"\xF6\x05\x0A\x17ReportingDataAnnotation\x12,\x0A\x0Fannotation_date\x18\x04 \x01(\x0B2\x11.google.type.DateH\x00\x12b\x0A\x15annotation_date_range\x18\x05 \x01(\x0B2A.google.analytics.admin.v1alpha.ReportingDataAnnotation.DateRangeH\x00\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x08\xE0A\x02\x12\x12\x0A\x05title\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x01\x12Q\x0A\x05color\x18\x06 \x01(\x0E2=.google.analytics.admin.v1alpha.ReportingDataAnnotation.ColorB\x03\xE0A\x02\x12\x1D\x0A\x10system_generated\x18\x07 \x01(\x08B\x03\xE0A\x03\x1Aa\x0A\x09DateRange\x12*\x0A\x0Astart_date\x18\x01 \x01(\x0B2\x11.google.type.DateB\x03\xE0A\x02\x12(\x0A\x08end_date\x18\x02 \x01(\x0B2\x11.google.type.DateB\x03\xE0A\x02\"i\x0A\x05Color\x12\x15\x0A\x11COLOR_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06PURPLE\x10\x01\x12\x09\x0A\x05BROWN\x10\x02\x12\x08\x0A\x04BLUE\x10\x03\x12\x09\x0A\x05GREEN\x10\x04\x12\x07\x0A\x03RED\x10\x05\x12\x08\x0A\x04CYAN\x10\x06\x12\x0A\x0A\x06ORANGE\x10\x07:\xBA\x01\xEAA\xB6\x01\x0A5analyticsadmin.googleapis.com/ReportingDataAnnotation\x12Jproperties/{property}/reportingDataAnnotations/{reporting_data_annotation}*\x18reportingDataAnnotations2\x17reportingDataAnnotationB\x08\x0A\x06target\"\xD2\x03\x0A\x15SubpropertySyncConfig\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x08\xE0A\x03\x12!\x0A\x11apply_to_property\x18\x02 \x01(\x09B\x06\xE0A\x05\xE0A\x03\x12}\x0A%custom_dimension_and_metric_sync_mode\x18\x03 \x01(\x0E2I.google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationModeB\x03\xE0A\x02\"N\x0A\x13SynchronizationMode\x12\$\x0A SYNCHRONIZATION_MODE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04NONE\x10\x01\x12\x07\x0A\x03ALL\x10\x02:\xB0\x01\xEAA\xAC\x01\x0A3analyticsadmin.googleapis.com/SubpropertySyncConfig\x12Fproperties/{property}/subpropertySyncConfigs/{subproperty_sync_config}*\x16subpropertySyncConfigs2\x15subpropertySyncConfig\"\xAF\x03\x0A\x19ReportingIdentitySettings\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x08\xE0A\x03\x12g\x0A\x12reporting_identity\x18\x02 \x01(\x0E2K.google.analytics.admin.v1alpha.ReportingIdentitySettings.ReportingIdentity\"l\x0A\x11ReportingIdentity\x12*\x0A&IDENTITY_BLENDING_STRATEGY_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07BLENDED\x10\x01\x12\x0C\x0A\x08OBSERVED\x10\x02\x12\x10\x0A\x0CDEVICE_BASED\x10\x03:\xA4\x01\xEAA\xA0\x01\x0A7analyticsadmin.googleapis.com/ReportingIdentitySettings\x12/properties/{property}/reportingIdentitySettings*\x19reportingIdentitySettings2\x19reportingIdentitySettings\"\xC1\x02\x0A\x18UserProvidedDataSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x122\x0A%user_provided_data_collection_enabled\x18\x02 \x01(\x08B\x03\xE0A\x01\x12;\x0A.automatically_detected_data_collection_enabled\x18\x03 \x01(\x08B\x03\xE0A\x01:\xA0\x01\xEAA\x9C\x01\x0A6analyticsadmin.googleapis.com/UserProvidedDataSettings\x12.properties/{property}/userProvidedDataSettings*\x18userProvidedDataSettings2\x18userProvidedDataSettings*\xAA\x04\x0A\x10IndustryCategory\x12!\x0A\x1DINDUSTRY_CATEGORY_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AAUTOMOTIVE\x10\x01\x12#\x0A\x1FBUSINESS_AND_INDUSTRIAL_MARKETS\x10\x02\x12\x0B\x0A\x07FINANCE\x10\x03\x12\x0E\x0A\x0AHEALTHCARE\x10\x04\x12\x0E\x0A\x0ATECHNOLOGY\x10\x05\x12\x0A\x0A\x06TRAVEL\x10\x06\x12\x09\x0A\x05OTHER\x10\x07\x12\x1A\x0A\x16ARTS_AND_ENTERTAINMENT\x10\x08\x12\x16\x0A\x12BEAUTY_AND_FITNESS\x10\x09\x12\x18\x0A\x14BOOKS_AND_LITERATURE\x10\x0A\x12\x12\x0A\x0EFOOD_AND_DRINK\x10\x0B\x12\x09\x0A\x05GAMES\x10\x0C\x12\x17\x0A\x13HOBBIES_AND_LEISURE\x10\x0D\x12\x13\x0A\x0FHOME_AND_GARDEN\x10\x0E\x12\x18\x0A\x14INTERNET_AND_TELECOM\x10\x0F\x12\x16\x0A\x12LAW_AND_GOVERNMENT\x10\x10\x12\x08\x0A\x04NEWS\x10\x11\x12\x16\x0A\x12ONLINE_COMMUNITIES\x10\x12\x12\x16\x0A\x12PEOPLE_AND_SOCIETY\x10\x13\x12\x14\x0A\x10PETS_AND_ANIMALS\x10\x14\x12\x0F\x0A\x0BREAL_ESTATE\x10\x15\x12\x0D\x0A\x09REFERENCE\x10\x16\x12\x0B\x0A\x07SCIENCE\x10\x17\x12\x0A\x0A\x06SPORTS\x10\x18\x12\x16\x0A\x12JOBS_AND_EDUCATION\x10\x19\x12\x0C\x0A\x08SHOPPING\x10\x1A*f\x0A\x0CServiceLevel\x12\x1D\x0A\x19SERVICE_LEVEL_UNSPECIFIED\x10\x00\x12\x1D\x0A\x19GOOGLE_ANALYTICS_STANDARD\x10\x01\x12\x18\x0A\x14GOOGLE_ANALYTICS_360\x10\x02*J\x0A\x09ActorType\x12\x1A\x0A\x16ACTOR_TYPE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04USER\x10\x01\x12\x0A\x0A\x06SYSTEM\x10\x02\x12\x0B\x0A\x07SUPPORT\x10\x03*P\x0A\x0AActionType\x12\x1B\x0A\x17ACTION_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07CREATED\x10\x01\x12\x0B\x0A\x07UPDATED\x10\x02\x12\x0B\x0A\x07DELETED\x10\x03*\xC2\x06\x0A\x19ChangeHistoryResourceType\x12,\x0A(CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07ACCOUNT\x10\x01\x12\x0C\x0A\x08PROPERTY\x10\x02\x12\x11\x0A\x0DFIREBASE_LINK\x10\x06\x12\x13\x0A\x0FGOOGLE_ADS_LINK\x10\x07\x12\x1B\x0A\x17GOOGLE_SIGNALS_SETTINGS\x10\x08\x12\x14\x0A\x10CONVERSION_EVENT\x10\x09\x12\x1F\x0A\x1BMEASUREMENT_PROTOCOL_SECRET\x10\x0A\x12\x14\x0A\x10CUSTOM_DIMENSION\x10\x0B\x12\x11\x0A\x0DCUSTOM_METRIC\x10\x0C\x12\x1B\x0A\x17DATA_RETENTION_SETTINGS\x10\x0D\x12%\x0A!DISPLAY_VIDEO_360_ADVERTISER_LINK\x10\x0E\x12.\x0A*DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL\x10\x0F\x12\x17\x0A\x13SEARCH_ADS_360_LINK\x10\x10\x12\x0F\x0A\x0BDATA_STREAM\x10\x12\x12\x18\x0A\x14ATTRIBUTION_SETTINGS\x10\x14\x12\x15\x0A\x11EXPANDED_DATA_SET\x10\x15\x12\x11\x0A\x0DCHANNEL_GROUP\x10\x16\x12\x11\x0A\x0DBIGQUERY_LINK\x10\x17\x12!\x0A\x1DENHANCED_MEASUREMENT_SETTINGS\x10\x18\x12\x1B\x0A\x17DATA_REDACTION_SETTINGS\x10\x19\x12'\x0A#SKADNETWORK_CONVERSION_VALUE_SCHEMA\x10\x1A\x12\x10\x0A\x0CADSENSE_LINK\x10\x1B\x12\x0C\x0A\x08AUDIENCE\x10\x1C\x12\x15\x0A\x11EVENT_CREATE_RULE\x10\x1D\x12\x0D\x0A\x09KEY_EVENT\x10\x1E\x12\x15\x0A\x11CALCULATED_METRIC\x10\x1F\x12\x1D\x0A\x19REPORTING_DATA_ANNOTATION\x10 \x12\x1B\x0A\x17SUBPROPERTY_SYNC_CONFIG\x10!\x12\x1F\x0A\x1BREPORTING_IDENTITY_SETTINGS\x10\"\x12\x1F\x0A\x1BUSER_PROVIDED_DATA_SETTINGS\x10#*s\x0A\x12GoogleSignalsState\x12\$\x0A GOOGLE_SIGNALS_STATE_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16GOOGLE_SIGNALS_ENABLED\x10\x01\x12\x1B\x0A\x17GOOGLE_SIGNALS_DISABLED\x10\x02*\x8E\x01\x0A\x14GoogleSignalsConsent\x12&\x0A\"GOOGLE_SIGNALS_CONSENT_UNSPECIFIED\x10\x00\x12\$\x0A GOOGLE_SIGNALS_CONSENT_CONSENTED\x10\x02\x12(\x0A\$GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED\x10\x01*{\x0A\x1DLinkProposalInitiatingProduct\x120\x0A,LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED\x10\x00\x12\x14\x0A\x10GOOGLE_ANALYTICS\x10\x01\x12\x12\x0A\x0ELINKED_PRODUCT\x10\x02*\xC4\x01\x0A\x11LinkProposalState\x12#\x0A\x1FLINK_PROPOSAL_STATE_UNSPECIFIED\x10\x00\x12)\x0A%AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS\x10\x01\x12'\x0A#AWAITING_REVIEW_FROM_LINKED_PRODUCT\x10\x02\x12\x0D\x0A\x09WITHDRAWN\x10\x03\x12\x0C\x0A\x08DECLINED\x10\x04\x12\x0B\x0A\x07EXPIRED\x10\x05\x12\x0C\x0A\x08OBSOLETE\x10\x06*\x82\x01\x0A\x0CPropertyType\x12\x1D\x0A\x19PROPERTY_TYPE_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16PROPERTY_TYPE_ORDINARY\x10\x01\x12\x1D\x0A\x19PROPERTY_TYPE_SUBPROPERTY\x10\x02\x12\x18\x0A\x14PROPERTY_TYPE_ROLLUP\x10\x03*q\x0A\x0BCoarseValue\x12\x1C\x0A\x18COARSE_VALUE_UNSPECIFIED\x10\x00\x12\x14\x0A\x10COARSE_VALUE_LOW\x10\x01\x12\x17\x0A\x13COARSE_VALUE_MEDIUM\x10\x02\x12\x15\x0A\x11COARSE_VALUE_HIGH\x10\x03B\xCB\x01\x0A\"com.google.analytics.admin.v1alphaB\x0EResourcesProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpb\xEAAR\x0A2marketingplatformadmin.googleapis.com/Organization\x12\x1Corganizations/{organization}b\x06proto3" , true); static::$is_initialized = true; diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_identity_settings.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_identity_settings.php index 794b34b9a45f..42bb6c13b26f 100644 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_identity_settings.php +++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_identity_settings.php @@ -29,7 +29,7 @@ use Google\ApiCore\ApiException; /** - * Returns the singleton data retention settings for this property. + * Returns the reporting identity settings for this property. * * @param string $formattedName The name of the settings to lookup. * Format: diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_user_provided_data_settings.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_user_provided_data_settings.php similarity index 100% rename from owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_user_provided_data_settings.php rename to AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_user_provided_data_settings.php diff --git a/AnalyticsAdmin/src/V1alpha/Account.php b/AnalyticsAdmin/src/V1alpha/Account.php index ef78327b6e26..45614624eb02 100644 --- a/AnalyticsAdmin/src/V1alpha/Account.php +++ b/AnalyticsAdmin/src/V1alpha/Account.php @@ -16,11 +16,11 @@ class Account extends \Google\Protobuf\Internal\Message { /** - * Output only. Resource name of this account. + * Identifier. Resource name of this account. * Format: accounts/{account} * Example: "accounts/100" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -70,7 +70,7 @@ class Account extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. Resource name of this account. + * Identifier. Resource name of this account. * Format: accounts/{account} * Example: "accounts/100" * @type \Google\Protobuf\Timestamp $create_time @@ -96,11 +96,11 @@ public function __construct($data = NULL) { } /** - * Output only. Resource name of this account. + * Identifier. Resource name of this account. * Format: accounts/{account} * Example: "accounts/100" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -109,11 +109,11 @@ public function getName() } /** - * Output only. Resource name of this account. + * Identifier. Resource name of this account. * Format: accounts/{account} * Example: "accounts/100" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/AccountSummary.php b/AnalyticsAdmin/src/V1alpha/AccountSummary.php index 5414985bf206..4da570b20015 100644 --- a/AnalyticsAdmin/src/V1alpha/AccountSummary.php +++ b/AnalyticsAdmin/src/V1alpha/AccountSummary.php @@ -17,11 +17,11 @@ class AccountSummary extends \Google\Protobuf\Internal\Message { /** - * Resource name for this account summary. + * Identifier. Resource name for this account summary. * Format: accountSummaries/{account_id} * Example: "accountSummaries/1000" * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -52,7 +52,7 @@ class AccountSummary extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Resource name for this account summary. + * Identifier. Resource name for this account summary. * Format: accountSummaries/{account_id} * Example: "accountSummaries/1000" * @type string $account @@ -71,11 +71,11 @@ public function __construct($data = NULL) { } /** - * Resource name for this account summary. + * Identifier. Resource name for this account summary. * Format: accountSummaries/{account_id} * Example: "accountSummaries/1000" * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -84,11 +84,11 @@ public function getName() } /** - * Resource name for this account summary. + * Identifier. Resource name for this account summary. * Format: accountSummaries/{account_id} * Example: "accountSummaries/1000" * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/CalculatedMetric.php b/AnalyticsAdmin/src/V1alpha/CalculatedMetric.php index e7ee25e068a6..fdf6a9f92e20 100644 --- a/AnalyticsAdmin/src/V1alpha/CalculatedMetric.php +++ b/AnalyticsAdmin/src/V1alpha/CalculatedMetric.php @@ -16,10 +16,10 @@ class CalculatedMetric extends \Google\Protobuf\Internal\Message { /** - * Output only. Resource name for this CalculatedMetric. + * Identifier. Resource name for this CalculatedMetric. * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -85,7 +85,7 @@ class CalculatedMetric extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. Resource name for this CalculatedMetric. + * Identifier. Resource name for this CalculatedMetric. * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' * @type string $description * Optional. Description for this calculated metric. @@ -122,10 +122,10 @@ public function __construct($data = NULL) { } /** - * Output only. Resource name for this CalculatedMetric. + * Identifier. Resource name for this CalculatedMetric. * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -134,10 +134,10 @@ public function getName() } /** - * Output only. Resource name for this CalculatedMetric. + * Identifier. Resource name for this CalculatedMetric. * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php b/AnalyticsAdmin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php index 6d4457711631..863643062ec0 100644 --- a/AnalyticsAdmin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php +++ b/AnalyticsAdmin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php @@ -85,6 +85,8 @@ class ChangeHistoryResource extends \Google\Protobuf\Internal\Message * A snapshot of a SubpropertySyncConfig resource in change history. * @type \Google\Analytics\Admin\V1alpha\ReportingIdentitySettings $reporting_identity_settings * A snapshot of a ReportingIdentitySettings resource in change history. + * @type \Google\Analytics\Admin\V1alpha\UserProvidedDataSettings $user_provided_data_settings + * A snapshot of a UserProvidedDataSettings resource in change history. * } */ public function __construct($data = NULL) { @@ -997,6 +999,37 @@ public function setReportingIdentitySettings($var) return $this; } + /** + * A snapshot of a UserProvidedDataSettings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * @return \Google\Analytics\Admin\V1alpha\UserProvidedDataSettings|null + */ + public function getUserProvidedDataSettings() + { + return $this->readOneof(35); + } + + public function hasUserProvidedDataSettings() + { + return $this->hasOneof(35); + } + + /** + * A snapshot of a UserProvidedDataSettings resource in change history. + * + * Generated from protobuf field .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; + * @param \Google\Analytics\Admin\V1alpha\UserProvidedDataSettings $var + * @return $this + */ + public function setUserProvidedDataSettings($var) + { + GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\UserProvidedDataSettings::class); + $this->writeOneof(35, $var); + + return $this; + } + /** * @return string */ diff --git a/AnalyticsAdmin/src/V1alpha/ChangeHistoryResourceType.php b/AnalyticsAdmin/src/V1alpha/ChangeHistoryResourceType.php index 521659fa1ba6..27c8db9d13dd 100644 --- a/AnalyticsAdmin/src/V1alpha/ChangeHistoryResourceType.php +++ b/AnalyticsAdmin/src/V1alpha/ChangeHistoryResourceType.php @@ -193,6 +193,12 @@ class ChangeHistoryResourceType * Generated from protobuf enum REPORTING_IDENTITY_SETTINGS = 34; */ const REPORTING_IDENTITY_SETTINGS = 34; + /** + * UserProvidedDataSettings resource + * + * Generated from protobuf enum USER_PROVIDED_DATA_SETTINGS = 35; + */ + const USER_PROVIDED_DATA_SETTINGS = 35; private static $valueToName = [ self::CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED => 'CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED', @@ -225,6 +231,7 @@ class ChangeHistoryResourceType self::REPORTING_DATA_ANNOTATION => 'REPORTING_DATA_ANNOTATION', self::SUBPROPERTY_SYNC_CONFIG => 'SUBPROPERTY_SYNC_CONFIG', self::REPORTING_IDENTITY_SETTINGS => 'REPORTING_IDENTITY_SETTINGS', + self::USER_PROVIDED_DATA_SETTINGS => 'USER_PROVIDED_DATA_SETTINGS', ]; public static function name($value) diff --git a/AnalyticsAdmin/src/V1alpha/Client/AnalyticsAdminServiceClient.php b/AnalyticsAdmin/src/V1alpha/Client/AnalyticsAdminServiceClient.php index 5f47885d0b9a..e91c20f4fe2b 100644 --- a/AnalyticsAdmin/src/V1alpha/Client/AnalyticsAdminServiceClient.php +++ b/AnalyticsAdmin/src/V1alpha/Client/AnalyticsAdminServiceClient.php @@ -146,6 +146,7 @@ use Google\Analytics\Admin\V1alpha\GetSearchAds360LinkRequest; use Google\Analytics\Admin\V1alpha\GetSubpropertyEventFilterRequest; use Google\Analytics\Admin\V1alpha\GetSubpropertySyncConfigRequest; +use Google\Analytics\Admin\V1alpha\GetUserProvidedDataSettingsRequest; use Google\Analytics\Admin\V1alpha\GlobalSiteTag; use Google\Analytics\Admin\V1alpha\GoogleAdsLink; use Google\Analytics\Admin\V1alpha\GoogleSignalsSettings; @@ -225,6 +226,7 @@ use Google\Analytics\Admin\V1alpha\UpdateSearchAds360LinkRequest; use Google\Analytics\Admin\V1alpha\UpdateSubpropertyEventFilterRequest; use Google\Analytics\Admin\V1alpha\UpdateSubpropertySyncConfigRequest; +use Google\Analytics\Admin\V1alpha\UserProvidedDataSettings; use Google\ApiCore\ApiException; use Google\ApiCore\CredentialsWrapper; use Google\ApiCore\GapicClientTrait; @@ -343,6 +345,7 @@ * @method PromiseInterface getSearchAds360LinkAsync(GetSearchAds360LinkRequest $request, array $optionalArgs = []) * @method PromiseInterface getSubpropertyEventFilterAsync(GetSubpropertyEventFilterRequest $request, array $optionalArgs = []) * @method PromiseInterface getSubpropertySyncConfigAsync(GetSubpropertySyncConfigRequest $request, array $optionalArgs = []) + * @method PromiseInterface getUserProvidedDataSettingsAsync(GetUserProvidedDataSettingsRequest $request, array $optionalArgs = []) * @method PromiseInterface listAccessBindingsAsync(ListAccessBindingsRequest $request, array $optionalArgs = []) * @method PromiseInterface listAccountSummariesAsync(ListAccountSummariesRequest $request, array $optionalArgs = []) * @method PromiseInterface listAccountsAsync(ListAccountsRequest $request, array $optionalArgs = []) @@ -1181,6 +1184,23 @@ public static function subpropertySyncConfigName(string $property, string $subpr ]); } + /** + * Formats a string containing the fully-qualified path to represent a + * user_provided_data_settings resource. + * + * @param string $property + * + * @return string The formatted user_provided_data_settings resource. + * + * @experimental + */ + public static function userProvidedDataSettingsName(string $property): string + { + return self::getPathTemplate('userProvidedDataSettings')->render([ + 'property' => $property, + ]); + } + /** * Parses a formatted name string and returns an associative array of the components in the name. * The following name formats are supported: @@ -1223,6 +1243,7 @@ public static function subpropertySyncConfigName(string $property, string $subpr * - searchAds360Link: properties/{property}/searchAds360Links/{search_ads_360_link} * - subpropertyEventFilter: properties/{property}/subpropertyEventFilters/{sub_property_event_filter} * - subpropertySyncConfig: properties/{property}/subpropertySyncConfigs/{subproperty_sync_config} + * - userProvidedDataSettings: properties/{property}/userProvidedDataSettings * * The optional $template argument can be supplied to specify a particular pattern, * and must match one of the templates listed above. If no $template argument is @@ -3905,7 +3926,7 @@ public function getReportingDataAnnotation( } /** - * Returns the singleton data retention settings for this property. + * Returns the reporting identity settings for this property. * * The async variant is * {@see AnalyticsAdminServiceClient::getReportingIdentitySettingsAsync()} . @@ -4090,6 +4111,37 @@ public function getSubpropertySyncConfig( return $this->startApiCall('GetSubpropertySyncConfig', $request, $callOptions)->wait(); } + /** + * Looks up settings related to user-provided data for a property. + * + * The async variant is + * {@see AnalyticsAdminServiceClient::getUserProvidedDataSettingsAsync()} . + * + * @example samples/V1alpha/AnalyticsAdminServiceClient/get_user_provided_data_settings.php + * + * @param GetUserProvidedDataSettingsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * 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 UserProvidedDataSettings + * + * @throws ApiException Thrown if the API call fails. + * + * @experimental + */ + public function getUserProvidedDataSettings( + GetUserProvidedDataSettingsRequest $request, + array $callOptions = [] + ): UserProvidedDataSettings { + return $this->startApiCall('GetUserProvidedDataSettings', $request, $callOptions)->wait(); + } + /** * Lists all access bindings on an account or property. * diff --git a/AnalyticsAdmin/src/V1alpha/ConversionEvent.php b/AnalyticsAdmin/src/V1alpha/ConversionEvent.php index ce9d01be0e14..f156bd0425ee 100644 --- a/AnalyticsAdmin/src/V1alpha/ConversionEvent.php +++ b/AnalyticsAdmin/src/V1alpha/ConversionEvent.php @@ -16,10 +16,10 @@ class ConversionEvent extends \Google\Protobuf\Internal\Message { /** - * Output only. Resource name of this conversion event. + * Identifier. Resource name of this conversion event. * Format: properties/{property}/conversionEvents/{conversion_event} * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -75,7 +75,7 @@ class ConversionEvent extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. Resource name of this conversion event. + * Identifier. Resource name of this conversion event. * Format: properties/{property}/conversionEvents/{conversion_event} * @type string $event_name * Immutable. The event name for this conversion event. @@ -106,10 +106,10 @@ public function __construct($data = NULL) { } /** - * Output only. Resource name of this conversion event. + * Identifier. Resource name of this conversion event. * Format: properties/{property}/conversionEvents/{conversion_event} * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -118,10 +118,10 @@ public function getName() } /** - * Output only. Resource name of this conversion event. + * Identifier. Resource name of this conversion event. * Format: properties/{property}/conversionEvents/{conversion_event} * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/CustomDimension.php b/AnalyticsAdmin/src/V1alpha/CustomDimension.php index f413274faaca..1ea25227d713 100644 --- a/AnalyticsAdmin/src/V1alpha/CustomDimension.php +++ b/AnalyticsAdmin/src/V1alpha/CustomDimension.php @@ -16,10 +16,10 @@ class CustomDimension extends \Google\Protobuf\Internal\Message { /** - * Output only. Resource name for this CustomDimension resource. + * Identifier. Resource name for this CustomDimension resource. * Format: properties/{property}/customDimensions/{customDimension} * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -75,7 +75,7 @@ class CustomDimension extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. Resource name for this CustomDimension resource. + * Identifier. Resource name for this CustomDimension resource. * Format: properties/{property}/customDimensions/{customDimension} * @type string $parameter_name * Required. Immutable. Tagging parameter name for this custom dimension. @@ -110,10 +110,10 @@ public function __construct($data = NULL) { } /** - * Output only. Resource name for this CustomDimension resource. + * Identifier. Resource name for this CustomDimension resource. * Format: properties/{property}/customDimensions/{customDimension} * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -122,10 +122,10 @@ public function getName() } /** - * Output only. Resource name for this CustomDimension resource. + * Identifier. Resource name for this CustomDimension resource. * Format: properties/{property}/customDimensions/{customDimension} * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/CustomMetric.php b/AnalyticsAdmin/src/V1alpha/CustomMetric.php index 32e628cbee45..113e504b67d0 100644 --- a/AnalyticsAdmin/src/V1alpha/CustomMetric.php +++ b/AnalyticsAdmin/src/V1alpha/CustomMetric.php @@ -16,10 +16,10 @@ class CustomMetric extends \Google\Protobuf\Internal\Message { /** - * Output only. Resource name for this CustomMetric resource. + * Identifier. Resource name for this CustomMetric resource. * Format: properties/{property}/customMetrics/{customMetric} * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -77,7 +77,7 @@ class CustomMetric extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. Resource name for this CustomMetric resource. + * Identifier. Resource name for this CustomMetric resource. * Format: properties/{property}/customMetrics/{customMetric} * @type string $parameter_name * Required. Immutable. Tagging name for this custom metric. @@ -110,10 +110,10 @@ public function __construct($data = NULL) { } /** - * Output only. Resource name for this CustomMetric resource. + * Identifier. Resource name for this CustomMetric resource. * Format: properties/{property}/customMetrics/{customMetric} * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -122,10 +122,10 @@ public function getName() } /** - * Output only. Resource name for this CustomMetric resource. + * Identifier. Resource name for this CustomMetric resource. * Format: properties/{property}/customMetrics/{customMetric} * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/DataRetentionSettings.php b/AnalyticsAdmin/src/V1alpha/DataRetentionSettings.php index e6445962916a..795267857e50 100644 --- a/AnalyticsAdmin/src/V1alpha/DataRetentionSettings.php +++ b/AnalyticsAdmin/src/V1alpha/DataRetentionSettings.php @@ -16,10 +16,10 @@ class DataRetentionSettings extends \Google\Protobuf\Internal\Message { /** - * Output only. Resource name for this DataRetentionSetting resource. + * Identifier. Resource name for this DataRetentionSetting resource. * Format: properties/{property}/dataRetentionSettings * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -49,7 +49,7 @@ class DataRetentionSettings extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. Resource name for this DataRetentionSetting resource. + * Identifier. Resource name for this DataRetentionSetting resource. * Format: properties/{property}/dataRetentionSettings * @type int $event_data_retention * Required. The length of time that event-level data is retained. @@ -66,10 +66,10 @@ public function __construct($data = NULL) { } /** - * Output only. Resource name for this DataRetentionSetting resource. + * Identifier. Resource name for this DataRetentionSetting resource. * Format: properties/{property}/dataRetentionSettings * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -78,10 +78,10 @@ public function getName() } /** - * Output only. Resource name for this DataRetentionSetting resource. + * Identifier. Resource name for this DataRetentionSetting resource. * Format: properties/{property}/dataRetentionSettings * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/DataSharingSettings.php b/AnalyticsAdmin/src/V1alpha/DataSharingSettings.php index b3af80ee3382..8aaba3bc09ea 100644 --- a/AnalyticsAdmin/src/V1alpha/DataSharingSettings.php +++ b/AnalyticsAdmin/src/V1alpha/DataSharingSettings.php @@ -17,11 +17,11 @@ class DataSharingSettings extends \Google\Protobuf\Internal\Message { /** - * Output only. Resource name. + * Identifier. Resource name. * Format: accounts/{account}/dataSharingSettings * Example: "accounts/1000/dataSharingSettings" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -82,7 +82,7 @@ class DataSharingSettings extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. Resource name. + * Identifier. Resource name. * Format: accounts/{account}/dataSharingSettings * Example: "accounts/1000/dataSharingSettings" * @type bool $sharing_with_google_support_enabled @@ -122,11 +122,11 @@ public function __construct($data = NULL) { } /** - * Output only. Resource name. + * Identifier. Resource name. * Format: accounts/{account}/dataSharingSettings * Example: "accounts/1000/dataSharingSettings" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -135,11 +135,11 @@ public function getName() } /** - * Output only. Resource name. + * Identifier. Resource name. * Format: accounts/{account}/dataSharingSettings * Example: "accounts/1000/dataSharingSettings" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/DataStream.php b/AnalyticsAdmin/src/V1alpha/DataStream.php index 52ab1b03c8b9..f997566bfedf 100644 --- a/AnalyticsAdmin/src/V1alpha/DataStream.php +++ b/AnalyticsAdmin/src/V1alpha/DataStream.php @@ -16,11 +16,11 @@ class DataStream extends \Google\Protobuf\Internal\Message { /** - * Output only. Resource name of this Data Stream. + * Identifier. Resource name of this Data Stream. * Format: properties/{property_id}/dataStreams/{stream_id} * Example: "properties/1000/dataStreams/2000" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -67,7 +67,7 @@ class DataStream extends \Google\Protobuf\Internal\Message * Data specific to iOS app streams. Must be populated if type is * IOS_APP_DATA_STREAM. * @type string $name - * Output only. Resource name of this Data Stream. + * Identifier. Resource name of this Data Stream. * Format: properties/{property_id}/dataStreams/{stream_id} * Example: "properties/1000/dataStreams/2000" * @type int $type @@ -187,11 +187,11 @@ public function setIosAppStreamData($var) } /** - * Output only. Resource name of this Data Stream. + * Identifier. Resource name of this Data Stream. * Format: properties/{property_id}/dataStreams/{stream_id} * Example: "properties/1000/dataStreams/2000" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -200,11 +200,11 @@ public function getName() } /** - * Output only. Resource name of this Data Stream. + * Identifier. Resource name of this Data Stream. * Format: properties/{property_id}/dataStreams/{stream_id} * Example: "properties/1000/dataStreams/2000" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLink.php b/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLink.php index 93274a3537d7..b1c9b3b14780 100644 --- a/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLink.php +++ b/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLink.php @@ -17,12 +17,12 @@ class DisplayVideo360AdvertiserLink extends \Google\Protobuf\Internal\Message { /** - * Output only. The resource name for this DisplayVideo360AdvertiserLink + * Identifier. 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]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -71,7 +71,7 @@ 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 + * Identifier. The resource name for this DisplayVideo360AdvertiserLink * resource. Format: * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} * Note: linkId is not the Display & Video 360 Advertiser ID @@ -101,12 +101,12 @@ public function __construct($data = NULL) { } /** - * Output only. The resource name for this DisplayVideo360AdvertiserLink + * Identifier. 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]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -115,12 +115,12 @@ public function getName() } /** - * Output only. The resource name for this DisplayVideo360AdvertiserLink + * Identifier. 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]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLinkProposal.php b/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLinkProposal.php index 450b3a4c3132..5109385a23cf 100644 --- a/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLinkProposal.php +++ b/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLinkProposal.php @@ -20,12 +20,12 @@ class DisplayVideo360AdvertiserLinkProposal extends \Google\Protobuf\Internal\Message { /** - * Output only. The resource name for this + * Identifier. The resource name for this * DisplayVideo360AdvertiserLinkProposal resource. Format: * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} * Note: proposalId is not the Display & Video 360 Advertiser ID * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -88,7 +88,7 @@ class DisplayVideo360AdvertiserLinkProposal extends \Google\Protobuf\Internal\Me * Optional. Data for populating the Message object. * * @type string $name - * Output only. The resource name for this + * Identifier. The resource name for this * DisplayVideo360AdvertiserLinkProposal resource. Format: * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} * Note: proposalId is not the Display & Video 360 Advertiser ID @@ -124,12 +124,12 @@ public function __construct($data = NULL) { } /** - * Output only. The resource name for this + * Identifier. The resource name for this * DisplayVideo360AdvertiserLinkProposal resource. Format: * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} * Note: proposalId is not the Display & Video 360 Advertiser ID * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -138,12 +138,12 @@ public function getName() } /** - * Output only. The resource name for this + * Identifier. The resource name for this * DisplayVideo360AdvertiserLinkProposal resource. Format: * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} * Note: proposalId is not the Display & Video 360 Advertiser ID * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/FirebaseLink.php b/AnalyticsAdmin/src/V1alpha/FirebaseLink.php index 1cc38f41c44a..4adb565d1cee 100644 --- a/AnalyticsAdmin/src/V1alpha/FirebaseLink.php +++ b/AnalyticsAdmin/src/V1alpha/FirebaseLink.php @@ -16,9 +16,9 @@ class FirebaseLink extends \Google\Protobuf\Internal\Message { /** - * Output only. Example format: properties/1234/firebaseLinks/5678 + * Identifier. Example format: properties/1234/firebaseLinks/5678 * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -46,7 +46,7 @@ class FirebaseLink extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. Example format: properties/1234/firebaseLinks/5678 + * Identifier. 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 @@ -64,9 +64,9 @@ public function __construct($data = NULL) { } /** - * Output only. Example format: properties/1234/firebaseLinks/5678 + * Identifier. Example format: properties/1234/firebaseLinks/5678 * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -75,9 +75,9 @@ public function getName() } /** - * Output only. Example format: properties/1234/firebaseLinks/5678 + * Identifier. Example format: properties/1234/firebaseLinks/5678 * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetUserProvidedDataSettingsRequest.php b/AnalyticsAdmin/src/V1alpha/GetUserProvidedDataSettingsRequest.php similarity index 100% rename from owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetUserProvidedDataSettingsRequest.php rename to AnalyticsAdmin/src/V1alpha/GetUserProvidedDataSettingsRequest.php diff --git a/AnalyticsAdmin/src/V1alpha/GlobalSiteTag.php b/AnalyticsAdmin/src/V1alpha/GlobalSiteTag.php index 14e4efd8304a..2cef2fb201af 100644 --- a/AnalyticsAdmin/src/V1alpha/GlobalSiteTag.php +++ b/AnalyticsAdmin/src/V1alpha/GlobalSiteTag.php @@ -17,11 +17,11 @@ class GlobalSiteTag extends \Google\Protobuf\Internal\Message { /** - * Output only. Resource name for this GlobalSiteTag resource. + * Identifier. Resource name for this GlobalSiteTag resource. * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag * Example: "properties/123/dataStreams/456/globalSiteTag" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -39,7 +39,7 @@ class GlobalSiteTag extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. Resource name for this GlobalSiteTag resource. + * Identifier. Resource name for this GlobalSiteTag resource. * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag * Example: "properties/123/dataStreams/456/globalSiteTag" * @type string $snippet @@ -53,11 +53,11 @@ public function __construct($data = NULL) { } /** - * Output only. Resource name for this GlobalSiteTag resource. + * Identifier. Resource name for this GlobalSiteTag resource. * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag * Example: "properties/123/dataStreams/456/globalSiteTag" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -66,11 +66,11 @@ public function getName() } /** - * Output only. Resource name for this GlobalSiteTag resource. + * Identifier. Resource name for this GlobalSiteTag resource. * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag * Example: "properties/123/dataStreams/456/globalSiteTag" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/GoogleAdsLink.php b/AnalyticsAdmin/src/V1alpha/GoogleAdsLink.php index 522be955f9f5..cb1b0c5bc3c5 100644 --- a/AnalyticsAdmin/src/V1alpha/GoogleAdsLink.php +++ b/AnalyticsAdmin/src/V1alpha/GoogleAdsLink.php @@ -16,11 +16,11 @@ class GoogleAdsLink extends \Google\Protobuf\Internal\Message { /** - * Output only. Format: + * Identifier. 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]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -71,7 +71,7 @@ class GoogleAdsLink extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. Format: + * Identifier. Format: * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} * Note: googleAdsLinkId is not the Google Ads customer ID. * @type string $customer_id @@ -98,11 +98,11 @@ public function __construct($data = NULL) { } /** - * Output only. Format: + * Identifier. 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]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -111,11 +111,11 @@ public function getName() } /** - * Output only. Format: + * Identifier. 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]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/ListAccountSummariesRequest.php b/AnalyticsAdmin/src/V1alpha/ListAccountSummariesRequest.php index 71239b19fcae..78d49bf9c0b4 100644 --- a/AnalyticsAdmin/src/V1alpha/ListAccountSummariesRequest.php +++ b/AnalyticsAdmin/src/V1alpha/ListAccountSummariesRequest.php @@ -16,21 +16,21 @@ class ListAccountSummariesRequest extends \Google\Protobuf\Internal\Message { /** - * The maximum number of AccountSummary 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) + * Optional. The maximum number of AccountSummary 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 = 1; + * Generated from protobuf field int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_size = 0; /** - * A page token, received from a previous `ListAccountSummaries` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccountSummaries` - * must match the call that provided the page token. + * Optional. A page token, received from a previous `ListAccountSummaries` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListAccountSummaries` must match the call + * that provided the page token. * - * Generated from protobuf field string page_token = 2; + * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_token = ''; @@ -41,15 +41,15 @@ class ListAccountSummariesRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type int $page_size - * The maximum number of AccountSummary 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) + * Optional. The maximum number of AccountSummary 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 `ListAccountSummaries` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccountSummaries` - * must match the call that provided the page token. + * Optional. A page token, received from a previous `ListAccountSummaries` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListAccountSummaries` must match the call + * that provided the page token. * } */ public function __construct($data = NULL) { @@ -58,12 +58,12 @@ public function __construct($data = NULL) { } /** - * The maximum number of AccountSummary 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) + * Optional. The maximum number of AccountSummary 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 = 1; + * Generated from protobuf field int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -72,12 +72,12 @@ public function getPageSize() } /** - * The maximum number of AccountSummary 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) + * Optional. The maximum number of AccountSummary 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 = 1; + * Generated from protobuf field int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -90,12 +90,12 @@ public function setPageSize($var) } /** - * A page token, received from a previous `ListAccountSummaries` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccountSummaries` - * must match the call that provided the page token. + * Optional. A page token, received from a previous `ListAccountSummaries` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListAccountSummaries` must match the call + * that provided the page token. * - * Generated from protobuf field string page_token = 2; + * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -104,12 +104,12 @@ public function getPageToken() } /** - * A page token, received from a previous `ListAccountSummaries` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccountSummaries` - * must match the call that provided the page token. + * Optional. A page token, received from a previous `ListAccountSummaries` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListAccountSummaries` must match the call + * that provided the page token. * - * Generated from protobuf field string page_token = 2; + * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/ListAccountsRequest.php b/AnalyticsAdmin/src/V1alpha/ListAccountsRequest.php index 2f9a918fe01a..cc735e534e71 100644 --- a/AnalyticsAdmin/src/V1alpha/ListAccountsRequest.php +++ b/AnalyticsAdmin/src/V1alpha/ListAccountsRequest.php @@ -16,21 +16,21 @@ class ListAccountsRequest extends \Google\Protobuf\Internal\Message { /** - * The maximum number of resources to return. The service may return + * Optional. 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 = 1; + * Generated from protobuf field int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_size = 0; /** - * A page token, received from a previous `ListAccounts` call. + * Optional. A page token, received from a previous `ListAccounts` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListAccounts` must * match the call that provided the page token. * - * Generated from protobuf field string page_token = 2; + * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_token = ''; /** @@ -49,12 +49,12 @@ class ListAccountsRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type int $page_size - * The maximum number of resources to return. The service may return + * Optional. 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 `ListAccounts` call. + * Optional. A page token, received from a previous `ListAccounts` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListAccounts` must * match the call that provided the page token. @@ -70,12 +70,12 @@ public function __construct($data = NULL) { } /** - * The maximum number of resources to return. The service may return + * Optional. 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 = 1; + * Generated from protobuf field int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -84,12 +84,12 @@ public function getPageSize() } /** - * The maximum number of resources to return. The service may return + * Optional. 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 = 1; + * Generated from protobuf field int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -102,12 +102,12 @@ public function setPageSize($var) } /** - * A page token, received from a previous `ListAccounts` call. + * Optional. A page token, received from a previous `ListAccounts` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListAccounts` must * match the call that provided the page token. * - * Generated from protobuf field string page_token = 2; + * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -116,12 +116,12 @@ public function getPageToken() } /** - * A page token, received from a previous `ListAccounts` call. + * Optional. A page token, received from a previous `ListAccounts` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListAccounts` must * match the call that provided the page token. * - * Generated from protobuf field string page_token = 2; + * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/ListConversionEventsRequest.php b/AnalyticsAdmin/src/V1alpha/ListConversionEventsRequest.php index 5489e948ff90..432b63275fa1 100644 --- a/AnalyticsAdmin/src/V1alpha/ListConversionEventsRequest.php +++ b/AnalyticsAdmin/src/V1alpha/ListConversionEventsRequest.php @@ -23,20 +23,20 @@ class ListConversionEventsRequest extends \Google\Protobuf\Internal\Message */ protected $parent = ''; /** - * The maximum number of resources to return. + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_size = 0; /** - * A page token, received from a previous `ListConversionEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListConversionEvents` - * must match the call that provided the page token. + * Optional. A page token, received from a previous `ListConversionEvents` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListConversionEvents` must match the call + * that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_token = ''; @@ -65,14 +65,14 @@ public static function build(string $parent): self * Required. The resource name of the parent property. * Example: 'properties/123' * @type int $page_size - * The maximum number of resources to return. + * Optional. 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 `ListConversionEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListConversionEvents` - * must match the call that provided the page token. + * Optional. A page token, received from a previous `ListConversionEvents` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListConversionEvents` must match the call + * that provided the page token. * } */ public function __construct($data = NULL) { @@ -109,11 +109,11 @@ public function setParent($var) } /** - * The maximum number of resources to return. + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -122,11 +122,11 @@ public function getPageSize() } /** - * The maximum number of resources to return. + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -139,12 +139,12 @@ public function setPageSize($var) } /** - * A page token, received from a previous `ListConversionEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListConversionEvents` - * must match the call that provided the page token. + * Optional. A page token, received from a previous `ListConversionEvents` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListConversionEvents` must match the call + * that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -153,12 +153,12 @@ public function getPageToken() } /** - * A page token, received from a previous `ListConversionEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListConversionEvents` - * must match the call that provided the page token. + * Optional. A page token, received from a previous `ListConversionEvents` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListConversionEvents` must match the call + * that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/ListCustomDimensionsRequest.php b/AnalyticsAdmin/src/V1alpha/ListCustomDimensionsRequest.php index b34d124712c9..91ab341e8a82 100644 --- a/AnalyticsAdmin/src/V1alpha/ListCustomDimensionsRequest.php +++ b/AnalyticsAdmin/src/V1alpha/ListCustomDimensionsRequest.php @@ -22,20 +22,20 @@ class ListCustomDimensionsRequest extends \Google\Protobuf\Internal\Message */ protected $parent = ''; /** - * The maximum number of resources to return. + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_size = 0; /** - * A page token, received from a previous `ListCustomDimensions` call. - * Provide this to retrieve the subsequent page. + * Optional. A page token, received from a previous `ListCustomDimensions` + * call. Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListCustomDimensions` * must match the call that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_token = ''; @@ -62,12 +62,12 @@ public static function build(string $parent): self * @type string $parent * Required. Example format: properties/1234 * @type int $page_size - * The maximum number of resources to return. + * Optional. 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 `ListCustomDimensions` call. - * Provide this to retrieve the subsequent page. + * Optional. A page token, received from a previous `ListCustomDimensions` + * call. Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListCustomDimensions` * must match the call that provided the page token. * } @@ -104,11 +104,11 @@ public function setParent($var) } /** - * The maximum number of resources to return. + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -117,11 +117,11 @@ public function getPageSize() } /** - * The maximum number of resources to return. + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -134,12 +134,12 @@ public function setPageSize($var) } /** - * A page token, received from a previous `ListCustomDimensions` call. - * Provide this to retrieve the subsequent page. + * Optional. A page token, received from a previous `ListCustomDimensions` + * call. Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListCustomDimensions` * must match the call that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -148,12 +148,12 @@ public function getPageToken() } /** - * A page token, received from a previous `ListCustomDimensions` call. - * Provide this to retrieve the subsequent page. + * Optional. A page token, received from a previous `ListCustomDimensions` + * call. Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListCustomDimensions` * must match the call that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/ListFirebaseLinksRequest.php b/AnalyticsAdmin/src/V1alpha/ListFirebaseLinksRequest.php index 0f80cb778828..80b263e3fcdf 100644 --- a/AnalyticsAdmin/src/V1alpha/ListFirebaseLinksRequest.php +++ b/AnalyticsAdmin/src/V1alpha/ListFirebaseLinksRequest.php @@ -23,21 +23,21 @@ class ListFirebaseLinksRequest extends \Google\Protobuf\Internal\Message */ protected $parent = ''; /** - * The maximum number of resources to return. The service may return + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_size = 0; /** - * A page token, received from a previous `ListFirebaseLinks` call. + * Optional. A page token, received from a previous `ListFirebaseLinks` call. * Provide this to retrieve the subsequent page. * 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; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_token = ''; @@ -67,12 +67,12 @@ public static function build(string $parent): self * Required. Format: properties/{property_id} * Example: `properties/1234` * @type int $page_size - * The maximum number of resources to return. The service may return + * Optional. 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 `ListFirebaseLinks` call. + * Optional. A page token, received from a previous `ListFirebaseLinks` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListFirebaseLinks` must * match the call that provided the page token. @@ -112,12 +112,12 @@ public function setParent($var) } /** - * The maximum number of resources to return. The service may return + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -126,12 +126,12 @@ public function getPageSize() } /** - * The maximum number of resources to return. The service may return + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -144,12 +144,12 @@ public function setPageSize($var) } /** - * A page token, received from a previous `ListFirebaseLinks` call. + * Optional. A page token, received from a previous `ListFirebaseLinks` call. * Provide this to retrieve the subsequent page. * 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; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -158,12 +158,12 @@ public function getPageToken() } /** - * A page token, received from a previous `ListFirebaseLinks` call. + * Optional. A page token, received from a previous `ListFirebaseLinks` call. * Provide this to retrieve the subsequent page. * 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; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/ListGoogleAdsLinksRequest.php b/AnalyticsAdmin/src/V1alpha/ListGoogleAdsLinksRequest.php index 0200e0e41724..d52d7e474da5 100644 --- a/AnalyticsAdmin/src/V1alpha/ListGoogleAdsLinksRequest.php +++ b/AnalyticsAdmin/src/V1alpha/ListGoogleAdsLinksRequest.php @@ -22,20 +22,20 @@ class ListGoogleAdsLinksRequest extends \Google\Protobuf\Internal\Message */ protected $parent = ''; /** - * The maximum number of resources to return. + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_size = 0; /** - * A page token, received from a previous `ListGoogleAdsLinks` call. + * Optional. A page token, received from a previous `ListGoogleAdsLinks` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListGoogleAdsLinks` must * match the call that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_token = ''; @@ -62,11 +62,11 @@ public static function build(string $parent): self * @type string $parent * Required. Example format: properties/1234 * @type int $page_size - * The maximum number of resources to return. + * Optional. 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 `ListGoogleAdsLinks` call. + * Optional. A page token, received from a previous `ListGoogleAdsLinks` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListGoogleAdsLinks` must * match the call that provided the page token. @@ -104,11 +104,11 @@ public function setParent($var) } /** - * The maximum number of resources to return. + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -117,11 +117,11 @@ public function getPageSize() } /** - * The maximum number of resources to return. + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -134,12 +134,12 @@ public function setPageSize($var) } /** - * A page token, received from a previous `ListGoogleAdsLinks` call. + * Optional. A page token, received from a previous `ListGoogleAdsLinks` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListGoogleAdsLinks` must * match the call that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -148,12 +148,12 @@ public function getPageToken() } /** - * A page token, received from a previous `ListGoogleAdsLinks` call. + * Optional. A page token, received from a previous `ListGoogleAdsLinks` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListGoogleAdsLinks` must * match the call that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/ListKeyEventsRequest.php b/AnalyticsAdmin/src/V1alpha/ListKeyEventsRequest.php index a6ce0356c271..d2bcd8437459 100644 --- a/AnalyticsAdmin/src/V1alpha/ListKeyEventsRequest.php +++ b/AnalyticsAdmin/src/V1alpha/ListKeyEventsRequest.php @@ -23,20 +23,20 @@ class ListKeyEventsRequest extends \Google\Protobuf\Internal\Message */ protected $parent = ''; /** - * The maximum number of resources to return. + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_size = 0; /** - * A page token, received from a previous `ListKeyEvents` call. + * Optional. A page token, received from a previous `ListKeyEvents` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListKeyEvents` * must match the call that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_token = ''; @@ -65,11 +65,11 @@ public static function build(string $parent): self * Required. The resource name of the parent property. * Example: 'properties/123' * @type int $page_size - * The maximum number of resources to return. + * Optional. 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 `ListKeyEvents` call. + * Optional. A page token, received from a previous `ListKeyEvents` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListKeyEvents` * must match the call that provided the page token. @@ -109,11 +109,11 @@ public function setParent($var) } /** - * The maximum number of resources to return. + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -122,11 +122,11 @@ public function getPageSize() } /** - * The maximum number of resources to return. + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -139,12 +139,12 @@ public function setPageSize($var) } /** - * A page token, received from a previous `ListKeyEvents` call. + * Optional. A page token, received from a previous `ListKeyEvents` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListKeyEvents` * must match the call that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -153,12 +153,12 @@ public function getPageToken() } /** - * A page token, received from a previous `ListKeyEvents` call. + * Optional. A page token, received from a previous `ListKeyEvents` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListKeyEvents` * must match the call that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/ListMeasurementProtocolSecretsRequest.php b/AnalyticsAdmin/src/V1alpha/ListMeasurementProtocolSecretsRequest.php index abfda1b7529b..7ea200403341 100644 --- a/AnalyticsAdmin/src/V1alpha/ListMeasurementProtocolSecretsRequest.php +++ b/AnalyticsAdmin/src/V1alpha/ListMeasurementProtocolSecretsRequest.php @@ -24,20 +24,21 @@ class ListMeasurementProtocolSecretsRequest extends \Google\Protobuf\Internal\Me */ protected $parent = ''; /** - * The maximum number of resources to return. + * Optional. The maximum number of resources to return. * If unspecified, at most 10 resources will be returned. * The maximum value is 10. Higher values will be coerced to the maximum. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_size = 0; /** - * A page token, received from a previous `ListMeasurementProtocolSecrets` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListMeasurementProtocolSecrets` must match - * the call that provided the page token. + * Optional. A page token, received from a previous + * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListMeasurementProtocolSecrets` must match the call that provided the page + * token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_token = ''; @@ -68,14 +69,15 @@ public static function build(string $parent): self * Format: * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets * @type int $page_size - * The maximum number of resources to return. + * Optional. The maximum number of resources to return. * If unspecified, at most 10 resources will be returned. * The maximum value is 10. Higher values will be coerced to the maximum. * @type string $page_token - * A page token, received from a previous `ListMeasurementProtocolSecrets` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListMeasurementProtocolSecrets` must match - * the call that provided the page token. + * Optional. A page token, received from a previous + * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListMeasurementProtocolSecrets` must match the call that provided the page + * token. * } */ public function __construct($data = NULL) { @@ -114,11 +116,11 @@ public function setParent($var) } /** - * The maximum number of resources to return. + * Optional. The maximum number of resources to return. * If unspecified, at most 10 resources will be returned. * The maximum value is 10. Higher values will be coerced to the maximum. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -127,11 +129,11 @@ public function getPageSize() } /** - * The maximum number of resources to return. + * Optional. The maximum number of resources to return. * If unspecified, at most 10 resources will be returned. * The maximum value is 10. Higher values will be coerced to the maximum. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -144,12 +146,13 @@ public function setPageSize($var) } /** - * A page token, received from a previous `ListMeasurementProtocolSecrets` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListMeasurementProtocolSecrets` must match - * the call that provided the page token. + * Optional. A page token, received from a previous + * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListMeasurementProtocolSecrets` must match the call that provided the page + * token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -158,12 +161,13 @@ public function getPageToken() } /** - * A page token, received from a previous `ListMeasurementProtocolSecrets` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListMeasurementProtocolSecrets` must match - * the call that provided the page token. + * Optional. A page token, received from a previous + * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListMeasurementProtocolSecrets` must match the call that provided the page + * token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/ListPropertiesRequest.php b/AnalyticsAdmin/src/V1alpha/ListPropertiesRequest.php index 7155eb4e6981..a389d4176fee 100644 --- a/AnalyticsAdmin/src/V1alpha/ListPropertiesRequest.php +++ b/AnalyticsAdmin/src/V1alpha/ListPropertiesRequest.php @@ -36,21 +36,21 @@ class ListPropertiesRequest extends \Google\Protobuf\Internal\Message */ protected $filter = ''; /** - * The maximum number of resources to return. The service may return + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_size = 0; /** - * A page token, received from a previous `ListProperties` call. + * Optional. A page token, received from a previous `ListProperties` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListProperties` must * match the call that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_token = ''; /** @@ -85,12 +85,12 @@ class ListPropertiesRequest extends \Google\Protobuf\Internal\Message * | firebase_project:123 | The firebase project with number: 123. | * ``` * @type int $page_size - * The maximum number of resources to return. The service may return + * Optional. 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 `ListProperties` call. + * Optional. A page token, received from a previous `ListProperties` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListProperties` must * match the call that provided the page token. @@ -160,12 +160,12 @@ public function setFilter($var) } /** - * The maximum number of resources to return. The service may return + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -174,12 +174,12 @@ public function getPageSize() } /** - * The maximum number of resources to return. The service may return + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -192,12 +192,12 @@ public function setPageSize($var) } /** - * A page token, received from a previous `ListProperties` call. + * Optional. A page token, received from a previous `ListProperties` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListProperties` must * match the call that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -206,12 +206,12 @@ public function getPageToken() } /** - * A page token, received from a previous `ListProperties` call. + * Optional. A page token, received from a previous `ListProperties` call. * Provide this to retrieve the subsequent page. * When paginating, all other parameters provided to `ListProperties` must * match the call that provided the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php b/AnalyticsAdmin/src/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php index 56cf7ae1197a..c7fcbb79b59b 100644 --- a/AnalyticsAdmin/src/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php +++ b/AnalyticsAdmin/src/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php @@ -25,22 +25,22 @@ class ListSKAdNetworkConversionValueSchemasRequest extends \Google\Protobuf\Inte */ protected $parent = ''; /** - * The maximum number of resources to return. The service may return + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_size = 0; /** - * A page token, received from a previous + * Optional. A page token, received from a previous * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the * subsequent page. When paginating, all other parameters provided to * `ListSKAdNetworkConversionValueSchema` must match the call that provided * the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_token = ''; @@ -73,12 +73,12 @@ public static function build(string $parent): self * properties/{property_id}/dataStreams/{dataStream} * Example: properties/1234/dataStreams/5678 * @type int $page_size - * The maximum number of resources to return. The service may return + * Optional. 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 + * Optional. A page token, received from a previous * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the * subsequent page. When paginating, all other parameters provided to * `ListSKAdNetworkConversionValueSchema` must match the call that provided @@ -123,12 +123,12 @@ public function setParent($var) } /** - * The maximum number of resources to return. The service may return + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -137,12 +137,12 @@ public function getPageSize() } /** - * The maximum number of resources to return. The service may return + * Optional. 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; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -155,13 +155,13 @@ public function setPageSize($var) } /** - * A page token, received from a previous + * Optional. A page token, received from a previous * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the * subsequent page. When paginating, all other parameters provided to * `ListSKAdNetworkConversionValueSchema` must match the call that provided * the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -170,13 +170,13 @@ public function getPageToken() } /** - * A page token, received from a previous + * Optional. A page token, received from a previous * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the * subsequent page. When paginating, all other parameters provided to * `ListSKAdNetworkConversionValueSchema` must match the call that provided * the page token. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/MeasurementProtocolSecret.php b/AnalyticsAdmin/src/V1alpha/MeasurementProtocolSecret.php index c5bf63394e39..fa10ccb3ddaf 100644 --- a/AnalyticsAdmin/src/V1alpha/MeasurementProtocolSecret.php +++ b/AnalyticsAdmin/src/V1alpha/MeasurementProtocolSecret.php @@ -16,11 +16,11 @@ 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: + * Identifier. 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]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -45,8 +45,8 @@ 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: + * Identifier. 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. @@ -62,11 +62,11 @@ public function __construct($data = NULL) { } /** - * Output only. Resource name of this secret. This secret may be a child of - * any type of stream. Format: + * Identifier. 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]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -75,11 +75,11 @@ public function getName() } /** - * Output only. Resource name of this secret. This secret may be a child of - * any type of stream. Format: + * Identifier. 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]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/Property.php b/AnalyticsAdmin/src/V1alpha/Property.php index 3d2c8d0e64b2..c3a4937df576 100644 --- a/AnalyticsAdmin/src/V1alpha/Property.php +++ b/AnalyticsAdmin/src/V1alpha/Property.php @@ -16,11 +16,11 @@ class Property extends \Google\Protobuf\Internal\Message { /** - * Output only. Resource name of this property. + * Identifier. Resource name of this property. * Format: properties/{property_id} * Example: "properties/1000" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -124,7 +124,7 @@ class Property extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. Resource name of this property. + * Identifier. Resource name of this property. * Format: properties/{property_id} * Example: "properties/1000" * @type int $property_type @@ -180,11 +180,11 @@ public function __construct($data = NULL) { } /** - * Output only. Resource name of this property. + * Identifier. Resource name of this property. * Format: properties/{property_id} * Example: "properties/1000" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -193,11 +193,11 @@ public function getName() } /** - * Output only. Resource name of this property. + * Identifier. Resource name of this property. * Format: properties/{property_id} * Example: "properties/1000" * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/SKAdNetworkConversionValueSchema.php b/AnalyticsAdmin/src/V1alpha/SKAdNetworkConversionValueSchema.php index 27405967440c..6aca77fe4073 100644 --- a/AnalyticsAdmin/src/V1alpha/SKAdNetworkConversionValueSchema.php +++ b/AnalyticsAdmin/src/V1alpha/SKAdNetworkConversionValueSchema.php @@ -16,12 +16,12 @@ class SKAdNetworkConversionValueSchema extends \Google\Protobuf\Internal\Message { /** - * Output only. Resource name of the schema. This will be child of ONLY an iOS + * Identifier. Resource name of the schema. This will be child of ONLY an iOS * stream, and there can be at most one such child under an iOS stream. * Format: * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -72,7 +72,7 @@ class SKAdNetworkConversionValueSchema extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. Resource name of the schema. This will be child of ONLY an iOS + * Identifier. Resource name of the schema. This will be child of ONLY an iOS * stream, and there can be at most one such child under an iOS stream. * Format: * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema @@ -108,12 +108,12 @@ public function __construct($data = NULL) { } /** - * Output only. Resource name of the schema. This will be child of ONLY an iOS + * Identifier. Resource name of the schema. This will be child of ONLY an iOS * stream, and there can be at most one such child under an iOS stream. * Format: * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -122,12 +122,12 @@ public function getName() } /** - * Output only. Resource name of the schema. This will be child of ONLY an iOS + * Identifier. Resource name of the schema. This will be child of ONLY an iOS * stream, and there can be at most one such child under an iOS stream. * Format: * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/AnalyticsAdmin/src/V1alpha/SearchAds360Link.php b/AnalyticsAdmin/src/V1alpha/SearchAds360Link.php index c605a1d6d789..37d8b7b92fc7 100644 --- a/AnalyticsAdmin/src/V1alpha/SearchAds360Link.php +++ b/AnalyticsAdmin/src/V1alpha/SearchAds360Link.php @@ -16,11 +16,11 @@ class SearchAds360Link extends \Google\Protobuf\Internal\Message { /** - * Output only. The resource name for this SearchAds360Link resource. + * Identifier. 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]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; */ protected $name = ''; /** @@ -78,7 +78,7 @@ class SearchAds360Link extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Output only. The resource name for this SearchAds360Link resource. + * Identifier. 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 @@ -112,11 +112,11 @@ public function __construct($data = NULL) { } /** - * Output only. The resource name for this SearchAds360Link resource. + * Identifier. 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]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @return string */ public function getName() @@ -125,11 +125,11 @@ public function getName() } /** - * Output only. The resource name for this SearchAds360Link resource. + * Identifier. 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]; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; * @param string $var * @return $this */ diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UserProvidedDataSettings.php b/AnalyticsAdmin/src/V1alpha/UserProvidedDataSettings.php similarity index 100% rename from owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UserProvidedDataSettings.php rename to AnalyticsAdmin/src/V1alpha/UserProvidedDataSettings.php diff --git a/AnalyticsAdmin/src/V1alpha/gapic_metadata.json b/AnalyticsAdmin/src/V1alpha/gapic_metadata.json index 2bffa934b025..44c634c25141 100644 --- a/AnalyticsAdmin/src/V1alpha/gapic_metadata.json +++ b/AnalyticsAdmin/src/V1alpha/gapic_metadata.json @@ -470,6 +470,11 @@ "getSubpropertySyncConfig" ] }, + "GetUserProvidedDataSettings": { + "methods": [ + "getUserProvidedDataSettings" + ] + }, "ListAccessBindings": { "methods": [ "listAccessBindings" 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 535590d9d77b..59467eed40b8 100644 --- a/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_client_config.json +++ b/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_client_config.json @@ -499,6 +499,11 @@ "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" }, + "GetUserProvidedDataSettings": { + "timeout_millis": 60000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, "ListAccessBindings": { "timeout_millis": 60000, "retry_codes_name": "retry_policy_1_codes", 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 ad3c25ae3b56..43609338eb02 100644 --- a/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_descriptor_config.php +++ b/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_descriptor_config.php @@ -1111,6 +1111,18 @@ ], ], ], + 'GetUserProvidedDataSettings' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Analytics\Admin\V1alpha\UserProvidedDataSettings', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], 'ListAccessBindings' => [ 'pageStreaming' => [ 'requestPageTokenGetMethod' => 'getPageToken', @@ -2114,6 +2126,7 @@ 'searchAds360Link' => 'properties/{property}/searchAds360Links/{search_ads_360_link}', 'subpropertyEventFilter' => 'properties/{property}/subpropertyEventFilters/{sub_property_event_filter}', 'subpropertySyncConfig' => 'properties/{property}/subpropertySyncConfigs/{subproperty_sync_config}', + 'userProvidedDataSettings' => 'properties/{property}/userProvidedDataSettings', ], ], ], 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 3c5eea0f7a3c..7f1062580200 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 @@ -1105,6 +1105,17 @@ ], ], ], + 'GetUserProvidedDataSettings' => [ + 'method' => 'get', + 'uriTemplate' => '/v1alpha/{name=properties/*/userProvidedDataSettings}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], 'ListAccessBindings' => [ 'method' => 'get', 'uriTemplate' => '/v1alpha/{parent=accounts/*}/accessBindings', diff --git a/AnalyticsAdmin/tests/Unit/V1alpha/Client/AnalyticsAdminServiceClientTest.php b/AnalyticsAdmin/tests/Unit/V1alpha/Client/AnalyticsAdminServiceClientTest.php index bbc55db621d8..7ef6eca7a197 100644 --- a/AnalyticsAdmin/tests/Unit/V1alpha/Client/AnalyticsAdminServiceClientTest.php +++ b/AnalyticsAdmin/tests/Unit/V1alpha/Client/AnalyticsAdminServiceClientTest.php @@ -155,6 +155,7 @@ use Google\Analytics\Admin\V1alpha\GetSearchAds360LinkRequest; use Google\Analytics\Admin\V1alpha\GetSubpropertyEventFilterRequest; use Google\Analytics\Admin\V1alpha\GetSubpropertySyncConfigRequest; +use Google\Analytics\Admin\V1alpha\GetUserProvidedDataSettingsRequest; use Google\Analytics\Admin\V1alpha\GlobalSiteTag; use Google\Analytics\Admin\V1alpha\GoogleAdsLink; use Google\Analytics\Admin\V1alpha\GoogleSignalsSettings; @@ -267,6 +268,7 @@ use Google\Analytics\Admin\V1alpha\UpdateSearchAds360LinkRequest; use Google\Analytics\Admin\V1alpha\UpdateSubpropertyEventFilterRequest; use Google\Analytics\Admin\V1alpha\UpdateSubpropertySyncConfigRequest; +use Google\Analytics\Admin\V1alpha\UserProvidedDataSettings; use Google\ApiCore\ApiException; use Google\ApiCore\CredentialsWrapper; use Google\ApiCore\Testing\GeneratedTest; @@ -7045,6 +7047,78 @@ public function getSubpropertySyncConfigExceptionTest() $this->assertTrue($transport->isExhausted()); } + /** @test */ + public function getUserProvidedDataSettingsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $userProvidedDataCollectionEnabled = false; + $automaticallyDetectedDataCollectionEnabled = true; + $expectedResponse = new UserProvidedDataSettings(); + $expectedResponse->setName($name2); + $expectedResponse->setUserProvidedDataCollectionEnabled($userProvidedDataCollectionEnabled); + $expectedResponse->setAutomaticallyDetectedDataCollectionEnabled($automaticallyDetectedDataCollectionEnabled); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->userProvidedDataSettingsName('[PROPERTY]'); + $request = (new GetUserProvidedDataSettingsRequest())->setName($formattedName); + $response = $gapicClient->getUserProvidedDataSettings($request); + $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/GetUserProvidedDataSettings', + $actualFuncCall + ); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getUserProvidedDataSettingsExceptionTest() + { + $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->userProvidedDataSettingsName('[PROPERTY]'); + $request = (new GetUserProvidedDataSettingsRequest())->setName($formattedName); + try { + $gapicClient->getUserProvidedDataSettings($request); + // 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 listAccessBindingsTest() { diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AccessReport.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AccessReport.php deleted file mode 100644 index d012f3f2ebde..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AccessReport.php +++ /dev/null @@ -1,24 +0,0 @@ -internalAddGeneratedFile( - "\x0A\xB0\x1A\x0A2google/analytics/admin/v1alpha/access_report.proto\x12\x1Egoogle.analytics.admin.v1alpha\")\x0A\x0FAccessDimension\x12\x16\x0A\x0Edimension_name\x18\x01 \x01(\x09\"#\x0A\x0CAccessMetric\x12\x13\x0A\x0Bmetric_name\x18\x01 \x01(\x09\"7\x0A\x0FAccessDateRange\x12\x12\x0A\x0Astart_date\x18\x01 \x01(\x09\x12\x10\x0A\x08end_date\x18\x02 \x01(\x09\"\xE4\x02\x0A\x16AccessFilterExpression\x12O\x0A\x09and_group\x18\x01 \x01(\x0B2:.google.analytics.admin.v1alpha.AccessFilterExpressionListH\x00\x12N\x0A\x08or_group\x18\x02 \x01(\x0B2:.google.analytics.admin.v1alpha.AccessFilterExpressionListH\x00\x12P\x0A\x0Enot_expression\x18\x03 \x01(\x0B26.google.analytics.admin.v1alpha.AccessFilterExpressionH\x00\x12E\x0A\x0Daccess_filter\x18\x04 \x01(\x0B2,.google.analytics.admin.v1alpha.AccessFilterH\x00B\x10\x0A\x0Eone_expression\"i\x0A\x1AAccessFilterExpressionList\x12K\x0A\x0Bexpressions\x18\x01 \x03(\x0B26.google.analytics.admin.v1alpha.AccessFilterExpression\"\xE9\x02\x0A\x0CAccessFilter\x12K\x0A\x0Dstring_filter\x18\x02 \x01(\x0B22.google.analytics.admin.v1alpha.AccessStringFilterH\x00\x12L\x0A\x0Ein_list_filter\x18\x03 \x01(\x0B22.google.analytics.admin.v1alpha.AccessInListFilterH\x00\x12M\x0A\x0Enumeric_filter\x18\x04 \x01(\x0B23.google.analytics.admin.v1alpha.AccessNumericFilterH\x00\x12M\x0A\x0Ebetween_filter\x18\x05 \x01(\x0B23.google.analytics.admin.v1alpha.AccessBetweenFilterH\x00\x12\x12\x0A\x0Afield_name\x18\x01 \x01(\x09B\x0C\x0A\x0Aone_filter\"\x95\x02\x0A\x12AccessStringFilter\x12P\x0A\x0Amatch_type\x18\x01 \x01(\x0E2<.google.analytics.admin.v1alpha.AccessStringFilter.MatchType\x12\x0D\x0A\x05value\x18\x02 \x01(\x09\x12\x16\x0A\x0Ecase_sensitive\x18\x03 \x01(\x08\"\x85\x01\x0A\x09MatchType\x12\x1A\x0A\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EXACT\x10\x01\x12\x0F\x0A\x0BBEGINS_WITH\x10\x02\x12\x0D\x0A\x09ENDS_WITH\x10\x03\x12\x0C\x0A\x08CONTAINS\x10\x04\x12\x0F\x0A\x0BFULL_REGEXP\x10\x05\x12\x12\x0A\x0EPARTIAL_REGEXP\x10\x06\"<\x0A\x12AccessInListFilter\x12\x0E\x0A\x06values\x18\x01 \x03(\x09\x12\x16\x0A\x0Ecase_sensitive\x18\x02 \x01(\x08\"\xAC\x02\x0A\x13AccessNumericFilter\x12P\x0A\x09operation\x18\x01 \x01(\x0E2=.google.analytics.admin.v1alpha.AccessNumericFilter.Operation\x12;\x0A\x05value\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.NumericValue\"\x85\x01\x0A\x09Operation\x12\x19\x0A\x15OPERATION_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EQUAL\x10\x01\x12\x0D\x0A\x09LESS_THAN\x10\x02\x12\x16\x0A\x12LESS_THAN_OR_EQUAL\x10\x03\x12\x10\x0A\x0CGREATER_THAN\x10\x04\x12\x19\x0A\x15GREATER_THAN_OR_EQUAL\x10\x05\"\x97\x01\x0A\x13AccessBetweenFilter\x12@\x0A\x0Afrom_value\x18\x01 \x01(\x0B2,.google.analytics.admin.v1alpha.NumericValue\x12>\x0A\x08to_value\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.NumericValue\"J\x0A\x0CNumericValue\x12\x15\x0A\x0Bint64_value\x18\x01 \x01(\x03H\x00\x12\x16\x0A\x0Cdouble_value\x18\x02 \x01(\x01H\x00B\x0B\x0A\x09one_value\"\xED\x03\x0A\x0DAccessOrderBy\x12M\x0A\x06metric\x18\x01 \x01(\x0B2;.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByH\x00\x12S\x0A\x09dimension\x18\x02 \x01(\x0B2>.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderByH\x00\x12\x0C\x0A\x04desc\x18\x03 \x01(\x08\x1A\$\x0A\x0DMetricOrderBy\x12\x13\x0A\x0Bmetric_name\x18\x01 \x01(\x09\x1A\xF3\x01\x0A\x10DimensionOrderBy\x12\x16\x0A\x0Edimension_name\x18\x01 \x01(\x09\x12\\\x0A\x0Aorder_type\x18\x02 \x01(\x0E2H.google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType\"i\x0A\x09OrderType\x12\x1A\x0A\x16ORDER_TYPE_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CALPHANUMERIC\x10\x01\x12!\x0A\x1DCASE_INSENSITIVE_ALPHANUMERIC\x10\x02\x12\x0B\x0A\x07NUMERIC\x10\x03B\x0E\x0A\x0Cone_order_by\"/\x0A\x15AccessDimensionHeader\x12\x16\x0A\x0Edimension_name\x18\x01 \x01(\x09\")\x0A\x12AccessMetricHeader\x12\x13\x0A\x0Bmetric_name\x18\x01 \x01(\x09\"\xA5\x01\x0A\x09AccessRow\x12N\x0A\x10dimension_values\x18\x01 \x03(\x0B24.google.analytics.admin.v1alpha.AccessDimensionValue\x12H\x0A\x0Dmetric_values\x18\x02 \x03(\x0B21.google.analytics.admin.v1alpha.AccessMetricValue\"%\x0A\x14AccessDimensionValue\x12\x0D\x0A\x05value\x18\x01 \x01(\x09\"\"\x0A\x11AccessMetricValue\x12\x0D\x0A\x05value\x18\x01 \x01(\x09\"\xAB\x03\x0A\x0BAccessQuota\x12I\x0A\x0Etokens_per_day\x18\x01 \x01(\x0B21.google.analytics.admin.v1alpha.AccessQuotaStatus\x12J\x0A\x0Ftokens_per_hour\x18\x02 \x01(\x0B21.google.analytics.admin.v1alpha.AccessQuotaStatus\x12N\x0A\x13concurrent_requests\x18\x03 \x01(\x0B21.google.analytics.admin.v1alpha.AccessQuotaStatus\x12]\x0A\"server_errors_per_project_per_hour\x18\x04 \x01(\x0B21.google.analytics.admin.v1alpha.AccessQuotaStatus\x12V\x0A\x1Btokens_per_project_per_hour\x18\x05 \x01(\x0B21.google.analytics.admin.v1alpha.AccessQuotaStatus\"8\x0A\x11AccessQuotaStatus\x12\x10\x0A\x08consumed\x18\x01 \x01(\x05\x12\x11\x0A\x09remaining\x18\x02 \x01(\x05By\x0A\"com.google.analytics.admin.v1alphaB\x11AccessReportProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AnalyticsAdmin.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AnalyticsAdmin.php deleted file mode 100644 index 31f58032e9c1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/AnalyticsAdmin.php +++ /dev/null @@ -1,38 +0,0 @@ -internalAddGeneratedFile( - "\x0A\x9F\xFD\x03\x0A4google/analytics/admin/v1alpha/analytics_admin.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A-google/analytics/admin/v1alpha/audience.proto\x1A2google/analytics/admin/v1alpha/channel_group.proto\x1A:google/analytics/admin/v1alpha/event_create_and_edit.proto\x1A6google/analytics/admin/v1alpha/expanded_data_set.proto\x1A.google/analytics/admin/v1alpha/resources.proto\x1A=google/analytics/admin/v1alpha/subproperty_event_filter.proto\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xE0\x04\x0A\x16RunAccessReportRequest\x12\x0E\x0A\x06entity\x18\x01 \x01(\x09\x12C\x0A\x0Adimensions\x18\x02 \x03(\x0B2/.google.analytics.admin.v1alpha.AccessDimension\x12=\x0A\x07metrics\x18\x03 \x03(\x0B2,.google.analytics.admin.v1alpha.AccessMetric\x12D\x0A\x0Bdate_ranges\x18\x04 \x03(\x0B2/.google.analytics.admin.v1alpha.AccessDateRange\x12P\x0A\x10dimension_filter\x18\x05 \x01(\x0B26.google.analytics.admin.v1alpha.AccessFilterExpression\x12M\x0A\x0Dmetric_filter\x18\x06 \x01(\x0B26.google.analytics.admin.v1alpha.AccessFilterExpression\x12\x0E\x0A\x06offset\x18\x07 \x01(\x03\x12\x0D\x0A\x05limit\x18\x08 \x01(\x03\x12\x11\x0A\x09time_zone\x18\x09 \x01(\x09\x12@\x0A\x09order_bys\x18\x0A \x03(\x0B2-.google.analytics.admin.v1alpha.AccessOrderBy\x12\x1B\x0A\x13return_entity_quota\x18\x0B \x01(\x08\x12\x1E\x0A\x11include_all_users\x18\x0C \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dexpand_groups\x18\x0D \x01(\x08B\x03\xE0A\x01\"\xBF\x02\x0A\x17RunAccessReportResponse\x12P\x0A\x11dimension_headers\x18\x01 \x03(\x0B25.google.analytics.admin.v1alpha.AccessDimensionHeader\x12J\x0A\x0Emetric_headers\x18\x02 \x03(\x0B22.google.analytics.admin.v1alpha.AccessMetricHeader\x127\x0A\x04rows\x18\x03 \x03(\x0B2).google.analytics.admin.v1alpha.AccessRow\x12\x11\x0A\x09row_count\x18\x04 \x01(\x05\x12:\x0A\x05quota\x18\x05 \x01(\x0B2+.google.analytics.admin.v1alpha.AccessQuota\"P\x0A\x11GetAccountRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\"\\\x0A\x13ListAccountsRequest\x12\x16\x0A\x09page_size\x18\x01 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x14\x0A\x0Cshow_deleted\x18\x03 \x01(\x08\"j\x0A\x14ListAccountsResponse\x129\x0A\x08accounts\x18\x01 \x03(\x0B2'.google.analytics.admin.v1alpha.Account\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"S\x0A\x14DeleteAccountRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\"\x8B\x01\x0A\x14UpdateAccountRequest\x12=\x0A\x07account\x18\x01 \x01(\x0B2'.google.analytics.admin.v1alpha.AccountB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"o\x0A\x1DProvisionAccountTicketRequest\x128\x0A\x07account\x18\x01 \x01(\x0B2'.google.analytics.admin.v1alpha.Account\x12\x14\x0A\x0Credirect_uri\x18\x02 \x01(\x09\";\x0A\x1EProvisionAccountTicketResponse\x12\x19\x0A\x11account_ticket_id\x18\x01 \x01(\x09\"R\x0A\x12GetPropertyRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\"s\x0A\x15ListPropertiesRequest\x12\x13\x0A\x06filter\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x14\x0A\x0Cshow_deleted\x18\x04 \x01(\x08\"o\x0A\x16ListPropertiesResponse\x12<\x0A\x0Aproperties\x18\x01 \x03(\x0B2(.google.analytics.admin.v1alpha.Property\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x8E\x01\x0A\x15UpdatePropertyRequest\x12?\x0A\x08property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"X\x0A\x15CreatePropertyRequest\x12?\x0A\x08property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\"U\x0A\x15DeletePropertyRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\"\xA9\x01\x0A\x19CreateFirebaseLinkRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/FirebaseLink\x12H\x0A\x0Dfirebase_link\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.FirebaseLinkB\x03\xE0A\x02\"]\x0A\x19DeleteFirebaseLinkRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/FirebaseLink\"\x8F\x01\x0A\x18ListFirebaseLinksRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/FirebaseLink\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"z\x0A\x19ListFirebaseLinksResponse\x12D\x0A\x0Efirebase_links\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.FirebaseLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\\\x0A\x17GetGlobalSiteTagRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/GlobalSiteTag\"\xAE\x01\x0A\x1ACreateGoogleAdsLinkRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/GoogleAdsLink\x12K\x0A\x0Fgoogle_ads_link\x18\x02 \x01(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLinkB\x03\xE0A\x02\"\x9A\x01\x0A\x1AUpdateGoogleAdsLinkRequest\x12F\x0A\x0Fgoogle_ads_link\x18\x01 \x01(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLink\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"_\x0A\x1ADeleteGoogleAdsLinkRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/GoogleAdsLink\"\x91\x01\x0A\x19ListGoogleAdsLinksRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/GoogleAdsLink\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"~\x0A\x1AListGoogleAdsLinksResponse\x12G\x0A\x10google_ads_links\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"h\x0A\x1DGetDataSharingSettingsRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1analyticsadmin.googleapis.com/DataSharingSettings\"N\x0A\x1BListAccountSummariesRequest\x12\x16\x0A\x09page_size\x18\x01 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x02 \x01(\x09B\x03\xE0A\x01\"\x82\x01\x0A\x1CListAccountSummariesResponse\x12I\x0A\x11account_summaries\x18\x01 \x03(\x0B2..google.analytics.admin.v1alpha.AccountSummary\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x86\x01\x0A\$AcknowledgeUserDataCollectionRequest\x12@\x0A\x08property\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12\x1C\x0A\x0Facknowledgement\x18\x02 \x01(\x09B\x03\xE0A\x02\"'\x0A%AcknowledgeUserDataCollectionResponse\"\x83\x04\x0A SearchChangeHistoryEventsRequest\x12>\x0A\x07account\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\x12@\x0A\x08property\x18\x02 \x01(\x09B.\xE0A\x01\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12U\x0A\x0Dresource_type\x18\x03 \x03(\x0E29.google.analytics.admin.v1alpha.ChangeHistoryResourceTypeB\x03\xE0A\x01\x12?\x0A\x06action\x18\x04 \x03(\x0E2*.google.analytics.admin.v1alpha.ActionTypeB\x03\xE0A\x01\x12\x18\x0A\x0Bactor_email\x18\x05 \x03(\x09B\x03\xE0A\x01\x12=\x0A\x14earliest_change_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12;\x0A\x12latest_change_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x08 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x09 \x01(\x09B\x03\xE0A\x01\"\x8F\x01\x0A!SearchChangeHistoryEventsResponse\x12Q\x0A\x15change_history_events\x18\x01 \x03(\x0B22.google.analytics.admin.v1alpha.ChangeHistoryEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"t\x0A#GetMeasurementProtocolSecretRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\"\xDE\x01\x0A&CreateMeasurementProtocolSecretRequest\x12O\x0A\x06parent\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x127analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12c\x0A\x1Bmeasurement_protocol_secret\x18\x02 \x01(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecretB\x03\xE0A\x02\"w\x0A&DeleteMeasurementProtocolSecretRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\"\xC3\x01\x0A&UpdateMeasurementProtocolSecretRequest\x12c\x0A\x1Bmeasurement_protocol_secret\x18\x01 \x01(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecretB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xA9\x01\x0A%ListMeasurementProtocolSecretsRequest\x12O\x0A\x06parent\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x127analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xA2\x01\x0A&ListMeasurementProtocolSecretsResponse\x12_\x0A\x1Cmeasurement_protocol_secrets\x18\x01 \x03(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecret\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x82\x01\x0A*GetSKAdNetworkConversionValueSchemaRequest\x12T\x0A\x04name\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x0A>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\"\xFB\x01\x0A-CreateSKAdNetworkConversionValueSchemaRequest\x12V\x0A\x06parent\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x12>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\x12r\x0A#skadnetwork_conversion_value_schema\x18\x02 \x01(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaB\x03\xE0A\x02\"\x85\x01\x0A-DeleteSKAdNetworkConversionValueSchemaRequest\x12T\x0A\x04name\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x0A>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\"\xD9\x01\x0A-UpdateSKAdNetworkConversionValueSchemaRequest\x12r\x0A#skadnetwork_conversion_value_schema\x18\x01 \x01(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xB7\x01\x0A,ListSKAdNetworkConversionValueSchemasRequest\x12V\x0A\x06parent\x18\x01 \x01(\x09BF\xE0A\x02\xFAA@\x12>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xB8\x01\x0A-ListSKAdNetworkConversionValueSchemasResponse\x12n\x0A\$skadnetwork_conversion_value_schemas\x18\x01 \x03(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"l\x0A\x1FGetGoogleSignalsSettingsRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/GoogleSignalsSettings\"\xB7\x01\x0A\"UpdateGoogleSignalsSettingsRequest\x12[\x0A\x17google_signals_settings\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.GoogleSignalsSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xB5\x01\x0A\x1CCreateConversionEventRequest\x12N\x0A\x10conversion_event\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.ConversionEventB\x03\xE0A\x02\x12E\x0A\x06parent\x18\x02 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ConversionEvent\"\xA4\x01\x0A\x1CUpdateConversionEventRequest\x12N\x0A\x10conversion_event\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.ConversionEventB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"`\x0A\x19GetConversionEventRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ConversionEvent\"c\x0A\x1CDeleteConversionEventRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ConversionEvent\"\x95\x01\x0A\x1BListConversionEventsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ConversionEvent\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x83\x01\x0A\x1CListConversionEventsResponse\x12J\x0A\x11conversion_events\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.ConversionEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x99\x01\x0A\x15CreateKeyEventRequest\x12@\x0A\x09key_event\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.KeyEventB\x03\xE0A\x02\x12>\x0A\x06parent\x18\x02 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/KeyEvent\"\x8F\x01\x0A\x15UpdateKeyEventRequest\x12@\x0A\x09key_event\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.KeyEventB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"R\x0A\x12GetKeyEventRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/KeyEvent\"U\x0A\x15DeleteKeyEventRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/KeyEvent\"\x87\x01\x0A\x14ListKeyEventsRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/KeyEvent\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"n\x0A\x15ListKeyEventsResponse\x12<\x0A\x0Akey_events\x18\x01 \x03(\x0B2(.google.analytics.admin.v1alpha.KeyEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"|\x0A'GetDisplayVideo360AdvertiserLinkRequest\x12Q\x0A\x04name\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x0A;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\"\xA7\x01\x0A)ListDisplayVideo360AdvertiserLinksRequest\x12S\x0A\x06parent\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x12;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\xB0\x01\x0A*ListDisplayVideo360AdvertiserLinksResponse\x12i\x0A\"display_video_360_advertiser_links\x18\x01 \x03(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xF0\x01\x0A*CreateDisplayVideo360AdvertiserLinkRequest\x12S\x0A\x06parent\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x12;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\x12m\x0A!display_video_360_advertiser_link\x18\x02 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkB\x03\xE0A\x02\"\x7F\x0A*DeleteDisplayVideo360AdvertiserLinkRequest\x12Q\x0A\x04name\x18\x01 \x01(\x09BC\xE0A\x02\xFAA=\x0A;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\"\xCC\x01\x0A*UpdateDisplayVideo360AdvertiserLinkRequest\x12h\x0A!display_video_360_advertiser_link\x18\x01 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x8C\x01\x0A/GetDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\xB7\x01\x0A1ListDisplayVideo360AdvertiserLinkProposalsRequest\x12[\x0A\x06parent\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x12Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\xC9\x01\x0A2ListDisplayVideo360AdvertiserLinkProposalsResponse\x12z\x0A+display_video_360_advertiser_link_proposals\x18\x01 \x03(\x0B2E.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x91\x02\x0A2CreateDisplayVideo360AdvertiserLinkProposalRequest\x12[\x0A\x06parent\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x12Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\x12~\x0A*display_video_360_advertiser_link_proposal\x18\x02 \x01(\x0B2E.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalB\x03\xE0A\x02\"\x8F\x01\x0A2DeleteDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\x90\x01\x0A3ApproveDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"\xA0\x01\x0A4ApproveDisplayVideo360AdvertiserLinkProposalResponse\x12h\x0A!display_video_360_advertiser_link\x18\x01 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"\x8F\x01\x0A2CancelDisplayVideo360AdvertiserLinkProposalRequest\x12Y\x0A\x04name\x18\x01 \x01(\x09BK\xE0A\x02\xFAAE\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\"b\x0A\x1AGetSearchAds360LinkRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/SearchAds360Link\"\x8D\x01\x0A\x1CListSearchAds360LinksRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/SearchAds360Link\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x88\x01\x0A\x1DListSearchAds360LinksResponse\x12N\x0A\x14search_ads_360_links\x18\x01 \x03(\x0B20.google.analytics.admin.v1alpha.SearchAds360Link\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xBB\x01\x0A\x1DCreateSearchAds360LinkRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/SearchAds360Link\x12R\x0A\x13search_ads_360_link\x18\x02 \x01(\x0B20.google.analytics.admin.v1alpha.SearchAds360LinkB\x03\xE0A\x02\"e\x0A\x1DDeleteSearchAds360LinkRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/SearchAds360Link\"\xA4\x01\x0A\x1DUpdateSearchAds360LinkRequest\x12M\x0A\x13search_ads_360_link\x18\x01 \x01(\x0B20.google.analytics.admin.v1alpha.SearchAds360Link\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xB5\x01\x0A\x1CCreateCustomDimensionRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/CustomDimension\x12N\x0A\x10custom_dimension\x18\x02 \x01(\x0B2/.google.analytics.admin.v1alpha.CustomDimensionB\x03\xE0A\x02\"\x9F\x01\x0A\x1CUpdateCustomDimensionRequest\x12I\x0A\x10custom_dimension\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.CustomDimension\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x95\x01\x0A\x1BListCustomDimensionsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/CustomDimension\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x83\x01\x0A\x1CListCustomDimensionsResponse\x12J\x0A\x11custom_dimensions\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.CustomDimension\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"d\x0A\x1DArchiveCustomDimensionRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/CustomDimension\"`\x0A\x19GetCustomDimensionRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/CustomDimension\"\xA9\x01\x0A\x19CreateCustomMetricRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/CustomMetric\x12H\x0A\x0Dcustom_metric\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.CustomMetricB\x03\xE0A\x02\"\x96\x01\x0A\x19UpdateCustomMetricRequest\x12C\x0A\x0Dcustom_metric\x18\x01 \x01(\x0B2,.google.analytics.admin.v1alpha.CustomMetric\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x85\x01\x0A\x18ListCustomMetricsRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/CustomMetric\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"z\x0A\x19ListCustomMetricsResponse\x12D\x0A\x0Ecustom_metrics\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.CustomMetric\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"^\x0A\x1AArchiveCustomMetricRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/CustomMetric\"Z\x0A\x16GetCustomMetricRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/CustomMetric\"\xDC\x01\x0A\x1DCreateCalculatedMetricRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/CalculatedMetric\x12!\x0A\x14calculated_metric_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12P\x0A\x11calculated_metric\x18\x03 \x01(\x0B20.google.analytics.admin.v1alpha.CalculatedMetricB\x03\xE0A\x02\"\xA7\x01\x0A\x1DUpdateCalculatedMetricRequest\x12P\x0A\x11calculated_metric\x18\x01 \x01(\x0B20.google.analytics.admin.v1alpha.CalculatedMetricB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"e\x0A\x1DDeleteCalculatedMetricRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/CalculatedMetric\"\x97\x01\x0A\x1CListCalculatedMetricsRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x12.analyticsadmin.googleapis.com/CalculatedMetric\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x86\x01\x0A\x1DListCalculatedMetricsResponse\x12L\x0A\x12calculated_metrics\x18\x01 \x03(\x0B20.google.analytics.admin.v1alpha.CalculatedMetric\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"b\x0A\x1AGetCalculatedMetricRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.analyticsadmin.googleapis.com/CalculatedMetric\"l\x0A\x1FGetDataRetentionSettingsRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/DataRetentionSettings\"\xB7\x01\x0A\"UpdateDataRetentionSettingsRequest\x12[\x0A\x17data_retention_settings\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.DataRetentionSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xA1\x01\x0A\x17CreateDataStreamRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(analyticsadmin.googleapis.com/DataStream\x12D\x0A\x0Bdata_stream\x18\x02 \x01(\x0B2*.google.analytics.admin.v1alpha.DataStreamB\x03\xE0A\x02\"Y\x0A\x17DeleteDataStreamRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(analyticsadmin.googleapis.com/DataStream\"\x90\x01\x0A\x17UpdateDataStreamRequest\x12?\x0A\x0Bdata_stream\x18\x01 \x01(\x0B2*.google.analytics.admin.v1alpha.DataStream\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x81\x01\x0A\x16ListDataStreamsRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(analyticsadmin.googleapis.com/DataStream\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"t\x0A\x17ListDataStreamsResponse\x12@\x0A\x0Cdata_streams\x18\x01 \x03(\x0B2*.google.analytics.admin.v1alpha.DataStream\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"V\x0A\x14GetDataStreamRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(analyticsadmin.googleapis.com/DataStream\"R\x0A\x12GetAudienceRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Audience\"}\x0A\x14ListAudiencesRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/Audience\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"m\x0A\x15ListAudiencesResponse\x12;\x0A\x09audiences\x18\x01 \x03(\x0B2(.google.analytics.admin.v1alpha.Audience\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x98\x01\x0A\x15CreateAudienceRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/Audience\x12?\x0A\x08audience\x18\x02 \x01(\x0B2(.google.analytics.admin.v1alpha.AudienceB\x03\xE0A\x02\"\x8E\x01\x0A\x15UpdateAudienceRequest\x12?\x0A\x08audience\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.AudienceB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"V\x0A\x16ArchiveAudienceRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/Audience\"h\x0A\x1DGetAttributionSettingsRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1analyticsadmin.googleapis.com/AttributionSettings\"\xB0\x01\x0A UpdateAttributionSettingsRequest\x12V\x0A\x14attribution_settings\x18\x01 \x01(\x0B23.google.analytics.admin.v1alpha.AttributionSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\\\x0A\x17GetAccessBindingRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/AccessBinding\"\xA8\x01\x0A\x1DBatchGetAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12B\x0A\x05names\x18\x02 \x03(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/AccessBinding\"h\x0A\x1EBatchGetAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\"\x87\x01\x0A\x19ListAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"}\x0A\x1AListAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xAD\x01\x0A\x1ACreateAccessBindingRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12J\x0A\x0Eaccess_binding\x18\x02 \x01(\x0B2-.google.analytics.admin.v1alpha.AccessBindingB\x03\xE0A\x02\"\xBA\x01\x0A BatchCreateAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12Q\x0A\x08requests\x18\x03 \x03(\x0B2:.google.analytics.admin.v1alpha.CreateAccessBindingRequestB\x03\xE0A\x02\"k\x0A!BatchCreateAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\"h\x0A\x1AUpdateAccessBindingRequest\x12J\x0A\x0Eaccess_binding\x18\x01 \x01(\x0B2-.google.analytics.admin.v1alpha.AccessBindingB\x03\xE0A\x02\"\xBA\x01\x0A BatchUpdateAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12Q\x0A\x08requests\x18\x02 \x03(\x0B2:.google.analytics.admin.v1alpha.UpdateAccessBindingRequestB\x03\xE0A\x02\"k\x0A!BatchUpdateAccessBindingsResponse\x12F\x0A\x0Faccess_bindings\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.AccessBinding\"_\x0A\x1ADeleteAccessBindingRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/AccessBinding\"\xBA\x01\x0A BatchDeleteAccessBindingsRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/AccessBinding\x12Q\x0A\x08requests\x18\x02 \x03(\x0B2:.google.analytics.admin.v1alpha.DeleteAccessBindingRequestB\x03\xE0A\x02\"\xB6\x01\x0A\x1CCreateExpandedDataSetRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ExpandedDataSet\x12O\x0A\x11expanded_data_set\x18\x02 \x01(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSetB\x03\xE0A\x02\"\xA5\x01\x0A\x1CUpdateExpandedDataSetRequest\x12O\x0A\x11expanded_data_set\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSetB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"c\x0A\x1CDeleteExpandedDataSetRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ExpandedDataSet\"`\x0A\x19GetExpandedDataSetRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ExpandedDataSet\"\x8B\x01\x0A\x1BListExpandedDataSetsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ExpandedDataSet\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x84\x01\x0A\x1CListExpandedDataSetsResponse\x12K\x0A\x12expanded_data_sets\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSet\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA9\x01\x0A\x19CreateChannelGroupRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/ChannelGroup\x12H\x0A\x0Dchannel_group\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.ChannelGroupB\x03\xE0A\x02\"\x9B\x01\x0A\x19UpdateChannelGroupRequest\x12H\x0A\x0Dchannel_group\x18\x01 \x01(\x0B2,.google.analytics.admin.v1alpha.ChannelGroupB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"]\x0A\x19DeleteChannelGroupRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/ChannelGroup\"Z\x0A\x16GetChannelGroupRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/ChannelGroup\"\x85\x01\x0A\x18ListChannelGroupsRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/ChannelGroup\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"z\x0A\x19ListChannelGroupsResponse\x12D\x0A\x0Echannel_groups\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.ChannelGroup\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA9\x01\x0A\x19CreateBigQueryLinkRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/BigQueryLink\x12H\x0A\x0Dbigquery_link\x18\x02 \x01(\x0B2,.google.analytics.admin.v1alpha.BigQueryLinkB\x03\xE0A\x02\"Z\x0A\x16GetBigQueryLinkRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/BigQueryLink\"\x85\x01\x0A\x18ListBigQueryLinksRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/BigQueryLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"z\x0A\x19ListBigQueryLinksResponse\x12D\x0A\x0Ebigquery_links\x18\x01 \x03(\x0B2,.google.analytics.admin.v1alpha.BigQueryLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x9B\x01\x0A\x19UpdateBigQueryLinkRequest\x12H\x0A\x0Dbigquery_link\x18\x01 \x01(\x0B2,.google.analytics.admin.v1alpha.BigQueryLinkB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"]\x0A\x19DeleteBigQueryLinkRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/BigQueryLink\"x\x0A%GetEnhancedMeasurementSettingsRequest\x12O\x0A\x04name\x18\x01 \x01(\x09BA\xE0A\x02\xFAA;\x0A9analyticsadmin.googleapis.com/EnhancedMeasurementSettings\"\xC9\x01\x0A(UpdateEnhancedMeasurementSettingsRequest\x12g\x0A\x1Denhanced_measurement_settings\x18\x01 \x01(\x0B2;.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"l\x0A\x1FGetDataRedactionSettingsRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/DataRedactionSettings\"\xB7\x01\x0A\"UpdateDataRedactionSettingsRequest\x12[\x0A\x17data_redaction_settings\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.DataRedactionSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xA5\x01\x0A\x18CreateAdSenseLinkRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x12)analyticsadmin.googleapis.com/AdSenseLink\x12F\x0A\x0Cadsense_link\x18\x02 \x01(\x0B2+.google.analytics.admin.v1alpha.AdSenseLinkB\x03\xE0A\x02\"X\x0A\x15GetAdSenseLinkRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)analyticsadmin.googleapis.com/AdSenseLink\"[\x0A\x18DeleteAdSenseLinkRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)analyticsadmin.googleapis.com/AdSenseLink\"\x83\x01\x0A\x17ListAdSenseLinksRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x12)analyticsadmin.googleapis.com/AdSenseLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"w\x0A\x18ListAdSenseLinksResponse\x12B\x0A\x0Dadsense_links\x18\x01 \x03(\x0B2+.google.analytics.admin.v1alpha.AdSenseLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB6\x01\x0A\x1CCreateEventCreateRuleRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/EventCreateRule\x12O\x0A\x11event_create_rule\x18\x02 \x01(\x0B2/.google.analytics.admin.v1alpha.EventCreateRuleB\x03\xE0A\x02\"\xA5\x01\x0A\x1CUpdateEventCreateRuleRequest\x12O\x0A\x11event_create_rule\x18\x01 \x01(\x0B2/.google.analytics.admin.v1alpha.EventCreateRuleB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"c\x0A\x1CDeleteEventCreateRuleRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/EventCreateRule\"`\x0A\x19GetEventCreateRuleRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/EventCreateRule\"\x8B\x01\x0A\x1BListEventCreateRulesRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/EventCreateRule\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x84\x01\x0A\x1CListEventCreateRulesResponse\x12K\x0A\x12event_create_rules\x18\x01 \x03(\x0B2/.google.analytics.admin.v1alpha.EventCreateRule\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xAE\x01\x0A\x1ACreateEventEditRuleRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/EventEditRule\x12K\x0A\x0Fevent_edit_rule\x18\x02 \x01(\x0B2-.google.analytics.admin.v1alpha.EventEditRuleB\x03\xE0A\x02\"\x9F\x01\x0A\x1AUpdateEventEditRuleRequest\x12K\x0A\x0Fevent_edit_rule\x18\x01 \x01(\x0B2-.google.analytics.admin.v1alpha.EventEditRuleB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"_\x0A\x1ADeleteEventEditRuleRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/EventEditRule\"\\\x0A\x17GetEventEditRuleRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/EventEditRule\"\x91\x01\x0A\x19ListEventEditRulesRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/EventEditRule\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"~\x0A\x1AListEventEditRulesResponse\x12G\x0A\x10event_edit_rules\x18\x01 \x03(\x0B2-.google.analytics.admin.v1alpha.EventEditRule\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x82\x01\x0A\x1CReorderEventEditRulesRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/EventEditRule\x12\x1D\x0A\x10event_edit_rules\x18\x02 \x03(\x09B\x03\xE0A\x02\"\x85\x01\x0A\x1BCreateRollupPropertyRequest\x12F\x0A\x0Frollup_property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\x12\x1E\x0A\x11source_properties\x18\x02 \x03(\x09B\x03\xE0A\x01\"\xC1\x01\x0A\x1CCreateRollupPropertyResponse\x12A\x0A\x0Frollup_property\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.Property\x12^\x0A\x1Crollup_property_source_links\x18\x02 \x03(\x0B28.google.analytics.admin.v1alpha.RollupPropertySourceLink\"r\x0A\"GetRollupPropertySourceLinkRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6analyticsadmin.googleapis.com/RollupPropertySourceLink\"\xA7\x01\x0A\$ListRollupPropertySourceLinksRequest\x12N\x0A\x06parent\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x126analyticsadmin.googleapis.com/RollupPropertySourceLink\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xA0\x01\x0A%ListRollupPropertySourceLinksResponse\x12^\x0A\x1Crollup_property_source_links\x18\x01 \x03(\x0B28.google.analytics.admin.v1alpha.RollupPropertySourceLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xDB\x01\x0A%CreateRollupPropertySourceLinkRequest\x12N\x0A\x06parent\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x126analyticsadmin.googleapis.com/RollupPropertySourceLink\x12b\x0A\x1Brollup_property_source_link\x18\x02 \x01(\x0B28.google.analytics.admin.v1alpha.RollupPropertySourceLinkB\x03\xE0A\x02\"u\x0A%DeleteRollupPropertySourceLinkRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6analyticsadmin.googleapis.com/RollupPropertySourceLink\"\xCB\x02\x0A\x1BProvisionSubpropertyRequest\x12B\x0A\x0Bsubproperty\x18\x02 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyB\x03\xE0A\x02\x12]\x0A\x18subproperty_event_filter\x18\x03 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilterB\x03\xE0A\x01\x12\x88\x01\x0A0custom_dimension_and_metric_synchronization_mode\x18\x04 \x01(\x0E2I.google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationModeB\x03\xE0A\x01\"\xB7\x01\x0A\x1CProvisionSubpropertyResponse\x12=\x0A\x0Bsubproperty\x18\x01 \x01(\x0B2(.google.analytics.admin.v1alpha.Property\x12X\x0A\x18subproperty_event_filter\x18\x02 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilter\"\xD2\x01\x0A#CreateSubpropertyEventFilterRequest\x12L\x0A\x06parent\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x124analyticsadmin.googleapis.com/SubpropertyEventFilter\x12]\x0A\x18subproperty_event_filter\x18\x02 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilterB\x03\xE0A\x02\"n\x0A GetSubpropertyEventFilterRequest\x12J\x0A\x04name\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x0A4analyticsadmin.googleapis.com/SubpropertyEventFilter\"\xA3\x01\x0A\"ListSubpropertyEventFiltersRequest\x12L\x0A\x06parent\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x124analyticsadmin.googleapis.com/SubpropertyEventFilter\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x99\x01\x0A#ListSubpropertyEventFiltersResponse\x12Y\x0A\x19subproperty_event_filters\x18\x01 \x03(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilter\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xBA\x01\x0A#UpdateSubpropertyEventFilterRequest\x12]\x0A\x18subproperty_event_filter\x18\x01 \x01(\x0B26.google.analytics.admin.v1alpha.SubpropertyEventFilterB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"q\x0A#DeleteSubpropertyEventFilterRequest\x12J\x0A\x04name\x18\x01 \x01(\x09B<\xE0A\x02\xFAA6\x0A4analyticsadmin.googleapis.com/SubpropertyEventFilter\"\xD6\x01\x0A\$CreateReportingDataAnnotationRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125analyticsadmin.googleapis.com/ReportingDataAnnotation\x12_\x0A\x19reporting_data_annotation\x18\x02 \x01(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotationB\x03\xE0A\x02\"p\x0A!GetReportingDataAnnotationRequest\x12K\x0A\x04name\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x0A5analyticsadmin.googleapis.com/ReportingDataAnnotation\"\xBA\x01\x0A#ListReportingDataAnnotationsRequest\x12M\x0A\x06parent\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x125analyticsadmin.googleapis.com/ReportingDataAnnotation\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\"\x9C\x01\x0A\$ListReportingDataAnnotationsResponse\x12[\x0A\x1Areporting_data_annotations\x18\x01 \x03(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotation\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xBD\x01\x0A\$UpdateReportingDataAnnotationRequest\x12_\x0A\x19reporting_data_annotation\x18\x01 \x01(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotationB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"s\x0A\$DeleteReportingDataAnnotationRequest\x12K\x0A\x04name\x18\x01 \x01(\x09B=\xE0A\x02\xFAA7\x0A5analyticsadmin.googleapis.com/ReportingDataAnnotation\"\xC2\x01\x0A\x19SubmitUserDeletionRequest\x12\x11\x0A\x07user_id\x18\x02 \x01(\x09H\x00\x12\x13\x0A\x09client_id\x18\x03 \x01(\x09H\x00\x12\x19\x0A\x0Fapp_instance_id\x18\x04 \x01(\x09H\x00\x12\x1C\x0A\x12user_provided_data\x18\x05 \x01(\x09H\x00\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/PropertyB\x06\x0A\x04user\"W\x0A\x1ASubmitUserDeletionResponse\x129\x0A\x15deletion_request_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\"l\x0A\x1FGetSubpropertySyncConfigRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/SubpropertySyncConfig\"\xA1\x01\x0A!ListSubpropertySyncConfigsRequest\x12K\x0A\x06parent\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x123analyticsadmin.googleapis.com/SubpropertySyncConfig\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x96\x01\x0A\"ListSubpropertySyncConfigsResponse\x12W\x0A\x18subproperty_sync_configs\x18\x01 \x03(\x0B25.google.analytics.admin.v1alpha.SubpropertySyncConfig\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB7\x01\x0A\"UpdateSubpropertySyncConfigRequest\x12[\x0A\x17subproperty_sync_config\x18\x01 \x01(\x0B25.google.analytics.admin.v1alpha.SubpropertySyncConfigB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"t\x0A#GetReportingIdentitySettingsRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/ReportingIdentitySettings\"r\x0A\"GetUserProvidedDataSettingsRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6analyticsadmin.googleapis.com/UserProvidedDataSettings2\x88\x99\x02\x0A\x15AnalyticsAdminService\x12\x93\x01\x0A\x0AGetAccount\x121.google.analytics.admin.v1alpha.GetAccountRequest\x1A'.google.analytics.admin.v1alpha.Account\")\xDAA\x04name\x82\xD3\xE4\x93\x02\x1C\x12\x1A/v1alpha/{name=accounts/*}\x12\x94\x01\x0A\x0CListAccounts\x123.google.analytics.admin.v1alpha.ListAccountsRequest\x1A4.google.analytics.admin.v1alpha.ListAccountsResponse\"\x19\x82\xD3\xE4\x93\x02\x13\x12\x11/v1alpha/accounts\x12\x88\x01\x0A\x0DDeleteAccount\x124.google.analytics.admin.v1alpha.DeleteAccountRequest\x1A\x16.google.protobuf.Empty\")\xDAA\x04name\x82\xD3\xE4\x93\x02\x1C*\x1A/v1alpha/{name=accounts/*}\x12\xB9\x01\x0A\x0DUpdateAccount\x124.google.analytics.admin.v1alpha.UpdateAccountRequest\x1A'.google.analytics.admin.v1alpha.Account\"I\xDAA\x13account,update_mask\x82\xD3\xE4\x93\x02-2\"/v1alpha/{account.name=accounts/*}:\x07account\x12\xCC\x01\x0A\x16ProvisionAccountTicket\x12=.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest\x1A>.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse\"3\x82\xD3\xE4\x93\x02-\"(/v1alpha/accounts:provisionAccountTicket:\x01*\x12\xB4\x01\x0A\x14ListAccountSummaries\x12;.google.analytics.admin.v1alpha.ListAccountSummariesRequest\x1A<.google.analytics.admin.v1alpha.ListAccountSummariesResponse\"!\x82\xD3\xE4\x93\x02\x1B\x12\x19/v1alpha/accountSummaries\x12\x98\x01\x0A\x0BGetProperty\x122.google.analytics.admin.v1alpha.GetPropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"+\xDAA\x04name\x82\xD3\xE4\x93\x02\x1E\x12\x1C/v1alpha/{name=properties/*}\x12\x9C\x01\x0A\x0EListProperties\x125.google.analytics.admin.v1alpha.ListPropertiesRequest\x1A6.google.analytics.admin.v1alpha.ListPropertiesResponse\"\x1B\x82\xD3\xE4\x93\x02\x15\x12\x13/v1alpha/properties\x12\xA3\x01\x0A\x0ECreateProperty\x125.google.analytics.admin.v1alpha.CreatePropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"0\xDAA\x08property\x82\xD3\xE4\x93\x02\x1F\"\x13/v1alpha/properties:\x08property\x12\x9E\x01\x0A\x0EDeleteProperty\x125.google.analytics.admin.v1alpha.DeletePropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"+\xDAA\x04name\x82\xD3\xE4\x93\x02\x1E*\x1C/v1alpha/{name=properties/*}\x12\xC1\x01\x0A\x0EUpdateProperty\x125.google.analytics.admin.v1alpha.UpdatePropertyRequest\x1A(.google.analytics.admin.v1alpha.Property\"N\xDAA\x14property,update_mask\x82\xD3\xE4\x93\x0212%/v1alpha/{property.name=properties/*}:\x08property\x12\xD9\x01\x0A\x12CreateFirebaseLink\x129.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest\x1A,.google.analytics.admin.v1alpha.FirebaseLink\"Z\xDAA\x14parent,firebase_link\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/firebaseLinks:\x0Dfirebase_link\x12\xA4\x01\x0A\x12DeleteFirebaseLink\x129.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest\x1A\x16.google.protobuf.Empty\";\xDAA\x04name\x82\xD3\xE4\x93\x02.*,/v1alpha/{name=properties/*/firebaseLinks/*}\x12\xC7\x01\x0A\x11ListFirebaseLinks\x128.google.analytics.admin.v1alpha.ListFirebaseLinksRequest\x1A9.google.analytics.admin.v1alpha.ListFirebaseLinksResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/firebaseLinks\x12\xC3\x01\x0A\x10GetGlobalSiteTag\x127.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest\x1A-.google.analytics.admin.v1alpha.GlobalSiteTag\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\x128/v1alpha/{name=properties/*/dataStreams/*/globalSiteTag}\x12\xE1\x01\x0A\x13CreateGoogleAdsLink\x12:.google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest\x1A-.google.analytics.admin.v1alpha.GoogleAdsLink\"_\xDAA\x16parent,google_ads_link\x82\xD3\xE4\x93\x02@\"-/v1alpha/{parent=properties/*}/googleAdsLinks:\x0Fgoogle_ads_link\x12\xF6\x01\x0A\x13UpdateGoogleAdsLink\x12:.google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest\x1A-.google.analytics.admin.v1alpha.GoogleAdsLink\"t\xDAA\x1Bgoogle_ads_link,update_mask\x82\xD3\xE4\x93\x02P2=/v1alpha/{google_ads_link.name=properties/*/googleAdsLinks/*}:\x0Fgoogle_ads_link\x12\xA7\x01\x0A\x13DeleteGoogleAdsLink\x12:.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest\x1A\x16.google.protobuf.Empty\"<\xDAA\x04name\x82\xD3\xE4\x93\x02/*-/v1alpha/{name=properties/*/googleAdsLinks/*}\x12\xCB\x01\x0A\x12ListGoogleAdsLinks\x129.google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest\x1A:.google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse\">\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1alpha/{parent=properties/*}/googleAdsLinks\x12\xCB\x01\x0A\x16GetDataSharingSettings\x12=.google.analytics.admin.v1alpha.GetDataSharingSettingsRequest\x1A3.google.analytics.admin.v1alpha.DataSharingSettings\"=\xDAA\x04name\x82\xD3\xE4\x93\x020\x12./v1alpha/{name=accounts/*/dataSharingSettings}\x12\xF6\x01\x0A\x1CGetMeasurementProtocolSecret\x12C.google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest\x1A9.google.analytics.admin.v1alpha.MeasurementProtocolSecret\"V\xDAA\x04name\x82\xD3\xE4\x93\x02I\x12G/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}\x12\x89\x02\x0A\x1EListMeasurementProtocolSecrets\x12E.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest\x1AF.google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse\"X\xDAA\x06parent\x82\xD3\xE4\x93\x02I\x12G/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets\x12\xB8\x02\x0A\x1FCreateMeasurementProtocolSecret\x12F.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest\x1A9.google.analytics.admin.v1alpha.MeasurementProtocolSecret\"\x91\x01\xDAA\"parent,measurement_protocol_secret\x82\xD3\xE4\x93\x02f\"G/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets:\x1Bmeasurement_protocol_secret\x12\xD9\x01\x0A\x1FDeleteMeasurementProtocolSecret\x12F.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest\x1A\x16.google.protobuf.Empty\"V\xDAA\x04name\x82\xD3\xE4\x93\x02I*G/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}\x12\xDA\x02\x0A\x1FUpdateMeasurementProtocolSecret\x12F.google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest\x1A9.google.analytics.admin.v1alpha.MeasurementProtocolSecret\"\xB3\x01\xDAA'measurement_protocol_secret,update_mask\x82\xD3\xE4\x93\x02\x82\x012c/v1alpha/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}:\x1Bmeasurement_protocol_secret\x12\xF7\x01\x0A\x1DAcknowledgeUserDataCollection\x12D.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest\x1AE.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse\"I\x82\xD3\xE4\x93\x02C\">/v1alpha/{property=properties/*}:acknowledgeUserDataCollection:\x01*\x12\x91\x02\x0A#GetSKAdNetworkConversionValueSchema\x12J.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest\x1A@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\"\\\xDAA\x04name\x82\xD3\xE4\x93\x02O\x12M/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}\x12\xE3\x02\x0A&CreateSKAdNetworkConversionValueSchema\x12M.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest\x1A@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\"\xA7\x01\xDAA*parent,skadnetwork_conversion_value_schema\x82\xD3\xE4\x93\x02t\"M/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema:#skadnetwork_conversion_value_schema\x12\xED\x01\x0A&DeleteSKAdNetworkConversionValueSchema\x12M.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest\x1A\x16.google.protobuf.Empty\"\\\xDAA\x04name\x82\xD3\xE4\x93\x02O*M/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}\x12\x8D\x03\x0A&UpdateSKAdNetworkConversionValueSchema\x12M.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest\x1A@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema\"\xD1\x01\xDAA/skadnetwork_conversion_value_schema,update_mask\x82\xD3\xE4\x93\x02\x98\x012q/v1alpha/{skadnetwork_conversion_value_schema.name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}:#skadnetwork_conversion_value_schema\x12\xA4\x02\x0A%ListSKAdNetworkConversionValueSchemas\x12L.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest\x1AM.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse\"^\xDAA\x06parent\x82\xD3\xE4\x93\x02O\x12M/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema\x12\xE4\x01\x0A\x19SearchChangeHistoryEvents\x12@.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest\x1AA.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse\"B\x82\xD3\xE4\x93\x02<\"7/v1alpha/{account=accounts/*}:searchChangeHistoryEvents:\x01*\x12\xD5\x01\x0A\x18GetGoogleSignalsSettings\x12?.google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest\x1A5.google.analytics.admin.v1alpha.GoogleSignalsSettings\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\x122/v1alpha/{name=properties/*/googleSignalsSettings}\x12\xAC\x02\x0A\x1BUpdateGoogleSignalsSettings\x12B.google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest\x1A5.google.analytics.admin.v1alpha.GoogleSignalsSettings\"\x91\x01\xDAA#google_signals_settings,update_mask\x82\xD3\xE4\x93\x02e2J/v1alpha/{google_signals_settings.name=properties/*/googleSignalsSettings}:\x17google_signals_settings\x12\xEE\x01\x0A\x15CreateConversionEvent\x12<.google.analytics.admin.v1alpha.CreateConversionEventRequest\x1A/.google.analytics.admin.v1alpha.ConversionEvent\"f\x88\x02\x01\xDAA\x17parent,conversion_event\x82\xD3\xE4\x93\x02C\"//v1alpha/{parent=properties/*}/conversionEvents:\x10conversion_event\x12\x84\x02\x0A\x15UpdateConversionEvent\x12<.google.analytics.admin.v1alpha.UpdateConversionEventRequest\x1A/.google.analytics.admin.v1alpha.ConversionEvent\"|\x88\x02\x01\xDAA\x1Cconversion_event,update_mask\x82\xD3\xE4\x93\x02T2@/v1alpha/{conversion_event.name=properties/*/conversionEvents/*}:\x10conversion_event\x12\xC3\x01\x0A\x12GetConversionEvent\x129.google.analytics.admin.v1alpha.GetConversionEventRequest\x1A/.google.analytics.admin.v1alpha.ConversionEvent\"A\x88\x02\x01\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1alpha/{name=properties/*/conversionEvents/*}\x12\xB0\x01\x0A\x15DeleteConversionEvent\x12<.google.analytics.admin.v1alpha.DeleteConversionEventRequest\x1A\x16.google.protobuf.Empty\"A\x88\x02\x01\xDAA\x04name\x82\xD3\xE4\x93\x021*//v1alpha/{name=properties/*/conversionEvents/*}\x12\xD6\x01\x0A\x14ListConversionEvents\x12;.google.analytics.admin.v1alpha.ListConversionEventsRequest\x1A<.google.analytics.admin.v1alpha.ListConversionEventsResponse\"C\x88\x02\x01\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1alpha/{parent=properties/*}/conversionEvents\x12\xC1\x01\x0A\x0ECreateKeyEvent\x125.google.analytics.admin.v1alpha.CreateKeyEventRequest\x1A(.google.analytics.admin.v1alpha.KeyEvent\"N\xDAA\x10parent,key_event\x82\xD3\xE4\x93\x025\"(/v1alpha/{parent=properties/*}/keyEvents:\x09key_event\x12\xD0\x01\x0A\x0EUpdateKeyEvent\x125.google.analytics.admin.v1alpha.UpdateKeyEventRequest\x1A(.google.analytics.admin.v1alpha.KeyEvent\"]\xDAA\x15key_event,update_mask\x82\xD3\xE4\x93\x02?22/v1alpha/{key_event.name=properties/*/keyEvents/*}:\x09key_event\x12\xA4\x01\x0A\x0BGetKeyEvent\x122.google.analytics.admin.v1alpha.GetKeyEventRequest\x1A(.google.analytics.admin.v1alpha.KeyEvent\"7\xDAA\x04name\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{name=properties/*/keyEvents/*}\x12\x98\x01\x0A\x0EDeleteKeyEvent\x125.google.analytics.admin.v1alpha.DeleteKeyEventRequest\x1A\x16.google.protobuf.Empty\"7\xDAA\x04name\x82\xD3\xE4\x93\x02**(/v1alpha/{name=properties/*/keyEvents/*}\x12\xB7\x01\x0A\x0DListKeyEvents\x124.google.analytics.admin.v1alpha.ListKeyEventsRequest\x1A5.google.analytics.admin.v1alpha.ListKeyEventsResponse\"9\xDAA\x06parent\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{parent=properties/*}/keyEvents\x12\xF8\x01\x0A GetDisplayVideo360AdvertiserLink\x12G.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest\x1A=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}\x12\x8B\x02\x0A\"ListDisplayVideo360AdvertiserLinks\x12I.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest\x1AJ.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse\"N\xDAA\x06parent\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks\x12\xC6\x02\x0A#CreateDisplayVideo360AdvertiserLink\x12J.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest\x1A=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"\x93\x01\xDAA(parent,display_video_360_advertiser_link\x82\xD3\xE4\x93\x02b\"=/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks:!display_video_360_advertiser_link\x12\xD7\x01\x0A#DeleteDisplayVideo360AdvertiserLink\x12J.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest\x1A\x16.google.protobuf.Empty\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?*=/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}\x12\xEE\x02\x0A#UpdateDisplayVideo360AdvertiserLink\x12J.google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest\x1A=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink\"\xBB\x01\xDAA-display_video_360_advertiser_link,update_mask\x82\xD3\xE4\x93\x02\x84\x012_/v1alpha/{display_video_360_advertiser_link.name=properties/*/displayVideo360AdvertiserLinks/*}:!display_video_360_advertiser_link\x12\x98\x02\x0A(GetDisplayVideo360AdvertiserLinkProposal\x12O.google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest\x1AE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\"T\xDAA\x04name\x82\xD3\xE4\x93\x02G\x12E/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}\x12\xAB\x02\x0A*ListDisplayVideo360AdvertiserLinkProposals\x12Q.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest\x1AR.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse\"V\xDAA\x06parent\x82\xD3\xE4\x93\x02G\x12E/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals\x12\xF8\x02\x0A+CreateDisplayVideo360AdvertiserLinkProposal\x12R.google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest\x1AE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\"\xAD\x01\xDAA1parent,display_video_360_advertiser_link_proposal\x82\xD3\xE4\x93\x02s\"E/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals:*display_video_360_advertiser_link_proposal\x12\xEF\x01\x0A+DeleteDisplayVideo360AdvertiserLinkProposal\x12R.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest\x1A\x16.google.protobuf.Empty\"T\xDAA\x04name\x82\xD3\xE4\x93\x02G*E/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}\x12\xB3\x02\x0A,ApproveDisplayVideo360AdvertiserLinkProposal\x12S.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest\x1AT.google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse\"X\x82\xD3\xE4\x93\x02R\"M/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve:\x01*\x12\xA1\x02\x0A+CancelDisplayVideo360AdvertiserLinkProposal\x12R.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest\x1AE.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal\"W\x82\xD3\xE4\x93\x02Q\"L/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:cancel:\x01*\x12\xEB\x01\x0A\x15CreateCustomDimension\x12<.google.analytics.admin.v1alpha.CreateCustomDimensionRequest\x1A/.google.analytics.admin.v1alpha.CustomDimension\"c\xDAA\x17parent,custom_dimension\x82\xD3\xE4\x93\x02C\"//v1alpha/{parent=properties/*}/customDimensions:\x10custom_dimension\x12\x81\x02\x0A\x15UpdateCustomDimension\x12<.google.analytics.admin.v1alpha.UpdateCustomDimensionRequest\x1A/.google.analytics.admin.v1alpha.CustomDimension\"y\xDAA\x1Ccustom_dimension,update_mask\x82\xD3\xE4\x93\x02T2@/v1alpha/{custom_dimension.name=properties/*/customDimensions/*}:\x10custom_dimension\x12\xD3\x01\x0A\x14ListCustomDimensions\x12;.google.analytics.admin.v1alpha.ListCustomDimensionsRequest\x1A<.google.analytics.admin.v1alpha.ListCustomDimensionsResponse\"@\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1alpha/{parent=properties/*}/customDimensions\x12\xBA\x01\x0A\x16ArchiveCustomDimension\x12=.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest\x1A\x16.google.protobuf.Empty\"I\xDAA\x04name\x82\xD3\xE4\x93\x02<\"7/v1alpha/{name=properties/*/customDimensions/*}:archive:\x01*\x12\xC0\x01\x0A\x12GetCustomDimension\x129.google.analytics.admin.v1alpha.GetCustomDimensionRequest\x1A/.google.analytics.admin.v1alpha.CustomDimension\">\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1alpha/{name=properties/*/customDimensions/*}\x12\xD9\x01\x0A\x12CreateCustomMetric\x129.google.analytics.admin.v1alpha.CreateCustomMetricRequest\x1A,.google.analytics.admin.v1alpha.CustomMetric\"Z\xDAA\x14parent,custom_metric\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/customMetrics:\x0Dcustom_metric\x12\xEC\x01\x0A\x12UpdateCustomMetric\x129.google.analytics.admin.v1alpha.UpdateCustomMetricRequest\x1A,.google.analytics.admin.v1alpha.CustomMetric\"m\xDAA\x19custom_metric,update_mask\x82\xD3\xE4\x93\x02K2:/v1alpha/{custom_metric.name=properties/*/customMetrics/*}:\x0Dcustom_metric\x12\xC7\x01\x0A\x11ListCustomMetrics\x128.google.analytics.admin.v1alpha.ListCustomMetricsRequest\x1A9.google.analytics.admin.v1alpha.ListCustomMetricsResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/customMetrics\x12\xB1\x01\x0A\x13ArchiveCustomMetric\x12:.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest\x1A\x16.google.protobuf.Empty\"F\xDAA\x04name\x82\xD3\xE4\x93\x029\"4/v1alpha/{name=properties/*/customMetrics/*}:archive:\x01*\x12\xB4\x01\x0A\x0FGetCustomMetric\x126.google.analytics.admin.v1alpha.GetCustomMetricRequest\x1A,.google.analytics.admin.v1alpha.CustomMetric\";\xDAA\x04name\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{name=properties/*/customMetrics/*}\x12\xD5\x01\x0A\x18GetDataRetentionSettings\x12?.google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRetentionSettings\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\x122/v1alpha/{name=properties/*/dataRetentionSettings}\x12\xAC\x02\x0A\x1BUpdateDataRetentionSettings\x12B.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRetentionSettings\"\x91\x01\xDAA#data_retention_settings,update_mask\x82\xD3\xE4\x93\x02e2J/v1alpha/{data_retention_settings.name=properties/*/dataRetentionSettings}:\x17data_retention_settings\x12\xCD\x01\x0A\x10CreateDataStream\x127.google.analytics.admin.v1alpha.CreateDataStreamRequest\x1A*.google.analytics.admin.v1alpha.DataStream\"T\xDAA\x12parent,data_stream\x82\xD3\xE4\x93\x029\"*/v1alpha/{parent=properties/*}/dataStreams:\x0Bdata_stream\x12\x9E\x01\x0A\x10DeleteDataStream\x127.google.analytics.admin.v1alpha.DeleteDataStreamRequest\x1A\x16.google.protobuf.Empty\"9\xDAA\x04name\x82\xD3\xE4\x93\x02,**/v1alpha/{name=properties/*/dataStreams/*}\x12\xDE\x01\x0A\x10UpdateDataStream\x127.google.analytics.admin.v1alpha.UpdateDataStreamRequest\x1A*.google.analytics.admin.v1alpha.DataStream\"e\xDAA\x17data_stream,update_mask\x82\xD3\xE4\x93\x02E26/v1alpha/{data_stream.name=properties/*/dataStreams/*}:\x0Bdata_stream\x12\xBF\x01\x0A\x0FListDataStreams\x126.google.analytics.admin.v1alpha.ListDataStreamsRequest\x1A7.google.analytics.admin.v1alpha.ListDataStreamsResponse\";\xDAA\x06parent\x82\xD3\xE4\x93\x02,\x12*/v1alpha/{parent=properties/*}/dataStreams\x12\xAC\x01\x0A\x0DGetDataStream\x124.google.analytics.admin.v1alpha.GetDataStreamRequest\x1A*.google.analytics.admin.v1alpha.DataStream\"9\xDAA\x04name\x82\xD3\xE4\x93\x02,\x12*/v1alpha/{name=properties/*/dataStreams/*}\x12\xA4\x01\x0A\x0BGetAudience\x122.google.analytics.admin.v1alpha.GetAudienceRequest\x1A(.google.analytics.admin.v1alpha.Audience\"7\xDAA\x04name\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{name=properties/*/audiences/*}\x12\xB7\x01\x0A\x0DListAudiences\x124.google.analytics.admin.v1alpha.ListAudiencesRequest\x1A5.google.analytics.admin.v1alpha.ListAudiencesResponse\"9\xDAA\x06parent\x82\xD3\xE4\x93\x02*\x12(/v1alpha/{parent=properties/*}/audiences\x12\xBF\x01\x0A\x0ECreateAudience\x125.google.analytics.admin.v1alpha.CreateAudienceRequest\x1A(.google.analytics.admin.v1alpha.Audience\"L\xDAA\x0Fparent,audience\x82\xD3\xE4\x93\x024\"(/v1alpha/{parent=properties/*}/audiences:\x08audience\x12\xCD\x01\x0A\x0EUpdateAudience\x125.google.analytics.admin.v1alpha.UpdateAudienceRequest\x1A(.google.analytics.admin.v1alpha.Audience\"Z\xDAA\x14audience,update_mask\x82\xD3\xE4\x93\x02=21/v1alpha/{audience.name=properties/*/audiences/*}:\x08audience\x12\x9E\x01\x0A\x0FArchiveAudience\x126.google.analytics.admin.v1alpha.ArchiveAudienceRequest\x1A\x16.google.protobuf.Empty\";\x82\xD3\xE4\x93\x025\"0/v1alpha/{name=properties/*/audiences/*}:archive:\x01*\x12\xC4\x01\x0A\x13GetSearchAds360Link\x12:.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest\x1A0.google.analytics.admin.v1alpha.SearchAds360Link\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1alpha/{name=properties/*/searchAds360Links/*}\x12\xD7\x01\x0A\x15ListSearchAds360Links\x12<.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest\x1A=.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse\"A\xDAA\x06parent\x82\xD3\xE4\x93\x022\x120/v1alpha/{parent=properties/*}/searchAds360Links\x12\xF5\x01\x0A\x16CreateSearchAds360Link\x12=.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest\x1A0.google.analytics.admin.v1alpha.SearchAds360Link\"j\xDAA\x1Aparent,search_ads_360_link\x82\xD3\xE4\x93\x02G\"0/v1alpha/{parent=properties/*}/searchAds360Links:\x13search_ads_360_link\x12\xB0\x01\x0A\x16DeleteSearchAds360Link\x12=.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest\x1A\x16.google.protobuf.Empty\"?\xDAA\x04name\x82\xD3\xE4\x93\x022*0/v1alpha/{name=properties/*/searchAds360Links/*}\x12\x8F\x02\x0A\x16UpdateSearchAds360Link\x12=.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest\x1A0.google.analytics.admin.v1alpha.SearchAds360Link\"\x83\x01\xDAA\x1Fsearch_ads_360_link,update_mask\x82\xD3\xE4\x93\x02[2D/v1alpha/{search_ads_360_link.name=properties/*/searchAds360Links/*}:\x13search_ads_360_link\x12\xCD\x01\x0A\x16GetAttributionSettings\x12=.google.analytics.admin.v1alpha.GetAttributionSettingsRequest\x1A3.google.analytics.admin.v1alpha.AttributionSettings\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1alpha/{name=properties/*/attributionSettings}\x12\x9B\x02\x0A\x19UpdateAttributionSettings\x12@.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest\x1A3.google.analytics.admin.v1alpha.AttributionSettings\"\x86\x01\xDAA attribution_settings,update_mask\x82\xD3\xE4\x93\x02]2E/v1alpha/{attribution_settings.name=properties/*/attributionSettings}:\x14attribution_settings\x12\xF0\x01\x0A\x0FRunAccessReport\x126.google.analytics.admin.v1alpha.RunAccessReportRequest\x1A7.google.analytics.admin.v1alpha.RunAccessReportResponse\"l\x82\xD3\xE4\x93\x02f\"./v1alpha/{entity=properties/*}:runAccessReport:\x01*Z1\",/v1alpha/{entity=accounts/*}:runAccessReport:\x01*\x12\x9F\x02\x0A\x13CreateAccessBinding\x12:.google.analytics.admin.v1alpha.CreateAccessBindingRequest\x1A-.google.analytics.admin.v1alpha.AccessBinding\"\x9C\x01\xDAA\x15parent,access_binding\x82\xD3\xE4\x93\x02~\"+/v1alpha/{parent=accounts/*}/accessBindings:\x0Eaccess_bindingZ?\"-/v1alpha/{parent=properties/*}/accessBindings:\x0Eaccess_binding\x12\xE7\x01\x0A\x10GetAccessBinding\x127.google.analytics.admin.v1alpha.GetAccessBindingRequest\x1A-.google.analytics.admin.v1alpha.AccessBinding\"k\xDAA\x04name\x82\xD3\xE4\x93\x02^\x12+/v1alpha/{name=accounts/*/accessBindings/*}Z/\x12-/v1alpha/{name=properties/*/accessBindings/*}\x12\xB7\x02\x0A\x13UpdateAccessBinding\x12:.google.analytics.admin.v1alpha.UpdateAccessBindingRequest\x1A-.google.analytics.admin.v1alpha.AccessBinding\"\xB4\x01\xDAA\x0Eaccess_binding\x82\xD3\xE4\x93\x02\x9C\x012:/v1alpha/{access_binding.name=accounts/*/accessBindings/*}:\x0Eaccess_bindingZN2\"9/v1alpha/{parent=properties/*}/accessBindings:batchCreate:\x01*\x12\x8F\x02\x0A\x16BatchGetAccessBindings\x12=.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest\x1A>.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse\"v\x82\xD3\xE4\x93\x02p\x124/v1alpha/{parent=accounts/*}/accessBindings:batchGetZ8\x126/v1alpha/{parent=properties/*}/accessBindings:batchGet\x12\xA5\x02\x0A\x19BatchUpdateAccessBindings\x12@.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest\x1AA.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse\"\x82\x01\x82\xD3\xE4\x93\x02|\"7/v1alpha/{parent=accounts/*}/accessBindings:batchUpdate:\x01*Z>\"9/v1alpha/{parent=properties/*}/accessBindings:batchUpdate:\x01*\x12\xFA\x01\x0A\x19BatchDeleteAccessBindings\x12@.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest\x1A\x16.google.protobuf.Empty\"\x82\x01\x82\xD3\xE4\x93\x02|\"7/v1alpha/{parent=accounts/*}/accessBindings:batchDelete:\x01*Z>\"9/v1alpha/{parent=properties/*}/accessBindings:batchDelete:\x01*\x12\xC0\x01\x0A\x12GetExpandedDataSet\x129.google.analytics.admin.v1alpha.GetExpandedDataSetRequest\x1A/.google.analytics.admin.v1alpha.ExpandedDataSet\">\xDAA\x04name\x82\xD3\xE4\x93\x021\x12//v1alpha/{name=properties/*/expandedDataSets/*}\x12\xD3\x01\x0A\x14ListExpandedDataSets\x12;.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest\x1A<.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse\"@\xDAA\x06parent\x82\xD3\xE4\x93\x021\x12//v1alpha/{parent=properties/*}/expandedDataSets\x12\xED\x01\x0A\x15CreateExpandedDataSet\x12<.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest\x1A/.google.analytics.admin.v1alpha.ExpandedDataSet\"e\xDAA\x18parent,expanded_data_set\x82\xD3\xE4\x93\x02D\"//v1alpha/{parent=properties/*}/expandedDataSets:\x11expanded_data_set\x12\x84\x02\x0A\x15UpdateExpandedDataSet\x12<.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest\x1A/.google.analytics.admin.v1alpha.ExpandedDataSet\"|\xDAA\x1Dexpanded_data_set,update_mask\x82\xD3\xE4\x93\x02V2A/v1alpha/{expanded_data_set.name=properties/*/expandedDataSets/*}:\x11expanded_data_set\x12\xAD\x01\x0A\x15DeleteExpandedDataSet\x12<.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest\x1A\x16.google.protobuf.Empty\">\xDAA\x04name\x82\xD3\xE4\x93\x021*//v1alpha/{name=properties/*/expandedDataSets/*}\x12\xB4\x01\x0A\x0FGetChannelGroup\x126.google.analytics.admin.v1alpha.GetChannelGroupRequest\x1A,.google.analytics.admin.v1alpha.ChannelGroup\";\xDAA\x04name\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{name=properties/*/channelGroups/*}\x12\xC7\x01\x0A\x11ListChannelGroups\x128.google.analytics.admin.v1alpha.ListChannelGroupsRequest\x1A9.google.analytics.admin.v1alpha.ListChannelGroupsResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/channelGroups\x12\xD9\x01\x0A\x12CreateChannelGroup\x129.google.analytics.admin.v1alpha.CreateChannelGroupRequest\x1A,.google.analytics.admin.v1alpha.ChannelGroup\"Z\xDAA\x14parent,channel_group\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/channelGroups:\x0Dchannel_group\x12\xEC\x01\x0A\x12UpdateChannelGroup\x129.google.analytics.admin.v1alpha.UpdateChannelGroupRequest\x1A,.google.analytics.admin.v1alpha.ChannelGroup\"m\xDAA\x19channel_group,update_mask\x82\xD3\xE4\x93\x02K2:/v1alpha/{channel_group.name=properties/*/channelGroups/*}:\x0Dchannel_group\x12\xA4\x01\x0A\x12DeleteChannelGroup\x129.google.analytics.admin.v1alpha.DeleteChannelGroupRequest\x1A\x16.google.protobuf.Empty\";\xDAA\x04name\x82\xD3\xE4\x93\x02.*,/v1alpha/{name=properties/*/channelGroups/*}\x12\xD9\x01\x0A\x12CreateBigQueryLink\x129.google.analytics.admin.v1alpha.CreateBigQueryLinkRequest\x1A,.google.analytics.admin.v1alpha.BigQueryLink\"Z\xDAA\x14parent,bigquery_link\x82\xD3\xE4\x93\x02=\",/v1alpha/{parent=properties/*}/bigQueryLinks:\x0Dbigquery_link\x12\xB4\x01\x0A\x0FGetBigQueryLink\x126.google.analytics.admin.v1alpha.GetBigQueryLinkRequest\x1A,.google.analytics.admin.v1alpha.BigQueryLink\";\xDAA\x04name\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{name=properties/*/bigQueryLinks/*}\x12\xC7\x01\x0A\x11ListBigQueryLinks\x128.google.analytics.admin.v1alpha.ListBigQueryLinksRequest\x1A9.google.analytics.admin.v1alpha.ListBigQueryLinksResponse\"=\xDAA\x06parent\x82\xD3\xE4\x93\x02.\x12,/v1alpha/{parent=properties/*}/bigQueryLinks\x12\xA4\x01\x0A\x12DeleteBigQueryLink\x129.google.analytics.admin.v1alpha.DeleteBigQueryLinkRequest\x1A\x16.google.protobuf.Empty\";\xDAA\x04name\x82\xD3\xE4\x93\x02.*,/v1alpha/{name=properties/*/bigQueryLinks/*}\x12\xEC\x01\x0A\x12UpdateBigQueryLink\x129.google.analytics.admin.v1alpha.UpdateBigQueryLinkRequest\x1A,.google.analytics.admin.v1alpha.BigQueryLink\"m\xDAA\x19bigquery_link,update_mask\x82\xD3\xE4\x93\x02K2:/v1alpha/{bigquery_link.name=properties/*/bigQueryLinks/*}:\x0Dbigquery_link\x12\xFB\x01\x0A\x1EGetEnhancedMeasurementSettings\x12E.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest\x1A;.google.analytics.admin.v1alpha.EnhancedMeasurementSettings\"U\xDAA\x04name\x82\xD3\xE4\x93\x02H\x12F/v1alpha/{name=properties/*/dataStreams/*/enhancedMeasurementSettings}\x12\xE5\x02\x0A!UpdateEnhancedMeasurementSettings\x12H.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest\x1A;.google.analytics.admin.v1alpha.EnhancedMeasurementSettings\"\xB8\x01\xDAA)enhanced_measurement_settings,update_mask\x82\xD3\xE4\x93\x02\x85\x012d/v1alpha/{enhanced_measurement_settings.name=properties/*/dataStreams/*/enhancedMeasurementSettings}:\x1Denhanced_measurement_settings\x12\xB0\x01\x0A\x0EGetAdSenseLink\x125.google.analytics.admin.v1alpha.GetAdSenseLinkRequest\x1A+.google.analytics.admin.v1alpha.AdSenseLink\":\xDAA\x04name\x82\xD3\xE4\x93\x02-\x12+/v1alpha/{name=properties/*/adSenseLinks/*}\x12\xD3\x01\x0A\x11CreateAdSenseLink\x128.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest\x1A+.google.analytics.admin.v1alpha.AdSenseLink\"W\xDAA\x13parent,adsense_link\x82\xD3\xE4\x93\x02;\"+/v1alpha/{parent=properties/*}/adSenseLinks:\x0Cadsense_link\x12\xA1\x01\x0A\x11DeleteAdSenseLink\x128.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest\x1A\x16.google.protobuf.Empty\":\xDAA\x04name\x82\xD3\xE4\x93\x02-*+/v1alpha/{name=properties/*/adSenseLinks/*}\x12\xC3\x01\x0A\x10ListAdSenseLinks\x127.google.analytics.admin.v1alpha.ListAdSenseLinksRequest\x1A8.google.analytics.admin.v1alpha.ListAdSenseLinksResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1alpha/{parent=properties/*}/adSenseLinks\x12\xCE\x01\x0A\x12GetEventCreateRule\x129.google.analytics.admin.v1alpha.GetEventCreateRuleRequest\x1A/.google.analytics.admin.v1alpha.EventCreateRule\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}\x12\xE1\x01\x0A\x14ListEventCreateRules\x12;.google.analytics.admin.v1alpha.ListEventCreateRulesRequest\x1A<.google.analytics.admin.v1alpha.ListEventCreateRulesResponse\"N\xDAA\x06parent\x82\xD3\xE4\x93\x02?\x12=/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules\x12\xFB\x01\x0A\x15CreateEventCreateRule\x12<.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest\x1A/.google.analytics.admin.v1alpha.EventCreateRule\"s\xDAA\x18parent,event_create_rule\x82\xD3\xE4\x93\x02R\"=/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules:\x11event_create_rule\x12\x93\x02\x0A\x15UpdateEventCreateRule\x12<.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest\x1A/.google.analytics.admin.v1alpha.EventCreateRule\"\x8A\x01\xDAA\x1Devent_create_rule,update_mask\x82\xD3\xE4\x93\x02d2O/v1alpha/{event_create_rule.name=properties/*/dataStreams/*/eventCreateRules/*}:\x11event_create_rule\x12\xBB\x01\x0A\x15DeleteEventCreateRule\x12<.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest\x1A\x16.google.protobuf.Empty\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?*=/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}\x12\xC6\x01\x0A\x10GetEventEditRule\x127.google.analytics.admin.v1alpha.GetEventEditRuleRequest\x1A-.google.analytics.admin.v1alpha.EventEditRule\"J\xDAA\x04name\x82\xD3\xE4\x93\x02=\x12;/v1alpha/{name=properties/*/dataStreams/*/eventEditRules/*}\x12\xD9\x01\x0A\x12ListEventEditRules\x129.google.analytics.admin.v1alpha.ListEventEditRulesRequest\x1A:.google.analytics.admin.v1alpha.ListEventEditRulesResponse\"L\xDAA\x06parent\x82\xD3\xE4\x93\x02=\x12;/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules\x12\xEF\x01\x0A\x13CreateEventEditRule\x12:.google.analytics.admin.v1alpha.CreateEventEditRuleRequest\x1A-.google.analytics.admin.v1alpha.EventEditRule\"m\xDAA\x16parent,event_edit_rule\x82\xD3\xE4\x93\x02N\";/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules:\x0Fevent_edit_rule\x12\x85\x02\x0A\x13UpdateEventEditRule\x12:.google.analytics.admin.v1alpha.UpdateEventEditRuleRequest\x1A-.google.analytics.admin.v1alpha.EventEditRule\"\x82\x01\xDAA\x1Bevent_edit_rule,update_mask\x82\xD3\xE4\x93\x02^2K/v1alpha/{event_edit_rule.name=properties/*/dataStreams/*/eventEditRules/*}:\x0Fevent_edit_rule\x12\xB5\x01\x0A\x13DeleteEventEditRule\x12:.google.analytics.admin.v1alpha.DeleteEventEditRuleRequest\x1A\x16.google.protobuf.Empty\"J\xDAA\x04name\x82\xD3\xE4\x93\x02=*;/v1alpha/{name=properties/*/dataStreams/*/eventEditRules/*}\x12\xBD\x01\x0A\x15ReorderEventEditRules\x12<.google.analytics.admin.v1alpha.ReorderEventEditRulesRequest\x1A\x16.google.protobuf.Empty\"N\x82\xD3\xE4\x93\x02H\"C/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules:reorder:\x01*\x12\xBA\x02\x0A\x1BUpdateDataRedactionSettings\x12B.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRedactionSettings\"\x9F\x01\xDAA#data_redaction_settings,update_mask\x82\xD3\xE4\x93\x02s2X/v1alpha/{data_redaction_settings.name=properties/*/dataStreams/*/dataRedactionSettings}:\x17data_redaction_settings\x12\xE3\x01\x0A\x18GetDataRedactionSettings\x12?.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest\x1A5.google.analytics.admin.v1alpha.DataRedactionSettings\"O\xDAA\x04name\x82\xD3\xE4\x93\x02B\x12@/v1alpha/{name=properties/*/dataStreams/*/dataRedactionSettings}\x12\xC4\x01\x0A\x13GetCalculatedMetric\x12:.google.analytics.admin.v1alpha.GetCalculatedMetricRequest\x1A0.google.analytics.admin.v1alpha.CalculatedMetric\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1alpha/{name=properties/*/calculatedMetrics/*}\x12\x86\x02\x0A\x16CreateCalculatedMetric\x12=.google.analytics.admin.v1alpha.CreateCalculatedMetricRequest\x1A0.google.analytics.admin.v1alpha.CalculatedMetric\"{\xDAA-parent,calculated_metric,calculated_metric_id\x82\xD3\xE4\x93\x02E\"0/v1alpha/{parent=properties/*}/calculatedMetrics:\x11calculated_metric\x12\xD7\x01\x0A\x15ListCalculatedMetrics\x12<.google.analytics.admin.v1alpha.ListCalculatedMetricsRequest\x1A=.google.analytics.admin.v1alpha.ListCalculatedMetricsResponse\"A\xDAA\x06parent\x82\xD3\xE4\x93\x022\x120/v1alpha/{parent=properties/*}/calculatedMetrics\x12\x88\x02\x0A\x16UpdateCalculatedMetric\x12=.google.analytics.admin.v1alpha.UpdateCalculatedMetricRequest\x1A0.google.analytics.admin.v1alpha.CalculatedMetric\"}\xDAA\x1Dcalculated_metric,update_mask\x82\xD3\xE4\x93\x02W2B/v1alpha/{calculated_metric.name=properties/*/calculatedMetrics/*}:\x11calculated_metric\x12\xB0\x01\x0A\x16DeleteCalculatedMetric\x12=.google.analytics.admin.v1alpha.DeleteCalculatedMetricRequest\x1A\x16.google.protobuf.Empty\"?\xDAA\x04name\x82\xD3\xE4\x93\x022*0/v1alpha/{name=properties/*/calculatedMetrics/*}\x12\xC6\x01\x0A\x14CreateRollupProperty\x12;.google.analytics.admin.v1alpha.CreateRollupPropertyRequest\x1A<.google.analytics.admin.v1alpha.CreateRollupPropertyResponse\"3\x82\xD3\xE4\x93\x02-\"(/v1alpha/properties:createRollupProperty:\x01*\x12\xE4\x01\x0A\x1BGetRollupPropertySourceLink\x12B.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest\x1A8.google.analytics.admin.v1alpha.RollupPropertySourceLink\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\x128/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}\x12\xF7\x01\x0A\x1DListRollupPropertySourceLinks\x12D.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest\x1AE.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse\"I\xDAA\x06parent\x82\xD3\xE4\x93\x02:\x128/v1alpha/{parent=properties/*}/rollupPropertySourceLinks\x12\xA6\x02\x0A\x1ECreateRollupPropertySourceLink\x12E.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest\x1A8.google.analytics.admin.v1alpha.RollupPropertySourceLink\"\x82\x01\xDAA\"parent,rollup_property_source_link\x82\xD3\xE4\x93\x02W\"8/v1alpha/{parent=properties/*}/rollupPropertySourceLinks:\x1Brollup_property_source_link\x12\xC8\x01\x0A\x1EDeleteRollupPropertySourceLink\x12E.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest\x1A\x16.google.protobuf.Empty\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:*8/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}\x12\xC6\x01\x0A\x14ProvisionSubproperty\x12;.google.analytics.admin.v1alpha.ProvisionSubpropertyRequest\x1A<.google.analytics.admin.v1alpha.ProvisionSubpropertyResponse\"3\x82\xD3\xE4\x93\x02-\"(/v1alpha/properties:provisionSubproperty:\x01*\x12\x97\x02\x0A\x1CCreateSubpropertyEventFilter\x12C.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest\x1A6.google.analytics.admin.v1alpha.SubpropertyEventFilter\"z\xDAA\x1Fparent,subproperty_event_filter\x82\xD3\xE4\x93\x02R\"6/v1alpha/{parent=properties/*}/subpropertyEventFilters:\x18subproperty_event_filter\x12\xDC\x01\x0A\x19GetSubpropertyEventFilter\x12@.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest\x1A6.google.analytics.admin.v1alpha.SubpropertyEventFilter\"E\xDAA\x04name\x82\xD3\xE4\x93\x028\x126/v1alpha/{name=properties/*/subpropertyEventFilters/*}\x12\xEF\x01\x0A\x1BListSubpropertyEventFilters\x12B.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest\x1AC.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse\"G\xDAA\x06parent\x82\xD3\xE4\x93\x028\x126/v1alpha/{parent=properties/*}/subpropertyEventFilters\x12\xB6\x02\x0A\x1CUpdateSubpropertyEventFilter\x12C.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest\x1A6.google.analytics.admin.v1alpha.SubpropertyEventFilter\"\x98\x01\xDAA\$subproperty_event_filter,update_mask\x82\xD3\xE4\x93\x02k2O/v1alpha/{subproperty_event_filter.name=properties/*/subpropertyEventFilters/*}:\x18subproperty_event_filter\x12\xC2\x01\x0A\x1CDeleteSubpropertyEventFilter\x12C.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest\x1A\x16.google.protobuf.Empty\"E\xDAA\x04name\x82\xD3\xE4\x93\x028*6/v1alpha/{name=properties/*/subpropertyEventFilters/*}\x12\x9D\x02\x0A\x1DCreateReportingDataAnnotation\x12D.google.analytics.admin.v1alpha.CreateReportingDataAnnotationRequest\x1A7.google.analytics.admin.v1alpha.ReportingDataAnnotation\"}\xDAA parent,reporting_data_annotation\x82\xD3\xE4\x93\x02T\"7/v1alpha/{parent=properties/*}/reportingDataAnnotations:\x19reporting_data_annotation\x12\xE0\x01\x0A\x1AGetReportingDataAnnotation\x12A.google.analytics.admin.v1alpha.GetReportingDataAnnotationRequest\x1A7.google.analytics.admin.v1alpha.ReportingDataAnnotation\"F\xDAA\x04name\x82\xD3\xE4\x93\x029\x127/v1alpha/{name=properties/*/reportingDataAnnotations/*}\x12\xF3\x01\x0A\x1CListReportingDataAnnotations\x12C.google.analytics.admin.v1alpha.ListReportingDataAnnotationsRequest\x1AD.google.analytics.admin.v1alpha.ListReportingDataAnnotationsResponse\"H\xDAA\x06parent\x82\xD3\xE4\x93\x029\x127/v1alpha/{parent=properties/*}/reportingDataAnnotations\x12\xBD\x02\x0A\x1DUpdateReportingDataAnnotation\x12D.google.analytics.admin.v1alpha.UpdateReportingDataAnnotationRequest\x1A7.google.analytics.admin.v1alpha.ReportingDataAnnotation\"\x9C\x01\xDAA%reporting_data_annotation,update_mask\x82\xD3\xE4\x93\x02n2Q/v1alpha/{reporting_data_annotation.name=properties/*/reportingDataAnnotations/*}:\x19reporting_data_annotation\x12\xC5\x01\x0A\x1DDeleteReportingDataAnnotation\x12D.google.analytics.admin.v1alpha.DeleteReportingDataAnnotationRequest\x1A\x16.google.protobuf.Empty\"F\xDAA\x04name\x82\xD3\xE4\x93\x029*7/v1alpha/{name=properties/*/reportingDataAnnotations/*}\x12\xCE\x01\x0A\x12SubmitUserDeletion\x129.google.analytics.admin.v1alpha.SubmitUserDeletionRequest\x1A:.google.analytics.admin.v1alpha.SubmitUserDeletionResponse\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\"//v1alpha/{name=properties/*}:submitUserDeletion:\x01*\x12\xEB\x01\x0A\x1AListSubpropertySyncConfigs\x12A.google.analytics.admin.v1alpha.ListSubpropertySyncConfigsRequest\x1AB.google.analytics.admin.v1alpha.ListSubpropertySyncConfigsResponse\"F\xDAA\x06parent\x82\xD3\xE4\x93\x027\x125/v1alpha/{parent=properties/*}/subpropertySyncConfigs\x12\xAF\x02\x0A\x1BUpdateSubpropertySyncConfig\x12B.google.analytics.admin.v1alpha.UpdateSubpropertySyncConfigRequest\x1A5.google.analytics.admin.v1alpha.SubpropertySyncConfig\"\x94\x01\xDAA#subproperty_sync_config,update_mask\x82\xD3\xE4\x93\x02h2M/v1alpha/{subproperty_sync_config.name=properties/*/subpropertySyncConfigs/*}:\x17subproperty_sync_config\x12\xD8\x01\x0A\x18GetSubpropertySyncConfig\x12?.google.analytics.admin.v1alpha.GetSubpropertySyncConfigRequest\x1A5.google.analytics.admin.v1alpha.SubpropertySyncConfig\"D\xDAA\x04name\x82\xD3\xE4\x93\x027\x125/v1alpha/{name=properties/*/subpropertySyncConfigs/*}\x12\xE5\x01\x0A\x1CGetReportingIdentitySettings\x12C.google.analytics.admin.v1alpha.GetReportingIdentitySettingsRequest\x1A9.google.analytics.admin.v1alpha.ReportingIdentitySettings\"E\xDAA\x04name\x82\xD3\xE4\x93\x028\x126/v1alpha/{name=properties/*/reportingIdentitySettings}\x12\xE1\x01\x0A\x1BGetUserProvidedDataSettings\x12B.google.analytics.admin.v1alpha.GetUserProvidedDataSettingsRequest\x1A8.google.analytics.admin.v1alpha.UserProvidedDataSettings\"D\xDAA\x04name\x82\xD3\xE4\x93\x027\x125/v1alpha/{name=properties/*/userProvidedDataSettings}\x1A\xFC\x01\xCAA\x1Danalyticsadmin.googleapis.com\xD2A\xD8\x01https://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{\x0A\"com.google.analytics.admin.v1alphaB\x13AnalyticsAdminProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Audience.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Audience.php deleted file mode 100644 index 2844feaf04f6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Audience.php +++ /dev/null @@ -1,28 +0,0 @@ -internalAddGeneratedFile( - "\x0A\x9B&\x0A-google/analytics/admin/v1alpha/audience.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A\x19google/api/resource.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xFC\x0B\x0A\x1FAudienceDimensionOrMetricFilter\x12e\x0A\x0Dstring_filter\x18\x02 \x01(\x0B2L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilterH\x00\x12f\x0A\x0Ein_list_filter\x18\x03 \x01(\x0B2L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilterH\x00\x12g\x0A\x0Enumeric_filter\x18\x04 \x01(\x0B2M.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilterH\x00\x12g\x0A\x0Ebetween_filter\x18\x05 \x01(\x0B2M.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilterH\x00\x12\x1A\x0A\x0Afield_name\x18\x01 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12!\x0A\x14at_any_point_in_time\x18\x06 \x01(\x08B\x03\xE0A\x01\x12 \x0A\x13in_any_n_day_period\x18\x07 \x01(\x05B\x03\xE0A\x01\x1A\xA3\x02\x0A\x0CStringFilter\x12o\x0A\x0Amatch_type\x18\x01 \x01(\x0E2V.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchTypeB\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x1B\x0A\x0Ecase_sensitive\x18\x03 \x01(\x08B\x03\xE0A\x01\"q\x0A\x09MatchType\x12\x1A\x0A\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EXACT\x10\x01\x12\x0F\x0A\x0BBEGINS_WITH\x10\x02\x12\x0D\x0A\x09ENDS_WITH\x10\x03\x12\x0C\x0A\x08CONTAINS\x10\x04\x12\x0F\x0A\x0BFULL_REGEXP\x10\x05\x1A@\x0A\x0CInListFilter\x12\x13\x0A\x06values\x18\x01 \x03(\x09B\x03\xE0A\x02\x12\x1B\x0A\x0Ecase_sensitive\x18\x02 \x01(\x08B\x03\xE0A\x01\x1AJ\x0A\x0CNumericValue\x12\x15\x0A\x0Bint64_value\x18\x01 \x01(\x03H\x00\x12\x16\x0A\x0Cdouble_value\x18\x02 \x01(\x01H\x00B\x0B\x0A\x09one_value\x1A\xB6\x02\x0A\x0DNumericFilter\x12o\x0A\x09operation\x18\x01 \x01(\x0E2W.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.OperationB\x03\xE0A\x02\x12`\x0A\x05value\x18\x02 \x01(\x0B2L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueB\x03\xE0A\x02\"R\x0A\x09Operation\x12\x19\x0A\x15OPERATION_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EQUAL\x10\x01\x12\x0D\x0A\x09LESS_THAN\x10\x02\x12\x10\x0A\x0CGREATER_THAN\x10\x04\x1A\xDB\x01\x0A\x0DBetweenFilter\x12e\x0A\x0Afrom_value\x18\x01 \x01(\x0B2L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueB\x03\xE0A\x02\x12c\x0A\x08to_value\x18\x02 \x01(\x0B2L.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValueB\x03\xE0A\x02B\x0C\x0A\x0Aone_filter\"\x9B\x01\x0A\x13AudienceEventFilter\x12\x1A\x0A\x0Aevent_name\x18\x01 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12h\x0A!event_parameter_filter_expression\x18\x02 \x01(\x0B28.google.analytics.admin.v1alpha.AudienceFilterExpressionB\x03\xE0A\x01\"\xCF\x03\x0A\x18AudienceFilterExpression\x12Q\x0A\x09and_group\x18\x01 \x01(\x0B2<.google.analytics.admin.v1alpha.AudienceFilterExpressionListH\x00\x12P\x0A\x08or_group\x18\x02 \x01(\x0B2<.google.analytics.admin.v1alpha.AudienceFilterExpressionListH\x00\x12R\x0A\x0Enot_expression\x18\x03 \x01(\x0B28.google.analytics.admin.v1alpha.AudienceFilterExpressionH\x00\x12e\x0A\x1Adimension_or_metric_filter\x18\x04 \x01(\x0B2?.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilterH\x00\x12K\x0A\x0Cevent_filter\x18\x05 \x01(\x0B23.google.analytics.admin.v1alpha.AudienceEventFilterH\x00B\x06\x0A\x04expr\"t\x0A\x1CAudienceFilterExpressionList\x12T\x0A\x12filter_expressions\x18\x01 \x03(\x0B28.google.analytics.admin.v1alpha.AudienceFilterExpression\"\xBF\x01\x0A\x14AudienceSimpleFilter\x12J\x0A\x05scope\x18\x01 \x01(\x0E23.google.analytics.admin.v1alpha.AudienceFilterScopeB\x06\xE0A\x02\xE0A\x05\x12[\x0A\x11filter_expression\x18\x02 \x01(\x0B28.google.analytics.admin.v1alpha.AudienceFilterExpressionB\x06\xE0A\x02\xE0A\x05\"\xB2\x04\x0A\x16AudienceSequenceFilter\x12J\x0A\x05scope\x18\x01 \x01(\x0E23.google.analytics.admin.v1alpha.AudienceFilterScopeB\x06\xE0A\x02\xE0A\x05\x12A\x0A\x19sequence_maximum_duration\x18\x02 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01\x12h\x0A\x0Esequence_steps\x18\x03 \x03(\x0B2K.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepB\x03\xE0A\x02\x1A\x9E\x02\x0A\x14AudienceSequenceStep\x12J\x0A\x05scope\x18\x01 \x01(\x0E23.google.analytics.admin.v1alpha.AudienceFilterScopeB\x06\xE0A\x02\xE0A\x05\x12 \x0A\x13immediately_follows\x18\x02 \x01(\x08B\x03\xE0A\x01\x12;\x0A\x13constraint_duration\x18\x03 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01\x12[\x0A\x11filter_expression\x18\x04 \x01(\x0B28.google.analytics.admin.v1alpha.AudienceFilterExpressionB\x06\xE0A\x02\xE0A\x05\"\xFB\x02\x0A\x14AudienceFilterClause\x12M\x0A\x0Dsimple_filter\x18\x02 \x01(\x0B24.google.analytics.admin.v1alpha.AudienceSimpleFilterH\x00\x12Q\x0A\x0Fsequence_filter\x18\x03 \x01(\x0B26.google.analytics.admin.v1alpha.AudienceSequenceFilterH\x00\x12a\x0A\x0Bclause_type\x18\x01 \x01(\x0E2G.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseTypeB\x03\xE0A\x02\"T\x0A\x12AudienceClauseType\x12\$\x0A AUDIENCE_CLAUSE_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07INCLUDE\x10\x01\x12\x0B\x0A\x07EXCLUDE\x10\x02B\x08\x0A\x06filter\"\xF3\x01\x0A\x14AudienceEventTrigger\x12\x17\x0A\x0Aevent_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12]\x0A\x0Dlog_condition\x18\x02 \x01(\x0E2A.google.analytics.admin.v1alpha.AudienceEventTrigger.LogConditionB\x03\xE0A\x02\"c\x0A\x0CLogCondition\x12\x1D\x0A\x19LOG_CONDITION_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FAUDIENCE_JOINED\x10\x01\x12\x1F\x0A\x1BAUDIENCE_MEMBERSHIP_RENEWED\x10\x02\"\xD4\x05\x0A\x08Audience\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x02\x12(\x0A\x18membership_duration_days\x18\x04 \x01(\x05B\x06\xE0A\x02\xE0A\x05\x12(\x0A\x1Bads_personalization_enabled\x18\x05 \x01(\x08B\x03\xE0A\x03\x12P\x0A\x0Devent_trigger\x18\x06 \x01(\x0B24.google.analytics.admin.v1alpha.AudienceEventTriggerB\x03\xE0A\x01\x12l\x0A\x17exclusion_duration_mode\x18\x07 \x01(\x0E2F.google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationModeB\x03\xE0A\x05\x12W\x0A\x0Efilter_clauses\x18\x08 \x03(\x0B24.google.analytics.admin.v1alpha.AudienceFilterClauseB\x09\xE0A\x05\xE0A\x02\xE0A\x06\x124\x0A\x0Bcreate_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\"\x83\x01\x0A\x1DAudienceExclusionDurationMode\x120\x0A,AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED\x10\x00\x12\x17\x0A\x13EXCLUDE_TEMPORARILY\x10\x01\x12\x17\x0A\x13EXCLUDE_PERMANENTLY\x10\x02:W\xEAAT\x0A&analyticsadmin.googleapis.com/Audience\x12*properties/{property}/audiences/{audience}*\xC7\x01\x0A\x13AudienceFilterScope\x12%\x0A!AUDIENCE_FILTER_SCOPE_UNSPECIFIED\x10\x00\x12+\x0A'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT\x10\x01\x12-\x0A)AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION\x10\x02\x12-\x0A)AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS\x10\x03Bu\x0A\"com.google.analytics.admin.v1alphaB\x0DAudienceProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ChannelGroup.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ChannelGroup.php deleted file mode 100644 index 77ef0dd3d1e4..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ChannelGroup.php +++ /dev/null @@ -1,26 +0,0 @@ -internalAddGeneratedFile( - "\x0A\xCC\x0D\x0A2google/analytics/admin/v1alpha/channel_group.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A\x19google/api/resource.proto\"\xAB\x04\x0A\x12ChannelGroupFilter\x12X\x0A\x0Dstring_filter\x18\x02 \x01(\x0B2?.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterH\x00\x12Y\x0A\x0Ein_list_filter\x18\x03 \x01(\x0B2?.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterH\x00\x12\x1A\x0A\x0Afield_name\x18\x01 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x1A\x8E\x02\x0A\x0CStringFilter\x12b\x0A\x0Amatch_type\x18\x01 \x01(\x0E2I.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchTypeB\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02\"\x85\x01\x0A\x09MatchType\x12\x1A\x0A\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EXACT\x10\x01\x12\x0F\x0A\x0BBEGINS_WITH\x10\x02\x12\x0D\x0A\x09ENDS_WITH\x10\x03\x12\x0C\x0A\x08CONTAINS\x10\x04\x12\x0F\x0A\x0BFULL_REGEXP\x10\x05\x12\x12\x0A\x0EPARTIAL_REGEXP\x10\x06\x1A#\x0A\x0CInListFilter\x12\x13\x0A\x06values\x18\x01 \x03(\x09B\x03\xE0A\x02B\x0E\x0A\x0Cvalue_filter\"\xF1\x02\x0A\x1CChannelGroupFilterExpression\x12U\x0A\x09and_group\x18\x01 \x01(\x0B2@.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListH\x00\x12T\x0A\x08or_group\x18\x02 \x01(\x0B2@.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListH\x00\x12V\x0A\x0Enot_expression\x18\x03 \x01(\x0B2<.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionH\x00\x12D\x0A\x06filter\x18\x04 \x01(\x0B22.google.analytics.admin.v1alpha.ChannelGroupFilterH\x00B\x06\x0A\x04expr\"|\x0A ChannelGroupFilterExpressionList\x12X\x0A\x12filter_expressions\x18\x01 \x03(\x0B2<.google.analytics.admin.v1alpha.ChannelGroupFilterExpression\"\x80\x01\x0A\x0CGroupingRule\x12\x19\x0A\x0Cdisplay_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12U\x0A\x0Aexpression\x18\x02 \x01(\x0B2<.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionB\x03\xE0A\x02\"\xB4\x02\x0A\x0CChannelGroup\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x12H\x0A\x0Dgrouping_rule\x18\x04 \x03(\x0B2,.google.analytics.admin.v1alpha.GroupingRuleB\x03\xE0A\x02\x12\x1B\x0A\x0Esystem_defined\x18\x05 \x01(\x08B\x03\xE0A\x03\x12\x14\x0A\x07primary\x18\x06 \x01(\x08B\x03\xE0A\x01:d\xEAAa\x0A*analyticsadmin.googleapis.com/ChannelGroup\x123properties/{property}/channelGroups/{channel_group}By\x0A\"com.google.analytics.admin.v1alphaB\x11ChannelGroupProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/EventCreateAndEdit.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/EventCreateAndEdit.php deleted file mode 100644 index 503a3b5a93ae..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/EventCreateAndEdit.php +++ /dev/null @@ -1,26 +0,0 @@ -internalAddGeneratedFile( - "\x0A\xA2\x0D\x0A:google/analytics/admin/v1alpha/event_create_and_edit.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A\x19google/api/resource.proto\"I\x0A\x11ParameterMutation\x12\x16\x0A\x09parameter\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1C\x0A\x0Fparameter_value\x18\x02 \x01(\x09B\x03\xE0A\x02\"\x92\x03\x0A\x0FEventCreateRule\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1E\x0A\x11destination_event\x18\x02 \x01(\x09B\x03\xE0A\x02\x12P\x0A\x10event_conditions\x18\x03 \x03(\x0B21.google.analytics.admin.v1alpha.MatchingConditionB\x03\xE0A\x02\x12\x1E\x0A\x16source_copy_parameters\x18\x04 \x01(\x08\x12N\x0A\x13parameter_mutations\x18\x05 \x03(\x0B21.google.analytics.admin.v1alpha.ParameterMutation:\x89\x01\xEAA\x85\x01\x0A-analyticsadmin.googleapis.com/EventCreateRule\x12Tproperties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}\"\xA8\x03\x0A\x0DEventEditRule\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12P\x0A\x10event_conditions\x18\x03 \x03(\x0B21.google.analytics.admin.v1alpha.MatchingConditionB\x03\xE0A\x02\x12S\x0A\x13parameter_mutations\x18\x04 \x03(\x0B21.google.analytics.admin.v1alpha.ParameterMutationB\x03\xE0A\x02\x12\x1D\x0A\x10processing_order\x18\x05 \x01(\x03B\x03\xE0A\x03:\xA2\x01\xEAA\x9E\x01\x0A+analyticsadmin.googleapis.com/EventEditRule\x12Pproperties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule}*\x0EeventEditRules2\x0DeventEditRule\"\xAD\x04\x0A\x11MatchingCondition\x12\x12\x0A\x05field\x18\x01 \x01(\x09B\x03\xE0A\x02\x12^\x0A\x0Fcomparison_type\x18\x02 \x01(\x0E2@.google.analytics.admin.v1alpha.MatchingCondition.ComparisonTypeB\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x0F\x0A\x07negated\x18\x04 \x01(\x08\"\xFE\x02\x0A\x0EComparisonType\x12\x1F\x0A\x1BCOMPARISON_TYPE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06EQUALS\x10\x01\x12\x1B\x0A\x17EQUALS_CASE_INSENSITIVE\x10\x02\x12\x0C\x0A\x08CONTAINS\x10\x03\x12\x1D\x0A\x19CONTAINS_CASE_INSENSITIVE\x10\x04\x12\x0F\x0A\x0BSTARTS_WITH\x10\x05\x12 \x0A\x1CSTARTS_WITH_CASE_INSENSITIVE\x10\x06\x12\x0D\x0A\x09ENDS_WITH\x10\x07\x12\x1E\x0A\x1AENDS_WITH_CASE_INSENSITIVE\x10\x08\x12\x10\x0A\x0CGREATER_THAN\x10\x09\x12\x19\x0A\x15GREATER_THAN_OR_EQUAL\x10\x0A\x12\x0D\x0A\x09LESS_THAN\x10\x0B\x12\x16\x0A\x12LESS_THAN_OR_EQUAL\x10\x0C\x12\x16\x0A\x12REGULAR_EXPRESSION\x10\x0D\x12'\x0A#REGULAR_EXPRESSION_CASE_INSENSITIVE\x10\x0EBf\x0A\"com.google.analytics.admin.v1alphaP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ExpandedDataSet.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ExpandedDataSet.php deleted file mode 100644 index 659bfc0f5cd6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/ExpandedDataSet.php +++ /dev/null @@ -1,27 +0,0 @@ -internalAddGeneratedFile( - "\x0A\xA7\x0D\x0A6google/analytics/admin/v1alpha/expanded_data_set.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xA6\x04\x0A\x15ExpandedDataSetFilter\x12[\x0A\x0Dstring_filter\x18\x02 \x01(\x0B2B.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilterH\x00\x12\\\x0A\x0Ein_list_filter\x18\x03 \x01(\x0B2B.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilterH\x00\x12\x17\x0A\x0Afield_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x1A\xE8\x01\x0A\x0CStringFilter\x12e\x0A\x0Amatch_type\x18\x01 \x01(\x0E2L.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchTypeB\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x1B\x0A\x0Ecase_sensitive\x18\x03 \x01(\x08B\x03\xE0A\x01\"@\x0A\x09MatchType\x12\x1A\x0A\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EXACT\x10\x01\x12\x0C\x0A\x08CONTAINS\x10\x02\x1A@\x0A\x0CInListFilter\x12\x13\x0A\x06values\x18\x01 \x03(\x09B\x03\xE0A\x02\x12\x1B\x0A\x0Ecase_sensitive\x18\x02 \x01(\x08B\x03\xE0A\x01B\x0C\x0A\x0Aone_filter\"\xA7\x02\x0A\x1FExpandedDataSetFilterExpression\x12X\x0A\x09and_group\x18\x01 \x01(\x0B2C.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionListH\x00\x12Y\x0A\x0Enot_expression\x18\x02 \x01(\x0B2?.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionH\x00\x12G\x0A\x06filter\x18\x03 \x01(\x0B25.google.analytics.admin.v1alpha.ExpandedDataSetFilterH\x00B\x06\x0A\x04expr\"\x82\x01\x0A#ExpandedDataSetFilterExpressionList\x12[\x0A\x12filter_expressions\x18\x01 \x03(\x0B2?.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression\"\xB2\x03\x0A\x0FExpandedDataSet\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x1C\x0A\x0Fdimension_names\x18\x04 \x03(\x09B\x03\xE0A\x05\x12\x19\x0A\x0Cmetric_names\x18\x05 \x03(\x09B\x03\xE0A\x05\x12i\x0A\x1Bdimension_filter_expression\x18\x06 \x01(\x0B2?.google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionB\x03\xE0A\x05\x12C\x0A\x1Adata_collection_start_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03:n\xEAAk\x0A-analyticsadmin.googleapis.com/ExpandedDataSet\x12:properties/{property}/expandedDataSets/{expanded_data_set}B|\x0A\"com.google.analytics.admin.v1alphaB\x14ExpandedDataSetProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Resources.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Resources.php deleted file mode 100644 index d8eed048349a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/Resources.php +++ /dev/null @@ -1,33 +0,0 @@ -internalAddGeneratedFile( - "\x0A\xD2\xB8\x01\x0A.google/analytics/admin/v1alpha/resources.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A2google/analytics/admin/v1alpha/channel_group.proto\x1A:google/analytics/admin/v1alpha/event_create_and_edit.proto\x1A6google/analytics/admin/v1alpha/expanded_data_set.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x1Egoogle/protobuf/wrappers.proto\x1A\x16google/type/date.proto\"\xF7\x02\x0A\x07Account\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bregion_code\x18\x05 \x01(\x09\x12\x14\x0A\x07deleted\x18\x06 \x01(\x08B\x03\xE0A\x03\x12T\x0A\x10gmp_organization\x18\x07 \x01(\x09B:\xE0A\x03\xFAA4\x0A2marketingplatformadmin.googleapis.com/Organization:Q\xEAAN\x0A%analyticsadmin.googleapis.com/Account\x12\x12accounts/{account}*\x08accounts2\x07account\"\xCF\x05\x0A\x08Property\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12H\x0A\x0Dproperty_type\x18\x0E \x01(\x0E2,.google.analytics.admin.v1alpha.PropertyTypeB\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x13\x0A\x06parent\x18\x02 \x01(\x09B\x03\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x05 \x01(\x09B\x03\xE0A\x02\x12K\x0A\x11industry_category\x18\x06 \x01(\x0E20.google.analytics.admin.v1alpha.IndustryCategory\x12\x16\x0A\x09time_zone\x18\x07 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x0Dcurrency_code\x18\x08 \x01(\x09\x12H\x0A\x0Dservice_level\x18\x0A \x01(\x0E2,.google.analytics.admin.v1alpha.ServiceLevelB\x03\xE0A\x03\x124\x0A\x0Bdelete_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bexpire_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12>\x0A\x07account\x18\x0D \x01(\x09B-\xE0A\x05\xFAA'\x0A%analyticsadmin.googleapis.com/Account:X\xEAAU\x0A&analyticsadmin.googleapis.com/Property\x12\x15properties/{property}*\x0Aproperties2\x08property\"\x8D\x08\x0A\x0ADataStream\x12S\x0A\x0Fweb_stream_data\x18\x06 \x01(\x0B28.google.analytics.admin.v1alpha.DataStream.WebStreamDataH\x00\x12b\x0A\x17android_app_stream_data\x18\x07 \x01(\x0B2?.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamDataH\x00\x12Z\x0A\x13ios_app_stream_data\x18\x08 \x01(\x0B2;.google.analytics.admin.v1alpha.DataStream.IosAppStreamDataH\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12O\x0A\x04type\x18\x02 \x01(\x0E29.google.analytics.admin.v1alpha.DataStream.DataStreamTypeB\x06\xE0A\x05\xE0A\x02\x12\x14\x0A\x0Cdisplay_name\x18\x03 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x1A_\x0A\x0DWebStreamData\x12\x1B\x0A\x0Emeasurement_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Ffirebase_app_id\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x13\x0A\x0Bdefault_uri\x18\x03 \x01(\x09\x1AO\x0A\x14AndroidAppStreamData\x12\x1C\x0A\x0Ffirebase_app_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cpackage_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x1AK\x0A\x10IosAppStreamData\x12\x1C\x0A\x0Ffirebase_app_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x09bundle_id\x18\x02 \x01(\x09B\x06\xE0A\x05\xE0A\x02\"}\x0A\x0EDataStreamType\x12 \x0A\x1CDATA_STREAM_TYPE_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FWEB_DATA_STREAM\x10\x01\x12\x1B\x0A\x17ANDROID_APP_DATA_STREAM\x10\x02\x12\x17\x0A\x13IOS_APP_DATA_STREAM\x10\x03:w\xEAAt\x0A(analyticsadmin.googleapis.com/DataStream\x12/properties/{property}/dataStreams/{data_stream}*\x0BdataStreams2\x0AdataStreamB\x0D\x0A\x0Bstream_data\"\xF1\x01\x0A\x0CFirebaseLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x14\x0A\x07project\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03:\x81\x01\xEAA~\x0A*analyticsadmin.googleapis.com/FirebaseLink\x123properties/{property}/firebaseLinks/{firebase_link}*\x0DfirebaseLinks2\x0CfirebaseLink\"\xCA\x01\x0A\x0DGlobalSiteTag\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x14\x0A\x07snippet\x18\x02 \x01(\x09B\x03\xE0A\x05:\x8F\x01\xEAA\x8B\x01\x0A+analyticsadmin.googleapis.com/GlobalSiteTag\x12=properties/{property}/dataStreams/{data_stream}/globalSiteTag*\x0EglobalSiteTags2\x0DglobalSiteTag\"\xB9\x03\x0A\x0DGoogleAdsLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x18\x0A\x0Bcustomer_id\x18\x03 \x01(\x09B\x03\xE0A\x05\x12\x1F\x0A\x12can_manage_clients\x18\x04 \x01(\x08B\x03\xE0A\x03\x12?\x0A\x1Bads_personalization_enabled\x18\x05 \x01(\x0B2\x1A.google.protobuf.BoolValue\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\"\x0A\x15creator_email_address\x18\x09 \x01(\x09B\x03\xE0A\x03:\x88\x01\xEAA\x84\x01\x0A+analyticsadmin.googleapis.com/GoogleAdsLink\x126properties/{property}/googleAdsLinks/{google_ads_link}*\x0EgoogleAdsLinks2\x0DgoogleAdsLink\"\x9B\x03\x0A\x13DataSharingSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12+\x0A#sharing_with_google_support_enabled\x18\x02 \x01(\x08\x122\x0A*sharing_with_google_assigned_sales_enabled\x18\x03 \x01(\x08\x121\x0A%sharing_with_google_any_sales_enabled\x18\x04 \x01(\x08B\x02\x18\x01\x12,\x0A\$sharing_with_google_products_enabled\x18\x05 \x01(\x08\x12#\x0A\x1Bsharing_with_others_enabled\x18\x06 \x01(\x08:\x89\x01\xEAA\x85\x01\x0A1analyticsadmin.googleapis.com/DataSharingSettings\x12&accounts/{account}/dataSharingSettings*\x13dataSharingSettings2\x13dataSharingSettings\"\xBC\x02\x0A\x0EAccountSummary\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12;\x0A\x07account\x18\x02 \x01(\x09B*\xFAA'\x0A%analyticsadmin.googleapis.com/Account\x12\x14\x0A\x0Cdisplay_name\x18\x03 \x01(\x09\x12K\x0A\x12property_summaries\x18\x04 \x03(\x0B2/.google.analytics.admin.v1alpha.PropertySummary:w\xEAAt\x0A,analyticsadmin.googleapis.com/AccountSummary\x12\"accountSummaries/{account_summary}*\x10accountSummaries2\x0EaccountSummary\"\xBB\x01\x0A\x0FPropertySummary\x12=\x0A\x08property\x18\x01 \x01(\x09B+\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12C\x0A\x0Dproperty_type\x18\x03 \x01(\x0E2,.google.analytics.admin.v1alpha.PropertyType\x12\x0E\x0A\x06parent\x18\x04 \x01(\x09\"\xC5\x02\x0A\x19MeasurementProtocolSecret\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x19\x0A\x0Csecret_value\x18\x03 \x01(\x09B\x03\xE0A\x03:\xDE\x01\xEAA\xDA\x01\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12hproperties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}*\x1AmeasurementProtocolSecrets2\x19measurementProtocolSecret\"\xC8\x04\x0A SKAdNetworkConversionValueSchema\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12P\x0A\x13postback_window_one\x18\x02 \x01(\x0B2..google.analytics.admin.v1alpha.PostbackWindowB\x03\xE0A\x02\x12K\x0A\x13postback_window_two\x18\x03 \x01(\x0B2..google.analytics.admin.v1alpha.PostbackWindow\x12M\x0A\x15postback_window_three\x18\x04 \x01(\x0B2..google.analytics.admin.v1alpha.PostbackWindow\x12\x1F\x0A\x17apply_conversion_values\x18\x05 \x01(\x08:\x81\x02\xEAA\xFD\x01\x0A>analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema\x12vproperties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}*!skAdNetworkConversionValueSchemas2 skAdNetworkConversionValueSchema\"\x87\x01\x0A\x0EPostbackWindow\x12K\x0A\x11conversion_values\x18\x01 \x03(\x0B20.google.analytics.admin.v1alpha.ConversionValues\x12(\x0A postback_window_settings_enabled\x18\x02 \x01(\x08\"\xF4\x01\x0A\x10ConversionValues\x12\x14\x0A\x0Cdisplay_name\x18\x01 \x01(\x09\x12\x17\x0A\x0Afine_value\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12F\x0A\x0Ccoarse_value\x18\x03 \x01(\x0E2+.google.analytics.admin.v1alpha.CoarseValueB\x03\xE0A\x02\x12D\x0A\x0Eevent_mappings\x18\x04 \x03(\x0B2,.google.analytics.admin.v1alpha.EventMapping\x12\x14\x0A\x0Clock_enabled\x18\x05 \x01(\x08B\x0D\x0A\x0B_fine_value\"\xEF\x01\x0A\x0CEventMapping\x12\x17\x0A\x0Aevent_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1C\x0A\x0Fmin_event_count\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x1C\x0A\x0Fmax_event_count\x18\x03 \x01(\x03H\x01\x88\x01\x01\x12\x1C\x0A\x0Fmin_event_value\x18\x04 \x01(\x01H\x02\x88\x01\x01\x12\x1C\x0A\x0Fmax_event_value\x18\x05 \x01(\x01H\x03\x88\x01\x01B\x12\x0A\x10_min_event_countB\x12\x0A\x10_max_event_countB\x12\x0A\x10_min_event_valueB\x12\x0A\x10_max_event_value\"\x8A\x02\x0A\x12ChangeHistoryEvent\x12\x0A\x0A\x02id\x18\x01 \x01(\x09\x12/\x0A\x0Bchange_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12=\x0A\x0Aactor_type\x18\x03 \x01(\x0E2).google.analytics.admin.v1alpha.ActorType\x12\x18\x0A\x10user_actor_email\x18\x04 \x01(\x09\x12\x18\x0A\x10changes_filtered\x18\x05 \x01(\x08\x12D\x0A\x07changes\x18\x06 \x03(\x0B23.google.analytics.admin.v1alpha.ChangeHistoryChange\"\x99\x16\x0A\x13ChangeHistoryChange\x12\x10\x0A\x08resource\x18\x01 \x01(\x09\x12:\x0A\x06action\x18\x02 \x01(\x0E2*.google.analytics.admin.v1alpha.ActionType\x12i\x0A\x16resource_before_change\x18\x03 \x01(\x0B2I.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource\x12h\x0A\x15resource_after_change\x18\x04 \x01(\x0B2I.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource\x1A\xDE\x13\x0A\x15ChangeHistoryResource\x12:\x0A\x07account\x18\x01 \x01(\x0B2'.google.analytics.admin.v1alpha.AccountH\x00\x12<\x0A\x08property\x18\x02 \x01(\x0B2(.google.analytics.admin.v1alpha.PropertyH\x00\x12E\x0A\x0Dfirebase_link\x18\x06 \x01(\x0B2,.google.analytics.admin.v1alpha.FirebaseLinkH\x00\x12H\x0A\x0Fgoogle_ads_link\x18\x07 \x01(\x0B2-.google.analytics.admin.v1alpha.GoogleAdsLinkH\x00\x12X\x0A\x17google_signals_settings\x18\x08 \x01(\x0B25.google.analytics.admin.v1alpha.GoogleSignalsSettingsH\x00\x12j\x0A!display_video_360_advertiser_link\x18\x09 \x01(\x0B2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkH\x00\x12{\x0A*display_video_360_advertiser_link_proposal\x18\x0A \x01(\x0B2E.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposalH\x00\x12K\x0A\x10conversion_event\x18\x0B \x01(\x0B2/.google.analytics.admin.v1alpha.ConversionEventH\x00\x12`\x0A\x1Bmeasurement_protocol_secret\x18\x0C \x01(\x0B29.google.analytics.admin.v1alpha.MeasurementProtocolSecretH\x00\x12K\x0A\x10custom_dimension\x18\x0D \x01(\x0B2/.google.analytics.admin.v1alpha.CustomDimensionH\x00\x12E\x0A\x0Dcustom_metric\x18\x0E \x01(\x0B2,.google.analytics.admin.v1alpha.CustomMetricH\x00\x12X\x0A\x17data_retention_settings\x18\x0F \x01(\x0B25.google.analytics.admin.v1alpha.DataRetentionSettingsH\x00\x12O\x0A\x13search_ads_360_link\x18\x10 \x01(\x0B20.google.analytics.admin.v1alpha.SearchAds360LinkH\x00\x12A\x0A\x0Bdata_stream\x18\x12 \x01(\x0B2*.google.analytics.admin.v1alpha.DataStreamH\x00\x12S\x0A\x14attribution_settings\x18\x14 \x01(\x0B23.google.analytics.admin.v1alpha.AttributionSettingsH\x00\x12L\x0A\x11expanded_data_set\x18\x15 \x01(\x0B2/.google.analytics.admin.v1alpha.ExpandedDataSetH\x00\x12E\x0A\x0Dchannel_group\x18\x16 \x01(\x0B2,.google.analytics.admin.v1alpha.ChannelGroupH\x00\x12E\x0A\x0Dbigquery_link\x18\x17 \x01(\x0B2,.google.analytics.admin.v1alpha.BigQueryLinkH\x00\x12d\x0A\x1Denhanced_measurement_settings\x18\x18 \x01(\x0B2;.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsH\x00\x12X\x0A\x17data_redaction_settings\x18\x19 \x01(\x0B25.google.analytics.admin.v1alpha.DataRedactionSettingsH\x00\x12o\x0A#skadnetwork_conversion_value_schema\x18\x1A \x01(\x0B2@.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaH\x00\x12C\x0A\x0Cadsense_link\x18\x1B \x01(\x0B2+.google.analytics.admin.v1alpha.AdSenseLinkH\x00\x12<\x0A\x08audience\x18\x1C \x01(\x0B2(.google.analytics.admin.v1alpha.AudienceH\x00\x12L\x0A\x11event_create_rule\x18\x1D \x01(\x0B2/.google.analytics.admin.v1alpha.EventCreateRuleH\x00\x12=\x0A\x09key_event\x18\x1E \x01(\x0B2(.google.analytics.admin.v1alpha.KeyEventH\x00\x12M\x0A\x11calculated_metric\x18\x1F \x01(\x0B20.google.analytics.admin.v1alpha.CalculatedMetricH\x00\x12\\\x0A\x19reporting_data_annotation\x18 \x01(\x0B27.google.analytics.admin.v1alpha.ReportingDataAnnotationH\x00\x12X\x0A\x17subproperty_sync_config\x18! \x01(\x0B25.google.analytics.admin.v1alpha.SubpropertySyncConfigH\x00\x12`\x0A\x1Breporting_identity_settings\x18\" \x01(\x0B29.google.analytics.admin.v1alpha.ReportingIdentitySettingsH\x00\x12_\x0A\x1Buser_provided_data_settings\x18# \x01(\x0B28.google.analytics.admin.v1alpha.UserProvidedDataSettingsH\x00B\x0A\x0A\x08resource\"\x9E\x04\x0A\x1DDisplayVideo360AdvertiserLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1A\x0A\x0Dadvertiser_id\x18\x02 \x01(\x09B\x03\xE0A\x05\x12\$\x0A\x17advertiser_display_name\x18\x03 \x01(\x09B\x03\xE0A\x03\x12?\x0A\x1Bads_personalization_enabled\x18\x04 \x01(\x0B2\x1A.google.protobuf.BoolValue\x12F\x0A\x1Dcampaign_data_sharing_enabled\x18\x05 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12B\x0A\x19cost_data_sharing_enabled\x18\x06 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05:\xDA\x01\xEAA\xD6\x01\x0A;analyticsadmin.googleapis.com/DisplayVideo360AdvertiserLink\x12Xproperties/{property}/displayVideo360AdvertiserLinks/{display_video_360_advertiser_link}*\x1EdisplayVideo360AdvertiserLinks2\x1DdisplayVideo360AdvertiserLink\"\xD9\x05\x0A%DisplayVideo360AdvertiserLinkProposal\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1A\x0A\x0Dadvertiser_id\x18\x02 \x01(\x09B\x03\xE0A\x05\x12d\x0A\x1Clink_proposal_status_details\x18\x03 \x01(\x0B29.google.analytics.admin.v1alpha.LinkProposalStatusDetailsB\x03\xE0A\x03\x12\$\x0A\x17advertiser_display_name\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x1D\x0A\x10validation_email\x18\x05 \x01(\x09B\x03\xE0A\x04\x12D\x0A\x1Bads_personalization_enabled\x18\x06 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12F\x0A\x1Dcampaign_data_sharing_enabled\x18\x07 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12B\x0A\x19cost_data_sharing_enabled\x18\x08 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05:\x83\x02\xEAA\xFF\x01\x0ACanalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal\x12iproperties/{property}/displayVideo360AdvertiserLinkProposals/{display_video_360_advertiser_link_proposal}*&displayVideo360AdvertiserLinkProposals2%displayVideo360AdvertiserLinkProposal\"\x8F\x04\x0A\x10SearchAds360Link\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1A\x0A\x0Dadvertiser_id\x18\x02 \x01(\x09B\x03\xE0A\x05\x12F\x0A\x1Dcampaign_data_sharing_enabled\x18\x03 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12B\x0A\x19cost_data_sharing_enabled\x18\x04 \x01(\x0B2\x1A.google.protobuf.BoolValueB\x03\xE0A\x05\x12\$\x0A\x17advertiser_display_name\x18\x05 \x01(\x09B\x03\xE0A\x03\x12?\x0A\x1Bads_personalization_enabled\x18\x06 \x01(\x0B2\x1A.google.protobuf.BoolValue\x12>\x0A\x1Asite_stats_sharing_enabled\x18\x07 \x01(\x0B2\x1A.google.protobuf.BoolValue:\x98\x01\xEAA\x94\x01\x0A.analyticsadmin.googleapis.com/SearchAds360Link\x12=properties/{property}/searchAds360Links/{search_ads_360_link}*\x11searchAds360Links2\x10searchAds360Link\"\xFC\x01\x0A\x19LinkProposalStatusDetails\x12l\x0A link_proposal_initiating_product\x18\x01 \x01(\x0E2=.google.analytics.admin.v1alpha.LinkProposalInitiatingProductB\x03\xE0A\x03\x12\x1C\x0A\x0Frequestor_email\x18\x02 \x01(\x09B\x03\xE0A\x03\x12S\x0A\x13link_proposal_state\x18\x03 \x01(\x0E21.google.analytics.admin.v1alpha.LinkProposalStateB\x03\xE0A\x03\"\x85\x06\x0A\x0FConversionEvent\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x17\x0A\x0Aevent_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x16\x0A\x09deletable\x18\x04 \x01(\x08B\x03\xE0A\x03\x12\x13\x0A\x06custom\x18\x05 \x01(\x08B\x03\xE0A\x03\x12f\x0A\x0Fcounting_method\x18\x06 \x01(\x0E2H.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethodB\x03\xE0A\x01\x12r\x0A\x18default_conversion_value\x18\x07 \x01(\x0B2F.google.analytics.admin.v1alpha.ConversionEvent.DefaultConversionValueB\x03\xE0A\x01H\x00\x88\x01\x01\x1Ad\x0A\x16DefaultConversionValue\x12\x12\x0A\x05value\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x1A\x0A\x0Dcurrency_code\x18\x02 \x01(\x09H\x01\x88\x01\x01B\x08\x0A\x06_valueB\x10\x0A\x0E_currency_code\"p\x0A\x18ConversionCountingMethod\x12*\x0A&CONVERSION_COUNTING_METHOD_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EONCE_PER_EVENT\x10\x01\x12\x14\x0A\x10ONCE_PER_SESSION\x10\x02:\x91\x01\xEAA\x8D\x01\x0A-analyticsadmin.googleapis.com/ConversionEvent\x129properties/{property}/conversionEvents/{conversion_event}*\x10conversionEvents2\x0FconversionEventB\x1B\x0A\x19_default_conversion_value\"\xD7\x04\x0A\x08KeyEvent\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x17\x0A\x0Aevent_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x16\x0A\x09deletable\x18\x04 \x01(\x08B\x03\xE0A\x03\x12\x13\x0A\x06custom\x18\x05 \x01(\x08B\x03\xE0A\x03\x12U\x0A\x0Fcounting_method\x18\x06 \x01(\x0E27.google.analytics.admin.v1alpha.KeyEvent.CountingMethodB\x03\xE0A\x02\x12Q\x0A\x0Ddefault_value\x18\x07 \x01(\x0B25.google.analytics.admin.v1alpha.KeyEvent.DefaultValueB\x03\xE0A\x01\x1AF\x0A\x0CDefaultValue\x12\x1A\x0A\x0Dnumeric_value\x18\x01 \x01(\x01B\x03\xE0A\x02\x12\x1A\x0A\x0Dcurrency_code\x18\x02 \x01(\x09B\x03\xE0A\x02\"[\x0A\x0ECountingMethod\x12\x1F\x0A\x1BCOUNTING_METHOD_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EONCE_PER_EVENT\x10\x01\x12\x14\x0A\x10ONCE_PER_SESSION\x10\x02:m\xEAAj\x0A&analyticsadmin.googleapis.com/KeyEvent\x12+properties/{property}/keyEvents/{key_event}*\x09keyEvents2\x08keyEvent\"\xA0\x02\x0A\x15GoogleSignalsSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12A\x0A\x05state\x18\x03 \x01(\x0E22.google.analytics.admin.v1alpha.GoogleSignalsState\x12J\x0A\x07consent\x18\x04 \x01(\x0E24.google.analytics.admin.v1alpha.GoogleSignalsConsentB\x03\xE0A\x03:e\xEAAb\x0A3analyticsadmin.googleapis.com/GoogleSignalsSettings\x12+properties/{property}/googleSignalsSettings\"\xE1\x03\x0A\x0FCustomDimension\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Eparameter_name\x18\x02 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01\x12U\x0A\x05scope\x18\x05 \x01(\x0E2>.google.analytics.admin.v1alpha.CustomDimension.DimensionScopeB\x06\xE0A\x02\xE0A\x05\x12)\x0A\x1Cdisallow_ads_personalization\x18\x06 \x01(\x08B\x03\xE0A\x01\"P\x0A\x0EDimensionScope\x12\x1F\x0A\x1BDIMENSION_SCOPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EVENT\x10\x01\x12\x08\x0A\x04USER\x10\x02\x12\x08\x0A\x04ITEM\x10\x03:\x91\x01\xEAA\x8D\x01\x0A-analyticsadmin.googleapis.com/CustomDimension\x129properties/{property}/customDimensions/{custom_dimension}*\x10customDimensions2\x0FcustomDimension\"\xE3\x06\x0A\x0CCustomMetric\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x1E\x0A\x0Eparameter_name\x18\x02 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01\x12[\x0A\x10measurement_unit\x18\x05 \x01(\x0E2<.google.analytics.admin.v1alpha.CustomMetric.MeasurementUnitB\x03\xE0A\x02\x12O\x0A\x05scope\x18\x06 \x01(\x0E28.google.analytics.admin.v1alpha.CustomMetric.MetricScopeB\x06\xE0A\x02\xE0A\x05\x12f\x0A\x16restricted_metric_type\x18\x08 \x03(\x0E2A.google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricTypeB\x03\xE0A\x01\"\xB7\x01\x0A\x0FMeasurementUnit\x12 \x0A\x1CMEASUREMENT_UNIT_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08STANDARD\x10\x01\x12\x0C\x0A\x08CURRENCY\x10\x02\x12\x08\x0A\x04FEET\x10\x03\x12\x0A\x0A\x06METERS\x10\x04\x12\x0E\x0A\x0AKILOMETERS\x10\x05\x12\x09\x0A\x05MILES\x10\x06\x12\x10\x0A\x0CMILLISECONDS\x10\x07\x12\x0B\x0A\x07SECONDS\x10\x08\x12\x0B\x0A\x07MINUTES\x10\x09\x12\x09\x0A\x05HOURS\x10\x0A\"6\x0A\x0BMetricScope\x12\x1C\x0A\x18METRIC_SCOPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EVENT\x10\x01\"_\x0A\x14RestrictedMetricType\x12&\x0A\"RESTRICTED_METRIC_TYPE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09COST_DATA\x10\x01\x12\x10\x0A\x0CREVENUE_DATA\x10\x02:\x81\x01\xEAA~\x0A*analyticsadmin.googleapis.com/CustomMetric\x123properties/{property}/customMetrics/{custom_metric}*\x0DcustomMetrics2\x0CcustomMetric\"\xA7\x06\x0A\x10CalculatedMetric\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12!\x0A\x14calculated_metric_id\x18\x04 \x01(\x09B\x03\xE0A\x03\x12U\x0A\x0Bmetric_unit\x18\x05 \x01(\x0E2;.google.analytics.admin.v1alpha.CalculatedMetric.MetricUnitB\x03\xE0A\x02\x12j\x0A\x16restricted_metric_type\x18\x06 \x03(\x0E2E.google.analytics.admin.v1alpha.CalculatedMetric.RestrictedMetricTypeB\x03\xE0A\x03\x12\x14\x0A\x07formula\x18\x07 \x01(\x09B\x03\xE0A\x02\x12%\x0A\x18invalid_metric_reference\x18\x09 \x01(\x08B\x03\xE0A\x03\"\xAD\x01\x0A\x0AMetricUnit\x12\x1B\x0A\x17METRIC_UNIT_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08STANDARD\x10\x01\x12\x0C\x0A\x08CURRENCY\x10\x02\x12\x08\x0A\x04FEET\x10\x03\x12\x09\x0A\x05MILES\x10\x04\x12\x0A\x0A\x06METERS\x10\x05\x12\x0E\x0A\x0AKILOMETERS\x10\x06\x12\x10\x0A\x0CMILLISECONDS\x10\x07\x12\x0B\x0A\x07SECONDS\x10\x08\x12\x0B\x0A\x07MINUTES\x10\x09\x12\x09\x0A\x05HOURS\x10\x0A\"_\x0A\x14RestrictedMetricType\x12&\x0A\"RESTRICTED_METRIC_TYPE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09COST_DATA\x10\x01\x12\x10\x0A\x0CREVENUE_DATA\x10\x02:\x96\x01\xEAA\x92\x01\x0A.analyticsadmin.googleapis.com/CalculatedMetric\x12;properties/{property}/calculatedMetrics/{calculated_metric}*\x11calculatedMetrics2\x10calculatedMetric\"\xE2\x04\x0A\x15DataRetentionSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12j\x0A\x14event_data_retention\x18\x02 \x01(\x0E2G.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDurationB\x03\xE0A\x02\x12i\x0A\x13user_data_retention\x18\x04 \x01(\x0E2G.google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDurationB\x03\xE0A\x02\x12'\x0A\x1Freset_user_data_on_new_activity\x18\x03 \x01(\x08\"\x9E\x01\x0A\x11RetentionDuration\x12\"\x0A\x1ERETENTION_DURATION_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0ATWO_MONTHS\x10\x01\x12\x13\x0A\x0FFOURTEEN_MONTHS\x10\x03\x12\x15\x0A\x11TWENTY_SIX_MONTHS\x10\x04\x12\x17\x0A\x13THIRTY_EIGHT_MONTHS\x10\x05\x12\x10\x0A\x0CFIFTY_MONTHS\x10\x06:\x94\x01\xEAA\x90\x01\x0A3analyticsadmin.googleapis.com/DataRetentionSettings\x12+properties/{property}/dataRetentionSettings*\x15dataRetentionSettings2\x15dataRetentionSettings\"\xFC\x0B\x0A\x13AttributionSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x97\x01\x0A,acquisition_conversion_event_lookback_window\x18\x02 \x01(\x0E2\\.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindowB\x03\xE0A\x02\x12\x8B\x01\x0A&other_conversion_event_lookback_window\x18\x03 \x01(\x0E2V.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindowB\x03\xE0A\x02\x12w\x0A\x1Breporting_attribution_model\x18\x04 \x01(\x0E2M.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModelB\x03\xE0A\x02\x12\x86\x01\x0A\$ads_web_conversion_data_export_scope\x18\x05 \x01(\x0E2S.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScopeB\x03\xE0A\x02\"\xDB\x01\x0A(AcquisitionConversionEventLookbackWindow\x12<\x0A8ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED\x10\x00\x127\x0A3ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS\x10\x01\x128\x0A4ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS\x10\x02\"\xF8\x01\x0A\"OtherConversionEventLookbackWindow\x126\x0A2OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED\x10\x00\x122\x0A.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS\x10\x01\x122\x0A.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS\x10\x02\x122\x0A.OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS\x10\x03\"\xC2\x01\x0A\x19ReportingAttributionModel\x12+\x0A'REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED\x10\x00\x12)\x0A%PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN\x10\x01\x12(\x0A\$PAID_AND_ORGANIC_CHANNELS_LAST_CLICK\x10\x02\x12#\x0A\x1FGOOGLE_PAID_CHANNELS_LAST_CLICK\x10\x07\"\xA6\x01\x0A\x1FAdsWebConversionDataExportScope\x124\x0A0ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED\x10\x00\x12\x14\x0A\x10NOT_SELECTED_YET\x10\x01\x12\x1D\x0A\x19PAID_AND_ORGANIC_CHANNELS\x10\x02\x12\x18\x0A\x14GOOGLE_PAID_CHANNELS\x10\x03:a\xEAA^\x0A1analyticsadmin.googleapis.com/AttributionSettings\x12)properties/{property}/attributionSettings\"\xF1\x01\x0A\x0DAccessBinding\x12\x0E\x0A\x04user\x18\x02 \x01(\x09H\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x0D\x0A\x05roles\x18\x03 \x03(\x09:\x9C\x01\xEAA\x98\x01\x0A+analyticsadmin.googleapis.com/AccessBinding\x122accounts/{account}/accessBindings/{access_binding}\x125properties/{property}/accessBindings/{access_binding}B\x0F\x0A\x0Daccess_target\"\xAA\x03\x0A\x0CBigQueryLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x07project\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x1C\x0A\x14daily_export_enabled\x18\x04 \x01(\x08\x12 \x0A\x18streaming_export_enabled\x18\x05 \x01(\x08\x12\"\x0A\x1Afresh_daily_export_enabled\x18\x09 \x01(\x08\x12\x1E\x0A\x16include_advertising_id\x18\x06 \x01(\x08\x12\x16\x0A\x0Eexport_streams\x18\x07 \x03(\x09\x12\x17\x0A\x0Fexcluded_events\x18\x08 \x03(\x09\x12 \x0A\x10dataset_location\x18\x0A \x01(\x09B\x06\xE0A\x05\xE0A\x02:d\xEAAa\x0A*analyticsadmin.googleapis.com/BigQueryLink\x123properties/{property}/bigQueryLinks/{bigquery_link}\"\xF3\x03\x0A\x1BEnhancedMeasurementSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x16\x0A\x0Estream_enabled\x18\x02 \x01(\x08\x12\x17\x0A\x0Fscrolls_enabled\x18\x03 \x01(\x08\x12\x1F\x0A\x17outbound_clicks_enabled\x18\x04 \x01(\x08\x12\x1B\x0A\x13site_search_enabled\x18\x05 \x01(\x08\x12 \x0A\x18video_engagement_enabled\x18\x06 \x01(\x08\x12\x1E\x0A\x16file_downloads_enabled\x18\x07 \x01(\x08\x12\x1C\x0A\x14page_changes_enabled\x18\x08 \x01(\x08\x12!\x0A\x19form_interactions_enabled\x18\x09 \x01(\x08\x12#\x0A\x16search_query_parameter\x18\x0A \x01(\x09B\x03\xE0A\x02\x12\x1B\x0A\x13uri_query_parameter\x18\x0B \x01(\x09:\x8C\x01\xEAA\x88\x01\x0A9analyticsadmin.googleapis.com/EnhancedMeasurementSettings\x12Kproperties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings\"\x95\x02\x0A\x15DataRedactionSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1F\x0A\x17email_redaction_enabled\x18\x02 \x01(\x08\x12)\x0A!query_parameter_redaction_enabled\x18\x03 \x01(\x08\x12\x1C\x0A\x14query_parameter_keys\x18\x04 \x03(\x09:\x7F\xEAA|\x0A3analyticsadmin.googleapis.com/DataRedactionSettings\x12Eproperties/{property}/dataStreams/{data_stream}/dataRedactionSettings\"\xA0\x01\x0A\x0BAdSenseLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1B\x0A\x0Ead_client_code\x18\x02 \x01(\x09B\x03\xE0A\x05:a\xEAA^\x0A)analyticsadmin.googleapis.com/AdSenseLink\x121properties/{property}/adSenseLinks/{adsense_link}\"\x8E\x02\x0A\x18RollupPropertySourceLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Fsource_property\x18\x02 \x01(\x09B\x03\xE0A\x05:\xC0\x01\xEAA\xBC\x01\x0A6analyticsadmin.googleapis.com/RollupPropertySourceLink\x12Mproperties/{property}/rollupPropertySourceLinks/{rollup_property_source_link}*\x19rollupPropertySourceLinks2\x18rollupPropertySourceLink\"\xF6\x05\x0A\x17ReportingDataAnnotation\x12,\x0A\x0Fannotation_date\x18\x04 \x01(\x0B2\x11.google.type.DateH\x00\x12b\x0A\x15annotation_date_range\x18\x05 \x01(\x0B2A.google.analytics.admin.v1alpha.ReportingDataAnnotation.DateRangeH\x00\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x08\xE0A\x02\x12\x12\x0A\x05title\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x01\x12Q\x0A\x05color\x18\x06 \x01(\x0E2=.google.analytics.admin.v1alpha.ReportingDataAnnotation.ColorB\x03\xE0A\x02\x12\x1D\x0A\x10system_generated\x18\x07 \x01(\x08B\x03\xE0A\x03\x1Aa\x0A\x09DateRange\x12*\x0A\x0Astart_date\x18\x01 \x01(\x0B2\x11.google.type.DateB\x03\xE0A\x02\x12(\x0A\x08end_date\x18\x02 \x01(\x0B2\x11.google.type.DateB\x03\xE0A\x02\"i\x0A\x05Color\x12\x15\x0A\x11COLOR_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06PURPLE\x10\x01\x12\x09\x0A\x05BROWN\x10\x02\x12\x08\x0A\x04BLUE\x10\x03\x12\x09\x0A\x05GREEN\x10\x04\x12\x07\x0A\x03RED\x10\x05\x12\x08\x0A\x04CYAN\x10\x06\x12\x0A\x0A\x06ORANGE\x10\x07:\xBA\x01\xEAA\xB6\x01\x0A5analyticsadmin.googleapis.com/ReportingDataAnnotation\x12Jproperties/{property}/reportingDataAnnotations/{reporting_data_annotation}*\x18reportingDataAnnotations2\x17reportingDataAnnotationB\x08\x0A\x06target\"\xD2\x03\x0A\x15SubpropertySyncConfig\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x08\xE0A\x03\x12!\x0A\x11apply_to_property\x18\x02 \x01(\x09B\x06\xE0A\x05\xE0A\x03\x12}\x0A%custom_dimension_and_metric_sync_mode\x18\x03 \x01(\x0E2I.google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationModeB\x03\xE0A\x02\"N\x0A\x13SynchronizationMode\x12\$\x0A SYNCHRONIZATION_MODE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04NONE\x10\x01\x12\x07\x0A\x03ALL\x10\x02:\xB0\x01\xEAA\xAC\x01\x0A3analyticsadmin.googleapis.com/SubpropertySyncConfig\x12Fproperties/{property}/subpropertySyncConfigs/{subproperty_sync_config}*\x16subpropertySyncConfigs2\x15subpropertySyncConfig\"\xAF\x03\x0A\x19ReportingIdentitySettings\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x08\xE0A\x03\x12g\x0A\x12reporting_identity\x18\x02 \x01(\x0E2K.google.analytics.admin.v1alpha.ReportingIdentitySettings.ReportingIdentity\"l\x0A\x11ReportingIdentity\x12*\x0A&IDENTITY_BLENDING_STRATEGY_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07BLENDED\x10\x01\x12\x0C\x0A\x08OBSERVED\x10\x02\x12\x10\x0A\x0CDEVICE_BASED\x10\x03:\xA4\x01\xEAA\xA0\x01\x0A7analyticsadmin.googleapis.com/ReportingIdentitySettings\x12/properties/{property}/reportingIdentitySettings*\x19reportingIdentitySettings2\x19reportingIdentitySettings\"\xC1\x02\x0A\x18UserProvidedDataSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x122\x0A%user_provided_data_collection_enabled\x18\x02 \x01(\x08B\x03\xE0A\x01\x12;\x0A.automatically_detected_data_collection_enabled\x18\x03 \x01(\x08B\x03\xE0A\x01:\xA0\x01\xEAA\x9C\x01\x0A6analyticsadmin.googleapis.com/UserProvidedDataSettings\x12.properties/{property}/userProvidedDataSettings*\x18userProvidedDataSettings2\x18userProvidedDataSettings*\xAA\x04\x0A\x10IndustryCategory\x12!\x0A\x1DINDUSTRY_CATEGORY_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AAUTOMOTIVE\x10\x01\x12#\x0A\x1FBUSINESS_AND_INDUSTRIAL_MARKETS\x10\x02\x12\x0B\x0A\x07FINANCE\x10\x03\x12\x0E\x0A\x0AHEALTHCARE\x10\x04\x12\x0E\x0A\x0ATECHNOLOGY\x10\x05\x12\x0A\x0A\x06TRAVEL\x10\x06\x12\x09\x0A\x05OTHER\x10\x07\x12\x1A\x0A\x16ARTS_AND_ENTERTAINMENT\x10\x08\x12\x16\x0A\x12BEAUTY_AND_FITNESS\x10\x09\x12\x18\x0A\x14BOOKS_AND_LITERATURE\x10\x0A\x12\x12\x0A\x0EFOOD_AND_DRINK\x10\x0B\x12\x09\x0A\x05GAMES\x10\x0C\x12\x17\x0A\x13HOBBIES_AND_LEISURE\x10\x0D\x12\x13\x0A\x0FHOME_AND_GARDEN\x10\x0E\x12\x18\x0A\x14INTERNET_AND_TELECOM\x10\x0F\x12\x16\x0A\x12LAW_AND_GOVERNMENT\x10\x10\x12\x08\x0A\x04NEWS\x10\x11\x12\x16\x0A\x12ONLINE_COMMUNITIES\x10\x12\x12\x16\x0A\x12PEOPLE_AND_SOCIETY\x10\x13\x12\x14\x0A\x10PETS_AND_ANIMALS\x10\x14\x12\x0F\x0A\x0BREAL_ESTATE\x10\x15\x12\x0D\x0A\x09REFERENCE\x10\x16\x12\x0B\x0A\x07SCIENCE\x10\x17\x12\x0A\x0A\x06SPORTS\x10\x18\x12\x16\x0A\x12JOBS_AND_EDUCATION\x10\x19\x12\x0C\x0A\x08SHOPPING\x10\x1A*f\x0A\x0CServiceLevel\x12\x1D\x0A\x19SERVICE_LEVEL_UNSPECIFIED\x10\x00\x12\x1D\x0A\x19GOOGLE_ANALYTICS_STANDARD\x10\x01\x12\x18\x0A\x14GOOGLE_ANALYTICS_360\x10\x02*J\x0A\x09ActorType\x12\x1A\x0A\x16ACTOR_TYPE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04USER\x10\x01\x12\x0A\x0A\x06SYSTEM\x10\x02\x12\x0B\x0A\x07SUPPORT\x10\x03*P\x0A\x0AActionType\x12\x1B\x0A\x17ACTION_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07CREATED\x10\x01\x12\x0B\x0A\x07UPDATED\x10\x02\x12\x0B\x0A\x07DELETED\x10\x03*\xC2\x06\x0A\x19ChangeHistoryResourceType\x12,\x0A(CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07ACCOUNT\x10\x01\x12\x0C\x0A\x08PROPERTY\x10\x02\x12\x11\x0A\x0DFIREBASE_LINK\x10\x06\x12\x13\x0A\x0FGOOGLE_ADS_LINK\x10\x07\x12\x1B\x0A\x17GOOGLE_SIGNALS_SETTINGS\x10\x08\x12\x14\x0A\x10CONVERSION_EVENT\x10\x09\x12\x1F\x0A\x1BMEASUREMENT_PROTOCOL_SECRET\x10\x0A\x12\x14\x0A\x10CUSTOM_DIMENSION\x10\x0B\x12\x11\x0A\x0DCUSTOM_METRIC\x10\x0C\x12\x1B\x0A\x17DATA_RETENTION_SETTINGS\x10\x0D\x12%\x0A!DISPLAY_VIDEO_360_ADVERTISER_LINK\x10\x0E\x12.\x0A*DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL\x10\x0F\x12\x17\x0A\x13SEARCH_ADS_360_LINK\x10\x10\x12\x0F\x0A\x0BDATA_STREAM\x10\x12\x12\x18\x0A\x14ATTRIBUTION_SETTINGS\x10\x14\x12\x15\x0A\x11EXPANDED_DATA_SET\x10\x15\x12\x11\x0A\x0DCHANNEL_GROUP\x10\x16\x12\x11\x0A\x0DBIGQUERY_LINK\x10\x17\x12!\x0A\x1DENHANCED_MEASUREMENT_SETTINGS\x10\x18\x12\x1B\x0A\x17DATA_REDACTION_SETTINGS\x10\x19\x12'\x0A#SKADNETWORK_CONVERSION_VALUE_SCHEMA\x10\x1A\x12\x10\x0A\x0CADSENSE_LINK\x10\x1B\x12\x0C\x0A\x08AUDIENCE\x10\x1C\x12\x15\x0A\x11EVENT_CREATE_RULE\x10\x1D\x12\x0D\x0A\x09KEY_EVENT\x10\x1E\x12\x15\x0A\x11CALCULATED_METRIC\x10\x1F\x12\x1D\x0A\x19REPORTING_DATA_ANNOTATION\x10 \x12\x1B\x0A\x17SUBPROPERTY_SYNC_CONFIG\x10!\x12\x1F\x0A\x1BREPORTING_IDENTITY_SETTINGS\x10\"\x12\x1F\x0A\x1BUSER_PROVIDED_DATA_SETTINGS\x10#*s\x0A\x12GoogleSignalsState\x12\$\x0A GOOGLE_SIGNALS_STATE_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16GOOGLE_SIGNALS_ENABLED\x10\x01\x12\x1B\x0A\x17GOOGLE_SIGNALS_DISABLED\x10\x02*\x8E\x01\x0A\x14GoogleSignalsConsent\x12&\x0A\"GOOGLE_SIGNALS_CONSENT_UNSPECIFIED\x10\x00\x12\$\x0A GOOGLE_SIGNALS_CONSENT_CONSENTED\x10\x02\x12(\x0A\$GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED\x10\x01*{\x0A\x1DLinkProposalInitiatingProduct\x120\x0A,LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED\x10\x00\x12\x14\x0A\x10GOOGLE_ANALYTICS\x10\x01\x12\x12\x0A\x0ELINKED_PRODUCT\x10\x02*\xC4\x01\x0A\x11LinkProposalState\x12#\x0A\x1FLINK_PROPOSAL_STATE_UNSPECIFIED\x10\x00\x12)\x0A%AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS\x10\x01\x12'\x0A#AWAITING_REVIEW_FROM_LINKED_PRODUCT\x10\x02\x12\x0D\x0A\x09WITHDRAWN\x10\x03\x12\x0C\x0A\x08DECLINED\x10\x04\x12\x0B\x0A\x07EXPIRED\x10\x05\x12\x0C\x0A\x08OBSOLETE\x10\x06*\x82\x01\x0A\x0CPropertyType\x12\x1D\x0A\x19PROPERTY_TYPE_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16PROPERTY_TYPE_ORDINARY\x10\x01\x12\x1D\x0A\x19PROPERTY_TYPE_SUBPROPERTY\x10\x02\x12\x18\x0A\x14PROPERTY_TYPE_ROLLUP\x10\x03*q\x0A\x0BCoarseValue\x12\x1C\x0A\x18COARSE_VALUE_UNSPECIFIED\x10\x00\x12\x14\x0A\x10COARSE_VALUE_LOW\x10\x01\x12\x17\x0A\x13COARSE_VALUE_MEDIUM\x10\x02\x12\x15\x0A\x11COARSE_VALUE_HIGH\x10\x03B\xCB\x01\x0A\"com.google.analytics.admin.v1alphaB\x0EResourcesProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpb\xEAAR\x0A2marketingplatformadmin.googleapis.com/Organization\x12\x1Corganizations/{organization}b\x06proto3" - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/SubpropertyEventFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/SubpropertyEventFilter.php deleted file mode 100644 index 795d1a6b3e99..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/GPBMetadata/Google/Analytics/Admin/V1Alpha/SubpropertyEventFilter.php +++ /dev/null @@ -1,26 +0,0 @@ -internalAddGeneratedFile( - "\x0A\xA0\x0F\x0A=google/analytics/admin/v1alpha/subproperty_event_filter.proto\x12\x1Egoogle.analytics.admin.v1alpha\x1A\x19google/api/resource.proto\"\x81\x04\x0A\x1FSubpropertyEventFilterCondition\x12\x15\x0A\x0Bnull_filter\x18\x02 \x01(\x08H\x00\x12e\x0A\x0Dstring_filter\x18\x03 \x01(\x0B2L.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilterH\x00\x12\x17\x0A\x0Afield_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x1A\xB8\x02\x0A\x0CStringFilter\x12o\x0A\x0Amatch_type\x18\x01 \x01(\x0E2V.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchTypeB\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x1B\x0A\x0Ecase_sensitive\x18\x03 \x01(\x08B\x03\xE0A\x01\"\x85\x01\x0A\x09MatchType\x12\x1A\x0A\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EXACT\x10\x01\x12\x0F\x0A\x0BBEGINS_WITH\x10\x02\x12\x0D\x0A\x09ENDS_WITH\x10\x03\x12\x0C\x0A\x08CONTAINS\x10\x04\x12\x0F\x0A\x0BFULL_REGEXP\x10\x05\x12\x12\x0A\x0EPARTIAL_REGEXP\x10\x06B\x0C\x0A\x0Aone_filter\"\xBD\x02\x0A SubpropertyEventFilterExpression\x12X\x0A\x08or_group\x18\x01 \x01(\x0B2D.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListH\x00\x12Z\x0A\x0Enot_expression\x18\x02 \x01(\x0B2@.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionH\x00\x12[\x0A\x10filter_condition\x18\x03 \x01(\x0B2?.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionH\x00B\x06\x0A\x04expr\"\x8C\x01\x0A\$SubpropertyEventFilterExpressionList\x12d\x0A\x12filter_expressions\x18\x01 \x03(\x0B2@.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionB\x06\xE0A\x02\xE0A\x06\"\xC2\x02\x0A\x1CSubpropertyEventFilterClause\x12n\x0A\x12filter_clause_type\x18\x01 \x01(\x0E2M.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseTypeB\x03\xE0A\x02\x12`\x0A\x11filter_expression\x18\x02 \x01(\x0B2@.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionB\x03\xE0A\x02\"P\x0A\x10FilterClauseType\x12\"\x0A\x1EFILTER_CLAUSE_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07INCLUDE\x10\x01\x12\x0B\x0A\x07EXCLUDE\x10\x02\"\xFD\x02\x0A\x16SubpropertyEventFilter\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12#\x0A\x11apply_to_property\x18\x02 \x01(\x09B\x03\xE0A\x05H\x00\x88\x01\x01\x12\\\x0A\x0Efilter_clauses\x18\x03 \x03(\x0B2<.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseB\x06\xE0A\x02\xE0A\x06:\xB6\x01\xEAA\xB2\x01\x0A4analyticsadmin.googleapis.com/SubpropertyEventFilter\x12Iproperties/{property}/subpropertyEventFilters/{sub_property_event_filter}*\x17subpropertyEventFilters2\x16subpropertyEventFilterB\x14\x0A\x12_apply_to_propertyB\x83\x01\x0A\"com.google.analytics.admin.v1alphaB\x1BSubpropertyEventFilterProtoP\x01Z>cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpbb\x06proto3" - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBetweenFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBetweenFilter.php deleted file mode 100644 index 71ca58d9f272..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBetweenFilter.php +++ /dev/null @@ -1,121 +0,0 @@ -google.analytics.admin.v1alpha.AccessBetweenFilter - */ -class AccessBetweenFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Begins with this number. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue from_value = 1; - */ - protected $from_value = null; - /** - * Ends with this number. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue to_value = 2; - */ - protected $to_value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\NumericValue $from_value - * Begins with this number. - * @type \Google\Analytics\Admin\V1alpha\NumericValue $to_value - * Ends with this number. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * Begins with this number. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue from_value = 1; - * @return \Google\Analytics\Admin\V1alpha\NumericValue|null - */ - public function getFromValue() - { - return $this->from_value; - } - - public function hasFromValue() - { - return isset($this->from_value); - } - - public function clearFromValue() - { - unset($this->from_value); - } - - /** - * Begins with this number. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue from_value = 1; - * @param \Google\Analytics\Admin\V1alpha\NumericValue $var - * @return $this - */ - public function setFromValue($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\NumericValue::class); - $this->from_value = $var; - - return $this; - } - - /** - * Ends with this number. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue to_value = 2; - * @return \Google\Analytics\Admin\V1alpha\NumericValue|null - */ - public function getToValue() - { - return $this->to_value; - } - - public function hasToValue() - { - return isset($this->to_value); - } - - public function clearToValue() - { - unset($this->to_value); - } - - /** - * Ends with this number. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue to_value = 2; - * @param \Google\Analytics\Admin\V1alpha\NumericValue $var - * @return $this - */ - public function setToValue($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\NumericValue::class); - $this->to_value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBinding.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBinding.php deleted file mode 100644 index f5e87135416d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessBinding.php +++ /dev/null @@ -1,198 +0,0 @@ -google.analytics.admin.v1alpha.AccessBinding - */ -class AccessBinding extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of this binding. - * Format: accounts/{account}/accessBindings/{access_binding} or - * properties/{property}/accessBindings/{access_binding} - * Example: - * "accounts/100/accessBindings/200" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * A list of roles for to grant to the parent resource. - * Valid values: - * predefinedRoles/viewer - * predefinedRoles/analyst - * predefinedRoles/editor - * predefinedRoles/admin - * predefinedRoles/no-cost-data - * predefinedRoles/no-revenue-data - * For users, if an empty list of roles is set, this AccessBinding will be - * deleted. - * - * Generated from protobuf field repeated string roles = 3; - */ - private $roles; - protected $access_target; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $user - * If set, the email address of the user to set roles for. - * Format: "someuser\@gmail.com" - * @type string $name - * Output only. Resource name of this binding. - * Format: accounts/{account}/accessBindings/{access_binding} or - * properties/{property}/accessBindings/{access_binding} - * Example: - * "accounts/100/accessBindings/200" - * @type string[] $roles - * A list of roles for to grant to the parent resource. - * Valid values: - * predefinedRoles/viewer - * predefinedRoles/analyst - * predefinedRoles/editor - * predefinedRoles/admin - * predefinedRoles/no-cost-data - * predefinedRoles/no-revenue-data - * For users, if an empty list of roles is set, this AccessBinding will be - * deleted. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * If set, the email address of the user to set roles for. - * Format: "someuser\@gmail.com" - * - * Generated from protobuf field string user = 2; - * @return string - */ - public function getUser() - { - return $this->readOneof(2); - } - - public function hasUser() - { - return $this->hasOneof(2); - } - - /** - * If set, the email address of the user to set roles for. - * Format: "someuser\@gmail.com" - * - * Generated from protobuf field string user = 2; - * @param string $var - * @return $this - */ - public function setUser($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Output only. Resource name of this binding. - * Format: accounts/{account}/accessBindings/{access_binding} or - * properties/{property}/accessBindings/{access_binding} - * Example: - * "accounts/100/accessBindings/200" - * - * 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 binding. - * Format: accounts/{account}/accessBindings/{access_binding} or - * properties/{property}/accessBindings/{access_binding} - * Example: - * "accounts/100/accessBindings/200" - * - * 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; - } - - /** - * A list of roles for to grant to the parent resource. - * Valid values: - * predefinedRoles/viewer - * predefinedRoles/analyst - * predefinedRoles/editor - * predefinedRoles/admin - * predefinedRoles/no-cost-data - * predefinedRoles/no-revenue-data - * For users, if an empty list of roles is set, this AccessBinding will be - * deleted. - * - * Generated from protobuf field repeated string roles = 3; - * @return RepeatedField - */ - public function getRoles() - { - return $this->roles; - } - - /** - * A list of roles for to grant to the parent resource. - * Valid values: - * predefinedRoles/viewer - * predefinedRoles/analyst - * predefinedRoles/editor - * predefinedRoles/admin - * predefinedRoles/no-cost-data - * predefinedRoles/no-revenue-data - * For users, if an empty list of roles is set, this AccessBinding will be - * deleted. - * - * Generated from protobuf field repeated string roles = 3; - * @param string[] $var - * @return $this - */ - public function setRoles($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->roles = $arr; - - return $this; - } - - /** - * @return string - */ - public function getAccessTarget() - { - return $this->whichOneof("access_target"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDateRange.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDateRange.php deleted file mode 100644 index fabfb251cc1b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDateRange.php +++ /dev/null @@ -1,125 +0,0 @@ -google.analytics.admin.v1alpha.AccessDateRange - */ -class AccessDateRange extends \Google\Protobuf\Internal\Message -{ - /** - * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot - * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also - * accepted, and in that case, the date is inferred based on the current time - * in the request's time zone. - * - * Generated from protobuf field string start_date = 1; - */ - protected $start_date = ''; - /** - * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot - * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is - * also accepted, and in that case, the date is inferred based on the current - * time in the request's time zone. - * - * Generated from protobuf field string end_date = 2; - */ - protected $end_date = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $start_date - * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot - * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also - * accepted, and in that case, the date is inferred based on the current time - * in the request's time zone. - * @type string $end_date - * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot - * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is - * also accepted, and in that case, the date is inferred based on the current - * time in the request's time zone. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot - * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also - * accepted, and in that case, the date is inferred based on the current time - * in the request's time zone. - * - * Generated from protobuf field string start_date = 1; - * @return string - */ - public function getStartDate() - { - return $this->start_date; - } - - /** - * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot - * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also - * accepted, and in that case, the date is inferred based on the current time - * in the request's time zone. - * - * Generated from protobuf field string start_date = 1; - * @param string $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkString($var, True); - $this->start_date = $var; - - return $this; - } - - /** - * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot - * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is - * also accepted, and in that case, the date is inferred based on the current - * time in the request's time zone. - * - * Generated from protobuf field string end_date = 2; - * @return string - */ - public function getEndDate() - { - return $this->end_date; - } - - /** - * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot - * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is - * also accepted, and in that case, the date is inferred based on the current - * time in the request's time zone. - * - * Generated from protobuf field string end_date = 2; - * @param string $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkString($var, True); - $this->end_date = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimension.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimension.php deleted file mode 100644 index 5302f3cc286b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimension.php +++ /dev/null @@ -1,81 +0,0 @@ -google.analytics.admin.v1alpha.AccessDimension - */ -class AccessDimension extends \Google\Protobuf\Internal\Message -{ - /** - * The API name of the dimension. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of dimensions supported in this API. - * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. - * - * Generated from protobuf field string dimension_name = 1; - */ - protected $dimension_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $dimension_name - * The API name of the dimension. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of dimensions supported in this API. - * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The API name of the dimension. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of dimensions supported in this API. - * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. - * - * Generated from protobuf field string dimension_name = 1; - * @return string - */ - public function getDimensionName() - { - return $this->dimension_name; - } - - /** - * The API name of the dimension. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of dimensions supported in this API. - * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. - * - * Generated from protobuf field string dimension_name = 1; - * @param string $var - * @return $this - */ - public function setDimensionName($var) - { - GPBUtil::checkString($var, True); - $this->dimension_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionHeader.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionHeader.php deleted file mode 100644 index 532c00211116..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionHeader.php +++ /dev/null @@ -1,70 +0,0 @@ -google.analytics.admin.v1alpha.AccessDimensionHeader - */ -class AccessDimensionHeader extends \Google\Protobuf\Internal\Message -{ - /** - * The dimension's name; for example 'userEmail'. - * - * Generated from protobuf field string dimension_name = 1; - */ - protected $dimension_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $dimension_name - * The dimension's name; for example 'userEmail'. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The dimension's name; for example 'userEmail'. - * - * Generated from protobuf field string dimension_name = 1; - * @return string - */ - public function getDimensionName() - { - return $this->dimension_name; - } - - /** - * The dimension's name; for example 'userEmail'. - * - * Generated from protobuf field string dimension_name = 1; - * @param string $var - * @return $this - */ - public function setDimensionName($var) - { - GPBUtil::checkString($var, True); - $this->dimension_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionValue.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionValue.php deleted file mode 100644 index 12eca0057dc3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessDimensionValue.php +++ /dev/null @@ -1,71 +0,0 @@ -google.analytics.admin.v1alpha.AccessDimensionValue - */ -class AccessDimensionValue extends \Google\Protobuf\Internal\Message -{ - /** - * The dimension value. For example, this value may be 'France' for the - * 'country' dimension. - * - * Generated from protobuf field string value = 1; - */ - protected $value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * The dimension value. For example, this value may be 'France' for the - * 'country' dimension. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The dimension value. For example, this value may be 'France' for the - * 'country' dimension. - * - * Generated from protobuf field string value = 1; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * The dimension value. For example, this value may be 'France' for the - * 'country' dimension. - * - * Generated from protobuf field string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilter.php deleted file mode 100644 index f168f8a5b5ae..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilter.php +++ /dev/null @@ -1,208 +0,0 @@ -google.analytics.admin.v1alpha.AccessFilter - */ -class AccessFilter extends \Google\Protobuf\Internal\Message -{ - /** - * The dimension name or metric name. - * - * Generated from protobuf field string field_name = 1; - */ - protected $field_name = ''; - protected $one_filter; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AccessStringFilter $string_filter - * Strings related filter. - * @type \Google\Analytics\Admin\V1alpha\AccessInListFilter $in_list_filter - * A filter for in list values. - * @type \Google\Analytics\Admin\V1alpha\AccessNumericFilter $numeric_filter - * A filter for numeric or date values. - * @type \Google\Analytics\Admin\V1alpha\AccessBetweenFilter $between_filter - * A filter for two values. - * @type string $field_name - * The dimension name or metric name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * Strings related filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; - * @return \Google\Analytics\Admin\V1alpha\AccessStringFilter|null - */ - public function getStringFilter() - { - return $this->readOneof(2); - } - - public function hasStringFilter() - { - return $this->hasOneof(2); - } - - /** - * Strings related filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; - * @param \Google\Analytics\Admin\V1alpha\AccessStringFilter $var - * @return $this - */ - public function setStringFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessStringFilter::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * A filter for in list values. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; - * @return \Google\Analytics\Admin\V1alpha\AccessInListFilter|null - */ - public function getInListFilter() - { - return $this->readOneof(3); - } - - public function hasInListFilter() - { - return $this->hasOneof(3); - } - - /** - * A filter for in list values. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessInListFilter in_list_filter = 3; - * @param \Google\Analytics\Admin\V1alpha\AccessInListFilter $var - * @return $this - */ - public function setInListFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessInListFilter::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * A filter for numeric or date values. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; - * @return \Google\Analytics\Admin\V1alpha\AccessNumericFilter|null - */ - public function getNumericFilter() - { - return $this->readOneof(4); - } - - public function hasNumericFilter() - { - return $this->hasOneof(4); - } - - /** - * A filter for numeric or date values. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessNumericFilter numeric_filter = 4; - * @param \Google\Analytics\Admin\V1alpha\AccessNumericFilter $var - * @return $this - */ - public function setNumericFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessNumericFilter::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * A filter for two values. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; - * @return \Google\Analytics\Admin\V1alpha\AccessBetweenFilter|null - */ - public function getBetweenFilter() - { - return $this->readOneof(5); - } - - public function hasBetweenFilter() - { - return $this->hasOneof(5); - } - - /** - * A filter for two values. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBetweenFilter between_filter = 5; - * @param \Google\Analytics\Admin\V1alpha\AccessBetweenFilter $var - * @return $this - */ - public function setBetweenFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessBetweenFilter::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * The dimension name or metric name. - * - * Generated from protobuf field string field_name = 1; - * @return string - */ - public function getFieldName() - { - return $this->field_name; - } - - /** - * The dimension name or metric name. - * - * Generated from protobuf field string field_name = 1; - * @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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpression.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpression.php deleted file mode 100644 index 528fafb56d4d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpression.php +++ /dev/null @@ -1,178 +0,0 @@ -google.analytics.admin.v1alpha.AccessFilterExpression - */ -class AccessFilterExpression extends \Google\Protobuf\Internal\Message -{ - protected $one_expression; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList $and_group - * Each of the FilterExpressions in the and_group has an AND relationship. - * @type \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList $or_group - * Each of the FilterExpressions in the or_group has an OR relationship. - * @type \Google\Analytics\Admin\V1alpha\AccessFilterExpression $not_expression - * The FilterExpression is NOT of not_expression. - * @type \Google\Analytics\Admin\V1alpha\AccessFilter $access_filter - * A primitive filter. In the same FilterExpression, all of the filter's - * field names need to be either all dimensions or all metrics. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * Each of the FilterExpressions in the and_group has an AND relationship. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; - * @return \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList|null - */ - public function getAndGroup() - { - return $this->readOneof(1); - } - - public function hasAndGroup() - { - return $this->hasOneof(1); - } - - /** - * Each of the FilterExpressions in the and_group has an AND relationship. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1; - * @param \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList $var - * @return $this - */ - public function setAndGroup($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Each of the FilterExpressions in the or_group has an OR relationship. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; - * @return \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList|null - */ - public function getOrGroup() - { - return $this->readOneof(2); - } - - public function hasOrGroup() - { - return $this->hasOneof(2); - } - - /** - * Each of the FilterExpressions in the or_group has an OR relationship. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2; - * @param \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList $var - * @return $this - */ - public function setOrGroup($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessFilterExpressionList::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * The FilterExpression is NOT of not_expression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; - * @return \Google\Analytics\Admin\V1alpha\AccessFilterExpression|null - */ - public function getNotExpression() - { - return $this->readOneof(3); - } - - public function hasNotExpression() - { - return $this->hasOneof(3); - } - - /** - * The FilterExpression is NOT of not_expression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3; - * @param \Google\Analytics\Admin\V1alpha\AccessFilterExpression $var - * @return $this - */ - public function setNotExpression($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessFilterExpression::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * A primitive filter. In the same FilterExpression, all of the filter's - * field names need to be either all dimensions or all metrics. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; - * @return \Google\Analytics\Admin\V1alpha\AccessFilter|null - */ - public function getAccessFilter() - { - return $this->readOneof(4); - } - - public function hasAccessFilter() - { - return $this->hasOneof(4); - } - - /** - * A primitive filter. In the same FilterExpression, all of the filter's - * field names need to be either all dimensions or all metrics. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilter access_filter = 4; - * @param \Google\Analytics\Admin\V1alpha\AccessFilter $var - * @return $this - */ - public function setAccessFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessFilter::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * @return string - */ - public function getOneExpression() - { - return $this->whichOneof("one_expression"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpressionList.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpressionList.php deleted file mode 100644 index bd5564b2d455..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessFilterExpressionList.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1alpha.AccessFilterExpressionList - */ -class AccessFilterExpressionList extends \Google\Protobuf\Internal\Message -{ - /** - * A list of filter expressions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; - */ - private $expressions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AccessFilterExpression[] $expressions - * A list of filter expressions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * A list of filter expressions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessFilterExpression> - */ - public function getExpressions() - { - return $this->expressions; - } - - /** - * A list of filter expressions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessFilterExpression expressions = 1; - * @param \Google\Analytics\Admin\V1alpha\AccessFilterExpression[] $var - * @return $this - */ - public function setExpressions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessFilterExpression::class); - $this->expressions = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessInListFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessInListFilter.php deleted file mode 100644 index a0b583776621..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessInListFilter.php +++ /dev/null @@ -1,101 +0,0 @@ -google.analytics.admin.v1alpha.AccessInListFilter - */ -class AccessInListFilter extends \Google\Protobuf\Internal\Message -{ - /** - * The list of string values. Must be non-empty. - * - * Generated from protobuf field repeated string values = 1; - */ - private $values; - /** - * If true, the string value is case sensitive. - * - * Generated from protobuf field bool case_sensitive = 2; - */ - protected $case_sensitive = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string[] $values - * The list of string values. Must be non-empty. - * @type bool $case_sensitive - * If true, the string value is case sensitive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The list of string values. Must be non-empty. - * - * Generated from protobuf field repeated string values = 1; - * @return RepeatedField - */ - public function getValues() - { - return $this->values; - } - - /** - * The list of string values. Must be non-empty. - * - * Generated from protobuf field repeated string values = 1; - * @param string[] $var - * @return $this - */ - public function setValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->values = $arr; - - return $this; - } - - /** - * If true, the string value is case sensitive. - * - * Generated from protobuf field bool case_sensitive = 2; - * @return bool - */ - public function getCaseSensitive() - { - return $this->case_sensitive; - } - - /** - * If true, the string value is case sensitive. - * - * Generated from protobuf field bool case_sensitive = 2; - * @param bool $var - * @return $this - */ - public function setCaseSensitive($var) - { - GPBUtil::checkBool($var); - $this->case_sensitive = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetric.php deleted file mode 100644 index 9328a47b19bb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetric.php +++ /dev/null @@ -1,80 +0,0 @@ -google.analytics.admin.v1alpha.AccessMetric - */ -class AccessMetric extends \Google\Protobuf\Internal\Message -{ - /** - * The API name of the metric. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of metrics supported in this API. - * Metrics are referenced by name in `metricFilter` & `orderBys`. - * - * Generated from protobuf field string metric_name = 1; - */ - protected $metric_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $metric_name - * The API name of the metric. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of metrics supported in this API. - * Metrics are referenced by name in `metricFilter` & `orderBys`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The API name of the metric. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of metrics supported in this API. - * Metrics are referenced by name in `metricFilter` & `orderBys`. - * - * Generated from protobuf field string metric_name = 1; - * @return string - */ - public function getMetricName() - { - return $this->metric_name; - } - - /** - * The API name of the metric. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of metrics supported in this API. - * Metrics are referenced by name in `metricFilter` & `orderBys`. - * - * Generated from protobuf field string metric_name = 1; - * @param string $var - * @return $this - */ - public function setMetricName($var) - { - GPBUtil::checkString($var, True); - $this->metric_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricHeader.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricHeader.php deleted file mode 100644 index aacfd81d2cad..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricHeader.php +++ /dev/null @@ -1,70 +0,0 @@ -google.analytics.admin.v1alpha.AccessMetricHeader - */ -class AccessMetricHeader extends \Google\Protobuf\Internal\Message -{ - /** - * The metric's name; for example 'accessCount'. - * - * Generated from protobuf field string metric_name = 1; - */ - protected $metric_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $metric_name - * The metric's name; for example 'accessCount'. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The metric's name; for example 'accessCount'. - * - * Generated from protobuf field string metric_name = 1; - * @return string - */ - public function getMetricName() - { - return $this->metric_name; - } - - /** - * The metric's name; for example 'accessCount'. - * - * Generated from protobuf field string metric_name = 1; - * @param string $var - * @return $this - */ - public function setMetricName($var) - { - GPBUtil::checkString($var, True); - $this->metric_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricValue.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricValue.php deleted file mode 100644 index 8749fdc06b93..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessMetricValue.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1alpha.AccessMetricValue - */ -class AccessMetricValue extends \Google\Protobuf\Internal\Message -{ - /** - * The measurement value. For example, this value may be '13'. - * - * Generated from protobuf field string value = 1; - */ - protected $value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * The measurement value. For example, this value may be '13'. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The measurement value. For example, this value may be '13'. - * - * Generated from protobuf field string value = 1; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * The measurement value. For example, this value may be '13'. - * - * Generated from protobuf field string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter.php deleted file mode 100644 index f7231becd361..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter.php +++ /dev/null @@ -1,111 +0,0 @@ -google.analytics.admin.v1alpha.AccessNumericFilter - */ -class AccessNumericFilter extends \Google\Protobuf\Internal\Message -{ - /** - * The operation type for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; - */ - protected $operation = 0; - /** - * A numeric value or a date value. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue value = 2; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $operation - * The operation type for this filter. - * @type \Google\Analytics\Admin\V1alpha\NumericValue $value - * A numeric value or a date value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The operation type for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; - * @return int - */ - public function getOperation() - { - return $this->operation; - } - - /** - * The operation type for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1; - * @param int $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AccessNumericFilter\Operation::class); - $this->operation = $var; - - return $this; - } - - /** - * A numeric value or a date value. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue value = 2; - * @return \Google\Analytics\Admin\V1alpha\NumericValue|null - */ - public function getValue() - { - return $this->value; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * A numeric value or a date value. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.NumericValue value = 2; - * @param \Google\Analytics\Admin\V1alpha\NumericValue $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\NumericValue::class); - $this->value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter/Operation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter/Operation.php deleted file mode 100644 index 81881d837c40..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessNumericFilter/Operation.php +++ /dev/null @@ -1,82 +0,0 @@ -google.analytics.admin.v1alpha.AccessNumericFilter.Operation - */ -class Operation -{ - /** - * Unspecified. - * - * Generated from protobuf enum OPERATION_UNSPECIFIED = 0; - */ - const OPERATION_UNSPECIFIED = 0; - /** - * Equal - * - * Generated from protobuf enum EQUAL = 1; - */ - const EQUAL = 1; - /** - * Less than - * - * 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) - { - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy.php deleted file mode 100644 index c06f123c12ae..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy.php +++ /dev/null @@ -1,148 +0,0 @@ -google.analytics.admin.v1alpha.AccessOrderBy - */ -class AccessOrderBy extends \Google\Protobuf\Internal\Message -{ - /** - * If true, sorts by descending order. If false or unspecified, sorts in - * ascending order. - * - * Generated from protobuf field bool desc = 3; - */ - protected $desc = false; - protected $one_order_by; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AccessOrderBy\MetricOrderBy $metric - * Sorts results by a metric's values. - * @type \Google\Analytics\Admin\V1alpha\AccessOrderBy\DimensionOrderBy $dimension - * Sorts results by a dimension's values. - * @type bool $desc - * If true, sorts by descending order. If false or unspecified, sorts in - * ascending order. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * Sorts results by a metric's values. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; - * @return \Google\Analytics\Admin\V1alpha\AccessOrderBy\MetricOrderBy|null - */ - public function getMetric() - { - return $this->readOneof(1); - } - - public function hasMetric() - { - return $this->hasOneof(1); - } - - /** - * Sorts results by a metric's values. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy metric = 1; - * @param \Google\Analytics\Admin\V1alpha\AccessOrderBy\MetricOrderBy $var - * @return $this - */ - public function setMetric($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessOrderBy\MetricOrderBy::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Sorts results by a dimension's values. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; - * @return \Google\Analytics\Admin\V1alpha\AccessOrderBy\DimensionOrderBy|null - */ - public function getDimension() - { - return $this->readOneof(2); - } - - public function hasDimension() - { - return $this->hasOneof(2); - } - - /** - * Sorts results by a dimension's values. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy dimension = 2; - * @param \Google\Analytics\Admin\V1alpha\AccessOrderBy\DimensionOrderBy $var - * @return $this - */ - public function setDimension($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessOrderBy\DimensionOrderBy::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * If true, sorts by descending order. If false or unspecified, sorts in - * ascending order. - * - * Generated from protobuf field bool desc = 3; - * @return bool - */ - public function getDesc() - { - return $this->desc; - } - - /** - * If true, sorts by descending order. If false or unspecified, sorts in - * ascending order. - * - * Generated from protobuf field bool desc = 3; - * @param bool $var - * @return $this - */ - public function setDesc($var) - { - GPBUtil::checkBool($var); - $this->desc = $var; - - return $this; - } - - /** - * @return string - */ - public function getOneOrderBy() - { - return $this->whichOneof("one_order_by"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy.php deleted file mode 100644 index c5466f1b10ff..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy.php +++ /dev/null @@ -1,101 +0,0 @@ -google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy - */ -class DimensionOrderBy extends \Google\Protobuf\Internal\Message -{ - /** - * A dimension name in the request to order by. - * - * Generated from protobuf field string dimension_name = 1; - */ - protected $dimension_name = ''; - /** - * Controls the rule for dimension value ordering. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - */ - protected $order_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $dimension_name - * A dimension name in the request to order by. - * @type int $order_type - * Controls the rule for dimension value ordering. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * A dimension name in the request to order by. - * - * Generated from protobuf field string dimension_name = 1; - * @return string - */ - public function getDimensionName() - { - return $this->dimension_name; - } - - /** - * A dimension name in the request to order by. - * - * Generated from protobuf field string dimension_name = 1; - * @param string $var - * @return $this - */ - public function setDimensionName($var) - { - GPBUtil::checkString($var, True); - $this->dimension_name = $var; - - return $this; - } - - /** - * Controls the rule for dimension value ordering. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - * @return int - */ - public function getOrderType() - { - return $this->order_type; - } - - /** - * Controls the rule for dimension value ordering. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - * @param int $var - * @return $this - */ - public function setOrderType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AccessOrderBy\DimensionOrderBy\OrderType::class); - $this->order_type = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy/OrderType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy/OrderType.php deleted file mode 100644 index 7740ff2627c0..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/DimensionOrderBy/OrderType.php +++ /dev/null @@ -1,73 +0,0 @@ -google.analytics.admin.v1alpha.AccessOrderBy.DimensionOrderBy.OrderType - */ -class OrderType -{ - /** - * Unspecified. - * - * Generated from protobuf enum ORDER_TYPE_UNSPECIFIED = 0; - */ - const ORDER_TYPE_UNSPECIFIED = 0; - /** - * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" < - * "b" < "z". - * - * Generated from protobuf enum ALPHANUMERIC = 1; - */ - const ALPHANUMERIC = 1; - /** - * Case insensitive alphanumeric sort by lower case Unicode code point. - * For example, "2" < "A" < "b" < "X" < "z". - * - * Generated from protobuf enum CASE_INSENSITIVE_ALPHANUMERIC = 2; - */ - const CASE_INSENSITIVE_ALPHANUMERIC = 2; - /** - * Dimension values are converted to numbers before sorting. For example - * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" < - * "25". Non-numeric dimension values all have equal ordering value below - * all numeric values. - * - * Generated from protobuf enum NUMERIC = 3; - */ - const NUMERIC = 3; - - private static $valueToName = [ - self::ORDER_TYPE_UNSPECIFIED => 'ORDER_TYPE_UNSPECIFIED', - self::ALPHANUMERIC => 'ALPHANUMERIC', - self::CASE_INSENSITIVE_ALPHANUMERIC => 'CASE_INSENSITIVE_ALPHANUMERIC', - self::NUMERIC => 'NUMERIC', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/MetricOrderBy.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/MetricOrderBy.php deleted file mode 100644 index da99d9d38fcf..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessOrderBy/MetricOrderBy.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy - */ -class MetricOrderBy extends \Google\Protobuf\Internal\Message -{ - /** - * A metric name in the request to order by. - * - * Generated from protobuf field string metric_name = 1; - */ - protected $metric_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $metric_name - * A metric name in the request to order by. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * A metric name in the request to order by. - * - * Generated from protobuf field string metric_name = 1; - * @return string - */ - public function getMetricName() - { - return $this->metric_name; - } - - /** - * A metric name in the request to order by. - * - * Generated from protobuf field string metric_name = 1; - * @param string $var - * @return $this - */ - public function setMetricName($var) - { - GPBUtil::checkString($var, True); - $this->metric_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuota.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuota.php deleted file mode 100644 index b03e73c8208a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuota.php +++ /dev/null @@ -1,283 +0,0 @@ -google.analytics.admin.v1alpha.AccessQuota - */ -class AccessQuota extends \Google\Protobuf\Internal\Message -{ - /** - * Properties can use 250,000 tokens per day. Most requests consume fewer than - * 10 tokens. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; - */ - protected $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 all of the hourly, - * daily, and per project hourly quotas. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2; - */ - protected $tokens_per_hour = null; - /** - * Properties can use up to 50 concurrent requests. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; - */ - protected $concurrent_requests = null; - /** - * Properties and cloud project pairs can have up to 50 server errors per - * hour. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - */ - protected $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; - */ - protected $tokens_per_project_per_hour = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AccessQuotaStatus $tokens_per_day - * Properties can use 250,000 tokens per day. Most requests consume fewer than - * 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 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) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * Properties can use 250,000 tokens per day. Most requests consume fewer than - * 10 tokens. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; - * @return \Google\Analytics\Admin\V1alpha\AccessQuotaStatus|null - */ - public function getTokensPerDay() - { - return $this->tokens_per_day; - } - - public function hasTokensPerDay() - { - return isset($this->tokens_per_day); - } - - public function clearTokensPerDay() - { - unset($this->tokens_per_day); - } - - /** - * Properties can use 250,000 tokens per day. Most requests consume fewer than - * 10 tokens. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_day = 1; - * @param \Google\Analytics\Admin\V1alpha\AccessQuotaStatus $var - * @return $this - */ - public function setTokensPerDay($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessQuotaStatus::class); - $this->tokens_per_day = $var; - - return $this; - } - - /** - * Properties can use 50,000 tokens 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_hour = 2; - * @return \Google\Analytics\Admin\V1alpha\AccessQuotaStatus|null - */ - public function getTokensPerHour() - { - return $this->tokens_per_hour; - } - - public function hasTokensPerHour() - { - return isset($this->tokens_per_hour); - } - - public function clearTokensPerHour() - { - unset($this->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 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 - * @return $this - */ - public function setTokensPerHour($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessQuotaStatus::class); - $this->tokens_per_hour = $var; - - return $this; - } - - /** - * Properties can use up to 50 concurrent requests. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; - * @return \Google\Analytics\Admin\V1alpha\AccessQuotaStatus|null - */ - public function getConcurrentRequests() - { - return $this->concurrent_requests; - } - - public function hasConcurrentRequests() - { - return isset($this->concurrent_requests); - } - - public function clearConcurrentRequests() - { - unset($this->concurrent_requests); - } - - /** - * Properties can use up to 50 concurrent requests. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus concurrent_requests = 3; - * @param \Google\Analytics\Admin\V1alpha\AccessQuotaStatus $var - * @return $this - */ - public function setConcurrentRequests($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessQuotaStatus::class); - $this->concurrent_requests = $var; - - return $this; - } - - /** - * Properties and cloud project pairs can have up to 50 server errors per - * hour. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * @return \Google\Analytics\Admin\V1alpha\AccessQuotaStatus|null - */ - public function getServerErrorsPerProjectPerHour() - { - return $this->server_errors_per_project_per_hour; - } - - public function hasServerErrorsPerProjectPerHour() - { - return isset($this->server_errors_per_project_per_hour); - } - - public function clearServerErrorsPerProjectPerHour() - { - unset($this->server_errors_per_project_per_hour); - } - - /** - * Properties and cloud project pairs can have up to 50 server errors per - * hour. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * @param \Google\Analytics\Admin\V1alpha\AccessQuotaStatus $var - * @return $this - */ - public function setServerErrorsPerProjectPerHour($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessQuotaStatus::class); - $this->server_errors_per_project_per_hour = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuotaStatus.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuotaStatus.php deleted file mode 100644 index 26530a02d953..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessQuotaStatus.php +++ /dev/null @@ -1,101 +0,0 @@ -google.analytics.admin.v1alpha.AccessQuotaStatus - */ -class AccessQuotaStatus extends \Google\Protobuf\Internal\Message -{ - /** - * Quota consumed by this request. - * - * Generated from protobuf field int32 consumed = 1; - */ - protected $consumed = 0; - /** - * Quota remaining after this request. - * - * Generated from protobuf field int32 remaining = 2; - */ - protected $remaining = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $consumed - * Quota consumed by this request. - * @type int $remaining - * Quota remaining after this request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * Quota consumed by this request. - * - * Generated from protobuf field int32 consumed = 1; - * @return int - */ - public function getConsumed() - { - return $this->consumed; - } - - /** - * Quota consumed by this request. - * - * Generated from protobuf field int32 consumed = 1; - * @param int $var - * @return $this - */ - public function setConsumed($var) - { - GPBUtil::checkInt32($var); - $this->consumed = $var; - - return $this; - } - - /** - * Quota remaining after this request. - * - * Generated from protobuf field int32 remaining = 2; - * @return int - */ - public function getRemaining() - { - return $this->remaining; - } - - /** - * Quota remaining after this request. - * - * Generated from protobuf field int32 remaining = 2; - * @param int $var - * @return $this - */ - public function setRemaining($var) - { - GPBUtil::checkInt32($var); - $this->remaining = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessRow.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessRow.php deleted file mode 100644 index 8b806fee0b6b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessRow.php +++ /dev/null @@ -1,109 +0,0 @@ -google.analytics.admin.v1alpha.AccessRow - */ -class AccessRow extends \Google\Protobuf\Internal\Message -{ - /** - * List of dimension values. These values are in the same order as specified - * in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - */ - private $dimension_values; - /** - * List of metric values. These values are in the same order as specified - * in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2; - */ - private $metric_values; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AccessDimensionValue[] $dimension_values - * List of dimension values. These values are in the same order as specified - * in the request. - * @type \Google\Analytics\Admin\V1alpha\AccessMetricValue[] $metric_values - * List of metric values. These values are in the same order as specified - * in the request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * List of dimension values. These values are in the same order as specified - * in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessDimensionValue> - */ - public function getDimensionValues() - { - return $this->dimension_values; - } - - /** - * List of dimension values. These values are in the same order as specified - * in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimensionValue dimension_values = 1; - * @param \Google\Analytics\Admin\V1alpha\AccessDimensionValue[] $var - * @return $this - */ - public function setDimensionValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessDimensionValue::class); - $this->dimension_values = $arr; - - return $this; - } - - /** - * List of metric values. These values are in the same order as specified - * in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessMetricValue> - */ - public function getMetricValues() - { - return $this->metric_values; - } - - /** - * List of metric values. These values are in the same order as specified - * in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetricValue metric_values = 2; - * @param \Google\Analytics\Admin\V1alpha\AccessMetricValue[] $var - * @return $this - */ - public function setMetricValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessMetricValue::class); - $this->metric_values = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter.php deleted file mode 100644 index fd41fc2d2efc..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter.php +++ /dev/null @@ -1,135 +0,0 @@ -google.analytics.admin.v1alpha.AccessStringFilter - */ -class AccessStringFilter extends \Google\Protobuf\Internal\Message -{ - /** - * The match type for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; - */ - protected $match_type = 0; - /** - * The string value used for the matching. - * - * Generated from protobuf field string value = 2; - */ - protected $value = ''; - /** - * If true, the string value is case sensitive. - * - * Generated from protobuf field bool case_sensitive = 3; - */ - protected $case_sensitive = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $match_type - * The match type for this filter. - * @type string $value - * The string value used for the matching. - * @type bool $case_sensitive - * If true, the string value is case sensitive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The match type for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; - * @return int - */ - public function getMatchType() - { - return $this->match_type; - } - - /** - * The match type for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1; - * @param int $var - * @return $this - */ - public function setMatchType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AccessStringFilter\MatchType::class); - $this->match_type = $var; - - return $this; - } - - /** - * The string value used for the matching. - * - * Generated from protobuf field string value = 2; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * The string value used for the matching. - * - * Generated from protobuf field string value = 2; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - - /** - * If true, the string value is case sensitive. - * - * Generated from protobuf field bool case_sensitive = 3; - * @return bool - */ - public function getCaseSensitive() - { - return $this->case_sensitive; - } - - /** - * If true, the string value is case sensitive. - * - * Generated from protobuf field bool case_sensitive = 3; - * @param bool $var - * @return $this - */ - public function setCaseSensitive($var) - { - GPBUtil::checkBool($var); - $this->case_sensitive = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter/MatchType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter/MatchType.php deleted file mode 100644 index 27a674807817..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccessStringFilter/MatchType.php +++ /dev/null @@ -1,89 +0,0 @@ -google.analytics.admin.v1alpha.AccessStringFilter.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; - /** - * Begins with the string value. - * - * Generated from protobuf enum BEGINS_WITH = 2; - */ - const BEGINS_WITH = 2; - /** - * Ends with the string value. - * - * Generated from protobuf enum ENDS_WITH = 3; - */ - const ENDS_WITH = 3; - /** - * Contains the string value. - * - * Generated from protobuf enum CONTAINS = 4; - */ - const CONTAINS = 4; - /** - * Full match for the regular expression with the string value. - * - * Generated from protobuf enum FULL_REGEXP = 5; - */ - const FULL_REGEXP = 5; - /** - * Partial match for the regular expression 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', - self::EXACT => 'EXACT', - self::BEGINS_WITH => 'BEGINS_WITH', - self::ENDS_WITH => 'ENDS_WITH', - self::CONTAINS => 'CONTAINS', - self::FULL_REGEXP => 'FULL_REGEXP', - self::PARTIAL_REGEXP => 'PARTIAL_REGEXP', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Account.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Account.php deleted file mode 100644 index 45614624eb02..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Account.php +++ /dev/null @@ -1,311 +0,0 @@ -google.analytics.admin.v1alpha.Account - */ -class Account extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Resource name of this account. - * Format: accounts/{account} - * Example: "accounts/100" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Output only. Time when this account was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Time when account payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Required. Human-readable display name for this account. - * - * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Country of business. Must be a Unicode CLDR region code. - * - * Generated from protobuf field string region_code = 5; - */ - protected $region_code = ''; - /** - * Output only. Indicates whether this Account is soft-deleted or not. Deleted - * accounts are excluded from List results unless specifically requested. - * - * Generated from protobuf field bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $deleted = false; - /** - * Output only. The URI for a Google Marketing Platform organization resource. - * Only set when this account is connected to a GMP organization. - * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} - * - * Generated from protobuf field string gmp_organization = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $gmp_organization = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. Resource name of this account. - * Format: accounts/{account} - * Example: "accounts/100" - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when this account was originally created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Time when account payload fields were last updated. - * @type string $display_name - * Required. Human-readable display name for this account. - * @type string $region_code - * Country of business. Must be a Unicode CLDR region code. - * @type bool $deleted - * Output only. Indicates whether this Account is soft-deleted or not. Deleted - * accounts are excluded from List results unless specifically requested. - * @type string $gmp_organization - * Output only. The URI for a Google Marketing Platform organization resource. - * Only set when this account is connected to a GMP organization. - * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. Resource name of this account. - * Format: accounts/{account} - * Example: "accounts/100" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Resource name of this account. - * Format: accounts/{account} - * Example: "accounts/100" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Time when this account was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.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 this account was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.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; - } - - /** - * Output only. Time when account payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Time when account payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Required. Human-readable display name for this account. - * - * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. Human-readable display name for this account. - * - * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Country of business. Must be a Unicode CLDR region code. - * - * Generated from protobuf field string region_code = 5; - * @return string - */ - public function getRegionCode() - { - return $this->region_code; - } - - /** - * Country of business. Must be a Unicode CLDR region code. - * - * Generated from protobuf field string region_code = 5; - * @param string $var - * @return $this - */ - public function setRegionCode($var) - { - GPBUtil::checkString($var, True); - $this->region_code = $var; - - return $this; - } - - /** - * Output only. Indicates whether this Account is soft-deleted or not. Deleted - * accounts are excluded from List results unless specifically requested. - * - * Generated from protobuf field bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getDeleted() - { - return $this->deleted; - } - - /** - * Output only. Indicates whether this Account is soft-deleted or not. Deleted - * accounts are excluded from List results unless specifically requested. - * - * Generated from protobuf field bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setDeleted($var) - { - GPBUtil::checkBool($var); - $this->deleted = $var; - - return $this; - } - - /** - * Output only. The URI for a Google Marketing Platform organization resource. - * Only set when this account is connected to a GMP organization. - * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} - * - * Generated from protobuf field string gmp_organization = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getGmpOrganization() - { - return $this->gmp_organization; - } - - /** - * Output only. The URI for a Google Marketing Platform organization resource. - * Only set when this account is connected to a GMP organization. - * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} - * - * Generated from protobuf field string gmp_organization = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setGmpOrganization($var) - { - GPBUtil::checkString($var, True); - $this->gmp_organization = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccountSummary.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccountSummary.php deleted file mode 100644 index 4da570b20015..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AccountSummary.php +++ /dev/null @@ -1,186 +0,0 @@ -google.analytics.admin.v1alpha.AccountSummary - */ -class AccountSummary extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Resource name for this account summary. - * Format: accountSummaries/{account_id} - * Example: "accountSummaries/1000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Resource name of account referred to by this account summary - * Format: accounts/{account_id} - * Example: "accounts/1000" - * - * Generated from protobuf field string account = 2 [(.google.api.resource_reference) = { - */ - protected $account = ''; - /** - * Display name for the account referred to in this account summary. - * - * Generated from protobuf field string display_name = 3; - */ - protected $display_name = ''; - /** - * List of summaries for child accounts of this account. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; - */ - private $property_summaries; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. Resource name for this account summary. - * Format: accountSummaries/{account_id} - * Example: "accountSummaries/1000" - * @type string $account - * Resource name of account referred to by this account summary - * Format: accounts/{account_id} - * Example: "accounts/1000" - * @type string $display_name - * Display name for the account referred to in this account summary. - * @type \Google\Analytics\Admin\V1alpha\PropertySummary[] $property_summaries - * List of summaries for child accounts of this account. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. Resource name for this account summary. - * Format: accountSummaries/{account_id} - * Example: "accountSummaries/1000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Resource name for this account summary. - * Format: accountSummaries/{account_id} - * Example: "accountSummaries/1000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Resource name of account referred to by this account summary - * Format: accounts/{account_id} - * Example: "accounts/1000" - * - * Generated from protobuf field string account = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getAccount() - { - return $this->account; - } - - /** - * Resource name of account referred to by this account summary - * Format: accounts/{account_id} - * Example: "accounts/1000" - * - * Generated from protobuf field string account = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAccount($var) - { - GPBUtil::checkString($var, True); - $this->account = $var; - - return $this; - } - - /** - * Display name for the account referred to in this account summary. - * - * Generated from protobuf field string display_name = 3; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Display name for the account referred to in this account summary. - * - * Generated from protobuf field string display_name = 3; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * List of summaries for child accounts of this account. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\PropertySummary> - */ - public function getPropertySummaries() - { - return $this->property_summaries; - } - - /** - * List of summaries for child accounts of this account. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.PropertySummary property_summaries = 4; - * @param \Google\Analytics\Admin\V1alpha\PropertySummary[] $var - * @return $this - */ - public function setPropertySummaries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\PropertySummary::class); - $this->property_summaries = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionRequest.php deleted file mode 100644 index e85557124784..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionRequest.php +++ /dev/null @@ -1,125 +0,0 @@ -google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest - */ -class AcknowledgeUserDataCollectionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The property for which to acknowledge user data collection. - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $property = ''; - /** - * 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, - * including the association of such data with the visitation information - * Google Analytics collects from my site and/or app property." - * - * Generated from protobuf field string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $acknowledgement = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @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. - * 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, - * including the association of such data with the visitation information - * Google Analytics collects from my site and/or app property." - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The property for which to acknowledge user data collection. - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getProperty() - { - return $this->property; - } - - /** - * Required. The property for which to acknowledge user data collection. - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkString($var, True); - $this->property = $var; - - return $this; - } - - /** - * 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, - * including the association of such data with the visitation information - * Google Analytics collects from my site and/or app property." - * - * Generated from protobuf field string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getAcknowledgement() - { - return $this->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 - * from my end users for the collection and processing of their data, - * including the association of such data with the visitation information - * Google Analytics collects from my site and/or app property." - * - * Generated from protobuf field string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setAcknowledgement($var) - { - GPBUtil::checkString($var, True); - $this->acknowledgement = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionResponse.php deleted file mode 100644 index f065b3e83cd6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AcknowledgeUserDataCollectionResponse.php +++ /dev/null @@ -1,33 +0,0 @@ -google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionResponse - */ -class AcknowledgeUserDataCollectionResponse 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActionType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActionType.php deleted file mode 100644 index 49253924461b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActionType.php +++ /dev/null @@ -1,68 +0,0 @@ -google.analytics.admin.v1alpha.ActionType - */ -class ActionType -{ - /** - * Action type unknown or not specified. - * - * Generated from protobuf enum ACTION_TYPE_UNSPECIFIED = 0; - */ - const ACTION_TYPE_UNSPECIFIED = 0; - /** - * Resource was created in this change. - * - * Generated from protobuf enum CREATED = 1; - */ - const CREATED = 1; - /** - * Resource was updated in this change. - * - * Generated from protobuf enum UPDATED = 2; - */ - const UPDATED = 2; - /** - * Resource was deleted in this change. - * - * Generated from protobuf enum DELETED = 3; - */ - const DELETED = 3; - - private static $valueToName = [ - self::ACTION_TYPE_UNSPECIFIED => 'ACTION_TYPE_UNSPECIFIED', - self::CREATED => 'CREATED', - self::UPDATED => 'UPDATED', - self::DELETED => 'DELETED', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActorType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActorType.php deleted file mode 100644 index f2bc347c5a68..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ActorType.php +++ /dev/null @@ -1,69 +0,0 @@ -google.analytics.admin.v1alpha.ActorType - */ -class ActorType -{ - /** - * Unknown or unspecified actor type. - * - * Generated from protobuf enum ACTOR_TYPE_UNSPECIFIED = 0; - */ - const ACTOR_TYPE_UNSPECIFIED = 0; - /** - * Changes made by the user specified in actor_email. - * - * Generated from protobuf enum USER = 1; - */ - const USER = 1; - /** - * Changes made by the Google Analytics system. - * - * Generated from protobuf enum SYSTEM = 2; - */ - const SYSTEM = 2; - /** - * Changes made by Google Analytics support team staff. - * - * Generated from protobuf enum SUPPORT = 3; - */ - const SUPPORT = 3; - - private static $valueToName = [ - self::ACTOR_TYPE_UNSPECIFIED => 'ACTOR_TYPE_UNSPECIFIED', - self::USER => 'USER', - self::SYSTEM => 'SYSTEM', - self::SUPPORT => 'SUPPORT', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AdSenseLink.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AdSenseLink.php deleted file mode 100644 index 4413d90c3e29..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AdSenseLink.php +++ /dev/null @@ -1,114 +0,0 @@ -google.analytics.admin.v1alpha.AdSenseLink - */ -class AdSenseLink extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name for this AdSense Link resource. - * Format: properties/{propertyId}/adSenseLinks/{linkId} - * Example: properties/1234/adSenseLinks/6789 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Immutable. The AdSense ad client code that the Google Analytics property is - * linked to. Example format: "ca-pub-1234567890" - * - * Generated from protobuf field string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $ad_client_code = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. The resource name for this AdSense Link resource. - * Format: properties/{propertyId}/adSenseLinks/{linkId} - * Example: properties/1234/adSenseLinks/6789 - * @type string $ad_client_code - * Immutable. The AdSense ad client code that the Google Analytics property is - * linked to. Example format: "ca-pub-1234567890" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name for this AdSense Link resource. - * Format: properties/{propertyId}/adSenseLinks/{linkId} - * Example: properties/1234/adSenseLinks/6789 - * - * 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 AdSense Link resource. - * Format: properties/{propertyId}/adSenseLinks/{linkId} - * Example: properties/1234/adSenseLinks/6789 - * - * 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 AdSense ad client code that the Google Analytics property is - * linked to. Example format: "ca-pub-1234567890" - * - * Generated from protobuf field string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getAdClientCode() - { - return $this->ad_client_code; - } - - /** - * Immutable. The AdSense ad client code that the Google Analytics property is - * linked to. Example format: "ca-pub-1234567890" - * - * Generated from protobuf field string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setAdClientCode($var) - { - GPBUtil::checkString($var, True); - $this->ad_client_code = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.php deleted file mode 100644 index 7778387b23c1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.php +++ /dev/null @@ -1,71 +0,0 @@ -google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalRequest - */ -class ApproveDisplayVideo360AdvertiserLinkProposalRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to approve. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.php deleted file mode 100644 index 9dc3cecc3a00..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.php +++ /dev/null @@ -1,81 +0,0 @@ -google.analytics.admin.v1alpha.ApproveDisplayVideo360AdvertiserLinkProposalResponse - */ -class ApproveDisplayVideo360AdvertiserLinkProposalResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The DisplayVideo360AdvertiserLink created as a result of approving the - * proposal. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - */ - protected $display_video_360_advertiser_link = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $display_video_360_advertiser_link - * The DisplayVideo360AdvertiserLink created as a result of approving the - * proposal. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The DisplayVideo360AdvertiserLink created as a result of approving the - * proposal. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink|null - */ - public function getDisplayVideo360AdvertiserLink() - { - return $this->display_video_360_advertiser_link; - } - - public function hasDisplayVideo360AdvertiserLink() - { - return isset($this->display_video_360_advertiser_link); - } - - public function clearDisplayVideo360AdvertiserLink() - { - unset($this->display_video_360_advertiser_link); - } - - /** - * The DisplayVideo360AdvertiserLink created as a result of approving the - * proposal. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $var - * @return $this - */ - public function setDisplayVideo360AdvertiserLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink::class); - $this->display_video_360_advertiser_link = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveAudienceRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveAudienceRequest.php deleted file mode 100644 index 12abda85c8e7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveAudienceRequest.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1alpha.ArchiveAudienceRequest - */ -class ArchiveAudienceRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Example format: properties/1234/audiences/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Example format: properties/1234/audiences/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Example format: properties/1234/audiences/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. Example format: properties/1234/audiences/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomDimensionRequest.php deleted file mode 100644 index e810fee8cf61..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomDimensionRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest - */ -class ArchiveCustomDimensionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the CustomDimension to archive. - * Example format: properties/1234/customDimensions/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the CustomDimension to archive. - * Example format: properties/1234/customDimensions/5678 - * Please see {@see AnalyticsAdminServiceClient::customDimensionName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ArchiveCustomDimensionRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the CustomDimension to archive. - * Example format: properties/1234/customDimensions/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the CustomDimension to archive. - * Example format: properties/1234/customDimensions/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 CustomDimension to archive. - * Example format: properties/1234/customDimensions/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomMetricRequest.php deleted file mode 100644 index ff5428c4d5c5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ArchiveCustomMetricRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.ArchiveCustomMetricRequest - */ -class ArchiveCustomMetricRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the CustomMetric to archive. - * Example format: properties/1234/customMetrics/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the CustomMetric to archive. - * Example format: properties/1234/customMetrics/5678 - * Please see {@see AnalyticsAdminServiceClient::customMetricName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ArchiveCustomMetricRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the CustomMetric to archive. - * Example format: properties/1234/customMetrics/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the CustomMetric to archive. - * Example format: properties/1234/customMetrics/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 CustomMetric to archive. - * Example format: properties/1234/customMetrics/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings.php deleted file mode 100644 index 2c232db50c15..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings.php +++ /dev/null @@ -1,240 +0,0 @@ -google.analytics.admin.v1alpha.AttributionSettings - */ -class AttributionSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of this attribution settings resource. - * Format: properties/{property_id}/attributionSettings - * Example: "properties/1000/attributionSettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * 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]; - */ - protected $acquisition_conversion_event_lookback_window = 0; - /** - * 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]; - */ - protected $other_conversion_event_lookback_window = 0; - /** - * 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. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $reporting_attribution_model = 0; - /** - * Required. The Conversion Export Scope for data exported to linked Ads - * Accounts. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $ads_web_conversion_data_export_scope = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of this attribution settings resource. - * 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. - * @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. - * @type int $reporting_attribution_model - * 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. - * @type int $ads_web_conversion_data_export_scope - * Required. The Conversion Export Scope for data exported to linked Ads - * Accounts. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of this attribution settings resource. - * Format: properties/{property_id}/attributionSettings - * Example: "properties/1000/attributionSettings" - * - * 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 attribution settings resource. - * Format: properties/{property_id}/attributionSettings - * Example: "properties/1000/attributionSettings" - * - * 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 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 - */ - public function getAcquisitionConversionEventLookbackWindow() - { - return $this->acquisition_conversion_event_lookback_window; - } - - /** - * 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 - * @return $this - */ - public function setAcquisitionConversionEventLookbackWindow($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AttributionSettings\AcquisitionConversionEventLookbackWindow::class); - $this->acquisition_conversion_event_lookback_window = $var; - - return $this; - } - - /** - * 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 - */ - public function getOtherConversionEventLookbackWindow() - { - return $this->other_conversion_event_lookback_window; - } - - /** - * 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 - * @return $this - */ - public function setOtherConversionEventLookbackWindow($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AttributionSettings\OtherConversionEventLookbackWindow::class); - $this->other_conversion_event_lookback_window = $var; - - return $this; - } - - /** - * 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. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getReportingAttributionModel() - { - return $this->reporting_attribution_model; - } - - /** - * 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. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setReportingAttributionModel($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AttributionSettings\ReportingAttributionModel::class); - $this->reporting_attribution_model = $var; - - return $this; - } - - /** - * Required. The Conversion Export Scope for data exported to linked Ads - * Accounts. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getAdsWebConversionDataExportScope() - { - return $this->ads_web_conversion_data_export_scope; - } - - /** - * Required. The Conversion Export Scope for data exported to linked Ads - * Accounts. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setAdsWebConversionDataExportScope($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AttributionSettings\AdsWebConversionDataExportScope::class); - $this->ads_web_conversion_data_export_scope = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AcquisitionConversionEventLookbackWindow.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AcquisitionConversionEventLookbackWindow.php deleted file mode 100644 index f393e4f8e176..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AcquisitionConversionEventLookbackWindow.php +++ /dev/null @@ -1,63 +0,0 @@ -google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow - */ -class AcquisitionConversionEventLookbackWindow -{ - /** - * Lookback window size unspecified. - * - * Generated from protobuf enum ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0; - */ - const ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0; - /** - * 7-day lookback window. - * - * Generated from protobuf enum ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS = 1; - */ - const ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS = 1; - /** - * 30-day lookback window. - * - * Generated from protobuf enum ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 2; - */ - const ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 2; - - private static $valueToName = [ - self::ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED => 'ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED', - self::ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS => 'ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS', - self::ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS => 'ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AdsWebConversionDataExportScope.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AdsWebConversionDataExportScope.php deleted file mode 100644 index 7abd7346b43c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/AdsWebConversionDataExportScope.php +++ /dev/null @@ -1,74 +0,0 @@ -google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope - */ -class AdsWebConversionDataExportScope -{ - /** - * Default value. This value is unused. - * - * Generated from protobuf enum ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED = 0; - */ - const ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED = 0; - /** - * No data export scope selected yet. - * Export scope can never be changed back to this value. - * - * Generated from protobuf enum NOT_SELECTED_YET = 1; - */ - const NOT_SELECTED_YET = 1; - /** - * Paid and organic channels are eligible to receive conversion credit, but - * only credit assigned to Google Ads channels will appear in your Ads - * accounts. To learn more, see [Paid and Organic - * channels](https://support.google.com/analytics/answer/10632359). - * - * Generated from protobuf enum PAID_AND_ORGANIC_CHANNELS = 2; - */ - const PAID_AND_ORGANIC_CHANNELS = 2; - /** - * Only Google Ads paid channels are eligible to receive conversion credit. - * To learn more, see [Google Paid - * channels](https://support.google.com/analytics/answer/10632359). - * - * Generated from protobuf enum GOOGLE_PAID_CHANNELS = 3; - */ - const GOOGLE_PAID_CHANNELS = 3; - - private static $valueToName = [ - self::ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED => 'ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED', - self::NOT_SELECTED_YET => 'NOT_SELECTED_YET', - self::PAID_AND_ORGANIC_CHANNELS => 'PAID_AND_ORGANIC_CHANNELS', - self::GOOGLE_PAID_CHANNELS => 'GOOGLE_PAID_CHANNELS', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/OtherConversionEventLookbackWindow.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/OtherConversionEventLookbackWindow.php deleted file mode 100644 index 6d2c5f48dd85..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/OtherConversionEventLookbackWindow.php +++ /dev/null @@ -1,70 +0,0 @@ -google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow - */ -class OtherConversionEventLookbackWindow -{ - /** - * Lookback window size unspecified. - * - * Generated from protobuf enum OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0; - */ - const OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED = 0; - /** - * 30-day lookback window. - * - * Generated from protobuf enum OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 1; - */ - const OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS = 1; - /** - * 60-day lookback window. - * - * Generated from protobuf enum OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS = 2; - */ - const OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS = 2; - /** - * 90-day lookback window. - * - * Generated from protobuf enum OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS = 3; - */ - const OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS = 3; - - private static $valueToName = [ - self::OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED => 'OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED', - self::OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS => 'OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS', - self::OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS => 'OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS', - self::OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS => 'OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/ReportingAttributionModel.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/ReportingAttributionModel.php deleted file mode 100644 index a47adcb83c0d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AttributionSettings/ReportingAttributionModel.php +++ /dev/null @@ -1,77 +0,0 @@ -google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel - */ -class ReportingAttributionModel -{ - /** - * Reporting attribution model unspecified. - * - * Generated from protobuf enum REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED = 0; - */ - const REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED = 0; - /** - * Data-driven attribution distributes credit for the conversion based on - * data for each conversion event. Each Data-driven model is specific to - * each advertiser and each conversion event. - * Previously CROSS_CHANNEL_DATA_DRIVEN - * - * Generated from protobuf enum PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN = 1; - */ - const PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN = 1; - /** - * Ignores direct traffic and attributes 100% of the conversion value to the - * last channel that the customer clicked through (or engaged view through - * for YouTube) before converting. - * Previously CROSS_CHANNEL_LAST_CLICK - * - * Generated from protobuf enum PAID_AND_ORGANIC_CHANNELS_LAST_CLICK = 2; - */ - const PAID_AND_ORGANIC_CHANNELS_LAST_CLICK = 2; - /** - * Attributes 100% of the conversion value to the last Google Paid channel - * that the customer clicked through before converting. - * Previously ADS_PREFERRED_LAST_CLICK - * - * Generated from protobuf enum GOOGLE_PAID_CHANNELS_LAST_CLICK = 7; - */ - const GOOGLE_PAID_CHANNELS_LAST_CLICK = 7; - - private static $valueToName = [ - self::REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED => 'REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED', - self::PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN => 'PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN', - self::PAID_AND_ORGANIC_CHANNELS_LAST_CLICK => 'PAID_AND_ORGANIC_CHANNELS_LAST_CLICK', - self::GOOGLE_PAID_CHANNELS_LAST_CLICK => 'GOOGLE_PAID_CHANNELS_LAST_CLICK', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience.php deleted file mode 100644 index 39d1ae00122b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience.php +++ /dev/null @@ -1,387 +0,0 @@ -google.analytics.admin.v1alpha.Audience - */ -class Audience extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name for this Audience resource. - * Format: properties/{propertyId}/audiences/{audienceId} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. The display name of the Audience. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Required. The description of the Audience. - * - * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $description = ''; - /** - * 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]; - */ - protected $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. - * - * Generated from protobuf field bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $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. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $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. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $exclusion_duration_mode = 0; - /** - * 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]; - */ - private $filter_clauses; - /** - * Output only. Time when the Audience was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. The resource name for this Audience resource. - * Format: properties/{propertyId}/audiences/{audienceId} - * @type string $display_name - * Required. The display name of the Audience. - * @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. - * @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. - * @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. - * @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. - * @type \Google\Analytics\Admin\V1alpha\AudienceFilterClause[] $filter_clauses - * Required. Immutable. Unordered list. Filter clauses that define the - * Audience. All clauses will be AND’ed together. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when the Audience was created. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name for this Audience resource. - * Format: properties/{propertyId}/audiences/{audienceId} - * - * 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 Audience resource. - * Format: properties/{propertyId}/audiences/{audienceId} - * - * 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 Audience. - * - * 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 Audience. - * - * 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; - } - - /** - * Required. The description of the Audience. - * - * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Required. The description of the Audience. - * - * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * 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 - */ - public function getMembershipDurationDays() - { - return $this->membership_duration_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 - * @return $this - */ - public function setMembershipDurationDays($var) - { - GPBUtil::checkInt32($var); - $this->membership_duration_days = $var; - - return $this; - } - - /** - * 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 - */ - public function getAdsPersonalizationEnabled() - { - return $this->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. - * - * Generated from protobuf field bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setAdsPersonalizationEnabled($var) - { - GPBUtil::checkBool($var); - $this->ads_personalization_enabled = $var; - - return $this; - } - - /** - * 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 - */ - public function getEventTrigger() - { - return $this->event_trigger; - } - - public function hasEventTrigger() - { - return isset($this->event_trigger); - } - - public function clearEventTrigger() - { - unset($this->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. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Analytics\Admin\V1alpha\AudienceEventTrigger $var - * @return $this - */ - public function setEventTrigger($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceEventTrigger::class); - $this->event_trigger = $var; - - return $this; - } - - /** - * 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 - */ - public function getExclusionDurationMode() - { - return $this->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. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setExclusionDurationMode($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\Audience\AudienceExclusionDurationMode::class); - $this->exclusion_duration_mode = $var; - - return $this; - } - - /** - * 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 RepeatedField<\Google\Analytics\Admin\V1alpha\AudienceFilterClause> - */ - public function getFilterClauses() - { - return $this->filter_clauses; - } - - /** - * 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 \Google\Analytics\Admin\V1alpha\AudienceFilterClause[] $var - * @return $this - */ - public function setFilterClauses($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AudienceFilterClause::class); - $this->filter_clauses = $arr; - - return $this; - } - - /** - * Output only. Time when the Audience was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 9 [(.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 Audience was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 9 [(.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; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience/AudienceExclusionDurationMode.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience/AudienceExclusionDurationMode.php deleted file mode 100644 index 341b0297fecb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Audience/AudienceExclusionDurationMode.php +++ /dev/null @@ -1,63 +0,0 @@ -google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode - */ -class AudienceExclusionDurationMode -{ - /** - * Not specified. - * - * Generated from protobuf enum AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED = 0; - */ - const AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED = 0; - /** - * Exclude users from the Audience during periods when they meet the - * filter clause. - * - * Generated from protobuf enum EXCLUDE_TEMPORARILY = 1; - */ - const EXCLUDE_TEMPORARILY = 1; - /** - * Exclude users from the Audience if they've ever met the filter clause. - * - * Generated from protobuf enum EXCLUDE_PERMANENTLY = 2; - */ - const EXCLUDE_PERMANENTLY = 2; - - private static $valueToName = [ - self::AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED => 'AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED', - self::EXCLUDE_TEMPORARILY => 'EXCLUDE_TEMPORARILY', - self::EXCLUDE_PERMANENTLY => 'EXCLUDE_PERMANENTLY', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter.php deleted file mode 100644 index e72633dcec90..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter.php +++ /dev/null @@ -1,350 +0,0 @@ -google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter - */ -class AudienceDimensionOrMetricFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Immutable. The dimension name or metric name to filter. If the - * field name refers to a custom dimension or metric, a scope prefix will be - * added to the front of the custom dimensions or metric name. For more on - * scope prefixes or custom dimensions/metrics, reference the [Google - * Analytics Data API documentation] - * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions). - * - * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $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 - * 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. - * - * Generated from protobuf field bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $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 (For example, 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. - * It can only be set when Audience scope is ACROSS_ALL_SESSIONS and cannot be - * greater than 60 days. - * - * Generated from protobuf field int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $in_any_n_day_period = 0; - protected $one_filter; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\StringFilter $string_filter - * A filter for a string-type dimension that matches a particular pattern. - * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\InListFilter $in_list_filter - * A filter for a string dimension that matches a particular list of - * options. - * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericFilter $numeric_filter - * A filter for numeric or date values on a dimension or metric. - * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\BetweenFilter $between_filter - * A filter for numeric or date values between certain values on a dimension - * or metric. - * @type string $field_name - * Required. Immutable. The dimension name or metric name to filter. If the - * field name refers to a custom dimension or metric, a scope prefix will be - * added to the front of the custom dimensions or metric name. For more on - * scope prefixes or custom dimensions/metrics, reference the [Google - * Analytics Data API documentation] - * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions). - * @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 - * 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 (For example, 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. - * It can only be set when Audience scope is ACROSS_ALL_SESSIONS and cannot be - * greater than 60 days. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); - parent::__construct($data); - } - - /** - * A filter for a string-type dimension that matches a particular pattern. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\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.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2; - * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\StringFilter $var - * @return $this - */ - public function setStringFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\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.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\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.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3; - * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\InListFilter $var - * @return $this - */ - public function setInListFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\InListFilter::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * A filter for numeric or date values on a dimension or metric. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericFilter|null - */ - public function getNumericFilter() - { - return $this->readOneof(4); - } - - public function hasNumericFilter() - { - return $this->hasOneof(4); - } - - /** - * A filter for numeric or date values on a dimension or metric. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4; - * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericFilter $var - * @return $this - */ - public function setNumericFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericFilter::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * A filter for numeric or date values between certain values on a dimension - * or metric. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\BetweenFilter|null - */ - public function getBetweenFilter() - { - return $this->readOneof(5); - } - - public function hasBetweenFilter() - { - return $this->hasOneof(5); - } - - /** - * A filter for numeric or date values between certain values on a dimension - * or metric. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5; - * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\BetweenFilter $var - * @return $this - */ - public function setBetweenFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\BetweenFilter::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Required. Immutable. The dimension name or metric name to filter. If the - * field name refers to a custom dimension or metric, a scope prefix will be - * added to the front of the custom dimensions or metric name. For more on - * scope prefixes or custom dimensions/metrics, reference the [Google - * Analytics Data API documentation] - * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions). - * - * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getFieldName() - { - return $this->field_name; - } - - /** - * Required. Immutable. The dimension name or metric name to filter. If the - * field name refers to a custom dimension or metric, a scope prefix will be - * added to the front of the custom dimensions or metric name. For more on - * scope prefixes or custom dimensions/metrics, reference the [Google - * Analytics Data API documentation] - * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions). - * - * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setFieldName($var) - { - GPBUtil::checkString($var, True); - $this->field_name = $var; - - return $this; - } - - /** - * 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. - * - * Generated from protobuf field bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getAtAnyPointInTime() - { - return $this->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 - * 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. - * - * Generated from protobuf field bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setAtAnyPointInTime($var) - { - GPBUtil::checkBool($var); - $this->at_any_point_in_time = $var; - - return $this; - } - - /** - * 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 (For example, 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. - * It can only be set when Audience scope is ACROSS_ALL_SESSIONS and cannot be - * greater than 60 days. - * - * Generated from protobuf field int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getInAnyNDayPeriod() - { - return $this->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 (For example, 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. - * It can only be set when Audience scope is ACROSS_ALL_SESSIONS and cannot be - * greater than 60 days. - * - * Generated from protobuf field int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setInAnyNDayPeriod($var) - { - GPBUtil::checkInt32($var); - $this->in_any_n_day_period = $var; - - return $this; - } - - /** - * @return string - */ - public function getOneFilter() - { - return $this->whichOneof("one_filter"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/BetweenFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/BetweenFilter.php deleted file mode 100644 index ec117fb3d16c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/BetweenFilter.php +++ /dev/null @@ -1,122 +0,0 @@ -google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter - */ -class BetweenFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Begins with this number, inclusive. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $from_value = null; - /** - * Required. Ends with this number, inclusive. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $to_value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue $from_value - * Required. Begins with this number, inclusive. - * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue $to_value - * Required. Ends with this number, inclusive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); - parent::__construct($data); - } - - /** - * Required. Begins with this number, inclusive. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue|null - */ - public function getFromValue() - { - return $this->from_value; - } - - public function hasFromValue() - { - return isset($this->from_value); - } - - public function clearFromValue() - { - unset($this->from_value); - } - - /** - * Required. Begins with this number, inclusive. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue from_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue $var - * @return $this - */ - public function setFromValue($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue::class); - $this->from_value = $var; - - return $this; - } - - /** - * Required. Ends with this number, inclusive. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue|null - */ - public function getToValue() - { - return $this->to_value; - } - - public function hasToValue() - { - return isset($this->to_value); - } - - public function clearToValue() - { - unset($this->to_value); - } - - /** - * Required. Ends with this number, inclusive. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue to_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue $var - * @return $this - */ - public function setToValue($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue::class); - $this->to_value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/InListFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/InListFilter.php deleted file mode 100644 index c4dc3a281368..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/InListFilter.php +++ /dev/null @@ -1,109 +0,0 @@ -google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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. - * - * Generated from protobuf field bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $case_sensitive = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string[] $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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::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 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 string[] $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. - * - * 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. - * - * 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; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter.php deleted file mode 100644 index 7492bce9379d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter.php +++ /dev/null @@ -1,111 +0,0 @@ -google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter - */ -class NumericFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The operation applied to a numeric filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $operation = 0; - /** - * Required. The numeric or date value to match against. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $operation - * Required. The operation applied to a numeric filter. - * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue $value - * Required. The numeric or date value to match against. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); - parent::__construct($data); - } - - /** - * Required. The operation applied to a numeric filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getOperation() - { - return $this->operation; - } - - /** - * Required. The operation applied to a numeric filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericFilter\Operation::class); - $this->operation = $var; - - return $this; - } - - /** - * Required. The numeric or date value to match against. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue|null - */ - public function getValue() - { - return $this->value; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Required. The numeric or date value to match against. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue::class); - $this->value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter/Operation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter/Operation.php deleted file mode 100644 index 8fb7df5d71bf..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter/Operation.php +++ /dev/null @@ -1,68 +0,0 @@ -google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation - */ -class Operation -{ - /** - * Unspecified. - * - * Generated from protobuf enum OPERATION_UNSPECIFIED = 0; - */ - const OPERATION_UNSPECIFIED = 0; - /** - * Equal. - * - * Generated from protobuf enum EQUAL = 1; - */ - const EQUAL = 1; - /** - * Less than. - * - * Generated from protobuf enum LESS_THAN = 2; - */ - const LESS_THAN = 2; - /** - * Greater than. - * - * Generated from protobuf enum GREATER_THAN = 4; - */ - const GREATER_THAN = 4; - - private static $valueToName = [ - self::OPERATION_UNSPECIFIED => 'OPERATION_UNSPECIFIED', - self::EQUAL => 'EQUAL', - self::LESS_THAN => 'LESS_THAN', - self::GREATER_THAN => 'GREATER_THAN', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericValue.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericValue.php deleted file mode 100644 index 040f1edf0232..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/NumericValue.php +++ /dev/null @@ -1,108 +0,0 @@ -google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue - */ -class NumericValue extends \Google\Protobuf\Internal\Message -{ - protected $one_value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $int64_value - * Integer value. - * @type float $double_value - * Double value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); - parent::__construct($data); - } - - /** - * Integer value. - * - * Generated from protobuf field int64 int64_value = 1; - * @return int|string - */ - public function getInt64Value() - { - return $this->readOneof(1); - } - - public function hasInt64Value() - { - return $this->hasOneof(1); - } - - /** - * Integer value. - * - * Generated from protobuf field int64 int64_value = 1; - * @param int|string $var - * @return $this - */ - public function setInt64Value($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Double value. - * - * Generated from protobuf field double double_value = 2; - * @return float - */ - public function getDoubleValue() - { - return $this->readOneof(2); - } - - public function hasDoubleValue() - { - return $this->hasOneof(2); - } - - /** - * Double value. - * - * Generated from protobuf field double double_value = 2; - * @param float $var - * @return $this - */ - public function setDoubleValue($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOneValue() - { - return $this->whichOneof("one_value"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter.php deleted file mode 100644 index 8f3126881fb8..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter.php +++ /dev/null @@ -1,139 +0,0 @@ -google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter - */ -class StringFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The match type for the string filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $match_type = 0; - /** - * Required. The string value to be matched against. - * - * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $value = ''; - /** - * Optional. If true, the match is case-sensitive. If false, the match is - * case-insensitive. - * - * Generated from protobuf field bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); - parent::__construct($data); - } - - /** - * Required. The match type for the string filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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.AudienceDimensionOrMetricFilter.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\AudienceDimensionOrMetricFilter\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. - * - * 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. - * - * 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; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter/MatchType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter/MatchType.php deleted file mode 100644 index 3dd6780aaa36..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceDimensionOrMetricFilter/StringFilter/MatchType.php +++ /dev/null @@ -1,82 +0,0 @@ -google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.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; - /** - * Begins with the string value. - * - * Generated from protobuf enum BEGINS_WITH = 2; - */ - const BEGINS_WITH = 2; - /** - * Ends with the string value. - * - * Generated from protobuf enum ENDS_WITH = 3; - */ - const ENDS_WITH = 3; - /** - * Contains the string value. - * - * Generated from protobuf enum CONTAINS = 4; - */ - const CONTAINS = 4; - /** - * Full regular expression matches with the string value. - * - * Generated from protobuf enum FULL_REGEXP = 5; - */ - const FULL_REGEXP = 5; - - private static $valueToName = [ - self::MATCH_TYPE_UNSPECIFIED => 'MATCH_TYPE_UNSPECIFIED', - self::EXACT => 'EXACT', - self::BEGINS_WITH => 'BEGINS_WITH', - self::ENDS_WITH => 'ENDS_WITH', - self::CONTAINS => 'CONTAINS', - self::FULL_REGEXP => 'FULL_REGEXP', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventFilter.php deleted file mode 100644 index 2ecf8988decc..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventFilter.php +++ /dev/null @@ -1,137 +0,0 @@ -google.analytics.admin.v1alpha.AudienceEventFilter - */ -class AudienceEventFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Immutable. The name of the event to match against. - * - * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $event_name = ''; - /** - * 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 (For example, 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 - * supported. Also, if it includes a filter for "eventCount", only that one - * will be considered; all the other filters will be ignored. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $event_parameter_filter_expression = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @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 - * inside the parameter filter expression cannot be set (For example, 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 - * supported. Also, if it includes a filter for "eventCount", only that one - * will be considered; all the other filters will be ignored. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); - parent::__construct($data); - } - - /** - * Required. Immutable. The name of the event to match against. - * - * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getEventName() - { - return $this->event_name; - } - - /** - * Required. Immutable. The name of the event to match against. - * - * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setEventName($var) - { - GPBUtil::checkString($var, True); - $this->event_name = $var; - - return $this; - } - - /** - * 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 (For example, 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 - * supported. Also, if it includes a filter for "eventCount", only that one - * will be considered; all the other filters will be ignored. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Analytics\Admin\V1alpha\AudienceFilterExpression|null - */ - public function getEventParameterFilterExpression() - { - return $this->event_parameter_filter_expression; - } - - public function hasEventParameterFilterExpression() - { - return isset($this->event_parameter_filter_expression); - } - - public function clearEventParameterFilterExpression() - { - unset($this->event_parameter_filter_expression); - } - - /** - * 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 (For example, 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 - * supported. Also, if it includes a filter for "eventCount", only that one - * will be considered; all the other filters will be ignored. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Analytics\Admin\V1alpha\AudienceFilterExpression $var - * @return $this - */ - public function setEventParameterFilterExpression($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceFilterExpression::class); - $this->event_parameter_filter_expression = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger.php deleted file mode 100644 index cd973b323d41..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger.php +++ /dev/null @@ -1,101 +0,0 @@ -google.analytics.admin.v1alpha.AudienceEventTrigger - */ -class AudienceEventTrigger extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The event name that will be logged. - * - * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $event_name = ''; - /** - * Required. When to log the event. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $log_condition = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $event_name - * Required. The event name that will be logged. - * @type int $log_condition - * Required. When to log the event. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); - parent::__construct($data); - } - - /** - * Required. The event name that will be logged. - * - * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getEventName() - { - return $this->event_name; - } - - /** - * Required. The event name that will be logged. - * - * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setEventName($var) - { - GPBUtil::checkString($var, True); - $this->event_name = $var; - - return $this; - } - - /** - * Required. When to log the event. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getLogCondition() - { - return $this->log_condition; - } - - /** - * Required. When to log the event. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition log_condition = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setLogCondition($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AudienceEventTrigger\LogCondition::class); - $this->log_condition = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger/LogCondition.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger/LogCondition.php deleted file mode 100644 index 98f41d1033d8..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceEventTrigger/LogCondition.php +++ /dev/null @@ -1,62 +0,0 @@ -google.analytics.admin.v1alpha.AudienceEventTrigger.LogCondition - */ -class LogCondition -{ - /** - * Log condition is not specified. - * - * Generated from protobuf enum LOG_CONDITION_UNSPECIFIED = 0; - */ - const LOG_CONDITION_UNSPECIFIED = 0; - /** - * The event should be logged only when a user is joined. - * - * Generated from protobuf enum AUDIENCE_JOINED = 1; - */ - const AUDIENCE_JOINED = 1; - /** - * The event should be logged whenever the Audience condition is met, even - * if the user is already a member of the Audience. - * - * Generated from protobuf enum AUDIENCE_MEMBERSHIP_RENEWED = 2; - */ - const AUDIENCE_MEMBERSHIP_RENEWED = 2; - - private static $valueToName = [ - self::LOG_CONDITION_UNSPECIFIED => 'LOG_CONDITION_UNSPECIFIED', - self::AUDIENCE_JOINED => 'AUDIENCE_JOINED', - self::AUDIENCE_MEMBERSHIP_RENEWED => 'AUDIENCE_MEMBERSHIP_RENEWED', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause.php deleted file mode 100644 index 07fa7d46a5d4..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause.php +++ /dev/null @@ -1,148 +0,0 @@ -google.analytics.admin.v1alpha.AudienceFilterClause - */ -class AudienceFilterClause extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Specifies whether this is an include or exclude filter clause. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $clause_type = 0; - protected $filter; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AudienceSimpleFilter $simple_filter - * A simple filter that a user must satisfy to be a member of the Audience. - * @type \Google\Analytics\Admin\V1alpha\AudienceSequenceFilter $sequence_filter - * Filters that must occur in a specific order for the user to be a member - * of the Audience. - * @type int $clause_type - * Required. Specifies whether this is an include or exclude filter clause. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); - parent::__construct($data); - } - - /** - * A simple filter that a user must satisfy to be a member of the Audience. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; - * @return \Google\Analytics\Admin\V1alpha\AudienceSimpleFilter|null - */ - public function getSimpleFilter() - { - return $this->readOneof(2); - } - - public function hasSimpleFilter() - { - return $this->hasOneof(2); - } - - /** - * A simple filter that a user must satisfy to be a member of the Audience. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2; - * @param \Google\Analytics\Admin\V1alpha\AudienceSimpleFilter $var - * @return $this - */ - public function setSimpleFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceSimpleFilter::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Filters that must occur in a specific order for the user to be a member - * of the Audience. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; - * @return \Google\Analytics\Admin\V1alpha\AudienceSequenceFilter|null - */ - public function getSequenceFilter() - { - return $this->readOneof(3); - } - - public function hasSequenceFilter() - { - return $this->hasOneof(3); - } - - /** - * Filters that must occur in a specific order for the user to be a member - * of the Audience. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3; - * @param \Google\Analytics\Admin\V1alpha\AudienceSequenceFilter $var - * @return $this - */ - public function setSequenceFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceSequenceFilter::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Required. Specifies whether this is an include or exclude filter clause. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getClauseType() - { - return $this->clause_type; - } - - /** - * Required. Specifies whether this is an include or exclude filter clause. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setClauseType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AudienceFilterClause\AudienceClauseType::class); - $this->clause_type = $var; - - return $this; - } - - /** - * @return string - */ - public function getFilter() - { - return $this->whichOneof("filter"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause/AudienceClauseType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause/AudienceClauseType.php deleted file mode 100644 index 54482d2602b1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterClause/AudienceClauseType.php +++ /dev/null @@ -1,65 +0,0 @@ -google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType - */ -class AudienceClauseType -{ - /** - * Unspecified clause type. - * - * Generated from protobuf enum AUDIENCE_CLAUSE_TYPE_UNSPECIFIED = 0; - */ - const AUDIENCE_CLAUSE_TYPE_UNSPECIFIED = 0; - /** - * Users will be included in the Audience if the filter clause is met. - * - * Generated from protobuf enum INCLUDE = 1; - */ - const PBINCLUDE = 1; - /** - * Users will be excluded from the Audience if the filter clause is met. - * - * Generated from protobuf enum EXCLUDE = 2; - */ - const EXCLUDE = 2; - - private static $valueToName = [ - self::AUDIENCE_CLAUSE_TYPE_UNSPECIFIED => 'AUDIENCE_CLAUSE_TYPE_UNSPECIFIED', - self::PBINCLUDE => 'INCLUDE', - self::EXCLUDE => 'EXCLUDE', - ]; - - 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)) { - $pbconst = __CLASS__. '::PB' . strtoupper($name); - if (!defined($pbconst)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($pbconst); - } - return constant($const); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpression.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpression.php deleted file mode 100644 index 894c50844d84..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpression.php +++ /dev/null @@ -1,228 +0,0 @@ -google.analytics.admin.v1alpha.AudienceFilterExpression - */ -class AudienceFilterExpression extends \Google\Protobuf\Internal\Message -{ - protected $expr; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList $and_group - * A list of expressions to be AND’ed together. It can only contain - * AudienceFilterExpressions with or_group. This must be set for the top - * level AudienceFilterExpression. - * @type \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList $or_group - * A list of expressions to OR’ed together. It cannot contain - * AudienceFilterExpressions with and_group or or_group. - * @type \Google\Analytics\Admin\V1alpha\AudienceFilterExpression $not_expression - * A filter expression to be NOT'ed (For example, inverted, complemented). - * It can only include a dimension_or_metric_filter. This cannot be set on - * the top level AudienceFilterExpression. - * @type \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter $dimension_or_metric_filter - * A filter on a single dimension or metric. This cannot be set on the top - * level AudienceFilterExpression. - * @type \Google\Analytics\Admin\V1alpha\AudienceEventFilter $event_filter - * Creates a filter that matches a specific event. This cannot be set on the - * top level AudienceFilterExpression. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); - parent::__construct($data); - } - - /** - * A list of expressions to be AND’ed together. It can only contain - * AudienceFilterExpressions with or_group. This must be set for the top - * level AudienceFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; - * @return \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList|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 can only contain - * AudienceFilterExpressions with or_group. This must be set for the top - * level AudienceFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; - * @param \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList $var - * @return $this - */ - public function setAndGroup($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * A list of expressions to OR’ed together. It cannot contain - * AudienceFilterExpressions with and_group or or_group. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; - * @return \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList|null - */ - public function getOrGroup() - { - return $this->readOneof(2); - } - - public function hasOrGroup() - { - return $this->hasOneof(2); - } - - /** - * A list of expressions to OR’ed together. It cannot contain - * AudienceFilterExpressions with and_group or or_group. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2; - * @param \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList $var - * @return $this - */ - public function setOrGroup($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceFilterExpressionList::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * A filter expression to be NOT'ed (For example, inverted, complemented). - * It can only include a dimension_or_metric_filter. This cannot be set on - * the top level AudienceFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; - * @return \Google\Analytics\Admin\V1alpha\AudienceFilterExpression|null - */ - public function getNotExpression() - { - return $this->readOneof(3); - } - - public function hasNotExpression() - { - return $this->hasOneof(3); - } - - /** - * A filter expression to be NOT'ed (For example, inverted, complemented). - * It can only include a dimension_or_metric_filter. This cannot be set on - * the top level AudienceFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; - * @param \Google\Analytics\Admin\V1alpha\AudienceFilterExpression $var - * @return $this - */ - public function setNotExpression($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceFilterExpression::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * A filter on a single dimension or metric. This cannot be set on the top - * level AudienceFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * @return \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter|null - */ - public function getDimensionOrMetricFilter() - { - return $this->readOneof(4); - } - - public function hasDimensionOrMetricFilter() - { - return $this->hasOneof(4); - } - - /** - * A filter on a single dimension or metric. This cannot be set on the top - * level AudienceFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4; - * @param \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter $var - * @return $this - */ - public function setDimensionOrMetricFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Creates a filter that matches a specific event. This cannot be set on the - * top level AudienceFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; - * @return \Google\Analytics\Admin\V1alpha\AudienceEventFilter|null - */ - public function getEventFilter() - { - return $this->readOneof(5); - } - - public function hasEventFilter() - { - return $this->hasOneof(5); - } - - /** - * Creates a filter that matches a specific event. This cannot be set on the - * top level AudienceFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5; - * @param \Google\Analytics\Admin\V1alpha\AudienceEventFilter $var - * @return $this - */ - public function setEventFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceEventFilter::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * @return string - */ - public function getExpr() - { - return $this->whichOneof("expr"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpressionList.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpressionList.php deleted file mode 100644 index ab927a33ba10..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterExpressionList.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1alpha.AudienceFilterExpressionList - */ -class AudienceFilterExpressionList extends \Google\Protobuf\Internal\Message -{ - /** - * A list of Audience filter expressions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - */ - private $filter_expressions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AudienceFilterExpression[] $filter_expressions - * A list of Audience filter expressions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); - parent::__construct($data); - } - - /** - * A list of Audience filter expressions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AudienceFilterExpression> - */ - public function getFilterExpressions() - { - return $this->filter_expressions; - } - - /** - * A list of Audience filter expressions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expressions = 1; - * @param \Google\Analytics\Admin\V1alpha\AudienceFilterExpression[] $var - * @return $this - */ - public function setFilterExpressions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AudienceFilterExpression::class); - $this->filter_expressions = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterScope.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterScope.php deleted file mode 100644 index c435fdcb3dcb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceFilterScope.php +++ /dev/null @@ -1,71 +0,0 @@ -google.analytics.admin.v1alpha.AudienceFilterScope - */ -class AudienceFilterScope -{ - /** - * Scope is not specified. - * - * Generated from protobuf enum AUDIENCE_FILTER_SCOPE_UNSPECIFIED = 0; - */ - const AUDIENCE_FILTER_SCOPE_UNSPECIFIED = 0; - /** - * User joins the Audience if the filter condition is met within one - * event. - * - * Generated from protobuf enum AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT = 1; - */ - const AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT = 1; - /** - * User joins the Audience if the filter condition is met within one - * session. - * - * Generated from protobuf enum AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION = 2; - */ - const AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION = 2; - /** - * User joins the Audience if the filter condition is met by any event - * across any session. - * - * Generated from protobuf enum AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS = 3; - */ - const AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS = 3; - - private static $valueToName = [ - self::AUDIENCE_FILTER_SCOPE_UNSPECIFIED => 'AUDIENCE_FILTER_SCOPE_UNSPECIFIED', - self::AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT => 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT', - self::AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION => 'AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION', - self::AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS => 'AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter.php deleted file mode 100644 index 2643dda716ab..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter.php +++ /dev/null @@ -1,150 +0,0 @@ -google.analytics.admin.v1alpha.AudienceSequenceFilter - */ -class AudienceSequenceFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Immutable. Specifies the scope for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $scope = 0; - /** - * Optional. Defines the time period in which the whole sequence must occur. - * - * Generated from protobuf field .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $sequence_maximum_duration = null; - /** - * 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]; - */ - private $sequence_steps; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $scope - * Required. Immutable. Specifies the scope for this filter. - * @type \Google\Protobuf\Duration $sequence_maximum_duration - * Optional. Defines the time period in which the whole sequence must occur. - * @type \Google\Analytics\Admin\V1alpha\AudienceSequenceFilter\AudienceSequenceStep[] $sequence_steps - * Required. An ordered sequence of steps. A user must complete each step in - * order to join the sequence filter. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); - parent::__construct($data); - } - - /** - * Required. Immutable. Specifies the scope for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getScope() - { - return $this->scope; - } - - /** - * Required. Immutable. Specifies the scope for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setScope($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AudienceFilterScope::class); - $this->scope = $var; - - return $this; - } - - /** - * Optional. Defines the time period in which the whole sequence must occur. - * - * Generated from protobuf field .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Duration|null - */ - public function getSequenceMaximumDuration() - { - return $this->sequence_maximum_duration; - } - - public function hasSequenceMaximumDuration() - { - return isset($this->sequence_maximum_duration); - } - - public function clearSequenceMaximumDuration() - { - unset($this->sequence_maximum_duration); - } - - /** - * Optional. Defines the time period in which the whole sequence must occur. - * - * Generated from protobuf field .google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Protobuf\Duration $var - * @return $this - */ - public function setSequenceMaximumDuration($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); - $this->sequence_maximum_duration = $var; - - return $this; - } - - /** - * 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 RepeatedField<\Google\Analytics\Admin\V1alpha\AudienceSequenceFilter\AudienceSequenceStep> - */ - public function getSequenceSteps() - { - return $this->sequence_steps; - } - - /** - * 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 \Google\Analytics\Admin\V1alpha\AudienceSequenceFilter\AudienceSequenceStep[] $var - * @return $this - */ - public function setSequenceSteps($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AudienceSequenceFilter\AudienceSequenceStep::class); - $this->sequence_steps = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php deleted file mode 100644 index e7a754346c6b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php +++ /dev/null @@ -1,222 +0,0 @@ -google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep - */ -class AudienceSequenceStep extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Immutable. Specifies the scope for this step. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $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 - * 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. - * - * Generated from protobuf field bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $immediately_follows = false; - /** - * Optional. When set, this step must be satisfied within the - * constraint_duration of the previous step (For example, 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]; - */ - protected $constraint_duration = null; - /** - * 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]; - */ - protected $filter_expression = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @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 - * 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 (For example, 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); - parent::__construct($data); - } - - /** - * Required. Immutable. Specifies the scope for this step. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getScope() - { - return $this->scope; - } - - /** - * Required. Immutable. Specifies the scope for this step. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setScope($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AudienceFilterScope::class); - $this->scope = $var; - - return $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. - * - * Generated from protobuf field bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getImmediatelyFollows() - { - return $this->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 - * 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. - * - * Generated from protobuf field bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setImmediatelyFollows($var) - { - GPBUtil::checkBool($var); - $this->immediately_follows = $var; - - return $this; - } - - /** - * Optional. When set, this step must be satisfied within the - * constraint_duration of the previous step (For example, 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 - */ - public function getConstraintDuration() - { - return $this->constraint_duration; - } - - public function hasConstraintDuration() - { - return isset($this->constraint_duration); - } - - public function clearConstraintDuration() - { - unset($this->constraint_duration); - } - - /** - * Optional. When set, this step must be satisfied within the - * constraint_duration of the previous step (For example, 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 - * @return $this - */ - public function setConstraintDuration($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); - $this->constraint_duration = $var; - - return $this; - } - - /** - * 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 - */ - public function getFilterExpression() - { - return $this->filter_expression; - } - - public function hasFilterExpression() - { - return isset($this->filter_expression); - } - - public function clearFilterExpression() - { - unset($this->filter_expression); - } - - /** - * 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 - * @return $this - */ - public function setFilterExpression($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceFilterExpression::class); - $this->filter_expression = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSimpleFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSimpleFilter.php deleted file mode 100644 index 311392cfaae9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/AudienceSimpleFilter.php +++ /dev/null @@ -1,116 +0,0 @@ -google.analytics.admin.v1alpha.AudienceSimpleFilter - */ -class AudienceSimpleFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Immutable. Specifies the scope for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $scope = 0; - /** - * 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]; - */ - protected $filter_expression = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Audience::initOnce(); - parent::__construct($data); - } - - /** - * Required. Immutable. Specifies the scope for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getScope() - { - return $this->scope; - } - - /** - * Required. Immutable. Specifies the scope for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setScope($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AudienceFilterScope::class); - $this->scope = $var; - - return $this; - } - - /** - * 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 - */ - public function getFilterExpression() - { - return $this->filter_expression; - } - - public function hasFilterExpression() - { - return isset($this->filter_expression); - } - - public function clearFilterExpression() - { - unset($this->filter_expression); - } - - /** - * 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 - * @return $this - */ - public function setFilterExpression($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceFilterExpression::class); - $this->filter_expression = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsRequest.php deleted file mode 100644 index 30f876c5dd5c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsRequest.php +++ /dev/null @@ -1,121 +0,0 @@ -google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest - */ -class BatchCreateAccessBindingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The account or property that owns the access bindings. The parent - * field in the CreateAccessBindingRequest messages must either be empty or - * match this field. Formats: - * - accounts/{account} - * - properties/{property} - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The requests specifying the access bindings to create. - * A maximum of 1000 access bindings can be created in a batch. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - private $requests; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The account or property that owns the access bindings. The parent - * field in the CreateAccessBindingRequest messages must either be empty or - * match this field. Formats: - * - accounts/{account} - * - properties/{property} - * @type \Google\Analytics\Admin\V1alpha\CreateAccessBindingRequest[] $requests - * Required. The requests specifying the access bindings to create. - * A maximum of 1000 access bindings can be created in a batch. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The account or property that owns the access bindings. The parent - * field in the CreateAccessBindingRequest messages must either be empty or - * match this field. Formats: - * - accounts/{account} - * - properties/{property} - * - * 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 account or property that owns the access bindings. The parent - * field in the CreateAccessBindingRequest messages must either be empty or - * match this field. Formats: - * - accounts/{account} - * - properties/{property} - * - * 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 requests specifying the access bindings to create. - * A maximum of 1000 access bindings can be created in a batch. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\CreateAccessBindingRequest> - */ - public function getRequests() - { - return $this->requests; - } - - /** - * Required. The requests specifying the access bindings to create. - * A maximum of 1000 access bindings can be created in a batch. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\CreateAccessBindingRequest[] $var - * @return $this - */ - public function setRequests($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\CreateAccessBindingRequest::class); - $this->requests = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsResponse.php deleted file mode 100644 index 5c25a615940a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchCreateAccessBindingsResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse - */ -class BatchCreateAccessBindingsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The access bindings created. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; - */ - private $access_bindings; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AccessBinding[] $access_bindings - * The access bindings created. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The access bindings created. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessBinding> - */ - public function getAccessBindings() - { - return $this->access_bindings; - } - - /** - * The access bindings created. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; - * @param \Google\Analytics\Admin\V1alpha\AccessBinding[] $var - * @return $this - */ - public function setAccessBindings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessBinding::class); - $this->access_bindings = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchDeleteAccessBindingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchDeleteAccessBindingsRequest.php deleted file mode 100644 index b807979e05f1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchDeleteAccessBindingsRequest.php +++ /dev/null @@ -1,121 +0,0 @@ -google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest - */ -class BatchDeleteAccessBindingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The account or property that owns the access bindings. The parent - * of all provided values for the 'names' field in DeleteAccessBindingRequest - * messages must match this field. Formats: - * - accounts/{account} - * - properties/{property} - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The requests specifying the access bindings to delete. - * A maximum of 1000 access bindings can be deleted in a batch. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $requests; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The account or property that owns the access bindings. The parent - * of all provided values for the 'names' field in DeleteAccessBindingRequest - * messages must match this field. Formats: - * - accounts/{account} - * - properties/{property} - * @type \Google\Analytics\Admin\V1alpha\DeleteAccessBindingRequest[] $requests - * Required. The requests specifying the access bindings to delete. - * A maximum of 1000 access bindings can be deleted in a batch. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The account or property that owns the access bindings. The parent - * of all provided values for the 'names' field in DeleteAccessBindingRequest - * messages must match this field. Formats: - * - accounts/{account} - * - properties/{property} - * - * 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 account or property that owns the access bindings. The parent - * of all provided values for the 'names' field in DeleteAccessBindingRequest - * messages must match this field. Formats: - * - accounts/{account} - * - properties/{property} - * - * 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 requests specifying the access bindings to delete. - * A maximum of 1000 access bindings can be deleted in a batch. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\DeleteAccessBindingRequest> - */ - public function getRequests() - { - return $this->requests; - } - - /** - * Required. The requests specifying the access bindings to delete. - * A maximum of 1000 access bindings can be deleted in a batch. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\DeleteAccessBindingRequest[] $var - * @return $this - */ - public function setRequests($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\DeleteAccessBindingRequest::class); - $this->requests = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsRequest.php deleted file mode 100644 index cf673f615de6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest - */ -class BatchGetAccessBindingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The account or property that owns the access bindings. The parent - * of all provided values for the 'names' field must match this field. - * Formats: - * - accounts/{account} - * - properties/{property} - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The names of the access bindings to retrieve. - * A maximum of 1000 access bindings can be retrieved in a batch. - * Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * - * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - private $names; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The account or property that owns the access bindings. The parent - * of all provided values for the 'names' field must match this field. - * Formats: - * - accounts/{account} - * - properties/{property} - * @type string[] $names - * Required. The names of the access bindings to retrieve. - * A maximum of 1000 access bindings can be retrieved in a batch. - * Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The account or property that owns the access bindings. The parent - * of all provided values for the 'names' field must match this field. - * Formats: - * - accounts/{account} - * - properties/{property} - * - * 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 account or property that owns the access bindings. The parent - * of all provided values for the 'names' field must match this field. - * Formats: - * - accounts/{account} - * - properties/{property} - * - * 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 names of the access bindings to retrieve. - * A maximum of 1000 access bindings can be retrieved in a batch. - * Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * - * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return RepeatedField - */ - public function getNames() - { - return $this->names; - } - - /** - * Required. The names of the access bindings to retrieve. - * A maximum of 1000 access bindings can be retrieved in a batch. - * Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * - * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string[] $var - * @return $this - */ - public function setNames($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->names = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsResponse.php deleted file mode 100644 index 590192b9b934..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchGetAccessBindingsResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse - */ -class BatchGetAccessBindingsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The requested access bindings. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; - */ - private $access_bindings; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AccessBinding[] $access_bindings - * The requested access bindings. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The requested access bindings. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessBinding> - */ - public function getAccessBindings() - { - return $this->access_bindings; - } - - /** - * The requested access bindings. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; - * @param \Google\Analytics\Admin\V1alpha\AccessBinding[] $var - * @return $this - */ - public function setAccessBindings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessBinding::class); - $this->access_bindings = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsRequest.php deleted file mode 100644 index a11cf281691e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsRequest.php +++ /dev/null @@ -1,125 +0,0 @@ -google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest - */ -class BatchUpdateAccessBindingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The account or property that owns the access bindings. The parent - * of all provided AccessBinding in UpdateAccessBindingRequest messages must - * match this field. - * Formats: - * - accounts/{account} - * - properties/{property} - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The requests specifying the access bindings to update. - * A maximum of 1000 access bindings can be updated in a batch. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $requests; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The account or property that owns the access bindings. The parent - * of all provided AccessBinding in UpdateAccessBindingRequest messages must - * match this field. - * Formats: - * - accounts/{account} - * - properties/{property} - * @type \Google\Analytics\Admin\V1alpha\UpdateAccessBindingRequest[] $requests - * Required. The requests specifying the access bindings to update. - * A maximum of 1000 access bindings can be updated in a batch. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The account or property that owns the access bindings. The parent - * of all provided AccessBinding in UpdateAccessBindingRequest messages must - * match this field. - * Formats: - * - accounts/{account} - * - properties/{property} - * - * 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 account or property that owns the access bindings. The parent - * of all provided AccessBinding in UpdateAccessBindingRequest messages must - * match this field. - * Formats: - * - accounts/{account} - * - properties/{property} - * - * 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 requests specifying the access bindings to update. - * A maximum of 1000 access bindings can be updated in a batch. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\UpdateAccessBindingRequest> - */ - public function getRequests() - { - return $this->requests; - } - - /** - * Required. The requests specifying the access bindings to update. - * A maximum of 1000 access bindings can be updated in a batch. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\UpdateAccessBindingRequest[] $var - * @return $this - */ - public function setRequests($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\UpdateAccessBindingRequest::class); - $this->requests = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsResponse.php deleted file mode 100644 index 5f3d143416fc..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BatchUpdateAccessBindingsResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse - */ -class BatchUpdateAccessBindingsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The access bindings updated. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; - */ - private $access_bindings; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AccessBinding[] $access_bindings - * The access bindings updated. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The access bindings updated. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessBinding> - */ - public function getAccessBindings() - { - return $this->access_bindings; - } - - /** - * The access bindings updated. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; - * @param \Google\Analytics\Admin\V1alpha\AccessBinding[] $var - * @return $this - */ - public function setAccessBindings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessBinding::class); - $this->access_bindings = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BigQueryLink.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BigQueryLink.php deleted file mode 100644 index 1df0edb6167e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/BigQueryLink.php +++ /dev/null @@ -1,435 +0,0 @@ -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]; - */ - protected $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]; - */ - protected $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]; - */ - protected $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; - */ - protected $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; - */ - protected $streaming_export_enabled = false; - /** - * If set true, enables fresh daily export to the linked Google Cloud project. - * - * Generated from protobuf field bool fresh_daily_export_enabled = 9; - */ - protected $fresh_daily_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; - */ - protected $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; - /** - * Required. Immutable. The geographic location where the created BigQuery - * dataset should reside. See https://cloud.google.com/bigquery/docs/locations - * for supported locations. - * - * Generated from protobuf field string dataset_location = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - */ - protected $dataset_location = ''; - - /** - * 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 $fresh_daily_export_enabled - * If set true, enables fresh daily 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 string[] $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 string[] $excluded_events - * The list of event names that will be excluded from exports. - * @type string $dataset_location - * Required. Immutable. The geographic location where the created BigQuery - * dataset should reside. See https://cloud.google.com/bigquery/docs/locations - * for supported locations. - * } - */ - 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, enables fresh daily export to the linked Google Cloud project. - * - * Generated from protobuf field bool fresh_daily_export_enabled = 9; - * @return bool - */ - public function getFreshDailyExportEnabled() - { - return $this->fresh_daily_export_enabled; - } - - /** - * If set true, enables fresh daily export to the linked Google Cloud project. - * - * Generated from protobuf field bool fresh_daily_export_enabled = 9; - * @param bool $var - * @return $this - */ - public function setFreshDailyExportEnabled($var) - { - GPBUtil::checkBool($var); - $this->fresh_daily_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 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 string[] $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 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 string[] $var - * @return $this - */ - public function setExcludedEvents($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->excluded_events = $arr; - - return $this; - } - - /** - * Required. Immutable. The geographic location where the created BigQuery - * dataset should reside. See https://cloud.google.com/bigquery/docs/locations - * for supported locations. - * - * Generated from protobuf field string dataset_location = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDatasetLocation() - { - return $this->dataset_location; - } - - /** - * Required. Immutable. The geographic location where the created BigQuery - * dataset should reside. See https://cloud.google.com/bigquery/docs/locations - * for supported locations. - * - * Generated from protobuf field string dataset_location = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDatasetLocation($var) - { - GPBUtil::checkString($var, True); - $this->dataset_location = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric.php deleted file mode 100644 index fdf6a9f92e20..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric.php +++ /dev/null @@ -1,361 +0,0 @@ -google.analytics.admin.v1alpha.CalculatedMetric - */ -class CalculatedMetric extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Resource name for this CalculatedMetric. - * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Optional. Description for this calculated metric. - * Max length of 4096 characters. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $description = ''; - /** - * Required. Display name for this calculated metric as shown in the - * Google Analytics UI. Max length 82 characters. - * - * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Output only. The ID to use for the calculated metric. In the UI, this is - * referred to as the "API name." - * The calculated_metric_id is used when referencing this calculated metric - * from external APIs. For example, "calcMetric:{calculated_metric_id}". - * - * Generated from protobuf field string calculated_metric_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $calculated_metric_id = ''; - /** - * Required. The type for the calculated metric's value. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric.MetricUnit metric_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $metric_unit = 0; - /** - * Output only. Types of restricted data that this metric contains. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CalculatedMetric.RestrictedMetricType restricted_metric_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $restricted_metric_type; - /** - * Required. The calculated metric's definition. Maximum number of unique - * referenced custom metrics is 5. Formulas supports the following operations: - * + (addition), - (subtraction), - (negative), * (multiplication), / - * (division), () (parenthesis). Any valid real numbers are acceptable that - * fit in a Long (64bit integer) or a Double (64 bit floating point number). - * Example formula: - * "( customEvent:parameter_name + cartPurchaseQuantity ) / 2.0" - * - * Generated from protobuf field string formula = 7 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $formula = ''; - /** - * Output only. If true, this calculated metric has a invalid metric - * reference. Anything using a calculated metric with invalid_metric_reference - * set to true may fail, produce warnings, or produce unexpected results. - * - * Generated from protobuf field bool invalid_metric_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $invalid_metric_reference = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. Resource name for this CalculatedMetric. - * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' - * @type string $description - * Optional. Description for this calculated metric. - * Max length of 4096 characters. - * @type string $display_name - * Required. Display name for this calculated metric as shown in the - * Google Analytics UI. Max length 82 characters. - * @type string $calculated_metric_id - * Output only. The ID to use for the calculated metric. In the UI, this is - * referred to as the "API name." - * The calculated_metric_id is used when referencing this calculated metric - * from external APIs. For example, "calcMetric:{calculated_metric_id}". - * @type int $metric_unit - * Required. The type for the calculated metric's value. - * @type int[] $restricted_metric_type - * Output only. Types of restricted data that this metric contains. - * @type string $formula - * Required. The calculated metric's definition. Maximum number of unique - * referenced custom metrics is 5. Formulas supports the following operations: - * + (addition), - (subtraction), - (negative), * (multiplication), / - * (division), () (parenthesis). Any valid real numbers are acceptable that - * fit in a Long (64bit integer) or a Double (64 bit floating point number). - * Example formula: - * "( customEvent:parameter_name + cartPurchaseQuantity ) / 2.0" - * @type bool $invalid_metric_reference - * Output only. If true, this calculated metric has a invalid metric - * reference. Anything using a calculated metric with invalid_metric_reference - * set to true may fail, produce warnings, or produce unexpected results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. Resource name for this CalculatedMetric. - * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Resource name for this CalculatedMetric. - * Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Optional. Description for this calculated metric. - * Max length of 4096 characters. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Optional. Description for this calculated metric. - * Max length of 4096 characters. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Required. Display name for this calculated metric as shown in the - * Google Analytics UI. Max length 82 characters. - * - * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. Display name for this calculated metric as shown in the - * Google Analytics UI. Max length 82 characters. - * - * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Output only. The ID to use for the calculated metric. In the UI, this is - * referred to as the "API name." - * The calculated_metric_id is used when referencing this calculated metric - * from external APIs. For example, "calcMetric:{calculated_metric_id}". - * - * Generated from protobuf field string calculated_metric_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCalculatedMetricId() - { - return $this->calculated_metric_id; - } - - /** - * Output only. The ID to use for the calculated metric. In the UI, this is - * referred to as the "API name." - * The calculated_metric_id is used when referencing this calculated metric - * from external APIs. For example, "calcMetric:{calculated_metric_id}". - * - * Generated from protobuf field string calculated_metric_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCalculatedMetricId($var) - { - GPBUtil::checkString($var, True); - $this->calculated_metric_id = $var; - - return $this; - } - - /** - * Required. The type for the calculated metric's value. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric.MetricUnit metric_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getMetricUnit() - { - return $this->metric_unit; - } - - /** - * Required. The type for the calculated metric's value. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric.MetricUnit metric_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setMetricUnit($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\CalculatedMetric\MetricUnit::class); - $this->metric_unit = $var; - - return $this; - } - - /** - * Output only. Types of restricted data that this metric contains. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CalculatedMetric.RestrictedMetricType restricted_metric_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return RepeatedField - */ - public function getRestrictedMetricType() - { - return $this->restricted_metric_type; - } - - /** - * Output only. Types of restricted data that this metric contains. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CalculatedMetric.RestrictedMetricType restricted_metric_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int[] $var - * @return $this - */ - public function setRestrictedMetricType($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Analytics\Admin\V1alpha\CalculatedMetric\RestrictedMetricType::class); - $this->restricted_metric_type = $arr; - - return $this; - } - - /** - * Required. The calculated metric's definition. Maximum number of unique - * referenced custom metrics is 5. Formulas supports the following operations: - * + (addition), - (subtraction), - (negative), * (multiplication), / - * (division), () (parenthesis). Any valid real numbers are acceptable that - * fit in a Long (64bit integer) or a Double (64 bit floating point number). - * Example formula: - * "( customEvent:parameter_name + cartPurchaseQuantity ) / 2.0" - * - * Generated from protobuf field string formula = 7 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFormula() - { - return $this->formula; - } - - /** - * Required. The calculated metric's definition. Maximum number of unique - * referenced custom metrics is 5. Formulas supports the following operations: - * + (addition), - (subtraction), - (negative), * (multiplication), / - * (division), () (parenthesis). Any valid real numbers are acceptable that - * fit in a Long (64bit integer) or a Double (64 bit floating point number). - * Example formula: - * "( customEvent:parameter_name + cartPurchaseQuantity ) / 2.0" - * - * Generated from protobuf field string formula = 7 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setFormula($var) - { - GPBUtil::checkString($var, True); - $this->formula = $var; - - return $this; - } - - /** - * Output only. If true, this calculated metric has a invalid metric - * reference. Anything using a calculated metric with invalid_metric_reference - * set to true may fail, produce warnings, or produce unexpected results. - * - * Generated from protobuf field bool invalid_metric_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getInvalidMetricReference() - { - return $this->invalid_metric_reference; - } - - /** - * Output only. If true, this calculated metric has a invalid metric - * reference. Anything using a calculated metric with invalid_metric_reference - * set to true may fail, produce warnings, or produce unexpected results. - * - * Generated from protobuf field bool invalid_metric_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setInvalidMetricReference($var) - { - GPBUtil::checkBool($var); - $this->invalid_metric_reference = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/MetricUnit.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/MetricUnit.php deleted file mode 100644 index 63f8dee24837..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/MetricUnit.php +++ /dev/null @@ -1,117 +0,0 @@ -google.analytics.admin.v1alpha.CalculatedMetric.MetricUnit - */ -class MetricUnit -{ - /** - * MetricUnit unspecified or missing. - * - * Generated from protobuf enum METRIC_UNIT_UNSPECIFIED = 0; - */ - const METRIC_UNIT_UNSPECIFIED = 0; - /** - * This metric uses default units. - * - * Generated from protobuf enum STANDARD = 1; - */ - const STANDARD = 1; - /** - * This metric measures a currency. - * - * Generated from protobuf enum CURRENCY = 2; - */ - const CURRENCY = 2; - /** - * This metric measures feet. - * - * Generated from protobuf enum FEET = 3; - */ - const FEET = 3; - /** - * This metric measures miles. - * - * Generated from protobuf enum MILES = 4; - */ - const MILES = 4; - /** - * This metric measures meters. - * - * Generated from protobuf enum METERS = 5; - */ - const METERS = 5; - /** - * This metric measures kilometers. - * - * Generated from protobuf enum KILOMETERS = 6; - */ - const KILOMETERS = 6; - /** - * This metric measures milliseconds. - * - * Generated from protobuf enum MILLISECONDS = 7; - */ - const MILLISECONDS = 7; - /** - * This metric measures seconds. - * - * Generated from protobuf enum SECONDS = 8; - */ - const SECONDS = 8; - /** - * This metric measures minutes. - * - * Generated from protobuf enum MINUTES = 9; - */ - const MINUTES = 9; - /** - * This metric measures hours. - * - * Generated from protobuf enum HOURS = 10; - */ - const HOURS = 10; - - private static $valueToName = [ - self::METRIC_UNIT_UNSPECIFIED => 'METRIC_UNIT_UNSPECIFIED', - self::STANDARD => 'STANDARD', - self::CURRENCY => 'CURRENCY', - self::FEET => 'FEET', - self::MILES => 'MILES', - self::METERS => 'METERS', - self::KILOMETERS => 'KILOMETERS', - self::MILLISECONDS => 'MILLISECONDS', - self::SECONDS => 'SECONDS', - self::MINUTES => 'MINUTES', - self::HOURS => 'HOURS', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/RestrictedMetricType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/RestrictedMetricType.php deleted file mode 100644 index 72adfc27ae24..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CalculatedMetric/RestrictedMetricType.php +++ /dev/null @@ -1,62 +0,0 @@ -google.analytics.admin.v1alpha.CalculatedMetric.RestrictedMetricType - */ -class RestrictedMetricType -{ - /** - * Type unknown or unspecified. - * - * Generated from protobuf enum RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; - */ - const RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; - /** - * Metric reports cost data. - * - * Generated from protobuf enum COST_DATA = 1; - */ - const COST_DATA = 1; - /** - * Metric reports revenue data. - * - * Generated from protobuf enum REVENUE_DATA = 2; - */ - const REVENUE_DATA = 2; - - private static $valueToName = [ - self::RESTRICTED_METRIC_TYPE_UNSPECIFIED => 'RESTRICTED_METRIC_TYPE_UNSPECIFIED', - self::COST_DATA => 'COST_DATA', - self::REVENUE_DATA => 'REVENUE_DATA', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.php deleted file mode 100644 index f4ac25e90202..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.php +++ /dev/null @@ -1,71 +0,0 @@ -google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest - */ -class CancelDisplayVideo360AdvertiserLinkProposalRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to cancel. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange.php deleted file mode 100644 index 2acb7642fe13..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange.php +++ /dev/null @@ -1,197 +0,0 @@ -google.analytics.admin.v1alpha.ChangeHistoryChange - */ -class ChangeHistoryChange extends \Google\Protobuf\Internal\Message -{ - /** - * Resource name of the resource whose changes are described by this entry. - * - * Generated from protobuf field string resource = 1; - */ - protected $resource = ''; - /** - * The type of action that changed this resource. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ActionType action = 2; - */ - protected $action = 0; - /** - * Resource contents from before the change was made. If this resource was - * created in this change, this field will be missing. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - */ - protected $resource_before_change = null; - /** - * Resource contents from after the change was made. If this resource was - * deleted in this change, this field will be missing. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - */ - protected $resource_after_change = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource - * Resource name of the resource whose changes are described by this entry. - * @type int $action - * The type of action that changed this resource. - * @type \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource $resource_before_change - * Resource contents from before the change was made. If this resource was - * created in this change, this field will be missing. - * @type \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource $resource_after_change - * Resource contents from after the change was made. If this resource was - * deleted in this change, this field will be missing. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Resource name of the resource whose changes are described by this entry. - * - * Generated from protobuf field string resource = 1; - * @return string - */ - public function getResource() - { - return $this->resource; - } - - /** - * Resource name of the resource whose changes are described by this entry. - * - * Generated from protobuf field string resource = 1; - * @param string $var - * @return $this - */ - public function setResource($var) - { - GPBUtil::checkString($var, True); - $this->resource = $var; - - return $this; - } - - /** - * The type of action that changed this resource. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ActionType action = 2; - * @return int - */ - public function getAction() - { - return $this->action; - } - - /** - * The type of action that changed this resource. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ActionType action = 2; - * @param int $var - * @return $this - */ - public function setAction($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\ActionType::class); - $this->action = $var; - - return $this; - } - - /** - * Resource contents from before the change was made. If this resource was - * created in this change, this field will be missing. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * @return \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource|null - */ - public function getResourceBeforeChange() - { - return $this->resource_before_change; - } - - public function hasResourceBeforeChange() - { - return isset($this->resource_before_change); - } - - public function clearResourceBeforeChange() - { - unset($this->resource_before_change); - } - - /** - * Resource contents from before the change was made. If this resource was - * created in this change, this field will be missing. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * @param \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource $var - * @return $this - */ - public function setResourceBeforeChange($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource::class); - $this->resource_before_change = $var; - - return $this; - } - - /** - * Resource contents from after the change was made. If this resource was - * deleted in this change, this field will be missing. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * @return \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource|null - */ - public function getResourceAfterChange() - { - return $this->resource_after_change; - } - - public function hasResourceAfterChange() - { - return isset($this->resource_after_change); - } - - public function clearResourceAfterChange() - { - unset($this->resource_after_change); - } - - /** - * Resource contents from after the change was made. If this resource was - * deleted in this change, this field will be missing. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * @param \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource $var - * @return $this - */ - public function setResourceAfterChange($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChangeHistoryChange\ChangeHistoryResource::class); - $this->resource_after_change = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php deleted file mode 100644 index 863643062ec0..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php +++ /dev/null @@ -1,1042 +0,0 @@ -google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource - */ -class ChangeHistoryResource extends \Google\Protobuf\Internal\Message -{ - protected $resource; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\Account $account - * A snapshot of an Account resource in change history. - * @type \Google\Analytics\Admin\V1alpha\Property $property - * A snapshot of a Property resource in change history. - * @type \Google\Analytics\Admin\V1alpha\FirebaseLink $firebase_link - * A snapshot of a FirebaseLink resource in change history. - * @type \Google\Analytics\Admin\V1alpha\GoogleAdsLink $google_ads_link - * A snapshot of a GoogleAdsLink resource in change history. - * @type \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings $google_signals_settings - * A snapshot of a GoogleSignalsSettings resource in change history. - * @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $display_video_360_advertiser_link - * A snapshot of a DisplayVideo360AdvertiserLink resource in change - * history. - * @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal $display_video_360_advertiser_link_proposal - * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in - * change history. - * @type \Google\Analytics\Admin\V1alpha\ConversionEvent $conversion_event - * A snapshot of a ConversionEvent resource in change history. - * @type \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurement_protocol_secret - * A snapshot of a MeasurementProtocolSecret resource in change history. - * @type \Google\Analytics\Admin\V1alpha\CustomDimension $custom_dimension - * A snapshot of a CustomDimension resource in change history. - * @type \Google\Analytics\Admin\V1alpha\CustomMetric $custom_metric - * 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\ChannelGroup $channel_group - * A snapshot of a ChannelGroup resource in change history. - * @type \Google\Analytics\Admin\V1alpha\BigQueryLink $bigquery_link - * A snapshot of a BigQuery link resource in change history. - * @type \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings $enhanced_measurement_settings - * A snapshot of EnhancedMeasurementSettings resource in change history. - * @type \Google\Analytics\Admin\V1alpha\DataRedactionSettings $data_redaction_settings - * A snapshot of DataRedactionSettings resource in change history. - * @type \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetwork_conversion_value_schema - * A snapshot of SKAdNetworkConversionValueSchema resource in change - * history. - * @type \Google\Analytics\Admin\V1alpha\AdSenseLink $adsense_link - * A snapshot of an AdSenseLink resource in change history. - * @type \Google\Analytics\Admin\V1alpha\Audience $audience - * A snapshot of an Audience resource in change history. - * @type \Google\Analytics\Admin\V1alpha\EventCreateRule $event_create_rule - * A snapshot of an EventCreateRule resource in change history. - * @type \Google\Analytics\Admin\V1alpha\KeyEvent $key_event - * A snapshot of a KeyEvent resource in change history. - * @type \Google\Analytics\Admin\V1alpha\CalculatedMetric $calculated_metric - * A snapshot of a CalculatedMetric resource in change history. - * @type \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $reporting_data_annotation - * A snapshot of a ReportingDataAnnotation resource in change history. - * @type \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig $subproperty_sync_config - * A snapshot of a SubpropertySyncConfig resource in change history. - * @type \Google\Analytics\Admin\V1alpha\ReportingIdentitySettings $reporting_identity_settings - * A snapshot of a ReportingIdentitySettings resource in change history. - * @type \Google\Analytics\Admin\V1alpha\UserProvidedDataSettings $user_provided_data_settings - * A snapshot of a UserProvidedDataSettings resource in change history. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * A snapshot of an Account resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1; - * @return \Google\Analytics\Admin\V1alpha\Account|null - */ - public function getAccount() - { - return $this->readOneof(1); - } - - public function hasAccount() - { - return $this->hasOneof(1); - } - - /** - * A snapshot of an Account resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1; - * @param \Google\Analytics\Admin\V1alpha\Account $var - * @return $this - */ - public function setAccount($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Account::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * A snapshot of a Property resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 2; - * @return \Google\Analytics\Admin\V1alpha\Property|null - */ - public function getProperty() - { - return $this->readOneof(2); - } - - public function hasProperty() - { - return $this->hasOneof(2); - } - - /** - * A snapshot of a Property resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 2; - * @param \Google\Analytics\Admin\V1alpha\Property $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Property::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * A snapshot of a FirebaseLink resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; - * @return \Google\Analytics\Admin\V1alpha\FirebaseLink|null - */ - public function getFirebaseLink() - { - return $this->readOneof(6); - } - - public function hasFirebaseLink() - { - return $this->hasOneof(6); - } - - /** - * A snapshot of a FirebaseLink resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 6; - * @param \Google\Analytics\Admin\V1alpha\FirebaseLink $var - * @return $this - */ - public function setFirebaseLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\FirebaseLink::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * A snapshot of a GoogleAdsLink resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; - * @return \Google\Analytics\Admin\V1alpha\GoogleAdsLink|null - */ - public function getGoogleAdsLink() - { - return $this->readOneof(7); - } - - public function hasGoogleAdsLink() - { - return $this->hasOneof(7); - } - - /** - * A snapshot of a GoogleAdsLink resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 7; - * @param \Google\Analytics\Admin\V1alpha\GoogleAdsLink $var - * @return $this - */ - public function setGoogleAdsLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\GoogleAdsLink::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * A snapshot of a GoogleSignalsSettings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * @return \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings|null - */ - public function getGoogleSignalsSettings() - { - return $this->readOneof(8); - } - - public function hasGoogleSignalsSettings() - { - return $this->hasOneof(8); - } - - /** - * A snapshot of a GoogleSignalsSettings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 8; - * @param \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings $var - * @return $this - */ - public function setGoogleSignalsSettings($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * A snapshot of a DisplayVideo360AdvertiserLink resource in change - * history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink|null - */ - public function getDisplayVideo360AdvertiserLink() - { - return $this->readOneof(9); - } - - public function hasDisplayVideo360AdvertiserLink() - { - return $this->hasOneof(9); - } - - /** - * A snapshot of a DisplayVideo360AdvertiserLink resource in change - * history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 9; - * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $var - * @return $this - */ - public function setDisplayVideo360AdvertiserLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in - * change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal|null - */ - public function getDisplayVideo360AdvertiserLinkProposal() - { - return $this->readOneof(10); - } - - public function hasDisplayVideo360AdvertiserLinkProposal() - { - return $this->hasOneof(10); - } - - /** - * A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in - * change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 10; - * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal $var - * @return $this - */ - public function setDisplayVideo360AdvertiserLinkProposal($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * A snapshot of a ConversionEvent resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; - * @return \Google\Analytics\Admin\V1alpha\ConversionEvent|null - */ - public function getConversionEvent() - { - return $this->readOneof(11); - } - - public function hasConversionEvent() - { - return $this->hasOneof(11); - } - - /** - * A snapshot of a ConversionEvent resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 11; - * @param \Google\Analytics\Admin\V1alpha\ConversionEvent $var - * @return $this - */ - public function setConversionEvent($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ConversionEvent::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * A snapshot of a MeasurementProtocolSecret resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * @return \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret|null - */ - public function getMeasurementProtocolSecret() - { - return $this->readOneof(12); - } - - public function hasMeasurementProtocolSecret() - { - return $this->hasOneof(12); - } - - /** - * A snapshot of a MeasurementProtocolSecret resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 12; - * @param \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $var - * @return $this - */ - public function setMeasurementProtocolSecret($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * A snapshot of a CustomDimension resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; - * @return \Google\Analytics\Admin\V1alpha\CustomDimension|null - */ - public function getCustomDimension() - { - return $this->readOneof(13); - } - - public function hasCustomDimension() - { - return $this->hasOneof(13); - } - - /** - * A snapshot of a CustomDimension resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 13; - * @param \Google\Analytics\Admin\V1alpha\CustomDimension $var - * @return $this - */ - public function setCustomDimension($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CustomDimension::class); - $this->writeOneof(13, $var); - - return $this; - } - - /** - * A snapshot of a CustomMetric resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; - * @return \Google\Analytics\Admin\V1alpha\CustomMetric|null - */ - public function getCustomMetric() - { - return $this->readOneof(14); - } - - public function hasCustomMetric() - { - return $this->hasOneof(14); - } - - /** - * A snapshot of a CustomMetric resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 14; - * @param \Google\Analytics\Admin\V1alpha\CustomMetric $var - * @return $this - */ - public function setCustomMetric($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CustomMetric::class); - $this->writeOneof(14, $var); - - return $this; - } - - /** - * A snapshot of a data retention settings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * @return \Google\Analytics\Admin\V1alpha\DataRetentionSettings|null - */ - public function getDataRetentionSettings() - { - return $this->readOneof(15); - } - - public function hasDataRetentionSettings() - { - return $this->hasOneof(15); - } - - /** - * A snapshot of a data retention settings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 15; - * @param \Google\Analytics\Admin\V1alpha\DataRetentionSettings $var - * @return $this - */ - public function setDataRetentionSettings($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataRetentionSettings::class); - $this->writeOneof(15, $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. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 18; - * @return \Google\Analytics\Admin\V1alpha\DataStream|null - */ - public function getDataStream() - { - return $this->readOneof(18); - } - - public function hasDataStream() - { - return $this->hasOneof(18); - } - - /** - * A snapshot of a DataStream resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 18; - * @param \Google\Analytics\Admin\V1alpha\DataStream $var - * @return $this - */ - public function setDataStream($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataStream::class); - $this->writeOneof(18, $var); - - return $this; - } - - /** - * A snapshot of AttributionSettings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; - * @return \Google\Analytics\Admin\V1alpha\AttributionSettings|null - */ - public function getAttributionSettings() - { - return $this->readOneof(20); - } - - public function hasAttributionSettings() - { - return $this->hasOneof(20); - } - - /** - * A snapshot of AttributionSettings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 20; - * @param \Google\Analytics\Admin\V1alpha\AttributionSettings $var - * @return $this - */ - public function setAttributionSettings($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AttributionSettings::class); - $this->writeOneof(20, $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 ChannelGroup resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 22; - * @return \Google\Analytics\Admin\V1alpha\ChannelGroup|null - */ - public function getChannelGroup() - { - return $this->readOneof(22); - } - - public function hasChannelGroup() - { - return $this->hasOneof(22); - } - - /** - * A snapshot of a ChannelGroup resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 22; - * @param \Google\Analytics\Admin\V1alpha\ChannelGroup $var - * @return $this - */ - public function setChannelGroup($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroup::class); - $this->writeOneof(22, $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; - } - - /** - * A snapshot of EnhancedMeasurementSettings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; - * @return \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings|null - */ - public function getEnhancedMeasurementSettings() - { - return $this->readOneof(24); - } - - public function hasEnhancedMeasurementSettings() - { - return $this->hasOneof(24); - } - - /** - * A snapshot of EnhancedMeasurementSettings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; - * @param \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings $var - * @return $this - */ - public function setEnhancedMeasurementSettings($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings::class); - $this->writeOneof(24, $var); - - return $this; - } - - /** - * A snapshot of DataRedactionSettings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; - * @return \Google\Analytics\Admin\V1alpha\DataRedactionSettings|null - */ - public function getDataRedactionSettings() - { - return $this->readOneof(25); - } - - public function hasDataRedactionSettings() - { - return $this->hasOneof(25); - } - - /** - * A snapshot of DataRedactionSettings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; - * @param \Google\Analytics\Admin\V1alpha\DataRedactionSettings $var - * @return $this - */ - public function setDataRedactionSettings($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataRedactionSettings::class); - $this->writeOneof(25, $var); - - return $this; - } - - /** - * A snapshot of SKAdNetworkConversionValueSchema resource in change - * history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; - * @return \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema|null - */ - public function getSkadnetworkConversionValueSchema() - { - return $this->readOneof(26); - } - - public function hasSkadnetworkConversionValueSchema() - { - return $this->hasOneof(26); - } - - /** - * A snapshot of SKAdNetworkConversionValueSchema resource in change - * history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; - * @param \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $var - * @return $this - */ - public function setSkadnetworkConversionValueSchema($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema::class); - $this->writeOneof(26, $var); - - return $this; - } - - /** - * A snapshot of an AdSenseLink resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 27; - * @return \Google\Analytics\Admin\V1alpha\AdSenseLink|null - */ - public function getAdsenseLink() - { - return $this->readOneof(27); - } - - public function hasAdsenseLink() - { - return $this->hasOneof(27); - } - - /** - * A snapshot of an AdSenseLink resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 27; - * @param \Google\Analytics\Admin\V1alpha\AdSenseLink $var - * @return $this - */ - public function setAdsenseLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AdSenseLink::class); - $this->writeOneof(27, $var); - - return $this; - } - - /** - * A snapshot of an Audience resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 28; - * @return \Google\Analytics\Admin\V1alpha\Audience|null - */ - public function getAudience() - { - return $this->readOneof(28); - } - - public function hasAudience() - { - return $this->hasOneof(28); - } - - /** - * A snapshot of an Audience resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 28; - * @param \Google\Analytics\Admin\V1alpha\Audience $var - * @return $this - */ - public function setAudience($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Audience::class); - $this->writeOneof(28, $var); - - return $this; - } - - /** - * A snapshot of an EventCreateRule resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; - * @return \Google\Analytics\Admin\V1alpha\EventCreateRule|null - */ - public function getEventCreateRule() - { - return $this->readOneof(29); - } - - public function hasEventCreateRule() - { - return $this->hasOneof(29); - } - - /** - * A snapshot of an EventCreateRule resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; - * @param \Google\Analytics\Admin\V1alpha\EventCreateRule $var - * @return $this - */ - public function setEventCreateRule($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\EventCreateRule::class); - $this->writeOneof(29, $var); - - return $this; - } - - /** - * A snapshot of a KeyEvent resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 30; - * @return \Google\Analytics\Admin\V1alpha\KeyEvent|null - */ - public function getKeyEvent() - { - return $this->readOneof(30); - } - - public function hasKeyEvent() - { - return $this->hasOneof(30); - } - - /** - * A snapshot of a KeyEvent resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 30; - * @param \Google\Analytics\Admin\V1alpha\KeyEvent $var - * @return $this - */ - public function setKeyEvent($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\KeyEvent::class); - $this->writeOneof(30, $var); - - return $this; - } - - /** - * A snapshot of a CalculatedMetric resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 31; - * @return \Google\Analytics\Admin\V1alpha\CalculatedMetric|null - */ - public function getCalculatedMetric() - { - return $this->readOneof(31); - } - - public function hasCalculatedMetric() - { - return $this->hasOneof(31); - } - - /** - * A snapshot of a CalculatedMetric resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 31; - * @param \Google\Analytics\Admin\V1alpha\CalculatedMetric $var - * @return $this - */ - public function setCalculatedMetric($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CalculatedMetric::class); - $this->writeOneof(31, $var); - - return $this; - } - - /** - * A snapshot of a ReportingDataAnnotation resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 32; - * @return \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation|null - */ - public function getReportingDataAnnotation() - { - return $this->readOneof(32); - } - - public function hasReportingDataAnnotation() - { - return $this->hasOneof(32); - } - - /** - * A snapshot of a ReportingDataAnnotation resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 32; - * @param \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $var - * @return $this - */ - public function setReportingDataAnnotation($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation::class); - $this->writeOneof(32, $var); - - return $this; - } - - /** - * A snapshot of a SubpropertySyncConfig resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_config = 33; - * @return \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig|null - */ - public function getSubpropertySyncConfig() - { - return $this->readOneof(33); - } - - public function hasSubpropertySyncConfig() - { - return $this->hasOneof(33); - } - - /** - * A snapshot of a SubpropertySyncConfig resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_config = 33; - * @param \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig $var - * @return $this - */ - public function setSubpropertySyncConfig($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig::class); - $this->writeOneof(33, $var); - - return $this; - } - - /** - * A snapshot of a ReportingIdentitySettings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingIdentitySettings reporting_identity_settings = 34; - * @return \Google\Analytics\Admin\V1alpha\ReportingIdentitySettings|null - */ - public function getReportingIdentitySettings() - { - return $this->readOneof(34); - } - - public function hasReportingIdentitySettings() - { - return $this->hasOneof(34); - } - - /** - * A snapshot of a ReportingIdentitySettings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingIdentitySettings reporting_identity_settings = 34; - * @param \Google\Analytics\Admin\V1alpha\ReportingIdentitySettings $var - * @return $this - */ - public function setReportingIdentitySettings($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ReportingIdentitySettings::class); - $this->writeOneof(34, $var); - - return $this; - } - - /** - * A snapshot of a UserProvidedDataSettings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; - * @return \Google\Analytics\Admin\V1alpha\UserProvidedDataSettings|null - */ - public function getUserProvidedDataSettings() - { - return $this->readOneof(35); - } - - public function hasUserProvidedDataSettings() - { - return $this->hasOneof(35); - } - - /** - * A snapshot of a UserProvidedDataSettings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.UserProvidedDataSettings user_provided_data_settings = 35; - * @param \Google\Analytics\Admin\V1alpha\UserProvidedDataSettings $var - * @return $this - */ - public function setUserProvidedDataSettings($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\UserProvidedDataSettings::class); - $this->writeOneof(35, $var); - - return $this; - } - - /** - * @return string - */ - public function getResource() - { - return $this->whichOneof("resource"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryEvent.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryEvent.php deleted file mode 100644 index a31d36ff4348..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryEvent.php +++ /dev/null @@ -1,266 +0,0 @@ -google.analytics.admin.v1alpha.ChangeHistoryEvent - */ -class ChangeHistoryEvent extends \Google\Protobuf\Internal\Message -{ - /** - * ID of this change history event. This ID is unique across Google Analytics. - * - * Generated from protobuf field string id = 1; - */ - protected $id = ''; - /** - * Time when change was made. - * - * Generated from protobuf field .google.protobuf.Timestamp change_time = 2; - */ - protected $change_time = null; - /** - * The type of actor that made this change. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ActorType actor_type = 3; - */ - protected $actor_type = 0; - /** - * Email address of the Google account that made the change. This will be a - * valid email address if the actor field is set to USER, and empty otherwise. - * Google accounts that have been deleted will cause an error. - * - * Generated from protobuf field string user_actor_email = 4; - */ - protected $user_actor_email = ''; - /** - * If true, then the list of changes returned was filtered, and does not - * represent all changes that occurred in this event. - * - * Generated from protobuf field bool changes_filtered = 5; - */ - protected $changes_filtered = false; - /** - * A list of changes made in this change history event that fit the filters - * specified in SearchChangeHistoryEventsRequest. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6; - */ - private $changes; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $id - * ID of this change history event. This ID is unique across Google Analytics. - * @type \Google\Protobuf\Timestamp $change_time - * Time when change was made. - * @type int $actor_type - * The type of actor that made this change. - * @type string $user_actor_email - * Email address of the Google account that made the change. This will be a - * valid email address if the actor field is set to USER, and empty otherwise. - * Google accounts that have been deleted will cause an error. - * @type bool $changes_filtered - * If true, then the list of changes returned was filtered, and does not - * represent all changes that occurred in this event. - * @type \Google\Analytics\Admin\V1alpha\ChangeHistoryChange[] $changes - * A list of changes made in this change history event that fit the filters - * specified in SearchChangeHistoryEventsRequest. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * ID of this change history event. This ID is unique across Google Analytics. - * - * Generated from protobuf field string id = 1; - * @return string - */ - public function getId() - { - return $this->id; - } - - /** - * ID of this change history event. This ID is unique across Google Analytics. - * - * Generated from protobuf field string id = 1; - * @param string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkString($var, True); - $this->id = $var; - - return $this; - } - - /** - * Time when change was made. - * - * Generated from protobuf field .google.protobuf.Timestamp change_time = 2; - * @return \Google\Protobuf\Timestamp|null - */ - public function getChangeTime() - { - return $this->change_time; - } - - public function hasChangeTime() - { - return isset($this->change_time); - } - - public function clearChangeTime() - { - unset($this->change_time); - } - - /** - * Time when change was made. - * - * Generated from protobuf field .google.protobuf.Timestamp change_time = 2; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setChangeTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->change_time = $var; - - return $this; - } - - /** - * The type of actor that made this change. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ActorType actor_type = 3; - * @return int - */ - public function getActorType() - { - return $this->actor_type; - } - - /** - * The type of actor that made this change. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ActorType actor_type = 3; - * @param int $var - * @return $this - */ - public function setActorType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\ActorType::class); - $this->actor_type = $var; - - return $this; - } - - /** - * Email address of the Google account that made the change. This will be a - * valid email address if the actor field is set to USER, and empty otherwise. - * Google accounts that have been deleted will cause an error. - * - * Generated from protobuf field string user_actor_email = 4; - * @return string - */ - public function getUserActorEmail() - { - return $this->user_actor_email; - } - - /** - * Email address of the Google account that made the change. This will be a - * valid email address if the actor field is set to USER, and empty otherwise. - * Google accounts that have been deleted will cause an error. - * - * Generated from protobuf field string user_actor_email = 4; - * @param string $var - * @return $this - */ - public function setUserActorEmail($var) - { - GPBUtil::checkString($var, True); - $this->user_actor_email = $var; - - return $this; - } - - /** - * If true, then the list of changes returned was filtered, and does not - * represent all changes that occurred in this event. - * - * Generated from protobuf field bool changes_filtered = 5; - * @return bool - */ - public function getChangesFiltered() - { - return $this->changes_filtered; - } - - /** - * If true, then the list of changes returned was filtered, and does not - * represent all changes that occurred in this event. - * - * Generated from protobuf field bool changes_filtered = 5; - * @param bool $var - * @return $this - */ - public function setChangesFiltered($var) - { - GPBUtil::checkBool($var); - $this->changes_filtered = $var; - - return $this; - } - - /** - * A list of changes made in this change history event that fit the filters - * specified in SearchChangeHistoryEventsRequest. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ChangeHistoryChange> - */ - public function getChanges() - { - return $this->changes; - } - - /** - * A list of changes made in this change history event that fit the filters - * specified in SearchChangeHistoryEventsRequest. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryChange changes = 6; - * @param \Google\Analytics\Admin\V1alpha\ChangeHistoryChange[] $var - * @return $this - */ - public function setChanges($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ChangeHistoryChange::class); - $this->changes = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryResourceType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryResourceType.php deleted file mode 100644 index 27c8db9d13dd..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChangeHistoryResourceType.php +++ /dev/null @@ -1,257 +0,0 @@ -google.analytics.admin.v1alpha.ChangeHistoryResourceType - */ -class ChangeHistoryResourceType -{ - /** - * Resource type unknown or not specified. - * - * Generated from protobuf enum CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED = 0; - */ - const CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED = 0; - /** - * Account resource - * - * Generated from protobuf enum ACCOUNT = 1; - */ - const ACCOUNT = 1; - /** - * Property resource - * - * Generated from protobuf enum PROPERTY = 2; - */ - const PROPERTY = 2; - /** - * FirebaseLink resource - * - * Generated from protobuf enum FIREBASE_LINK = 6; - */ - const FIREBASE_LINK = 6; - /** - * GoogleAdsLink resource - * - * Generated from protobuf enum GOOGLE_ADS_LINK = 7; - */ - const GOOGLE_ADS_LINK = 7; - /** - * GoogleSignalsSettings resource - * - * Generated from protobuf enum GOOGLE_SIGNALS_SETTINGS = 8; - */ - const GOOGLE_SIGNALS_SETTINGS = 8; - /** - * ConversionEvent resource - * - * Generated from protobuf enum CONVERSION_EVENT = 9; - */ - const CONVERSION_EVENT = 9; - /** - * MeasurementProtocolSecret resource - * - * Generated from protobuf enum MEASUREMENT_PROTOCOL_SECRET = 10; - */ - const MEASUREMENT_PROTOCOL_SECRET = 10; - /** - * CustomDimension resource - * - * Generated from protobuf enum CUSTOM_DIMENSION = 11; - */ - const CUSTOM_DIMENSION = 11; - /** - * CustomMetric resource - * - * Generated from protobuf enum CUSTOM_METRIC = 12; - */ - const CUSTOM_METRIC = 12; - /** - * DataRetentionSettings resource - * - * Generated from protobuf enum DATA_RETENTION_SETTINGS = 13; - */ - const DATA_RETENTION_SETTINGS = 13; - /** - * DisplayVideo360AdvertiserLink resource - * - * Generated from protobuf enum DISPLAY_VIDEO_360_ADVERTISER_LINK = 14; - */ - const DISPLAY_VIDEO_360_ADVERTISER_LINK = 14; - /** - * DisplayVideo360AdvertiserLinkProposal resource - * - * Generated from protobuf enum DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15; - */ - const DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15; - /** - * SearchAds360Link resource - * - * Generated from protobuf enum SEARCH_ADS_360_LINK = 16; - */ - const SEARCH_ADS_360_LINK = 16; - /** - * DataStream resource - * - * Generated from protobuf enum DATA_STREAM = 18; - */ - const DATA_STREAM = 18; - /** - * AttributionSettings resource - * - * 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; - /** - * BigQuery link resource - * - * Generated from protobuf enum BIGQUERY_LINK = 23; - */ - const BIGQUERY_LINK = 23; - /** - * EnhancedMeasurementSettings resource - * - * Generated from protobuf enum ENHANCED_MEASUREMENT_SETTINGS = 24; - */ - const ENHANCED_MEASUREMENT_SETTINGS = 24; - /** - * DataRedactionSettings resource - * - * Generated from protobuf enum DATA_REDACTION_SETTINGS = 25; - */ - const DATA_REDACTION_SETTINGS = 25; - /** - * SKAdNetworkConversionValueSchema resource - * - * Generated from protobuf enum SKADNETWORK_CONVERSION_VALUE_SCHEMA = 26; - */ - const SKADNETWORK_CONVERSION_VALUE_SCHEMA = 26; - /** - * AdSenseLink resource - * - * Generated from protobuf enum ADSENSE_LINK = 27; - */ - const ADSENSE_LINK = 27; - /** - * Audience resource - * - * Generated from protobuf enum AUDIENCE = 28; - */ - const AUDIENCE = 28; - /** - * EventCreateRule resource - * - * Generated from protobuf enum EVENT_CREATE_RULE = 29; - */ - const EVENT_CREATE_RULE = 29; - /** - * KeyEvent resource - * - * Generated from protobuf enum KEY_EVENT = 30; - */ - const KEY_EVENT = 30; - /** - * CalculatedMetric resource - * - * Generated from protobuf enum CALCULATED_METRIC = 31; - */ - const CALCULATED_METRIC = 31; - /** - * ReportingDataAnnotation resource - * - * Generated from protobuf enum REPORTING_DATA_ANNOTATION = 32; - */ - const REPORTING_DATA_ANNOTATION = 32; - /** - * SubpropertySyncConfig resource - * - * Generated from protobuf enum SUBPROPERTY_SYNC_CONFIG = 33; - */ - const SUBPROPERTY_SYNC_CONFIG = 33; - /** - * ReportingIdentitySettings resource - * - * Generated from protobuf enum REPORTING_IDENTITY_SETTINGS = 34; - */ - const REPORTING_IDENTITY_SETTINGS = 34; - /** - * UserProvidedDataSettings resource - * - * Generated from protobuf enum USER_PROVIDED_DATA_SETTINGS = 35; - */ - const USER_PROVIDED_DATA_SETTINGS = 35; - - private static $valueToName = [ - self::CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED => 'CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED', - self::ACCOUNT => 'ACCOUNT', - self::PROPERTY => 'PROPERTY', - self::FIREBASE_LINK => 'FIREBASE_LINK', - self::GOOGLE_ADS_LINK => 'GOOGLE_ADS_LINK', - self::GOOGLE_SIGNALS_SETTINGS => 'GOOGLE_SIGNALS_SETTINGS', - self::CONVERSION_EVENT => 'CONVERSION_EVENT', - self::MEASUREMENT_PROTOCOL_SECRET => 'MEASUREMENT_PROTOCOL_SECRET', - self::CUSTOM_DIMENSION => 'CUSTOM_DIMENSION', - self::CUSTOM_METRIC => 'CUSTOM_METRIC', - self::DATA_RETENTION_SETTINGS => 'DATA_RETENTION_SETTINGS', - self::DISPLAY_VIDEO_360_ADVERTISER_LINK => 'DISPLAY_VIDEO_360_ADVERTISER_LINK', - self::DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL => 'DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL', - 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', - self::BIGQUERY_LINK => 'BIGQUERY_LINK', - self::ENHANCED_MEASUREMENT_SETTINGS => 'ENHANCED_MEASUREMENT_SETTINGS', - self::DATA_REDACTION_SETTINGS => 'DATA_REDACTION_SETTINGS', - self::SKADNETWORK_CONVERSION_VALUE_SCHEMA => 'SKADNETWORK_CONVERSION_VALUE_SCHEMA', - self::ADSENSE_LINK => 'ADSENSE_LINK', - self::AUDIENCE => 'AUDIENCE', - self::EVENT_CREATE_RULE => 'EVENT_CREATE_RULE', - self::KEY_EVENT => 'KEY_EVENT', - self::CALCULATED_METRIC => 'CALCULATED_METRIC', - self::REPORTING_DATA_ANNOTATION => 'REPORTING_DATA_ANNOTATION', - self::SUBPROPERTY_SYNC_CONFIG => 'SUBPROPERTY_SYNC_CONFIG', - self::REPORTING_IDENTITY_SETTINGS => 'REPORTING_IDENTITY_SETTINGS', - self::USER_PROVIDED_DATA_SETTINGS => 'USER_PROVIDED_DATA_SETTINGS', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroup.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroup.php deleted file mode 100644 index 31157cfa841e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroup.php +++ /dev/null @@ -1,269 +0,0 @@ -google.analytics.admin.v1alpha.ChannelGroup - */ -class ChannelGroup extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name for this Channel Group resource. - * Format: properties/{property}/channelGroups/{channel_group} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. The display name of the Channel Group. Max length of 80 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * The description of the Channel Group. Max length of 256 characters. - * - * Generated from protobuf field string description = 3; - */ - protected $description = ''; - /** - * Required. The grouping rules of channels. Maximum number of rules is 50. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - private $grouping_rule; - /** - * Output only. If true, then this channel group is the Default Channel Group - * predefined by Google Analytics. Display name and grouping rules cannot be - * updated for this channel group. - * - * Generated from protobuf field bool system_defined = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $system_defined = false; - /** - * Optional. If true, this channel group will be used as the default channel - * group for reports. Only one channel group can be set as `primary` at any - * time. If the `primary` field gets set on a channel group, it will get unset - * on the previous primary channel group. - * The Google Analytics predefined channel group is the primary by default. - * - * Generated from protobuf field bool primary = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $primary = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. The resource name for this Channel Group resource. - * Format: properties/{property}/channelGroups/{channel_group} - * @type string $display_name - * Required. The display name of the Channel Group. Max length of 80 - * characters. - * @type string $description - * The description of the Channel Group. Max length of 256 characters. - * @type \Google\Analytics\Admin\V1alpha\GroupingRule[] $grouping_rule - * Required. The grouping rules of channels. Maximum number of rules is 50. - * @type bool $system_defined - * Output only. If true, then this channel group is the Default Channel Group - * predefined by Google Analytics. Display name and grouping rules cannot be - * updated for this channel group. - * @type bool $primary - * Optional. If true, this channel group will be used as the default channel - * group for reports. Only one channel group can be set as `primary` at any - * time. If the `primary` field gets set on a channel group, it will get unset - * on the previous primary channel group. - * The Google Analytics predefined channel group is the primary by default. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\ChannelGroup::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name for this Channel Group resource. - * Format: properties/{property}/channelGroups/{channel_group} - * - * 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 Channel Group resource. - * Format: properties/{property}/channelGroups/{channel_group} - * - * 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 Channel Group. Max length of 80 - * characters. - * - * 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 Channel Group. Max length of 80 - * characters. - * - * 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; - } - - /** - * The description of the Channel Group. Max length of 256 characters. - * - * Generated from protobuf field string description = 3; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * The description of the Channel Group. Max length of 256 characters. - * - * Generated from protobuf field string description = 3; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Required. The grouping rules of channels. Maximum number of rules is 50. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\GroupingRule> - */ - public function getGroupingRule() - { - return $this->grouping_rule; - } - - /** - * Required. The grouping rules of channels. Maximum number of rules is 50. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\GroupingRule[] $var - * @return $this - */ - public function setGroupingRule($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\GroupingRule::class); - $this->grouping_rule = $arr; - - return $this; - } - - /** - * Output only. If true, then this channel group is the Default Channel Group - * predefined by Google Analytics. Display name and grouping rules cannot be - * updated for this channel group. - * - * Generated from protobuf field bool system_defined = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getSystemDefined() - { - return $this->system_defined; - } - - /** - * Output only. If true, then this channel group is the Default Channel Group - * predefined by Google Analytics. Display name and grouping rules cannot be - * updated for this channel group. - * - * Generated from protobuf field bool system_defined = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setSystemDefined($var) - { - GPBUtil::checkBool($var); - $this->system_defined = $var; - - return $this; - } - - /** - * Optional. If true, this channel group will be used as the default channel - * group for reports. Only one channel group can be set as `primary` at any - * time. If the `primary` field gets set on a channel group, it will get unset - * on the previous primary channel group. - * The Google Analytics predefined channel group is the primary by default. - * - * Generated from protobuf field bool primary = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getPrimary() - { - return $this->primary; - } - - /** - * Optional. If true, this channel group will be used as the default channel - * group for reports. Only one channel group can be set as `primary` at any - * time. If the `primary` field gets set on a channel group, it will get unset - * on the previous primary channel group. - * The Google Analytics predefined channel group is the primary by default. - * - * Generated from protobuf field bool primary = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setPrimary($var) - { - GPBUtil::checkBool($var); - $this->primary = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter.php deleted file mode 100644 index c4810a80c640..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter.php +++ /dev/null @@ -1,145 +0,0 @@ -google.analytics.admin.v1alpha.ChannelGroupFilter - */ -class ChannelGroupFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Immutable. The dimension name to filter. - * - * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $field_name = ''; - protected $value_filter; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\StringFilter $string_filter - * A filter for a string-type dimension that matches a particular pattern. - * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\InListFilter $in_list_filter - * A filter for a string dimension that matches a particular list of - * options. - * @type string $field_name - * Required. Immutable. The dimension name to filter. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\ChannelGroup::initOnce(); - parent::__construct($data); - } - - /** - * A filter for a string-type dimension that matches a particular pattern. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; - * @return \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\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.ChannelGroupFilter.StringFilter string_filter = 2; - * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\StringFilter $var - * @return $this - */ - public function setStringFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\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.ChannelGroupFilter.InListFilter in_list_filter = 3; - * @return \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\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.ChannelGroupFilter.InListFilter in_list_filter = 3; - * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\InListFilter $var - * @return $this - */ - public function setInListFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroupFilter\InListFilter::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Required. Immutable. The dimension name to filter. - * - * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getFieldName() - { - return $this->field_name; - } - - /** - * Required. Immutable. The dimension name to filter. - * - * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setFieldName($var) - { - GPBUtil::checkString($var, True); - $this->field_name = $var; - - return $this; - } - - /** - * @return string - */ - public function getValueFilter() - { - return $this->whichOneof("value_filter"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/InListFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/InListFilter.php deleted file mode 100644 index 6fd90559977f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/InListFilter.php +++ /dev/null @@ -1,72 +0,0 @@ -google.analytics.admin.v1alpha.ChannelGroupFilter.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; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string[] $values - * Required. The list of possible string values to match against. Must be - * non-empty. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\ChannelGroup::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 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 string[] $var - * @return $this - */ - public function setValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->values = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter.php deleted file mode 100644 index 2dc277161107..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter.php +++ /dev/null @@ -1,101 +0,0 @@ -google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter - */ -class StringFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The match type for the string filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $match_type = 0; - /** - * Required. The string value to be matched against. - * - * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $value = ''; - - /** - * 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\ChannelGroup::initOnce(); - parent::__construct($data); - } - - /** - * Required. The match type for the string filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.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\ChannelGroupFilter\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; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter/MatchType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter/MatchType.php deleted file mode 100644 index e4c858af0707..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilter/StringFilter/MatchType.php +++ /dev/null @@ -1,89 +0,0 @@ -google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType - */ -class MatchType -{ - /** - * Default match type. - * - * 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; - /** - * Begins with the string value. - * - * Generated from protobuf enum BEGINS_WITH = 2; - */ - const BEGINS_WITH = 2; - /** - * Ends with the string value. - * - * Generated from protobuf enum ENDS_WITH = 3; - */ - const ENDS_WITH = 3; - /** - * Contains the string value. - * - * Generated from protobuf enum CONTAINS = 4; - */ - const CONTAINS = 4; - /** - * Full regular expression match with the string value. - * - * Generated from protobuf enum FULL_REGEXP = 5; - */ - const FULL_REGEXP = 5; - /** - * Partial regular expression match 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', - self::EXACT => 'EXACT', - self::BEGINS_WITH => 'BEGINS_WITH', - self::ENDS_WITH => 'ENDS_WITH', - self::CONTAINS => 'CONTAINS', - self::FULL_REGEXP => 'FULL_REGEXP', - self::PARTIAL_REGEXP => 'PARTIAL_REGEXP', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpression.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpression.php deleted file mode 100644 index 0f73e363c8ce..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpression.php +++ /dev/null @@ -1,192 +0,0 @@ -google.analytics.admin.v1alpha.ChannelGroupFilterExpression - */ -class ChannelGroupFilterExpression extends \Google\Protobuf\Internal\Message -{ - protected $expr; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList $and_group - * A list of expressions to be AND’ed together. It can only contain - * ChannelGroupFilterExpressions with or_group. This must be set for the - * top level ChannelGroupFilterExpression. - * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList $or_group - * A list of expressions to OR’ed together. It cannot contain - * ChannelGroupFilterExpressions with and_group or or_group. - * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression $not_expression - * A filter expression to be NOT'ed (that is inverted, complemented). It - * can only include a dimension_or_metric_filter. This cannot be set on the - * top level ChannelGroupFilterExpression. - * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilter $filter - * A filter on a single dimension. This cannot be set on the top - * level ChannelGroupFilterExpression. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\ChannelGroup::initOnce(); - parent::__construct($data); - } - - /** - * A list of expressions to be AND’ed together. It can only contain - * ChannelGroupFilterExpressions with or_group. This must be set for the - * top level ChannelGroupFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1; - * @return \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList|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 can only contain - * ChannelGroupFilterExpressions with or_group. This must be set for the - * top level ChannelGroupFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1; - * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList $var - * @return $this - */ - public function setAndGroup($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * A list of expressions to OR’ed together. It cannot contain - * ChannelGroupFilterExpressions with and_group or or_group. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2; - * @return \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList|null - */ - public function getOrGroup() - { - return $this->readOneof(2); - } - - public function hasOrGroup() - { - return $this->hasOneof(2); - } - - /** - * A list of expressions to OR’ed together. It cannot contain - * ChannelGroupFilterExpressions with and_group or or_group. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2; - * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList $var - * @return $this - */ - public function setOrGroup($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpressionList::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * A filter expression to be NOT'ed (that is inverted, complemented). It - * can only include a dimension_or_metric_filter. This cannot be set on the - * top level ChannelGroupFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3; - * @return \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression|null - */ - public function getNotExpression() - { - return $this->readOneof(3); - } - - public function hasNotExpression() - { - return $this->hasOneof(3); - } - - /** - * A filter expression to be NOT'ed (that is inverted, complemented). It - * can only include a dimension_or_metric_filter. This cannot be set on the - * top level ChannelGroupFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3; - * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression $var - * @return $this - */ - public function setNotExpression($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * A filter on a single dimension. This cannot be set on the top - * level ChannelGroupFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4; - * @return \Google\Analytics\Admin\V1alpha\ChannelGroupFilter|null - */ - public function getFilter() - { - return $this->readOneof(4); - } - - public function hasFilter() - { - return $this->hasOneof(4); - } - - /** - * A filter on a single dimension. This cannot be set on the top - * level ChannelGroupFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4; - * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilter $var - * @return $this - */ - public function setFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroupFilter::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * @return string - */ - public function getExpr() - { - return $this->whichOneof("expr"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpressionList.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpressionList.php deleted file mode 100644 index 8c0956f6f03a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ChannelGroupFilterExpressionList.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList - */ -class ChannelGroupFilterExpressionList extends \Google\Protobuf\Internal\Message -{ - /** - * A list of Channel Group filter expressions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; - */ - private $filter_expressions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression[] $filter_expressions - * A list of Channel Group filter expressions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\ChannelGroup::initOnce(); - parent::__construct($data); - } - - /** - * A list of Channel Group filter expressions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression> - */ - public function getFilterExpressions() - { - return $this->filter_expressions; - } - - /** - * A list of Channel Group filter expressions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; - * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression[] $var - * @return $this - */ - public function setFilterExpressions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression::class); - $this->filter_expressions = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CoarseValue.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CoarseValue.php deleted file mode 100644 index fa2d1aab894e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CoarseValue.php +++ /dev/null @@ -1,71 +0,0 @@ -google.analytics.admin.v1alpha.CoarseValue - */ -class CoarseValue -{ - /** - * Coarse value not specified. - * - * Generated from protobuf enum COARSE_VALUE_UNSPECIFIED = 0; - */ - const COARSE_VALUE_UNSPECIFIED = 0; - /** - * Coarse value of low. - * - * Generated from protobuf enum COARSE_VALUE_LOW = 1; - */ - const COARSE_VALUE_LOW = 1; - /** - * Coarse value of medium. - * - * Generated from protobuf enum COARSE_VALUE_MEDIUM = 2; - */ - const COARSE_VALUE_MEDIUM = 2; - /** - * Coarse value of high. - * - * Generated from protobuf enum COARSE_VALUE_HIGH = 3; - */ - const COARSE_VALUE_HIGH = 3; - - private static $valueToName = [ - self::COARSE_VALUE_UNSPECIFIED => 'COARSE_VALUE_UNSPECIFIED', - self::COARSE_VALUE_LOW => 'COARSE_VALUE_LOW', - self::COARSE_VALUE_MEDIUM => 'COARSE_VALUE_MEDIUM', - self::COARSE_VALUE_HIGH => 'COARSE_VALUE_HIGH', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent.php deleted file mode 100644 index f156bd0425ee..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent.php +++ /dev/null @@ -1,331 +0,0 @@ -google.analytics.admin.v1alpha.ConversionEvent - */ -class ConversionEvent extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Resource name of this conversion event. - * Format: properties/{property}/conversionEvents/{conversion_event} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Immutable. The event name for this conversion event. - * Examples: 'click', 'purchase' - * - * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $event_name = ''; - /** - * Output only. Time when this conversion event was created in the property. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. If set, this event can currently be deleted with - * DeleteConversionEvent. - * - * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $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 - * custom conversion events that may be created per property. - * - * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $custom = false; - /** - * Optional. The method by which conversions will be counted across multiple - * events within a session. If this value is not provided, it will be set to - * `ONCE_PER_EVENT`. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $counting_method = 0; - /** - * Optional. Defines a default value/currency for a conversion event. - * - * Generated from protobuf field optional .google.analytics.admin.v1alpha.ConversionEvent.DefaultConversionValue default_conversion_value = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $default_conversion_value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. Resource name of this conversion event. - * Format: properties/{property}/conversionEvents/{conversion_event} - * @type string $event_name - * Immutable. The event name for this conversion event. - * Examples: 'click', 'purchase' - * @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 with - * 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 - * custom conversion events that may be created per property. - * @type int $counting_method - * Optional. The method by which conversions will be counted across multiple - * events within a session. If this value is not provided, it will be set to - * `ONCE_PER_EVENT`. - * @type \Google\Analytics\Admin\V1alpha\ConversionEvent\DefaultConversionValue $default_conversion_value - * Optional. Defines a default value/currency for a conversion event. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. Resource name of this conversion event. - * Format: properties/{property}/conversionEvents/{conversion_event} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Resource name of this conversion event. - * Format: properties/{property}/conversionEvents/{conversion_event} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Immutable. The event name for this conversion event. - * Examples: 'click', 'purchase' - * - * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getEventName() - { - return $this->event_name; - } - - /** - * Immutable. The event name for this conversion event. - * Examples: 'click', 'purchase' - * - * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setEventName($var) - { - GPBUtil::checkString($var, True); - $this->event_name = $var; - - return $this; - } - - /** - * Output only. Time when this conversion event was created in the property. - * - * 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 this conversion event was created in the property. - * - * 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; - } - - /** - * Output only. If set, this event can currently be deleted with - * DeleteConversionEvent. - * - * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getDeletable() - { - return $this->deletable; - } - - /** - * Output only. If set, this event can currently be deleted with - * DeleteConversionEvent. - * - * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setDeletable($var) - { - GPBUtil::checkBool($var); - $this->deletable = $var; - - return $this; - } - - /** - * 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]; - * @return bool - */ - public function getCustom() - { - return $this->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 - * custom conversion events that may be created per property. - * - * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setCustom($var) - { - GPBUtil::checkBool($var); - $this->custom = $var; - - return $this; - } - - /** - * Optional. The method by which conversions will be counted across multiple - * events within a session. If this value is not provided, it will be set to - * `ONCE_PER_EVENT`. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getCountingMethod() - { - return $this->counting_method; - } - - /** - * Optional. The method by which conversions will be counted across multiple - * events within a session. If this value is not provided, it will be set to - * `ONCE_PER_EVENT`. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setCountingMethod($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\ConversionEvent\ConversionCountingMethod::class); - $this->counting_method = $var; - - return $this; - } - - /** - * Optional. Defines a default value/currency for a conversion event. - * - * Generated from protobuf field optional .google.analytics.admin.v1alpha.ConversionEvent.DefaultConversionValue default_conversion_value = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Analytics\Admin\V1alpha\ConversionEvent\DefaultConversionValue|null - */ - public function getDefaultConversionValue() - { - return $this->default_conversion_value; - } - - public function hasDefaultConversionValue() - { - return isset($this->default_conversion_value); - } - - public function clearDefaultConversionValue() - { - unset($this->default_conversion_value); - } - - /** - * Optional. Defines a default value/currency for a conversion event. - * - * Generated from protobuf field optional .google.analytics.admin.v1alpha.ConversionEvent.DefaultConversionValue default_conversion_value = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Analytics\Admin\V1alpha\ConversionEvent\DefaultConversionValue $var - * @return $this - */ - public function setDefaultConversionValue($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ConversionEvent\DefaultConversionValue::class); - $this->default_conversion_value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/ConversionCountingMethod.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/ConversionCountingMethod.php deleted file mode 100644 index e9436efdd7b0..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/ConversionCountingMethod.php +++ /dev/null @@ -1,63 +0,0 @@ -google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod - */ -class ConversionCountingMethod -{ - /** - * Counting method not specified. - * - * Generated from protobuf enum CONVERSION_COUNTING_METHOD_UNSPECIFIED = 0; - */ - const CONVERSION_COUNTING_METHOD_UNSPECIFIED = 0; - /** - * Each Event instance is considered a Conversion. - * - * Generated from protobuf enum ONCE_PER_EVENT = 1; - */ - const ONCE_PER_EVENT = 1; - /** - * An Event instance is considered a Conversion at most once per session per - * user. - * - * Generated from protobuf enum ONCE_PER_SESSION = 2; - */ - const ONCE_PER_SESSION = 2; - - private static $valueToName = [ - self::CONVERSION_COUNTING_METHOD_UNSPECIFIED => 'CONVERSION_COUNTING_METHOD_UNSPECIFIED', - self::ONCE_PER_EVENT => 'ONCE_PER_EVENT', - self::ONCE_PER_SESSION => 'ONCE_PER_SESSION', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/DefaultConversionValue.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/DefaultConversionValue.php deleted file mode 100644 index f6c1bd1cf0aa..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionEvent/DefaultConversionValue.php +++ /dev/null @@ -1,138 +0,0 @@ -google.analytics.admin.v1alpha.ConversionEvent.DefaultConversionValue - */ -class DefaultConversionValue extends \Google\Protobuf\Internal\Message -{ - /** - * This value will be used to populate the value for all conversions - * of the specified event_name where the event "value" parameter is unset. - * - * Generated from protobuf field optional double value = 1; - */ - protected $value = null; - /** - * When a conversion event for this event_name has no set currency, - * this currency will be applied as the default. Must be in ISO 4217 - * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for - * more information. - * - * Generated from protobuf field optional string currency_code = 2; - */ - protected $currency_code = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $value - * This value will be used to populate the value for all conversions - * of the specified event_name where the event "value" parameter is unset. - * @type string $currency_code - * When a conversion event for this event_name has no set currency, - * this currency will be applied as the default. Must be in ISO 4217 - * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for - * more information. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * This value will be used to populate the value for all conversions - * of the specified event_name where the event "value" parameter is unset. - * - * Generated from protobuf field optional double value = 1; - * @return float - */ - public function getValue() - { - return isset($this->value) ? $this->value : 0.0; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * This value will be used to populate the value for all conversions - * of the specified event_name where the event "value" parameter is unset. - * - * Generated from protobuf field optional double value = 1; - * @param float $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkDouble($var); - $this->value = $var; - - return $this; - } - - /** - * When a conversion event for this event_name has no set currency, - * this currency will be applied as the default. Must be in ISO 4217 - * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for - * more information. - * - * Generated from protobuf field optional string currency_code = 2; - * @return string - */ - public function getCurrencyCode() - { - return isset($this->currency_code) ? $this->currency_code : ''; - } - - public function hasCurrencyCode() - { - return isset($this->currency_code); - } - - public function clearCurrencyCode() - { - unset($this->currency_code); - } - - /** - * When a conversion event for this event_name has no set currency, - * this currency will be applied as the default. Must be in ISO 4217 - * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for - * more information. - * - * Generated from protobuf field optional string currency_code = 2; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionValues.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionValues.php deleted file mode 100644 index 1b6d1be12995..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ConversionValues.php +++ /dev/null @@ -1,254 +0,0 @@ -google.analytics.admin.v1alpha.ConversionValues - */ -class ConversionValues extends \Google\Protobuf\Internal\Message -{ - /** - * Display name of the SKAdNetwork conversion value. - * The max allowed display name length is 50 UTF-16 code units. - * - * Generated from protobuf field string display_name = 1; - */ - protected $display_name = ''; - /** - * The fine-grained conversion value. This is applicable only to the first - * postback window. Its valid values are [0,63], both inclusive. It must be - * set for postback window 1, and must not be set for postback window 2 & 3. - * This value is not guaranteed to be unique. - * If the configuration for the first postback window is re-used for second or - * third postback windows this field has no effect. - * - * Generated from protobuf field optional int32 fine_value = 2; - */ - protected $fine_value = null; - /** - * Required. A coarse grained conversion value. - * This value is not guaranteed to be unique. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $coarse_value = 0; - /** - * Event conditions that must be met for this Conversion Value to be achieved. - * The conditions in this list are ANDed together. It must have minimum of 1 - * entry and maximum of 3 entries, if the postback window is enabled. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4; - */ - private $event_mappings; - /** - * If true, the SDK should lock to this conversion value for the current - * postback window. - * - * Generated from protobuf field bool lock_enabled = 5; - */ - protected $lock_enabled = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $display_name - * Display name of the SKAdNetwork conversion value. - * The max allowed display name length is 50 UTF-16 code units. - * @type int $fine_value - * The fine-grained conversion value. This is applicable only to the first - * postback window. Its valid values are [0,63], both inclusive. It must be - * set for postback window 1, and must not be set for postback window 2 & 3. - * This value is not guaranteed to be unique. - * If the configuration for the first postback window is re-used for second or - * third postback windows this field has no effect. - * @type int $coarse_value - * Required. A coarse grained conversion value. - * This value is not guaranteed to be unique. - * @type \Google\Analytics\Admin\V1alpha\EventMapping[] $event_mappings - * Event conditions that must be met for this Conversion Value to be achieved. - * The conditions in this list are ANDed together. It must have minimum of 1 - * entry and maximum of 3 entries, if the postback window is enabled. - * @type bool $lock_enabled - * If true, the SDK should lock to this conversion value for the current - * postback window. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Display name of the SKAdNetwork conversion value. - * The max allowed display name length is 50 UTF-16 code units. - * - * Generated from protobuf field string display_name = 1; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Display name of the SKAdNetwork conversion value. - * The max allowed display name length is 50 UTF-16 code units. - * - * Generated from protobuf field string display_name = 1; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * The fine-grained conversion value. This is applicable only to the first - * postback window. Its valid values are [0,63], both inclusive. It must be - * set for postback window 1, and must not be set for postback window 2 & 3. - * This value is not guaranteed to be unique. - * If the configuration for the first postback window is re-used for second or - * third postback windows this field has no effect. - * - * Generated from protobuf field optional int32 fine_value = 2; - * @return int - */ - public function getFineValue() - { - return isset($this->fine_value) ? $this->fine_value : 0; - } - - public function hasFineValue() - { - return isset($this->fine_value); - } - - public function clearFineValue() - { - unset($this->fine_value); - } - - /** - * The fine-grained conversion value. This is applicable only to the first - * postback window. Its valid values are [0,63], both inclusive. It must be - * set for postback window 1, and must not be set for postback window 2 & 3. - * This value is not guaranteed to be unique. - * If the configuration for the first postback window is re-used for second or - * third postback windows this field has no effect. - * - * Generated from protobuf field optional int32 fine_value = 2; - * @param int $var - * @return $this - */ - public function setFineValue($var) - { - GPBUtil::checkInt32($var); - $this->fine_value = $var; - - return $this; - } - - /** - * Required. A coarse grained conversion value. - * This value is not guaranteed to be unique. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getCoarseValue() - { - return $this->coarse_value; - } - - /** - * Required. A coarse grained conversion value. - * This value is not guaranteed to be unique. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setCoarseValue($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\CoarseValue::class); - $this->coarse_value = $var; - - return $this; - } - - /** - * Event conditions that must be met for this Conversion Value to be achieved. - * The conditions in this list are ANDed together. It must have minimum of 1 - * entry and maximum of 3 entries, if the postback window is enabled. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\EventMapping> - */ - public function getEventMappings() - { - return $this->event_mappings; - } - - /** - * Event conditions that must be met for this Conversion Value to be achieved. - * The conditions in this list are ANDed together. It must have minimum of 1 - * entry and maximum of 3 entries, if the postback window is enabled. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4; - * @param \Google\Analytics\Admin\V1alpha\EventMapping[] $var - * @return $this - */ - public function setEventMappings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\EventMapping::class); - $this->event_mappings = $arr; - - return $this; - } - - /** - * If true, the SDK should lock to this conversion value for the current - * postback window. - * - * Generated from protobuf field bool lock_enabled = 5; - * @return bool - */ - public function getLockEnabled() - { - return $this->lock_enabled; - } - - /** - * If true, the SDK should lock to this conversion value for the current - * postback window. - * - * Generated from protobuf field bool lock_enabled = 5; - * @param bool $var - * @return $this - */ - public function setLockEnabled($var) - { - GPBUtil::checkBool($var); - $this->lock_enabled = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAccessBindingRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAccessBindingRequest.php deleted file mode 100644 index ef8235aca0bb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAccessBindingRequest.php +++ /dev/null @@ -1,137 +0,0 @@ -google.analytics.admin.v1alpha.CreateAccessBindingRequest - */ -class CreateAccessBindingRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Formats: - * - accounts/{account} - * - properties/{property} - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The access binding to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $access_binding = null; - - /** - * @param string $parent Required. Formats: - * - accounts/{account} - * - properties/{property} - * Please see {@see AnalyticsAdminServiceClient::accountName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\AccessBinding $accessBinding Required. The access binding to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateAccessBindingRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\AccessBinding $accessBinding): self - { - return (new self()) - ->setParent($parent) - ->setAccessBinding($accessBinding); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Formats: - * - accounts/{account} - * - properties/{property} - * @type \Google\Analytics\Admin\V1alpha\AccessBinding $access_binding - * Required. The access binding to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Formats: - * - accounts/{account} - * - properties/{property} - * - * 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. Formats: - * - accounts/{account} - * - properties/{property} - * - * 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 access binding to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\AccessBinding|null - */ - public function getAccessBinding() - { - return $this->access_binding; - } - - public function hasAccessBinding() - { - return isset($this->access_binding); - } - - public function clearAccessBinding() - { - unset($this->access_binding); - } - - /** - * Required. The access binding to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\AccessBinding $var - * @return $this - */ - public function setAccessBinding($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessBinding::class); - $this->access_binding = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAdSenseLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAdSenseLinkRequest.php deleted file mode 100644 index b15c6500fd86..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAdSenseLinkRequest.php +++ /dev/null @@ -1,137 +0,0 @@ -google.analytics.admin.v1alpha.CreateAdSenseLinkRequest - */ -class CreateAdSenseLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The property for which to create an AdSense Link. - * Format: properties/{propertyId} - * Example: properties/1234 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The AdSense Link to create - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $adsense_link = null; - - /** - * @param string $parent Required. The property for which to create an AdSense Link. - * Format: properties/{propertyId} - * Example: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\AdSenseLink $adsenseLink Required. The AdSense Link to create - * - * @return \Google\Analytics\Admin\V1alpha\CreateAdSenseLinkRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\AdSenseLink $adsenseLink): self - { - return (new self()) - ->setParent($parent) - ->setAdsenseLink($adsenseLink); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The property for which to create an AdSense Link. - * Format: properties/{propertyId} - * Example: properties/1234 - * @type \Google\Analytics\Admin\V1alpha\AdSenseLink $adsense_link - * Required. The AdSense Link to create - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The property for which to create an AdSense Link. - * Format: properties/{propertyId} - * 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 property for which to create an AdSense Link. - * Format: properties/{propertyId} - * 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; - } - - /** - * Required. The AdSense Link to create - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\AdSenseLink|null - */ - public function getAdsenseLink() - { - return $this->adsense_link; - } - - public function hasAdsenseLink() - { - return isset($this->adsense_link); - } - - public function clearAdsenseLink() - { - unset($this->adsense_link); - } - - /** - * Required. The AdSense Link to create - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\AdSenseLink $var - * @return $this - */ - public function setAdsenseLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AdSenseLink::class); - $this->adsense_link = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAudienceRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAudienceRequest.php deleted file mode 100644 index 85f78a6b1d9f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateAudienceRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1alpha.CreateAudienceRequest - */ -class CreateAudienceRequest 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) = { - */ - protected $parent = ''; - /** - * Required. The audience to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $audience = null; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\Audience $audience Required. The audience to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateAudienceRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\Audience $audience): self - { - return (new self()) - ->setParent($parent) - ->setAudience($audience); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type \Google\Analytics\Admin\V1alpha\Audience $audience - * Required. The audience 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 audience to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\Audience|null - */ - public function getAudience() - { - return $this->audience; - } - - public function hasAudience() - { - return isset($this->audience); - } - - public function clearAudience() - { - unset($this->audience); - } - - /** - * Required. The audience to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\Audience $var - * @return $this - */ - public function setAudience($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Audience::class); - $this->audience = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateBigQueryLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateBigQueryLinkRequest.php deleted file mode 100644 index 11ff743dc60c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateBigQueryLinkRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1alpha.CreateBigQueryLinkRequest - */ -class CreateBigQueryLinkRequest 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) = { - */ - protected $parent = ''; - /** - * Required. The BigQueryLink to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $bigquery_link = null; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\BigQueryLink $bigqueryLink Required. The BigQueryLink to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateBigQueryLinkRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\BigQueryLink $bigqueryLink): self - { - return (new self()) - ->setParent($parent) - ->setBigqueryLink($bigqueryLink); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type \Google\Analytics\Admin\V1alpha\BigQueryLink $bigquery_link - * Required. The BigQueryLink 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 BigQueryLink to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\BigQueryLink|null - */ - public function getBigqueryLink() - { - return $this->bigquery_link; - } - - public function hasBigqueryLink() - { - return isset($this->bigquery_link); - } - - public function clearBigqueryLink() - { - unset($this->bigquery_link); - } - - /** - * Required. The BigQueryLink to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\BigQueryLink $var - * @return $this - */ - public function setBigqueryLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\BigQueryLink::class); - $this->bigquery_link = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCalculatedMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCalculatedMetricRequest.php deleted file mode 100644 index 2e1c719fdb95..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCalculatedMetricRequest.php +++ /dev/null @@ -1,199 +0,0 @@ -google.analytics.admin.v1alpha.CreateCalculatedMetricRequest - */ -class CreateCalculatedMetricRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Format: properties/{property_id} - * Example: properties/1234 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The ID to use for the calculated metric which will become the - * final component of the calculated metric's resource name. - * This value should be 1-80 characters and valid characters are - * /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique - * between all calculated metrics under a property. The calculated_metric_id - * is used when referencing this calculated metric from external APIs, for - * example, "calcMetric:{calculated_metric_id}". - * - * Generated from protobuf field string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $calculated_metric_id = ''; - /** - * Required. The CalculatedMetric to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $calculated_metric = null; - - /** - * @param string $parent Required. Format: properties/{property_id} - * Example: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\CalculatedMetric $calculatedMetric Required. The CalculatedMetric to create. - * @param string $calculatedMetricId Required. The ID to use for the calculated metric which will become the - * final component of the calculated metric's resource name. - * - * This value should be 1-80 characters and valid characters are - * /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique - * between all calculated metrics under a property. The calculated_metric_id - * is used when referencing this calculated metric from external APIs, for - * example, "calcMetric:{calculated_metric_id}". - * - * @return \Google\Analytics\Admin\V1alpha\CreateCalculatedMetricRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\CalculatedMetric $calculatedMetric, string $calculatedMetricId): self - { - return (new self()) - ->setParent($parent) - ->setCalculatedMetric($calculatedMetric) - ->setCalculatedMetricId($calculatedMetricId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Format: properties/{property_id} - * Example: properties/1234 - * @type string $calculated_metric_id - * Required. The ID to use for the calculated metric which will become the - * final component of the calculated metric's resource name. - * This value should be 1-80 characters and valid characters are - * /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique - * between all calculated metrics under a property. The calculated_metric_id - * is used when referencing this calculated metric from external APIs, for - * example, "calcMetric:{calculated_metric_id}". - * @type \Google\Analytics\Admin\V1alpha\CalculatedMetric $calculated_metric - * Required. The CalculatedMetric to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. 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. 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; - } - - /** - * Required. The ID to use for the calculated metric which will become the - * final component of the calculated metric's resource name. - * This value should be 1-80 characters and valid characters are - * /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique - * between all calculated metrics under a property. The calculated_metric_id - * is used when referencing this calculated metric from external APIs, for - * example, "calcMetric:{calculated_metric_id}". - * - * Generated from protobuf field string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCalculatedMetricId() - { - return $this->calculated_metric_id; - } - - /** - * Required. The ID to use for the calculated metric which will become the - * final component of the calculated metric's resource name. - * This value should be 1-80 characters and valid characters are - * /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique - * between all calculated metrics under a property. The calculated_metric_id - * is used when referencing this calculated metric from external APIs, for - * example, "calcMetric:{calculated_metric_id}". - * - * Generated from protobuf field string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCalculatedMetricId($var) - { - GPBUtil::checkString($var, True); - $this->calculated_metric_id = $var; - - return $this; - } - - /** - * Required. The CalculatedMetric to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\CalculatedMetric|null - */ - public function getCalculatedMetric() - { - return $this->calculated_metric; - } - - public function hasCalculatedMetric() - { - return isset($this->calculated_metric); - } - - public function clearCalculatedMetric() - { - unset($this->calculated_metric); - } - - /** - * Required. The CalculatedMetric to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\CalculatedMetric $var - * @return $this - */ - public function setCalculatedMetric($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CalculatedMetric::class); - $this->calculated_metric = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateChannelGroupRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateChannelGroupRequest.php deleted file mode 100644 index 0e547e5efdec..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateChannelGroupRequest.php +++ /dev/null @@ -1,132 +0,0 @@ -google.analytics.admin.v1alpha.CreateChannelGroupRequest - */ -class CreateChannelGroupRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The property for which to create a ChannelGroup. - * Example format: properties/1234 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The ChannelGroup to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $channel_group = null; - - /** - * @param string $parent Required. The property for which to create a ChannelGroup. - * Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\ChannelGroup $channelGroup Required. The ChannelGroup to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateChannelGroupRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\ChannelGroup $channelGroup): self - { - return (new self()) - ->setParent($parent) - ->setChannelGroup($channelGroup); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The property for which to create a ChannelGroup. - * Example format: properties/1234 - * @type \Google\Analytics\Admin\V1alpha\ChannelGroup $channel_group - * Required. The ChannelGroup to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The property for which to create a ChannelGroup. - * 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. The property for which to create a ChannelGroup. - * 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 ChannelGroup to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\ChannelGroup|null - */ - public function getChannelGroup() - { - return $this->channel_group; - } - - public function hasChannelGroup() - { - return isset($this->channel_group); - } - - public function clearChannelGroup() - { - unset($this->channel_group); - } - - /** - * Required. The ChannelGroup to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\ChannelGroup $var - * @return $this - */ - public function setChannelGroup($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroup::class); - $this->channel_group = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateConversionEventRequest.php deleted file mode 100644 index a2a7200974fd..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateConversionEventRequest.php +++ /dev/null @@ -1,132 +0,0 @@ -google.analytics.admin.v1alpha.CreateConversionEventRequest - */ -class CreateConversionEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The conversion event to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $conversion_event = null; - /** - * 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) = { - */ - protected $parent = ''; - - /** - * @param string $parent Required. 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. - * @param \Google\Analytics\Admin\V1alpha\ConversionEvent $conversionEvent Required. The conversion event to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateConversionEventRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\ConversionEvent $conversionEvent): self - { - return (new self()) - ->setParent($parent) - ->setConversionEvent($conversionEvent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @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 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The conversion event to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\ConversionEvent|null - */ - public function getConversionEvent() - { - return $this->conversion_event; - } - - public function hasConversionEvent() - { - return isset($this->conversion_event); - } - - public function clearConversionEvent() - { - unset($this->conversion_event); - } - - /** - * Required. The conversion event to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\ConversionEvent $var - * @return $this - */ - public function setConversionEvent($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ConversionEvent::class); - $this->conversion_event = $var; - - return $this; - } - - /** - * 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 - */ - public function getParent() - { - return $this->parent; - } - - /** - * 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 - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomDimensionRequest.php deleted file mode 100644 index 89bbbea8669f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomDimensionRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1alpha.CreateCustomDimensionRequest - */ -class CreateCustomDimensionRequest 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) = { - */ - protected $parent = ''; - /** - * Required. The CustomDimension to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $custom_dimension = null; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\CustomDimension $customDimension Required. The CustomDimension to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateCustomDimensionRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\CustomDimension $customDimension): self - { - return (new self()) - ->setParent($parent) - ->setCustomDimension($customDimension); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type \Google\Analytics\Admin\V1alpha\CustomDimension $custom_dimension - * Required. The CustomDimension 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 CustomDimension to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\CustomDimension|null - */ - public function getCustomDimension() - { - return $this->custom_dimension; - } - - public function hasCustomDimension() - { - return isset($this->custom_dimension); - } - - public function clearCustomDimension() - { - unset($this->custom_dimension); - } - - /** - * Required. The CustomDimension to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\CustomDimension $var - * @return $this - */ - public function setCustomDimension($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CustomDimension::class); - $this->custom_dimension = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomMetricRequest.php deleted file mode 100644 index fd054e8e3870..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateCustomMetricRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1alpha.CreateCustomMetricRequest - */ -class CreateCustomMetricRequest 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) = { - */ - protected $parent = ''; - /** - * Required. The CustomMetric to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $custom_metric = null; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\CustomMetric $customMetric Required. The CustomMetric to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateCustomMetricRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\CustomMetric $customMetric): self - { - return (new self()) - ->setParent($parent) - ->setCustomMetric($customMetric); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type \Google\Analytics\Admin\V1alpha\CustomMetric $custom_metric - * Required. The CustomMetric 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 CustomMetric to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\CustomMetric|null - */ - public function getCustomMetric() - { - return $this->custom_metric; - } - - public function hasCustomMetric() - { - return isset($this->custom_metric); - } - - public function clearCustomMetric() - { - unset($this->custom_metric); - } - - /** - * Required. The CustomMetric to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\CustomMetric $var - * @return $this - */ - public function setCustomMetric($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CustomMetric::class); - $this->custom_metric = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDataStreamRequest.php deleted file mode 100644 index dbe28d4247b1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDataStreamRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1alpha.CreateDataStreamRequest - */ -class CreateDataStreamRequest 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) = { - */ - protected $parent = ''; - /** - * Required. The DataStream to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $data_stream = null; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\DataStream $dataStream Required. The DataStream to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateDataStreamRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\DataStream $dataStream): self - { - return (new self()) - ->setParent($parent) - ->setDataStream($dataStream); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type \Google\Analytics\Admin\V1alpha\DataStream $data_stream - * Required. The DataStream 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 DataStream to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\DataStream|null - */ - public function getDataStream() - { - return $this->data_stream; - } - - public function hasDataStream() - { - return isset($this->data_stream); - } - - public function clearDataStream() - { - unset($this->data_stream); - } - - /** - * Required. The DataStream to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\DataStream $var - * @return $this - */ - public function setDataStream($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataStream::class); - $this->data_stream = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.php deleted file mode 100644 index 21f184ec6d87..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkProposalRequest - */ -class CreateDisplayVideo360AdvertiserLinkProposalRequest 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) = { - */ - protected $parent = ''; - /** - * Required. The DisplayVideo360AdvertiserLinkProposal to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_video_360_advertiser_link_proposal = null; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal $displayVideo360AdvertiserLinkProposal Required. The DisplayVideo360AdvertiserLinkProposal to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateDisplayVideo360AdvertiserLinkProposalRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal $displayVideo360AdvertiserLinkProposal): self - { - return (new self()) - ->setParent($parent) - ->setDisplayVideo360AdvertiserLinkProposal($displayVideo360AdvertiserLinkProposal); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal $display_video_360_advertiser_link_proposal - * Required. The DisplayVideo360AdvertiserLinkProposal 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 DisplayVideo360AdvertiserLinkProposal to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal|null - */ - public function getDisplayVideo360AdvertiserLinkProposal() - { - return $this->display_video_360_advertiser_link_proposal; - } - - public function hasDisplayVideo360AdvertiserLinkProposal() - { - return isset($this->display_video_360_advertiser_link_proposal); - } - - public function clearDisplayVideo360AdvertiserLinkProposal() - { - unset($this->display_video_360_advertiser_link_proposal); - } - - /** - * Required. The DisplayVideo360AdvertiserLinkProposal to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposal = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal $var - * @return $this - */ - public function setDisplayVideo360AdvertiserLinkProposal($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal::class); - $this->display_video_360_advertiser_link_proposal = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkRequest.php deleted file mode 100644 index 78647ae6091a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateDisplayVideo360AdvertiserLinkRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1alpha.CreateDisplayVideo360AdvertiserLinkRequest - */ -class CreateDisplayVideo360AdvertiserLinkRequest 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) = { - */ - protected $parent = ''; - /** - * Required. The DisplayVideo360AdvertiserLink to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_video_360_advertiser_link = null; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $displayVideo360AdvertiserLink Required. The DisplayVideo360AdvertiserLink to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateDisplayVideo360AdvertiserLinkRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $displayVideo360AdvertiserLink): self - { - return (new self()) - ->setParent($parent) - ->setDisplayVideo360AdvertiserLink($displayVideo360AdvertiserLink); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $display_video_360_advertiser_link - * Required. The DisplayVideo360AdvertiserLink 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 DisplayVideo360AdvertiserLink to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink|null - */ - public function getDisplayVideo360AdvertiserLink() - { - return $this->display_video_360_advertiser_link; - } - - public function hasDisplayVideo360AdvertiserLink() - { - return isset($this->display_video_360_advertiser_link); - } - - public function clearDisplayVideo360AdvertiserLink() - { - unset($this->display_video_360_advertiser_link); - } - - /** - * Required. The DisplayVideo360AdvertiserLink to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $var - * @return $this - */ - public function setDisplayVideo360AdvertiserLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink::class); - $this->display_video_360_advertiser_link = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventCreateRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventCreateRuleRequest.php deleted file mode 100644 index 6855c2de4316..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventCreateRuleRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1alpha.CreateEventCreateRuleRequest - */ -class CreateEventCreateRuleRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Example format: properties/123/dataStreams/456 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The EventCreateRule to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $event_create_rule = null; - - /** - * @param string $parent Required. Example format: properties/123/dataStreams/456 - * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\EventCreateRule $eventCreateRule Required. The EventCreateRule to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateEventCreateRuleRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\EventCreateRule $eventCreateRule): self - { - return (new self()) - ->setParent($parent) - ->setEventCreateRule($eventCreateRule); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/123/dataStreams/456 - * @type \Google\Analytics\Admin\V1alpha\EventCreateRule $event_create_rule - * Required. The EventCreateRule to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Example format: properties/123/dataStreams/456 - * - * 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/123/dataStreams/456 - * - * 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 EventCreateRule to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\EventCreateRule|null - */ - public function getEventCreateRule() - { - return $this->event_create_rule; - } - - public function hasEventCreateRule() - { - return isset($this->event_create_rule); - } - - public function clearEventCreateRule() - { - unset($this->event_create_rule); - } - - /** - * Required. The EventCreateRule to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\EventCreateRule $var - * @return $this - */ - public function setEventCreateRule($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\EventCreateRule::class); - $this->event_create_rule = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventEditRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventEditRuleRequest.php deleted file mode 100644 index b1fbeb084d88..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateEventEditRuleRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1alpha.CreateEventEditRuleRequest - */ -class CreateEventEditRuleRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Example format: properties/123/dataStreams/456 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The EventEditRule to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $event_edit_rule = null; - - /** - * @param string $parent Required. Example format: properties/123/dataStreams/456 - * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\EventEditRule $eventEditRule Required. The EventEditRule to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateEventEditRuleRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\EventEditRule $eventEditRule): self - { - return (new self()) - ->setParent($parent) - ->setEventEditRule($eventEditRule); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/123/dataStreams/456 - * @type \Google\Analytics\Admin\V1alpha\EventEditRule $event_edit_rule - * Required. The EventEditRule to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Example format: properties/123/dataStreams/456 - * - * 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/123/dataStreams/456 - * - * 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 EventEditRule to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\EventEditRule|null - */ - public function getEventEditRule() - { - return $this->event_edit_rule; - } - - public function hasEventEditRule() - { - return isset($this->event_edit_rule); - } - - public function clearEventEditRule() - { - unset($this->event_edit_rule); - } - - /** - * Required. The EventEditRule to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\EventEditRule $var - * @return $this - */ - public function setEventEditRule($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\EventEditRule::class); - $this->event_edit_rule = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateExpandedDataSetRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateExpandedDataSetRequest.php deleted file mode 100644 index 5fe40ee08f06..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateExpandedDataSetRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1alpha.CreateExpandedDataSetRequest - */ -class CreateExpandedDataSetRequest 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) = { - */ - protected $parent = ''; - /** - * Required. The ExpandedDataSet to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $expanded_data_set = null; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSet $expandedDataSet Required. The ExpandedDataSet to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateExpandedDataSetRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\ExpandedDataSet $expandedDataSet): self - { - return (new self()) - ->setParent($parent) - ->setExpandedDataSet($expandedDataSet); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSet $expanded_data_set - * Required. The ExpandedDataSet 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 ExpandedDataSet to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\ExpandedDataSet|null - */ - public function getExpandedDataSet() - { - return $this->expanded_data_set; - } - - public function hasExpandedDataSet() - { - return isset($this->expanded_data_set); - } - - public function clearExpandedDataSet() - { - unset($this->expanded_data_set); - } - - /** - * Required. The ExpandedDataSet to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSet $var - * @return $this - */ - public function setExpandedDataSet($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ExpandedDataSet::class); - $this->expanded_data_set = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateFirebaseLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateFirebaseLinkRequest.php deleted file mode 100644 index f8f01d27362f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateFirebaseLinkRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.analytics.admin.v1alpha.CreateFirebaseLinkRequest - */ -class CreateFirebaseLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Format: properties/{property_id} - * Example: `properties/1234` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Firebase link to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $firebase_link = null; - - /** - * @param string $parent Required. Format: properties/{property_id} - * - * Example: `properties/1234` - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\FirebaseLink $firebaseLink Required. The Firebase link to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateFirebaseLinkRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\FirebaseLink $firebaseLink): self - { - return (new self()) - ->setParent($parent) - ->setFirebaseLink($firebaseLink); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Format: properties/{property_id} - * Example: `properties/1234` - * @type \Google\Analytics\Admin\V1alpha\FirebaseLink $firebase_link - * Required. The Firebase link to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. 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. 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; - } - - /** - * Required. The Firebase link to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\FirebaseLink|null - */ - public function getFirebaseLink() - { - return $this->firebase_link; - } - - public function hasFirebaseLink() - { - return isset($this->firebase_link); - } - - public function clearFirebaseLink() - { - unset($this->firebase_link); - } - - /** - * Required. The Firebase link to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\FirebaseLink $var - * @return $this - */ - public function setFirebaseLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\FirebaseLink::class); - $this->firebase_link = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateGoogleAdsLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateGoogleAdsLinkRequest.php deleted file mode 100644 index 43d4fafde2db..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateGoogleAdsLinkRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1alpha.CreateGoogleAdsLinkRequest - */ -class CreateGoogleAdsLinkRequest 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) = { - */ - protected $parent = ''; - /** - * Required. The GoogleAdsLink to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $google_ads_link = null; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\GoogleAdsLink $googleAdsLink Required. The GoogleAdsLink to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateGoogleAdsLinkRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\GoogleAdsLink $googleAdsLink): self - { - return (new self()) - ->setParent($parent) - ->setGoogleAdsLink($googleAdsLink); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type \Google\Analytics\Admin\V1alpha\GoogleAdsLink $google_ads_link - * Required. The GoogleAdsLink 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 GoogleAdsLink to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\GoogleAdsLink|null - */ - public function getGoogleAdsLink() - { - return $this->google_ads_link; - } - - public function hasGoogleAdsLink() - { - return isset($this->google_ads_link); - } - - public function clearGoogleAdsLink() - { - unset($this->google_ads_link); - } - - /** - * Required. The GoogleAdsLink to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\GoogleAdsLink $var - * @return $this - */ - public function setGoogleAdsLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\GoogleAdsLink::class); - $this->google_ads_link = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateKeyEventRequest.php deleted file mode 100644 index 33271c8a639d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateKeyEventRequest.php +++ /dev/null @@ -1,132 +0,0 @@ -google.analytics.admin.v1alpha.CreateKeyEventRequest - */ -class CreateKeyEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The Key Event to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $key_event = null; - /** - * Required. The resource name of the parent property where this Key Event - * will be created. Format: properties/123 - * - * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - - /** - * @param string $parent Required. The resource name of the parent property where this Key Event - * will be created. Format: properties/123 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\KeyEvent $keyEvent Required. The Key Event to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateKeyEventRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\KeyEvent $keyEvent): self - { - return (new self()) - ->setParent($parent) - ->setKeyEvent($keyEvent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\KeyEvent $key_event - * Required. The Key Event to create. - * @type string $parent - * Required. The resource name of the parent property where this Key Event - * will be created. Format: properties/123 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The Key Event to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\KeyEvent|null - */ - public function getKeyEvent() - { - return $this->key_event; - } - - public function hasKeyEvent() - { - return isset($this->key_event); - } - - public function clearKeyEvent() - { - unset($this->key_event); - } - - /** - * Required. The Key Event to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\KeyEvent $var - * @return $this - */ - public function setKeyEvent($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\KeyEvent::class); - $this->key_event = $var; - - return $this; - } - - /** - * Required. The resource name of the parent property where this Key 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 - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the parent property where this Key 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 - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateMeasurementProtocolSecretRequest.php deleted file mode 100644 index 9ee1950ae526..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateMeasurementProtocolSecretRequest.php +++ /dev/null @@ -1,132 +0,0 @@ -google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest - */ -class CreateMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The parent resource where this secret will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The measurement protocol secret to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $measurement_protocol_secret = null; - - /** - * @param string $parent Required. The parent resource where this secret will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurementProtocolSecret Required. The measurement protocol secret to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateMeasurementProtocolSecretRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurementProtocolSecret): self - { - return (new self()) - ->setParent($parent) - ->setMeasurementProtocolSecret($measurementProtocolSecret); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The parent resource where this secret will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * @type \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurement_protocol_secret - * Required. The measurement protocol secret to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The parent resource where this secret will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * - * 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 parent resource where this secret will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * - * 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 measurement protocol secret to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret|null - */ - public function getMeasurementProtocolSecret() - { - return $this->measurement_protocol_secret; - } - - public function hasMeasurementProtocolSecret() - { - return isset($this->measurement_protocol_secret); - } - - public function clearMeasurementProtocolSecret() - { - unset($this->measurement_protocol_secret); - } - - /** - * Required. The measurement protocol secret to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $var - * @return $this - */ - public function setMeasurementProtocolSecret($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret::class); - $this->measurement_protocol_secret = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreatePropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreatePropertyRequest.php deleted file mode 100644 index fde84f44b1ea..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreatePropertyRequest.php +++ /dev/null @@ -1,95 +0,0 @@ -google.analytics.admin.v1alpha.CreatePropertyRequest - */ -class CreatePropertyRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The property to create. - * Note: the supplied property must specify its parent. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $property = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\Property $property Required. The property to create. - * Note: the supplied property must specify its parent. - * - * @return \Google\Analytics\Admin\V1alpha\CreatePropertyRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\Property $property): self - { - return (new self()) - ->setProperty($property); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\Property $property - * Required. The property to create. - * Note: the supplied property must specify its parent. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The property to create. - * Note: the supplied property must specify its parent. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\Property|null - */ - public function getProperty() - { - return $this->property; - } - - public function hasProperty() - { - return isset($this->property); - } - - public function clearProperty() - { - unset($this->property); - } - - /** - * Required. The property to create. - * Note: the supplied property must specify its parent. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\Property $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Property::class); - $this->property = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateReportingDataAnnotationRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateReportingDataAnnotationRequest.php deleted file mode 100644 index 395c31474871..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateReportingDataAnnotationRequest.php +++ /dev/null @@ -1,137 +0,0 @@ -google.analytics.admin.v1alpha.CreateReportingDataAnnotationRequest - */ -class CreateReportingDataAnnotationRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The property for which to create a Reporting Data Annotation. - * Format: properties/property_id - * Example: properties/123 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Reporting Data Annotation to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $reporting_data_annotation = null; - - /** - * @param string $parent Required. The property for which to create a Reporting Data Annotation. - * Format: properties/property_id - * Example: properties/123 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $reportingDataAnnotation Required. The Reporting Data Annotation to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateReportingDataAnnotationRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $reportingDataAnnotation): self - { - return (new self()) - ->setParent($parent) - ->setReportingDataAnnotation($reportingDataAnnotation); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The property for which to create a Reporting Data Annotation. - * Format: properties/property_id - * Example: properties/123 - * @type \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $reporting_data_annotation - * Required. The Reporting Data Annotation to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The property for which to create a Reporting Data Annotation. - * Format: properties/property_id - * Example: properties/123 - * - * 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 property for which to create a Reporting Data Annotation. - * Format: properties/property_id - * Example: properties/123 - * - * 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 Reporting Data Annotation to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation|null - */ - public function getReportingDataAnnotation() - { - return $this->reporting_data_annotation; - } - - public function hasReportingDataAnnotation() - { - return isset($this->reporting_data_annotation); - } - - public function clearReportingDataAnnotation() - { - unset($this->reporting_data_annotation); - } - - /** - * Required. The Reporting Data Annotation to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $var - * @return $this - */ - public function setReportingDataAnnotation($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation::class); - $this->reporting_data_annotation = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyRequest.php deleted file mode 100644 index bbfb7cfe2a25..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyRequest.php +++ /dev/null @@ -1,115 +0,0 @@ -google.analytics.admin.v1alpha.CreateRollupPropertyRequest - */ -class CreateRollupPropertyRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The roll-up property to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $rollup_property = null; - /** - * Optional. The resource names of properties that will be sources to the - * created roll-up property. - * - * Generated from protobuf field repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $source_properties; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\Property $rollup_property - * Required. The roll-up property to create. - * @type string[] $source_properties - * Optional. The resource names of properties that will be sources to the - * created roll-up property. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The roll-up property to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\Property|null - */ - public function getRollupProperty() - { - return $this->rollup_property; - } - - public function hasRollupProperty() - { - return isset($this->rollup_property); - } - - public function clearRollupProperty() - { - unset($this->rollup_property); - } - - /** - * Required. The roll-up property to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\Property $var - * @return $this - */ - public function setRollupProperty($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Property::class); - $this->rollup_property = $var; - - return $this; - } - - /** - * Optional. The resource names of properties that will be sources to the - * created roll-up property. - * - * Generated from protobuf field repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return RepeatedField - */ - public function getSourceProperties() - { - return $this->source_properties; - } - - /** - * Optional. The resource names of properties that will be sources to the - * created roll-up property. - * - * Generated from protobuf field repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param string[] $var - * @return $this - */ - public function setSourceProperties($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->source_properties = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyResponse.php deleted file mode 100644 index aac4ee3c14ae..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertyResponse.php +++ /dev/null @@ -1,111 +0,0 @@ -google.analytics.admin.v1alpha.CreateRollupPropertyResponse - */ -class CreateRollupPropertyResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The created roll-up property. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property rollup_property = 1; - */ - protected $rollup_property = null; - /** - * The created roll-up property source links. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; - */ - private $rollup_property_source_links; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\Property $rollup_property - * The created roll-up property. - * @type \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink[] $rollup_property_source_links - * The created roll-up property source links. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The created roll-up property. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property rollup_property = 1; - * @return \Google\Analytics\Admin\V1alpha\Property|null - */ - public function getRollupProperty() - { - return $this->rollup_property; - } - - public function hasRollupProperty() - { - return isset($this->rollup_property); - } - - public function clearRollupProperty() - { - unset($this->rollup_property); - } - - /** - * The created roll-up property. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property rollup_property = 1; - * @param \Google\Analytics\Admin\V1alpha\Property $var - * @return $this - */ - public function setRollupProperty($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Property::class); - $this->rollup_property = $var; - - return $this; - } - - /** - * The created roll-up property source links. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\RollupPropertySourceLink> - */ - public function getRollupPropertySourceLinks() - { - return $this->rollup_property_source_links; - } - - /** - * The created roll-up property source links. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; - * @param \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink[] $var - * @return $this - */ - public function setRollupPropertySourceLinks($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink::class); - $this->rollup_property_source_links = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertySourceLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertySourceLinkRequest.php deleted file mode 100644 index 951a81041a9c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateRollupPropertySourceLinkRequest.php +++ /dev/null @@ -1,132 +0,0 @@ -google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest - */ -class CreateRollupPropertySourceLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Format: properties/{property_id} - * Example: properties/1234 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The roll-up property source link to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $rollup_property_source_link = null; - - /** - * @param string $parent Required. Format: properties/{property_id} - * Example: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink $rollupPropertySourceLink Required. The roll-up property source link to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateRollupPropertySourceLinkRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink $rollupPropertySourceLink): self - { - return (new self()) - ->setParent($parent) - ->setRollupPropertySourceLink($rollupPropertySourceLink); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Format: properties/{property_id} - * Example: properties/1234 - * @type \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink $rollup_property_source_link - * Required. The roll-up property source link to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. 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. 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; - } - - /** - * Required. The roll-up property source link to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink|null - */ - public function getRollupPropertySourceLink() - { - return $this->rollup_property_source_link; - } - - public function hasRollupPropertySourceLink() - { - return isset($this->rollup_property_source_link); - } - - public function clearRollupPropertySourceLink() - { - unset($this->rollup_property_source_link); - } - - /** - * Required. The roll-up property source link to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink $var - * @return $this - */ - public function setRollupPropertySourceLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink::class); - $this->rollup_property_source_link = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSKAdNetworkConversionValueSchemaRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSKAdNetworkConversionValueSchemaRequest.php deleted file mode 100644 index ce494ac7e3c3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSKAdNetworkConversionValueSchemaRequest.php +++ /dev/null @@ -1,132 +0,0 @@ -google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest - */ -class CreateSKAdNetworkConversionValueSchemaRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The parent resource where this schema will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. SKAdNetwork conversion value schema to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $skadnetwork_conversion_value_schema = null; - - /** - * @param string $parent Required. The parent resource where this schema will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetworkConversionValueSchema Required. SKAdNetwork conversion value schema to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateSKAdNetworkConversionValueSchemaRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetworkConversionValueSchema): self - { - return (new self()) - ->setParent($parent) - ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The parent resource where this schema will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * @type \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetwork_conversion_value_schema - * Required. SKAdNetwork conversion value schema to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The parent resource where this schema will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * - * 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 parent resource where this schema will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * - * 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. SKAdNetwork conversion value schema to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema|null - */ - public function getSkadnetworkConversionValueSchema() - { - return $this->skadnetwork_conversion_value_schema; - } - - public function hasSkadnetworkConversionValueSchema() - { - return isset($this->skadnetwork_conversion_value_schema); - } - - public function clearSkadnetworkConversionValueSchema() - { - unset($this->skadnetwork_conversion_value_schema); - } - - /** - * Required. SKAdNetwork conversion value schema to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $var - * @return $this - */ - public function setSkadnetworkConversionValueSchema($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema::class); - $this->skadnetwork_conversion_value_schema = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSearchAds360LinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSearchAds360LinkRequest.php deleted file mode 100644 index f36522030678..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSearchAds360LinkRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -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) = { - */ - protected $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]; - */ - protected $search_ads_360_link = null; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\SearchAds360Link $searchAds360Link Required. The SearchAds360Link to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateSearchAds360LinkRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\SearchAds360Link $searchAds360Link): self - { - return (new self()) - ->setParent($parent) - ->setSearchAds360Link($searchAds360Link); - } - - /** - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSubpropertyEventFilterRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSubpropertyEventFilterRequest.php deleted file mode 100644 index 6cc6c54d266e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CreateSubpropertyEventFilterRequest.php +++ /dev/null @@ -1,132 +0,0 @@ -google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest - */ -class CreateSubpropertyEventFilterRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ordinary property for which to create a subproperty event - * filter. Format: properties/property_id Example: properties/123 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The subproperty event filter to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $subproperty_event_filter = null; - - /** - * @param string $parent Required. The ordinary property for which to create a subproperty event - * filter. Format: properties/property_id Example: properties/123 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subpropertyEventFilter Required. The subproperty event filter to create. - * - * @return \Google\Analytics\Admin\V1alpha\CreateSubpropertyEventFilterRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subpropertyEventFilter): self - { - return (new self()) - ->setParent($parent) - ->setSubpropertyEventFilter($subpropertyEventFilter); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The ordinary property for which to create a subproperty event - * filter. Format: properties/property_id Example: properties/123 - * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subproperty_event_filter - * Required. The subproperty event filter to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ordinary property for which to create a subproperty event - * filter. Format: properties/property_id Example: properties/123 - * - * 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 ordinary property for which to create a subproperty event - * filter. Format: properties/property_id Example: properties/123 - * - * 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 subproperty event filter to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter|null - */ - public function getSubpropertyEventFilter() - { - return $this->subproperty_event_filter; - } - - public function hasSubpropertyEventFilter() - { - return isset($this->subproperty_event_filter); - } - - public function clearSubpropertyEventFilter() - { - unset($this->subproperty_event_filter); - } - - /** - * Required. The subproperty event filter to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $var - * @return $this - */ - public function setSubpropertyEventFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter::class); - $this->subproperty_event_filter = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension.php deleted file mode 100644 index 1ea25227d713..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension.php +++ /dev/null @@ -1,301 +0,0 @@ -google.analytics.admin.v1alpha.CustomDimension - */ -class CustomDimension extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Resource name for this CustomDimension resource. - * Format: properties/{property}/customDimensions/{customDimension} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Required. Immutable. Tagging parameter name for this custom dimension. - * If this is a user-scoped dimension, then this is the user property name. - * If this is an event-scoped dimension, then this is the event parameter - * name. - * If this is an item-scoped dimension, then this is the parameter - * name found in the eCommerce items array. - * 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. - * - * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $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 - * starting with a letter. Legacy system-generated display names may contain - * square brackets, but updates to this field will never permit square - * brackets. - * - * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Optional. Description for this custom dimension. Max length of 150 - * characters. - * - * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $description = ''; - /** - * Required. Immutable. The scope of this dimension. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $scope = 0; - /** - * 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]; - */ - protected $disallow_ads_personalization = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. Resource name for this CustomDimension resource. - * Format: properties/{property}/customDimensions/{customDimension} - * @type string $parameter_name - * Required. Immutable. Tagging parameter name for this custom dimension. - * If this is a user-scoped dimension, then this is the user property name. - * If this is an event-scoped dimension, then this is the event parameter - * name. - * If this is an item-scoped dimension, then this is the parameter - * name found in the eCommerce items array. - * 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. - * @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 - * 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. - * @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. - * This is currently only supported by user-scoped custom dimensions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. Resource name for this CustomDimension resource. - * Format: properties/{property}/customDimensions/{customDimension} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Resource name for this CustomDimension resource. - * Format: properties/{property}/customDimensions/{customDimension} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. Immutable. Tagging parameter name for this custom dimension. - * If this is a user-scoped dimension, then this is the user property name. - * If this is an event-scoped dimension, then this is the event parameter - * name. - * If this is an item-scoped dimension, then this is the parameter - * name found in the eCommerce items array. - * 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. - * - * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getParameterName() - { - return $this->parameter_name; - } - - /** - * Required. Immutable. Tagging parameter name for this custom dimension. - * If this is a user-scoped dimension, then this is the user property name. - * If this is an event-scoped dimension, then this is the event parameter - * name. - * If this is an item-scoped dimension, then this is the parameter - * name found in the eCommerce items array. - * 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. - * - * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setParameterName($var) - { - GPBUtil::checkString($var, True); - $this->parameter_name = $var; - - return $this; - } - - /** - * 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. - * - * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->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 - * starting with a letter. Legacy system-generated display names may contain - * square brackets, but updates to this field will never permit square - * brackets. - * - * Generated from protobuf field string display_name = 3 [(.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. Description for this custom dimension. Max length of 150 - * characters. - * - * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * 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 - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Required. Immutable. The scope of this dimension. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getScope() - { - return $this->scope; - } - - /** - * Required. Immutable. The scope of this dimension. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setScope($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\CustomDimension\DimensionScope::class); - $this->scope = $var; - - return $this; - } - - /** - * 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]; - * @return bool - */ - public function getDisallowAdsPersonalization() - { - return $this->disallow_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]; - * @param bool $var - * @return $this - */ - public function setDisallowAdsPersonalization($var) - { - GPBUtil::checkBool($var); - $this->disallow_ads_personalization = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension/DimensionScope.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension/DimensionScope.php deleted file mode 100644 index b01ec678fe94..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomDimension/DimensionScope.php +++ /dev/null @@ -1,68 +0,0 @@ -google.analytics.admin.v1alpha.CustomDimension.DimensionScope - */ -class DimensionScope -{ - /** - * Scope unknown or not specified. - * - * Generated from protobuf enum DIMENSION_SCOPE_UNSPECIFIED = 0; - */ - const DIMENSION_SCOPE_UNSPECIFIED = 0; - /** - * Dimension scoped to an event. - * - * Generated from protobuf enum EVENT = 1; - */ - const EVENT = 1; - /** - * Dimension scoped to a user. - * - * Generated from protobuf enum USER = 2; - */ - const USER = 2; - /** - * Dimension scoped to eCommerce items - * - * Generated from protobuf enum ITEM = 3; - */ - const ITEM = 3; - - private static $valueToName = [ - self::DIMENSION_SCOPE_UNSPECIFIED => 'DIMENSION_SCOPE_UNSPECIFIED', - self::EVENT => 'EVENT', - self::USER => 'USER', - self::ITEM => 'ITEM', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric.php deleted file mode 100644 index 113e504b67d0..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric.php +++ /dev/null @@ -1,319 +0,0 @@ -google.analytics.admin.v1alpha.CustomMetric - */ -class CustomMetric extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Resource name for this CustomMetric resource. - * Format: properties/{property}/customMetrics/{customMetric} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Required. Immutable. Tagging name for this custom metric. - * If this is an event-scoped metric, then this is the event parameter - * name. - * May only contain alphanumeric and underscore charactes, starting with a - * letter. Max length of 40 characters for event-scoped metrics. - * - * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $parameter_name = ''; - /** - * Required. Display name for this custom metric 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. - * - * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Optional. Description for this custom dimension. - * Max length of 150 characters. - * - * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $description = ''; - /** - * Required. The type for the custom metric's value. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $measurement_unit = 0; - /** - * Required. Immutable. The scope of this custom metric. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $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. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $restricted_metric_type; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. Resource name for this CustomMetric resource. - * Format: properties/{property}/customMetrics/{customMetric} - * @type string $parameter_name - * Required. Immutable. Tagging name for this custom metric. - * If this is an event-scoped metric, then this is the event parameter - * name. - * May only contain alphanumeric and underscore charactes, starting with a - * letter. Max length of 40 characters for event-scoped metrics. - * @type string $display_name - * Required. Display name for this custom metric 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. - * @type int $measurement_unit - * Required. The type for the custom metric's value. - * @type int $scope - * Required. Immutable. The scope of this custom metric. - * @type int[] $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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. Resource name for this CustomMetric resource. - * Format: properties/{property}/customMetrics/{customMetric} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Resource name for this CustomMetric resource. - * Format: properties/{property}/customMetrics/{customMetric} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. Immutable. Tagging name for this custom metric. - * If this is an event-scoped metric, then this is the event parameter - * name. - * May only contain alphanumeric and underscore charactes, starting with a - * letter. Max length of 40 characters for event-scoped metrics. - * - * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getParameterName() - { - return $this->parameter_name; - } - - /** - * Required. Immutable. Tagging name for this custom metric. - * If this is an event-scoped metric, then this is the event parameter - * name. - * May only contain alphanumeric and underscore charactes, starting with a - * letter. Max length of 40 characters for event-scoped metrics. - * - * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setParameterName($var) - { - GPBUtil::checkString($var, True); - $this->parameter_name = $var; - - return $this; - } - - /** - * Required. Display name for this custom metric 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. - * - * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. Display name for this custom metric 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. - * - * Generated from protobuf field string display_name = 3 [(.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. Description for this custom dimension. - * Max length of 150 characters. - * - * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * 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 - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Required. The type for the custom metric's value. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getMeasurementUnit() - { - return $this->measurement_unit; - } - - /** - * Required. The type for the custom metric's value. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setMeasurementUnit($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\CustomMetric\MeasurementUnit::class); - $this->measurement_unit = $var; - - return $this; - } - - /** - * Required. Immutable. The scope of this custom metric. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getScope() - { - return $this->scope; - } - - /** - * Required. Immutable. The scope of this custom metric. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setScope($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\CustomMetric\MetricScope::class); - $this->scope = $var; - - return $this; - } - - /** - * 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 RepeatedField - */ - public function getRestrictedMetricType() - { - return $this->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. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @param int[] $var - * @return $this - */ - public function setRestrictedMetricType($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Analytics\Admin\V1alpha\CustomMetric\RestrictedMetricType::class); - $this->restricted_metric_type = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MeasurementUnit.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MeasurementUnit.php deleted file mode 100644 index 7fdff635ac36..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MeasurementUnit.php +++ /dev/null @@ -1,119 +0,0 @@ -google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit - */ -class MeasurementUnit -{ - /** - * MeasurementUnit unspecified or missing. - * - * Generated from protobuf enum MEASUREMENT_UNIT_UNSPECIFIED = 0; - */ - const MEASUREMENT_UNIT_UNSPECIFIED = 0; - /** - * This metric uses default units. - * - * Generated from protobuf enum STANDARD = 1; - */ - const STANDARD = 1; - /** - * This metric measures a currency. - * - * Generated from protobuf enum CURRENCY = 2; - */ - const CURRENCY = 2; - /** - * This metric measures feet. - * - * Generated from protobuf enum FEET = 3; - */ - const FEET = 3; - /** - * This metric measures meters. - * - * Generated from protobuf enum METERS = 4; - */ - const METERS = 4; - /** - * This metric measures kilometers. - * - * Generated from protobuf enum KILOMETERS = 5; - */ - const KILOMETERS = 5; - /** - * This metric measures miles. - * - * Generated from protobuf enum MILES = 6; - */ - const MILES = 6; - /** - * This metric measures milliseconds. - * - * Generated from protobuf enum MILLISECONDS = 7; - */ - const MILLISECONDS = 7; - /** - * This metric measures seconds. - * - * Generated from protobuf enum SECONDS = 8; - */ - const SECONDS = 8; - /** - * This metric measures minutes. - * - * Generated from protobuf enum MINUTES = 9; - */ - const MINUTES = 9; - /** - * This metric measures hours. - * - * Generated from protobuf enum HOURS = 10; - */ - const HOURS = 10; - - private static $valueToName = [ - self::MEASUREMENT_UNIT_UNSPECIFIED => 'MEASUREMENT_UNIT_UNSPECIFIED', - self::STANDARD => 'STANDARD', - self::CURRENCY => 'CURRENCY', - self::FEET => 'FEET', - self::METERS => 'METERS', - self::KILOMETERS => 'KILOMETERS', - self::MILES => 'MILES', - self::MILLISECONDS => 'MILLISECONDS', - self::SECONDS => 'SECONDS', - self::MINUTES => 'MINUTES', - self::HOURS => 'HOURS', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MetricScope.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MetricScope.php deleted file mode 100644 index aa2f7aadbb85..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/MetricScope.php +++ /dev/null @@ -1,54 +0,0 @@ -google.analytics.admin.v1alpha.CustomMetric.MetricScope - */ -class MetricScope -{ - /** - * Scope unknown or not specified. - * - * Generated from protobuf enum METRIC_SCOPE_UNSPECIFIED = 0; - */ - const METRIC_SCOPE_UNSPECIFIED = 0; - /** - * Metric scoped to an event. - * - * Generated from protobuf enum EVENT = 1; - */ - const EVENT = 1; - - private static $valueToName = [ - self::METRIC_SCOPE_UNSPECIFIED => 'METRIC_SCOPE_UNSPECIFIED', - self::EVENT => 'EVENT', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/RestrictedMetricType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/RestrictedMetricType.php deleted file mode 100644 index 81d3c716fa4c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/CustomMetric/RestrictedMetricType.php +++ /dev/null @@ -1,62 +0,0 @@ -google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType - */ -class RestrictedMetricType -{ - /** - * Type unknown or unspecified. - * - * Generated from protobuf enum RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; - */ - const RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; - /** - * Metric reports cost data. - * - * Generated from protobuf enum COST_DATA = 1; - */ - const COST_DATA = 1; - /** - * Metric reports revenue data. - * - * Generated from protobuf enum REVENUE_DATA = 2; - */ - const REVENUE_DATA = 2; - - private static $valueToName = [ - self::RESTRICTED_METRIC_TYPE_UNSPECIFIED => 'RESTRICTED_METRIC_TYPE_UNSPECIFIED', - self::COST_DATA => 'COST_DATA', - self::REVENUE_DATA => 'REVENUE_DATA', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRedactionSettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRedactionSettings.php deleted file mode 100644 index 3589c3d76c18..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRedactionSettings.php +++ /dev/null @@ -1,210 +0,0 @@ -google.analytics.admin.v1alpha.DataRedactionSettings - */ -class DataRedactionSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Name of this Data Redaction Settings resource. - * Format: - * properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings - * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * If enabled, any event parameter or user property values that look like an - * email will be redacted. - * - * Generated from protobuf field bool email_redaction_enabled = 2; - */ - protected $email_redaction_enabled = false; - /** - * Query Parameter redaction removes the key and value portions of a - * query parameter if it is in the configured set of query parameters. - * If enabled, URL query replacement logic will be run for the Stream. Any - * query parameters defined in query_parameter_keys will be redacted. - * - * Generated from protobuf field bool query_parameter_redaction_enabled = 3; - */ - protected $query_parameter_redaction_enabled = false; - /** - * The query parameter keys to apply redaction logic to if present in the URL. - * Query parameter matching is case-insensitive. - * Must contain at least one element if query_parameter_replacement_enabled - * is true. Keys cannot contain commas. - * - * Generated from protobuf field repeated string query_parameter_keys = 4; - */ - private $query_parameter_keys; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Name of this Data Redaction Settings resource. - * Format: - * properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings - * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" - * @type bool $email_redaction_enabled - * If enabled, any event parameter or user property values that look like an - * email will be redacted. - * @type bool $query_parameter_redaction_enabled - * Query Parameter redaction removes the key and value portions of a - * query parameter if it is in the configured set of query parameters. - * If enabled, URL query replacement logic will be run for the Stream. Any - * query parameters defined in query_parameter_keys will be redacted. - * @type string[] $query_parameter_keys - * The query parameter keys to apply redaction logic to if present in the URL. - * Query parameter matching is case-insensitive. - * Must contain at least one element if query_parameter_replacement_enabled - * is true. Keys cannot contain commas. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Name of this Data Redaction Settings resource. - * Format: - * properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings - * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Name of this Data Redaction Settings resource. - * Format: - * properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings - * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" - * - * 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; - } - - /** - * If enabled, any event parameter or user property values that look like an - * email will be redacted. - * - * Generated from protobuf field bool email_redaction_enabled = 2; - * @return bool - */ - public function getEmailRedactionEnabled() - { - return $this->email_redaction_enabled; - } - - /** - * If enabled, any event parameter or user property values that look like an - * email will be redacted. - * - * Generated from protobuf field bool email_redaction_enabled = 2; - * @param bool $var - * @return $this - */ - public function setEmailRedactionEnabled($var) - { - GPBUtil::checkBool($var); - $this->email_redaction_enabled = $var; - - return $this; - } - - /** - * Query Parameter redaction removes the key and value portions of a - * query parameter if it is in the configured set of query parameters. - * If enabled, URL query replacement logic will be run for the Stream. Any - * query parameters defined in query_parameter_keys will be redacted. - * - * Generated from protobuf field bool query_parameter_redaction_enabled = 3; - * @return bool - */ - public function getQueryParameterRedactionEnabled() - { - return $this->query_parameter_redaction_enabled; - } - - /** - * Query Parameter redaction removes the key and value portions of a - * query parameter if it is in the configured set of query parameters. - * If enabled, URL query replacement logic will be run for the Stream. Any - * query parameters defined in query_parameter_keys will be redacted. - * - * Generated from protobuf field bool query_parameter_redaction_enabled = 3; - * @param bool $var - * @return $this - */ - public function setQueryParameterRedactionEnabled($var) - { - GPBUtil::checkBool($var); - $this->query_parameter_redaction_enabled = $var; - - return $this; - } - - /** - * The query parameter keys to apply redaction logic to if present in the URL. - * Query parameter matching is case-insensitive. - * Must contain at least one element if query_parameter_replacement_enabled - * is true. Keys cannot contain commas. - * - * Generated from protobuf field repeated string query_parameter_keys = 4; - * @return RepeatedField - */ - public function getQueryParameterKeys() - { - return $this->query_parameter_keys; - } - - /** - * The query parameter keys to apply redaction logic to if present in the URL. - * Query parameter matching is case-insensitive. - * Must contain at least one element if query_parameter_replacement_enabled - * is true. Keys cannot contain commas. - * - * Generated from protobuf field repeated string query_parameter_keys = 4; - * @param string[] $var - * @return $this - */ - public function setQueryParameterKeys($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->query_parameter_keys = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings.php deleted file mode 100644 index 795267857e50..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings.php +++ /dev/null @@ -1,177 +0,0 @@ -google.analytics.admin.v1alpha.DataRetentionSettings - */ -class DataRetentionSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Resource name for this DataRetentionSetting resource. - * Format: properties/{property}/dataRetentionSettings - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Required. The length of time that event-level data is retained. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $event_data_retention = 0; - /** - * Required. The length of time that user-level data is retained. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration user_data_retention = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $user_data_retention = 0; - /** - * If true, reset the retention period for the user identifier with every - * event from that user. - * - * Generated from protobuf field bool reset_user_data_on_new_activity = 3; - */ - protected $reset_user_data_on_new_activity = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. Resource name for this DataRetentionSetting resource. - * Format: properties/{property}/dataRetentionSettings - * @type int $event_data_retention - * Required. The length of time that event-level data is retained. - * @type int $user_data_retention - * Required. The length of time that user-level data is retained. - * @type bool $reset_user_data_on_new_activity - * If true, reset the retention period for the user identifier with every - * event from that user. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. Resource name for this DataRetentionSetting resource. - * Format: properties/{property}/dataRetentionSettings - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Resource name for this DataRetentionSetting resource. - * Format: properties/{property}/dataRetentionSettings - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The length of time that event-level data is retained. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getEventDataRetention() - { - return $this->event_data_retention; - } - - /** - * Required. The length of time that event-level data is retained. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration event_data_retention = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setEventDataRetention($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\DataRetentionSettings\RetentionDuration::class); - $this->event_data_retention = $var; - - return $this; - } - - /** - * Required. The length of time that user-level data is retained. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration user_data_retention = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getUserDataRetention() - { - return $this->user_data_retention; - } - - /** - * Required. The length of time that user-level data is retained. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration user_data_retention = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setUserDataRetention($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\DataRetentionSettings\RetentionDuration::class); - $this->user_data_retention = $var; - - return $this; - } - - /** - * If true, reset the retention period for the user identifier with every - * event from that user. - * - * Generated from protobuf field bool reset_user_data_on_new_activity = 3; - * @return bool - */ - public function getResetUserDataOnNewActivity() - { - return $this->reset_user_data_on_new_activity; - } - - /** - * If true, reset the retention period for the user identifier with every - * event from that user. - * - * Generated from protobuf field bool reset_user_data_on_new_activity = 3; - * @param bool $var - * @return $this - */ - public function setResetUserDataOnNewActivity($var) - { - GPBUtil::checkBool($var); - $this->reset_user_data_on_new_activity = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings/RetentionDuration.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings/RetentionDuration.php deleted file mode 100644 index 380f142b5296..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataRetentionSettings/RetentionDuration.php +++ /dev/null @@ -1,85 +0,0 @@ -google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration - */ -class RetentionDuration -{ - /** - * Data retention time duration is not specified. - * - * Generated from protobuf enum RETENTION_DURATION_UNSPECIFIED = 0; - */ - const RETENTION_DURATION_UNSPECIFIED = 0; - /** - * The data retention time duration is 2 months. - * - * Generated from protobuf enum TWO_MONTHS = 1; - */ - const TWO_MONTHS = 1; - /** - * The data retention time duration is 14 months. - * - * Generated from protobuf enum FOURTEEN_MONTHS = 3; - */ - const FOURTEEN_MONTHS = 3; - /** - * The data retention time duration is 26 months. - * Available to 360 properties only. Available for event data only. - * - * Generated from protobuf enum TWENTY_SIX_MONTHS = 4; - */ - const TWENTY_SIX_MONTHS = 4; - /** - * The data retention time duration is 38 months. - * Available to 360 properties only. Available for event data only. - * - * Generated from protobuf enum THIRTY_EIGHT_MONTHS = 5; - */ - const THIRTY_EIGHT_MONTHS = 5; - /** - * The data retention time duration is 50 months. - * Available to 360 properties only. Available for event data only. - * - * Generated from protobuf enum FIFTY_MONTHS = 6; - */ - const FIFTY_MONTHS = 6; - - private static $valueToName = [ - self::RETENTION_DURATION_UNSPECIFIED => 'RETENTION_DURATION_UNSPECIFIED', - self::TWO_MONTHS => 'TWO_MONTHS', - self::FOURTEEN_MONTHS => 'FOURTEEN_MONTHS', - self::TWENTY_SIX_MONTHS => 'TWENTY_SIX_MONTHS', - self::THIRTY_EIGHT_MONTHS => 'THIRTY_EIGHT_MONTHS', - self::FIFTY_MONTHS => 'FIFTY_MONTHS', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataSharingSettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataSharingSettings.php deleted file mode 100644 index 8aaba3bc09ea..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataSharingSettings.php +++ /dev/null @@ -1,329 +0,0 @@ -google.analytics.admin.v1alpha.DataSharingSettings - */ -class DataSharingSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Resource name. - * Format: accounts/{account}/dataSharingSettings - * Example: "accounts/1000/dataSharingSettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Allows Google technical support representatives access to your Google - * Analytics data and account when necessary to provide service and find - * solutions to technical issues. - * This field maps to the "Technical support" field in the Google Analytics - * Admin UI. - * - * Generated from protobuf field bool sharing_with_google_support_enabled = 2; - */ - protected $sharing_with_google_support_enabled = false; - /** - * Allows Google access to your Google Analytics account data, including - * account usage and configuration data, product spending, and users - * associated with your Google Analytics account, so that Google can help you - * make the most of Google products, providing you with insights, offers, - * recommendations, and optimization tips across Google Analytics and other - * Google products for business. - * This field maps to the "Recommendations for your business" field in the - * Google Analytics Admin UI. - * - * Generated from protobuf field bool sharing_with_google_assigned_sales_enabled = 3; - */ - protected $sharing_with_google_assigned_sales_enabled = false; - /** - * Deprecated. This field is no longer used and always returns false. - * - * Generated from protobuf field bool sharing_with_google_any_sales_enabled = 4 [deprecated = true]; - * @deprecated - */ - protected $sharing_with_google_any_sales_enabled = false; - /** - * Allows Google to use the data to improve other Google products or services. - * This fields maps to the "Google products & services" field in the Google - * Analytics Admin UI. - * - * Generated from protobuf field bool sharing_with_google_products_enabled = 5; - */ - protected $sharing_with_google_products_enabled = false; - /** - * Enable features like predictions, modeled data, and benchmarking that can - * provide you with richer business insights when you contribute aggregated - * measurement data. The data you share (including information about the - * property from which it is shared) is aggregated and de-identified before - * being used to generate business insights. - * This field maps to the "Modeling contributions & business insights" field - * in the Google Analytics Admin UI. - * - * Generated from protobuf field bool sharing_with_others_enabled = 6; - */ - protected $sharing_with_others_enabled = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. Resource name. - * Format: accounts/{account}/dataSharingSettings - * Example: "accounts/1000/dataSharingSettings" - * @type bool $sharing_with_google_support_enabled - * Allows Google technical support representatives access to your Google - * Analytics data and account when necessary to provide service and find - * solutions to technical issues. - * This field maps to the "Technical support" field in the Google Analytics - * Admin UI. - * @type bool $sharing_with_google_assigned_sales_enabled - * Allows Google access to your Google Analytics account data, including - * account usage and configuration data, product spending, and users - * associated with your Google Analytics account, so that Google can help you - * make the most of Google products, providing you with insights, offers, - * recommendations, and optimization tips across Google Analytics and other - * Google products for business. - * This field maps to the "Recommendations for your business" field in the - * Google Analytics Admin UI. - * @type bool $sharing_with_google_any_sales_enabled - * Deprecated. This field is no longer used and always returns false. - * @type bool $sharing_with_google_products_enabled - * Allows Google to use the data to improve other Google products or services. - * This fields maps to the "Google products & services" field in the Google - * Analytics Admin UI. - * @type bool $sharing_with_others_enabled - * Enable features like predictions, modeled data, and benchmarking that can - * provide you with richer business insights when you contribute aggregated - * measurement data. The data you share (including information about the - * property from which it is shared) is aggregated and de-identified before - * being used to generate business insights. - * This field maps to the "Modeling contributions & business insights" field - * in the Google Analytics Admin UI. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. Resource name. - * Format: accounts/{account}/dataSharingSettings - * Example: "accounts/1000/dataSharingSettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Resource name. - * Format: accounts/{account}/dataSharingSettings - * Example: "accounts/1000/dataSharingSettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Allows Google technical support representatives access to your Google - * Analytics data and account when necessary to provide service and find - * solutions to technical issues. - * This field maps to the "Technical support" field in the Google Analytics - * Admin UI. - * - * Generated from protobuf field bool sharing_with_google_support_enabled = 2; - * @return bool - */ - public function getSharingWithGoogleSupportEnabled() - { - return $this->sharing_with_google_support_enabled; - } - - /** - * Allows Google technical support representatives access to your Google - * Analytics data and account when necessary to provide service and find - * solutions to technical issues. - * This field maps to the "Technical support" field in the Google Analytics - * Admin UI. - * - * Generated from protobuf field bool sharing_with_google_support_enabled = 2; - * @param bool $var - * @return $this - */ - public function setSharingWithGoogleSupportEnabled($var) - { - GPBUtil::checkBool($var); - $this->sharing_with_google_support_enabled = $var; - - return $this; - } - - /** - * Allows Google access to your Google Analytics account data, including - * account usage and configuration data, product spending, and users - * associated with your Google Analytics account, so that Google can help you - * make the most of Google products, providing you with insights, offers, - * recommendations, and optimization tips across Google Analytics and other - * Google products for business. - * This field maps to the "Recommendations for your business" field in the - * Google Analytics Admin UI. - * - * Generated from protobuf field bool sharing_with_google_assigned_sales_enabled = 3; - * @return bool - */ - public function getSharingWithGoogleAssignedSalesEnabled() - { - return $this->sharing_with_google_assigned_sales_enabled; - } - - /** - * Allows Google access to your Google Analytics account data, including - * account usage and configuration data, product spending, and users - * associated with your Google Analytics account, so that Google can help you - * make the most of Google products, providing you with insights, offers, - * recommendations, and optimization tips across Google Analytics and other - * Google products for business. - * This field maps to the "Recommendations for your business" field in the - * Google Analytics Admin UI. - * - * Generated from protobuf field bool sharing_with_google_assigned_sales_enabled = 3; - * @param bool $var - * @return $this - */ - public function setSharingWithGoogleAssignedSalesEnabled($var) - { - GPBUtil::checkBool($var); - $this->sharing_with_google_assigned_sales_enabled = $var; - - return $this; - } - - /** - * Deprecated. This field is no longer used and always returns false. - * - * Generated from protobuf field bool sharing_with_google_any_sales_enabled = 4 [deprecated = true]; - * @return bool - * @deprecated - */ - public function getSharingWithGoogleAnySalesEnabled() - { - if ($this->sharing_with_google_any_sales_enabled !== false) { - @trigger_error('sharing_with_google_any_sales_enabled is deprecated.', E_USER_DEPRECATED); - } - return $this->sharing_with_google_any_sales_enabled; - } - - /** - * Deprecated. This field is no longer used and always returns false. - * - * Generated from protobuf field bool sharing_with_google_any_sales_enabled = 4 [deprecated = true]; - * @param bool $var - * @return $this - * @deprecated - */ - public function setSharingWithGoogleAnySalesEnabled($var) - { - @trigger_error('sharing_with_google_any_sales_enabled is deprecated.', E_USER_DEPRECATED); - GPBUtil::checkBool($var); - $this->sharing_with_google_any_sales_enabled = $var; - - return $this; - } - - /** - * Allows Google to use the data to improve other Google products or services. - * This fields maps to the "Google products & services" field in the Google - * Analytics Admin UI. - * - * Generated from protobuf field bool sharing_with_google_products_enabled = 5; - * @return bool - */ - public function getSharingWithGoogleProductsEnabled() - { - return $this->sharing_with_google_products_enabled; - } - - /** - * Allows Google to use the data to improve other Google products or services. - * This fields maps to the "Google products & services" field in the Google - * Analytics Admin UI. - * - * Generated from protobuf field bool sharing_with_google_products_enabled = 5; - * @param bool $var - * @return $this - */ - public function setSharingWithGoogleProductsEnabled($var) - { - GPBUtil::checkBool($var); - $this->sharing_with_google_products_enabled = $var; - - return $this; - } - - /** - * Enable features like predictions, modeled data, and benchmarking that can - * provide you with richer business insights when you contribute aggregated - * measurement data. The data you share (including information about the - * property from which it is shared) is aggregated and de-identified before - * being used to generate business insights. - * This field maps to the "Modeling contributions & business insights" field - * in the Google Analytics Admin UI. - * - * Generated from protobuf field bool sharing_with_others_enabled = 6; - * @return bool - */ - public function getSharingWithOthersEnabled() - { - return $this->sharing_with_others_enabled; - } - - /** - * Enable features like predictions, modeled data, and benchmarking that can - * provide you with richer business insights when you contribute aggregated - * measurement data. The data you share (including information about the - * property from which it is shared) is aggregated and de-identified before - * being used to generate business insights. - * This field maps to the "Modeling contributions & business insights" field - * in the Google Analytics Admin UI. - * - * Generated from protobuf field bool sharing_with_others_enabled = 6; - * @param bool $var - * @return $this - */ - public function setSharingWithOthersEnabled($var) - { - GPBUtil::checkBool($var); - $this->sharing_with_others_enabled = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream.php deleted file mode 100644 index f997566bfedf..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream.php +++ /dev/null @@ -1,356 +0,0 @@ -google.analytics.admin.v1alpha.DataStream - */ -class DataStream extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Resource name of this Data Stream. - * Format: properties/{property_id}/dataStreams/{stream_id} - * Example: "properties/1000/dataStreams/2000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Required. Immutable. The type of this DataStream resource. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - */ - protected $type = 0; - /** - * Human-readable display name for the Data Stream. - * Required for web data streams. - * The max allowed display name length is 255 UTF-16 code units. - * - * Generated from protobuf field string display_name = 3; - */ - protected $display_name = ''; - /** - * Output only. Time when this stream was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Time when stream payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - protected $stream_data; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\DataStream\WebStreamData $web_stream_data - * Data specific to web streams. Must be populated if type is - * WEB_DATA_STREAM. - * @type \Google\Analytics\Admin\V1alpha\DataStream\AndroidAppStreamData $android_app_stream_data - * Data specific to Android app streams. Must be populated if type is - * ANDROID_APP_DATA_STREAM. - * @type \Google\Analytics\Admin\V1alpha\DataStream\IosAppStreamData $ios_app_stream_data - * Data specific to iOS app streams. Must be populated if type is - * IOS_APP_DATA_STREAM. - * @type string $name - * Identifier. Resource name of this Data Stream. - * Format: properties/{property_id}/dataStreams/{stream_id} - * Example: "properties/1000/dataStreams/2000" - * @type int $type - * Required. Immutable. The type of this DataStream resource. - * @type string $display_name - * Human-readable display name for the Data Stream. - * Required for web data streams. - * The max allowed display name length is 255 UTF-16 code units. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when this stream was originally created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Time when stream payload fields were last updated. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Data specific to web streams. Must be populated if type is - * WEB_DATA_STREAM. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; - * @return \Google\Analytics\Admin\V1alpha\DataStream\WebStreamData|null - */ - public function getWebStreamData() - { - return $this->readOneof(6); - } - - public function hasWebStreamData() - { - return $this->hasOneof(6); - } - - /** - * Data specific to web streams. Must be populated if type is - * WEB_DATA_STREAM. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6; - * @param \Google\Analytics\Admin\V1alpha\DataStream\WebStreamData $var - * @return $this - */ - public function setWebStreamData($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataStream\WebStreamData::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Data specific to Android app streams. Must be populated if type is - * ANDROID_APP_DATA_STREAM. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * @return \Google\Analytics\Admin\V1alpha\DataStream\AndroidAppStreamData|null - */ - public function getAndroidAppStreamData() - { - return $this->readOneof(7); - } - - public function hasAndroidAppStreamData() - { - return $this->hasOneof(7); - } - - /** - * Data specific to Android app streams. Must be populated if type is - * ANDROID_APP_DATA_STREAM. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * @param \Google\Analytics\Admin\V1alpha\DataStream\AndroidAppStreamData $var - * @return $this - */ - public function setAndroidAppStreamData($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataStream\AndroidAppStreamData::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Data specific to iOS app streams. Must be populated if type is - * IOS_APP_DATA_STREAM. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * @return \Google\Analytics\Admin\V1alpha\DataStream\IosAppStreamData|null - */ - public function getIosAppStreamData() - { - return $this->readOneof(8); - } - - public function hasIosAppStreamData() - { - return $this->hasOneof(8); - } - - /** - * Data specific to iOS app streams. Must be populated if type is - * IOS_APP_DATA_STREAM. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8; - * @param \Google\Analytics\Admin\V1alpha\DataStream\IosAppStreamData $var - * @return $this - */ - public function setIosAppStreamData($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataStream\IosAppStreamData::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Identifier. Resource name of this Data Stream. - * Format: properties/{property_id}/dataStreams/{stream_id} - * Example: "properties/1000/dataStreams/2000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Resource name of this Data Stream. - * Format: properties/{property_id}/dataStreams/{stream_id} - * Example: "properties/1000/dataStreams/2000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. Immutable. The type of this DataStream resource. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Required. Immutable. The type of this DataStream resource. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\DataStream\DataStreamType::class); - $this->type = $var; - - return $this; - } - - /** - * Human-readable display name for the Data Stream. - * Required for web data streams. - * The max allowed display name length is 255 UTF-16 code units. - * - * Generated from protobuf field string display_name = 3; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Human-readable display name for the Data Stream. - * Required for web data streams. - * The max allowed display name length is 255 UTF-16 code units. - * - * Generated from protobuf field string display_name = 3; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Output only. Time when this stream was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.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 this stream was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.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; - } - - /** - * Output only. Time when stream payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Time when stream payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * @return string - */ - public function getStreamData() - { - return $this->whichOneof("stream_data"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/AndroidAppStreamData.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/AndroidAppStreamData.php deleted file mode 100644 index 4ede5f0dd8e4..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/AndroidAppStreamData.php +++ /dev/null @@ -1,109 +0,0 @@ -google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData - */ -class AndroidAppStreamData extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. ID of the corresponding Android app in Firebase, if any. - * This ID can change if the Android app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $firebase_app_id = ''; - /** - * Immutable. The package name for the app being measured. - * Example: "com.example.myandroidapp" - * - * Generated from protobuf field string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $package_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $firebase_app_id - * Output only. ID of the corresponding Android app in Firebase, if any. - * This ID can change if the Android app is deleted and recreated. - * @type string $package_name - * Immutable. The package name for the app being measured. - * Example: "com.example.myandroidapp" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. ID of the corresponding Android app in Firebase, if any. - * This ID can change if the Android app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFirebaseAppId() - { - return $this->firebase_app_id; - } - - /** - * Output only. ID of the corresponding Android app in Firebase, if any. - * This ID can change if the Android app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFirebaseAppId($var) - { - GPBUtil::checkString($var, True); - $this->firebase_app_id = $var; - - return $this; - } - - /** - * Immutable. The package name for the app being measured. - * Example: "com.example.myandroidapp" - * - * Generated from protobuf field string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getPackageName() - { - return $this->package_name; - } - - /** - * Immutable. The package name for the app being measured. - * Example: "com.example.myandroidapp" - * - * Generated from protobuf field string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setPackageName($var) - { - GPBUtil::checkString($var, True); - $this->package_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/DataStreamType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/DataStreamType.php deleted file mode 100644 index cd993885f062..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/DataStreamType.php +++ /dev/null @@ -1,68 +0,0 @@ -google.analytics.admin.v1alpha.DataStream.DataStreamType - */ -class DataStreamType -{ - /** - * Type unknown or not specified. - * - * Generated from protobuf enum DATA_STREAM_TYPE_UNSPECIFIED = 0; - */ - const DATA_STREAM_TYPE_UNSPECIFIED = 0; - /** - * Web data stream. - * - * Generated from protobuf enum WEB_DATA_STREAM = 1; - */ - const WEB_DATA_STREAM = 1; - /** - * Android app data stream. - * - * Generated from protobuf enum ANDROID_APP_DATA_STREAM = 2; - */ - const ANDROID_APP_DATA_STREAM = 2; - /** - * iOS app data stream. - * - * Generated from protobuf enum IOS_APP_DATA_STREAM = 3; - */ - const IOS_APP_DATA_STREAM = 3; - - private static $valueToName = [ - self::DATA_STREAM_TYPE_UNSPECIFIED => 'DATA_STREAM_TYPE_UNSPECIFIED', - self::WEB_DATA_STREAM => 'WEB_DATA_STREAM', - self::ANDROID_APP_DATA_STREAM => 'ANDROID_APP_DATA_STREAM', - self::IOS_APP_DATA_STREAM => 'IOS_APP_DATA_STREAM', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/IosAppStreamData.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/IosAppStreamData.php deleted file mode 100644 index afcaeedf42b9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/IosAppStreamData.php +++ /dev/null @@ -1,109 +0,0 @@ -google.analytics.admin.v1alpha.DataStream.IosAppStreamData - */ -class IosAppStreamData extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. ID of the corresponding iOS app in Firebase, if any. - * This ID can change if the iOS app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $firebase_app_id = ''; - /** - * Required. Immutable. The Apple App Store Bundle ID for the app - * Example: "com.example.myiosapp" - * - * Generated from protobuf field string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - */ - protected $bundle_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $firebase_app_id - * Output only. ID of the corresponding iOS app in Firebase, if any. - * This ID can change if the iOS app is deleted and recreated. - * @type string $bundle_id - * Required. Immutable. The Apple App Store Bundle ID for the app - * Example: "com.example.myiosapp" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. ID of the corresponding iOS app in Firebase, if any. - * This ID can change if the iOS app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFirebaseAppId() - { - return $this->firebase_app_id; - } - - /** - * Output only. ID of the corresponding iOS app in Firebase, if any. - * This ID can change if the iOS app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFirebaseAppId($var) - { - GPBUtil::checkString($var, True); - $this->firebase_app_id = $var; - - return $this; - } - - /** - * Required. Immutable. The Apple App Store Bundle ID for the app - * Example: "com.example.myiosapp" - * - * Generated from protobuf field string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getBundleId() - { - return $this->bundle_id; - } - - /** - * Required. Immutable. The Apple App Store Bundle ID for the app - * Example: "com.example.myiosapp" - * - * Generated from protobuf field string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setBundleId($var) - { - GPBUtil::checkString($var, True); - $this->bundle_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/WebStreamData.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/WebStreamData.php deleted file mode 100644 index 1e6ad7f9a03d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DataStream/WebStreamData.php +++ /dev/null @@ -1,147 +0,0 @@ -google.analytics.admin.v1alpha.DataStream.WebStreamData - */ -class WebStreamData extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Analytics Measurement ID. - * Example: "G-1A2BCD345E" - * - * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $measurement_id = ''; - /** - * Output only. ID of the corresponding web app in Firebase, if any. - * This ID can change if the web app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $firebase_app_id = ''; - /** - * Domain name of the web app being measured, or empty. - * Example: "http://www.google.com", "https://www.google.com" - * - * Generated from protobuf field string default_uri = 3; - */ - protected $default_uri = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $measurement_id - * Output only. Analytics Measurement ID. - * Example: "G-1A2BCD345E" - * @type string $firebase_app_id - * Output only. ID of the corresponding web app in Firebase, if any. - * This ID can change if the web app is deleted and recreated. - * @type string $default_uri - * Domain name of the web app being measured, or empty. - * Example: "http://www.google.com", "https://www.google.com" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Analytics Measurement ID. - * Example: "G-1A2BCD345E" - * - * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getMeasurementId() - { - return $this->measurement_id; - } - - /** - * Output only. Analytics Measurement ID. - * Example: "G-1A2BCD345E" - * - * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setMeasurementId($var) - { - GPBUtil::checkString($var, True); - $this->measurement_id = $var; - - return $this; - } - - /** - * Output only. ID of the corresponding web app in Firebase, if any. - * This ID can change if the web app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFirebaseAppId() - { - return $this->firebase_app_id; - } - - /** - * Output only. ID of the corresponding web app in Firebase, if any. - * This ID can change if the web app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFirebaseAppId($var) - { - GPBUtil::checkString($var, True); - $this->firebase_app_id = $var; - - return $this; - } - - /** - * Domain name of the web app being measured, or empty. - * Example: "http://www.google.com", "https://www.google.com" - * - * Generated from protobuf field string default_uri = 3; - * @return string - */ - public function getDefaultUri() - { - return $this->default_uri; - } - - /** - * Domain name of the web app being measured, or empty. - * Example: "http://www.google.com", "https://www.google.com" - * - * Generated from protobuf field string default_uri = 3; - * @param string $var - * @return $this - */ - public function setDefaultUri($var) - { - GPBUtil::checkString($var, True); - $this->default_uri = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccessBindingRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccessBindingRequest.php deleted file mode 100644 index 05e1ac9f6ca9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccessBindingRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.DeleteAccessBindingRequest - */ -class DeleteAccessBindingRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * Please see {@see AnalyticsAdminServiceClient::accessBindingName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteAccessBindingRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * - * 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. Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccountRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccountRequest.php deleted file mode 100644 index d8703fef66f2..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAccountRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.DeleteAccountRequest - */ -class DeleteAccountRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Account to soft-delete. - * Format: accounts/{account} - * Example: "accounts/100" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Account to soft-delete. - * Format: accounts/{account} - * Example: "accounts/100" - * Please see {@see AnalyticsAdminServiceClient::accountName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteAccountRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Account to soft-delete. - * Format: accounts/{account} - * Example: "accounts/100" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Account to soft-delete. - * Format: accounts/{account} - * Example: "accounts/100" - * - * 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 Account to soft-delete. - * Format: accounts/{account} - * Example: "accounts/100" - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAdSenseLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAdSenseLinkRequest.php deleted file mode 100644 index f0f4ef913e2a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteAdSenseLinkRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest - */ -class DeleteAdSenseLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Unique identifier for the AdSense Link to be deleted. - * Format: properties/{propertyId}/adSenseLinks/{linkId} - * Example: properties/1234/adSenseLinks/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Unique identifier for the AdSense Link to be deleted. - * Format: properties/{propertyId}/adSenseLinks/{linkId} - * Example: properties/1234/adSenseLinks/5678 - * Please see {@see AnalyticsAdminServiceClient::adSenseLinkName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteAdSenseLinkRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Unique identifier for the AdSense Link to be deleted. - * Format: properties/{propertyId}/adSenseLinks/{linkId} - * Example: properties/1234/adSenseLinks/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Unique identifier for the AdSense Link to be deleted. - * Format: properties/{propertyId}/adSenseLinks/{linkId} - * Example: properties/1234/adSenseLinks/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. Unique identifier for the AdSense Link to be deleted. - * Format: properties/{propertyId}/adSenseLinks/{linkId} - * Example: properties/1234/adSenseLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteBigQueryLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteBigQueryLinkRequest.php deleted file mode 100644 index 86dfb5ec9625..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteBigQueryLinkRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.DeleteBigQueryLinkRequest - */ -class DeleteBigQueryLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The BigQueryLink to delete. - * Example format: properties/1234/bigQueryLinks/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The BigQueryLink to delete. - * Example format: properties/1234/bigQueryLinks/5678 - * Please see {@see AnalyticsAdminServiceClient::bigQueryLinkName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteBigQueryLinkRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The BigQueryLink to delete. - * Example format: properties/1234/bigQueryLinks/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The BigQueryLink to delete. - * Example format: properties/1234/bigQueryLinks/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 BigQueryLink to delete. - * Example format: properties/1234/bigQueryLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteCalculatedMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteCalculatedMetricRequest.php deleted file mode 100644 index 16e9b032e0d6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteCalculatedMetricRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.DeleteCalculatedMetricRequest - */ -class DeleteCalculatedMetricRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the CalculatedMetric to delete. - * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} - * Example: properties/1234/calculatedMetrics/Metric01 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the CalculatedMetric to delete. - * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} - * Example: properties/1234/calculatedMetrics/Metric01 - * Please see {@see AnalyticsAdminServiceClient::calculatedMetricName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteCalculatedMetricRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the CalculatedMetric to delete. - * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} - * Example: properties/1234/calculatedMetrics/Metric01 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the CalculatedMetric to delete. - * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} - * Example: properties/1234/calculatedMetrics/Metric01 - * - * 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 CalculatedMetric to delete. - * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} - * Example: properties/1234/calculatedMetrics/Metric01 - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteChannelGroupRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteChannelGroupRequest.php deleted file mode 100644 index e8b95810b412..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteChannelGroupRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.DeleteChannelGroupRequest - */ -class DeleteChannelGroupRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ChannelGroup to delete. - * Example format: properties/1234/channelGroups/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The ChannelGroup to delete. - * Example format: properties/1234/channelGroups/5678 - * Please see {@see AnalyticsAdminServiceClient::channelGroupName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteChannelGroupRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The ChannelGroup to delete. - * Example format: properties/1234/channelGroups/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ChannelGroup to delete. - * Example format: properties/1234/channelGroups/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 ChannelGroup to delete. - * Example format: properties/1234/channelGroups/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteConversionEventRequest.php deleted file mode 100644 index 8b2235b961a6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteConversionEventRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.DeleteConversionEventRequest - */ -class DeleteConversionEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the conversion event to delete. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/456" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the conversion event to delete. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/456" - * Please see {@see AnalyticsAdminServiceClient::conversionEventName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteConversionEventRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the conversion event to delete. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/456" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the conversion event to delete. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/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 resource name of the conversion event to delete. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDataStreamRequest.php deleted file mode 100644 index 3681582b0b0d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDataStreamRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.DeleteDataStreamRequest - */ -class DeleteDataStreamRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DataStream to delete. - * Example format: properties/1234/dataStreams/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the DataStream to delete. - * Example format: properties/1234/dataStreams/5678 - * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteDataStreamRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DataStream to delete. - * Example format: properties/1234/dataStreams/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DataStream to delete. - * Example format: properties/1234/dataStreams/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 DataStream to delete. - * Example format: properties/1234/dataStreams/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.php deleted file mode 100644 index 5946a93646ca..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkProposalRequest - */ -class DeleteDisplayVideo360AdvertiserLinkProposalRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 - * Please see {@see AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkProposalName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteDisplayVideo360AdvertiserLinkProposalRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to delete. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.php deleted file mode 100644 index 6bcd208002b3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteDisplayVideo360AdvertiserLinkRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest - */ -class DeleteDisplayVideo360AdvertiserLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DisplayVideo360AdvertiserLink to delete. - * Example format: properties/1234/displayVideo360AdvertiserLinks/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the DisplayVideo360AdvertiserLink to delete. - * Example format: properties/1234/displayVideo360AdvertiserLinks/5678 - * Please see {@see AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteDisplayVideo360AdvertiserLinkRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DisplayVideo360AdvertiserLink to delete. - * Example format: properties/1234/displayVideo360AdvertiserLinks/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DisplayVideo360AdvertiserLink to delete. - * Example format: properties/1234/displayVideo360AdvertiserLinks/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 DisplayVideo360AdvertiserLink to delete. - * Example format: properties/1234/displayVideo360AdvertiserLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventCreateRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventCreateRuleRequest.php deleted file mode 100644 index 51cf43b6519b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventCreateRuleRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest - */ -class DeleteEventCreateRuleRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Example format: - * properties/123/dataStreams/456/eventCreateRules/789 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Example format: - * properties/123/dataStreams/456/eventCreateRules/789 - * Please see {@see AnalyticsAdminServiceClient::eventCreateRuleName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteEventCreateRuleRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Example format: - * properties/123/dataStreams/456/eventCreateRules/789 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Example format: - * properties/123/dataStreams/456/eventCreateRules/789 - * - * 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. Example format: - * properties/123/dataStreams/456/eventCreateRules/789 - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventEditRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventEditRuleRequest.php deleted file mode 100644 index 06277e23e474..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteEventEditRuleRequest.php +++ /dev/null @@ -1,81 +0,0 @@ -google.analytics.admin.v1alpha.DeleteEventEditRuleRequest - */ -class DeleteEventEditRuleRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Example format: properties/123/dataStreams/456/eventEditRules/789 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Example format: properties/123/dataStreams/456/eventEditRules/789 - * Please see {@see AnalyticsAdminServiceClient::eventEditRuleName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteEventEditRuleRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Example format: properties/123/dataStreams/456/eventEditRules/789 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Example format: properties/123/dataStreams/456/eventEditRules/789 - * - * 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. Example format: properties/123/dataStreams/456/eventEditRules/789 - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteExpandedDataSetRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteExpandedDataSetRequest.php deleted file mode 100644 index 3f2b6f373b38..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteExpandedDataSetRequest.php +++ /dev/null @@ -1,81 +0,0 @@ -google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest - */ -class DeleteExpandedDataSetRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Example format: properties/1234/expandedDataSets/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Example format: properties/1234/expandedDataSets/5678 - * Please see {@see AnalyticsAdminServiceClient::expandedDataSetName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteExpandedDataSetRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Example format: properties/1234/expandedDataSets/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Example format: properties/1234/expandedDataSets/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. Example format: properties/1234/expandedDataSets/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteFirebaseLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteFirebaseLinkRequest.php deleted file mode 100644 index aa7f265d7ca1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteFirebaseLinkRequest.php +++ /dev/null @@ -1,87 +0,0 @@ -google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest - */ -class DeleteFirebaseLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} - * Example: `properties/1234/firebaseLinks/5678` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} - * - * Example: `properties/1234/firebaseLinks/5678` - * Please see {@see AnalyticsAdminServiceClient::firebaseLinkName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteFirebaseLinkRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} - * Example: `properties/1234/firebaseLinks/5678` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} - * Example: `properties/1234/firebaseLinks/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. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} - * Example: `properties/1234/firebaseLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteGoogleAdsLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteGoogleAdsLinkRequest.php deleted file mode 100644 index d7f7ed75d557..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteGoogleAdsLinkRequest.php +++ /dev/null @@ -1,81 +0,0 @@ -google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest - */ -class DeleteGoogleAdsLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Example format: properties/1234/googleAdsLinks/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Example format: properties/1234/googleAdsLinks/5678 - * Please see {@see AnalyticsAdminServiceClient::googleAdsLinkName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteGoogleAdsLinkRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Example format: properties/1234/googleAdsLinks/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Example format: properties/1234/googleAdsLinks/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. Example format: properties/1234/googleAdsLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteKeyEventRequest.php deleted file mode 100644 index 3134338b510c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteKeyEventRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.DeleteKeyEventRequest - */ -class DeleteKeyEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Key Event to delete. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/456" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the Key Event to delete. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/456" - * Please see {@see AnalyticsAdminServiceClient::keyEventName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteKeyEventRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the Key Event to delete. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/456" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Key Event to delete. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/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 resource name of the Key Event to delete. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteMeasurementProtocolSecretRequest.php deleted file mode 100644 index a1c45cc9a1ef..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteMeasurementProtocolSecretRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest - */ -class DeleteMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the MeasurementProtocolSecret to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the MeasurementProtocolSecret to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * Please see {@see AnalyticsAdminServiceClient::measurementProtocolSecretName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteMeasurementProtocolSecretRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the MeasurementProtocolSecret to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the MeasurementProtocolSecret to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * - * 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 MeasurementProtocolSecret to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeletePropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeletePropertyRequest.php deleted file mode 100644 index a2876a784e78..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeletePropertyRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.DeletePropertyRequest - */ -class DeletePropertyRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Property to soft-delete. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Property to soft-delete. - * Format: properties/{property_id} - * Example: "properties/1000" - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeletePropertyRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Property to soft-delete. - * Format: properties/{property_id} - * Example: "properties/1000" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Property to soft-delete. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * 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 Property to soft-delete. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteReportingDataAnnotationRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteReportingDataAnnotationRequest.php deleted file mode 100644 index a00eb339f9e5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteReportingDataAnnotationRequest.php +++ /dev/null @@ -1,96 +0,0 @@ -google.analytics.admin.v1alpha.DeleteReportingDataAnnotationRequest - */ -class DeleteReportingDataAnnotationRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Resource name of the Reporting Data Annotation to delete. - * Format: - * properties/property_id/reportingDataAnnotations/reporting_data_annotation - * Example: properties/123/reportingDataAnnotations/456 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Resource name of the Reporting Data Annotation to delete. - * Format: - * properties/property_id/reportingDataAnnotations/reporting_data_annotation - * Example: properties/123/reportingDataAnnotations/456 - * Please see {@see AnalyticsAdminServiceClient::reportingDataAnnotationName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteReportingDataAnnotationRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Resource name of the Reporting Data Annotation to delete. - * Format: - * properties/property_id/reportingDataAnnotations/reporting_data_annotation - * Example: properties/123/reportingDataAnnotations/456 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Resource name of the Reporting Data Annotation to delete. - * Format: - * properties/property_id/reportingDataAnnotations/reporting_data_annotation - * Example: properties/123/reportingDataAnnotations/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. Resource name of the Reporting Data Annotation to delete. - * Format: - * properties/property_id/reportingDataAnnotations/reporting_data_annotation - * Example: properties/123/reportingDataAnnotations/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteRollupPropertySourceLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteRollupPropertySourceLinkRequest.php deleted file mode 100644 index 9fa97b267d41..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteRollupPropertySourceLinkRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest - */ -class DeleteRollupPropertySourceLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Format: - * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} - * Example: properties/1234/rollupPropertySourceLinks/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Format: - * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} - * Example: properties/1234/rollupPropertySourceLinks/5678 - * Please see {@see AnalyticsAdminServiceClient::rollupPropertySourceLinkName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteRollupPropertySourceLinkRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Format: - * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} - * Example: properties/1234/rollupPropertySourceLinks/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Format: - * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} - * Example: properties/1234/rollupPropertySourceLinks/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. Format: - * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} - * Example: properties/1234/rollupPropertySourceLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.php deleted file mode 100644 index e23fd8084a8c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest - */ -class DeleteSKAdNetworkConversionValueSchemaRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the SKAdNetworkConversionValueSchema to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the SKAdNetworkConversionValueSchema to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} - * Please see {@see AnalyticsAdminServiceClient::sKAdNetworkConversionValueSchemaName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteSKAdNetworkConversionValueSchemaRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the SKAdNetworkConversionValueSchema to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the SKAdNetworkConversionValueSchema to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} - * - * 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 SKAdNetworkConversionValueSchema to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSearchAds360LinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSearchAds360LinkRequest.php deleted file mode 100644 index d4fc2f106976..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSearchAds360LinkRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -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) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the SearchAds360Link to delete. - * Example format: properties/1234/SearchAds360Links/5678 - * Please see {@see AnalyticsAdminServiceClient::searchAds360LinkName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteSearchAds360LinkRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSubpropertyEventFilterRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSubpropertyEventFilterRequest.php deleted file mode 100644 index 5798016ded32..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DeleteSubpropertyEventFilterRequest.php +++ /dev/null @@ -1,96 +0,0 @@ -google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest - */ -class DeleteSubpropertyEventFilterRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Resource name of the subproperty event filter to delete. - * Format: - * properties/property_id/subpropertyEventFilters/subproperty_event_filter - * Example: properties/123/subpropertyEventFilters/456 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Resource name of the subproperty event filter to delete. - * Format: - * properties/property_id/subpropertyEventFilters/subproperty_event_filter - * Example: properties/123/subpropertyEventFilters/456 - * Please see {@see AnalyticsAdminServiceClient::subpropertyEventFilterName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\DeleteSubpropertyEventFilterRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Resource name of the subproperty event filter to delete. - * Format: - * properties/property_id/subpropertyEventFilters/subproperty_event_filter - * Example: properties/123/subpropertyEventFilters/456 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Resource name of the subproperty event filter to delete. - * Format: - * properties/property_id/subpropertyEventFilters/subproperty_event_filter - * Example: properties/123/subpropertyEventFilters/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. Resource name of the subproperty event filter to delete. - * Format: - * properties/property_id/subpropertyEventFilters/subproperty_event_filter - * Example: properties/123/subpropertyEventFilters/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLink.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLink.php deleted file mode 100644 index b1c9b3b14780..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLink.php +++ /dev/null @@ -1,409 +0,0 @@ -google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink - */ -class DisplayVideo360AdvertiserLink extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. 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) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Immutable. The Display & Video 360 Advertiser's advertiser ID. - * - * Generated from protobuf field string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $advertiser_id = ''; - /** - * Output only. The display name of the Display & Video 360 Advertiser. - * - * Generated from protobuf field string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $advertiser_display_name = ''; - /** - * Enables personalized advertising features with this integration. - * If this field is not set on create/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 4; - */ - protected $ads_personalization_enabled = null; - /** - * Immutable. Enables the import of campaign data from Display & Video 360 - * into the Google Analytics 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]; - */ - protected $campaign_data_sharing_enabled = null; - /** - * Immutable. Enables the import of cost data from Display & Video 360 into - * the Google Analytics property. This can only be enabled if - * `campaign_data_sharing_enabled` is true. 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]; - */ - protected $cost_data_sharing_enabled = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. 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. - * @type string $advertiser_display_name - * Output only. The display name of the Display & Video 360 Advertiser. - * @type \Google\Protobuf\BoolValue $ads_personalization_enabled - * 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 Google Analytics 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 Google Analytics property. This can only be enabled if - * `campaign_data_sharing_enabled` is true. 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) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. 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) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. 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) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Immutable. The Display & Video 360 Advertiser's advertiser ID. - * - * Generated from protobuf field string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getAdvertiserId() - { - return $this->advertiser_id; - } - - /** - * Immutable. The Display & Video 360 Advertiser's advertiser ID. - * - * 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; - } - - /** - * Output only. The display name of the Display & Video 360 Advertiser. - * - * Generated from protobuf field string advertiser_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getAdvertiserDisplayName() - { - return $this->advertiser_display_name; - } - - /** - * Output only. The display name of the Display & Video 360 Advertiser. - * - * Generated from protobuf field string advertiser_display_name = 3 [(.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/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 4; - * @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/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 4; - * @return bool|null - */ - public function getAdsPersonalizationEnabledUnwrapped() - { - return $this->readWrapperValue("ads_personalization_enabled"); - } - - /** - * Enables personalized advertising features with this integration. - * If this field is not set on create/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 4; - * @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/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 4; - * @param bool|null $var - * @return $this - */ - public function setAdsPersonalizationEnabledUnwrapped($var) - { - $this->writeWrapperValue("ads_personalization_enabled", $var); - return $this;} - - /** - * Immutable. Enables the import of campaign data from Display & Video 360 - * into the Google Analytics 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 - */ - 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 Display & Video 360 - * into the Google Analytics 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 - */ - public function getCampaignDataSharingEnabledUnwrapped() - { - return $this->readWrapperValue("campaign_data_sharing_enabled"); - } - - /** - * Immutable. Enables the import of campaign data from Display & Video 360 - * into the Google Analytics 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 - * @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 Display & Video 360 - * into the Google Analytics 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 - * @return $this - */ - public function setCampaignDataSharingEnabledUnwrapped($var) - { - $this->writeWrapperValue("campaign_data_sharing_enabled", $var); - return $this;} - - /** - * Immutable. Enables the import of cost data from Display & Video 360 into - * the Google Analytics property. This can only be enabled if - * `campaign_data_sharing_enabled` is true. 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 - */ - 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 Display & Video 360 into - * the Google Analytics property. This can only be enabled if - * `campaign_data_sharing_enabled` is true. 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 - */ - public function getCostDataSharingEnabledUnwrapped() - { - return $this->readWrapperValue("cost_data_sharing_enabled"); - } - - /** - * Immutable. Enables the import of cost data from Display & Video 360 into - * the Google Analytics property. This can only be enabled if - * `campaign_data_sharing_enabled` is true. 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 - * @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 Display & Video 360 into - * the Google Analytics property. This can only be enabled if - * `campaign_data_sharing_enabled` is true. 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 - * @return $this - */ - public function setCostDataSharingEnabledUnwrapped($var) - { - $this->writeWrapperValue("cost_data_sharing_enabled", $var); - return $this;} - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLinkProposal.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLinkProposal.php deleted file mode 100644 index 5109385a23cf..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/DisplayVideo360AdvertiserLinkProposal.php +++ /dev/null @@ -1,490 +0,0 @@ -google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal - */ -class DisplayVideo360AdvertiserLinkProposal extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. The resource name for this - * DisplayVideo360AdvertiserLinkProposal resource. Format: - * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} - * Note: proposalId is not the Display & Video 360 Advertiser ID - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Immutable. The Display & Video 360 Advertiser's advertiser ID. - * - * Generated from protobuf field string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $advertiser_id = ''; - /** - * Output only. The status information for this link proposal. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $link_proposal_status_details = null; - /** - * Output only. The display name of the Display & Video Advertiser. - * Only populated for proposals that originated from Display & Video 360. - * - * Generated from protobuf field string advertiser_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $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. - * - * Generated from protobuf field string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; - */ - protected $validation_email = ''; - /** - * Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $ads_personalization_enabled = null; - /** - * Immutable. Enables the import of campaign data from Display & Video 360. - * 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 = 7 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $campaign_data_sharing_enabled = null; - /** - * Immutable. Enables the import of cost data from Display & Video 360. - * This can only be enabled if campaign_data_sharing_enabled is enabled. - * 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 = 8 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $cost_data_sharing_enabled = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. 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 - * Immutable. The Display & Video 360 Advertiser's advertiser ID. - * @type \Google\Analytics\Admin\V1alpha\LinkProposalStatusDetails $link_proposal_status_details - * Output only. The status information for this link proposal. - * @type string $advertiser_display_name - * 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. - * @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. - * @type \Google\Protobuf\BoolValue $campaign_data_sharing_enabled - * Immutable. Enables the import of campaign data from Display & Video 360. - * 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. - * This can only be enabled if campaign_data_sharing_enabled is enabled. - * 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); - } - - /** - * Identifier. The resource name for this - * DisplayVideo360AdvertiserLinkProposal resource. Format: - * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} - * Note: proposalId is not the Display & Video 360 Advertiser ID - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. The resource name for this - * DisplayVideo360AdvertiserLinkProposal resource. Format: - * properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} - * Note: proposalId is not the Display & Video 360 Advertiser ID - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Immutable. The Display & Video 360 Advertiser's advertiser ID. - * - * Generated from protobuf field string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getAdvertiserId() - { - return $this->advertiser_id; - } - - /** - * Immutable. The Display & Video 360 Advertiser's advertiser ID. - * - * 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; - } - - /** - * Output only. The status information for this link proposal. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Analytics\Admin\V1alpha\LinkProposalStatusDetails|null - */ - public function getLinkProposalStatusDetails() - { - return $this->link_proposal_status_details; - } - - public function hasLinkProposalStatusDetails() - { - return isset($this->link_proposal_status_details); - } - - public function clearLinkProposalStatusDetails() - { - unset($this->link_proposal_status_details); - } - - /** - * Output only. The status information for this link proposal. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalStatusDetails link_proposal_status_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Analytics\Admin\V1alpha\LinkProposalStatusDetails $var - * @return $this - */ - public function setLinkProposalStatusDetails($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\LinkProposalStatusDetails::class); - $this->link_proposal_status_details = $var; - - return $this; - } - - /** - * Output only. The display name of the Display & Video Advertiser. - * Only populated for proposals that originated from Display & Video 360. - * - * Generated from protobuf field string advertiser_display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getAdvertiserDisplayName() - { - return $this->advertiser_display_name; - } - - /** - * Output only. The display name of the Display & Video Advertiser. - * Only populated for proposals that originated from Display & Video 360. - * - * Generated from protobuf field string advertiser_display_name = 4 [(.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; - } - - /** - * 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 - */ - public function getValidationEmail() - { - return $this->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. - * - * Generated from protobuf field string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setValidationEmail($var) - { - GPBUtil::checkString($var, True); - $this->validation_email = $var; - - return $this; - } - - /** - * Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE]; - * @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() - - * Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE]; - * @return bool|null - */ - public function getAdsPersonalizationEnabledUnwrapped() - { - return $this->readWrapperValue("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. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @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. - - * Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE]; - * @param bool|null $var - * @return $this - */ - public function setAdsPersonalizationEnabledUnwrapped($var) - { - $this->writeWrapperValue("ads_personalization_enabled", $var); - return $this;} - - /** - * Immutable. Enables the import of campaign data from Display & Video 360. - * 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 = 7 [(.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 Display & Video 360. - * 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 = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @return bool|null - */ - public function getCampaignDataSharingEnabledUnwrapped() - { - return $this->readWrapperValue("campaign_data_sharing_enabled"); - } - - /** - * Immutable. Enables the import of campaign data from Display & Video 360. - * 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 = 7 [(.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 Display & Video 360. - * 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 = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @param bool|null $var - * @return $this - */ - public function setCampaignDataSharingEnabledUnwrapped($var) - { - $this->writeWrapperValue("campaign_data_sharing_enabled", $var); - return $this;} - - /** - * Immutable. Enables the import of cost data from Display & Video 360. - * This can only be enabled if campaign_data_sharing_enabled is enabled. - * 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 = 8 [(.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 Display & Video 360. - * This can only be enabled if campaign_data_sharing_enabled is enabled. - * 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 = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @return bool|null - */ - public function getCostDataSharingEnabledUnwrapped() - { - return $this->readWrapperValue("cost_data_sharing_enabled"); - } - - /** - * Immutable. Enables the import of cost data from Display & Video 360. - * This can only be enabled if campaign_data_sharing_enabled is enabled. - * 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 = 8 [(.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 Display & Video 360. - * This can only be enabled if campaign_data_sharing_enabled is enabled. - * 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 = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @param bool|null $var - * @return $this - */ - public function setCostDataSharingEnabledUnwrapped($var) - { - $this->writeWrapperValue("cost_data_sharing_enabled", $var); - return $this;} - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EnhancedMeasurementSettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EnhancedMeasurementSettings.php deleted file mode 100644 index 679df2aaeb7f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EnhancedMeasurementSettings.php +++ /dev/null @@ -1,472 +0,0 @@ -google.analytics.admin.v1alpha.EnhancedMeasurementSettings - */ -class EnhancedMeasurementSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of the Enhanced Measurement Settings. - * Format: - * properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings - * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Indicates whether Enhanced Measurement Settings will be used to - * automatically measure interactions and content on this web stream. - * Changing this value does not affect the settings themselves, but determines - * whether they are respected. - * - * Generated from protobuf field bool stream_enabled = 2; - */ - protected $stream_enabled = false; - /** - * If enabled, capture scroll events each time a visitor gets to the bottom of - * a page. - * - * Generated from protobuf field bool scrolls_enabled = 3; - */ - protected $scrolls_enabled = false; - /** - * If enabled, capture an outbound click event each time a visitor clicks a - * link that leads them away from your domain. - * - * Generated from protobuf field bool outbound_clicks_enabled = 4; - */ - protected $outbound_clicks_enabled = false; - /** - * If enabled, capture a view search results event each time a visitor - * performs a search on your site (based on a query parameter). - * - * Generated from protobuf field bool site_search_enabled = 5; - */ - protected $site_search_enabled = false; - /** - * If enabled, capture video play, progress, and complete events as visitors - * view embedded videos on your site. - * - * Generated from protobuf field bool video_engagement_enabled = 6; - */ - protected $video_engagement_enabled = false; - /** - * If enabled, capture a file download event each time a link is clicked with - * a common document, compressed file, application, video, or audio extension. - * - * Generated from protobuf field bool file_downloads_enabled = 7; - */ - protected $file_downloads_enabled = false; - /** - * If enabled, capture a page view event each time the website changes the - * browser history state. - * - * Generated from protobuf field bool page_changes_enabled = 8; - */ - protected $page_changes_enabled = false; - /** - * If enabled, capture a form interaction event each time a visitor interacts - * with a form on your website. - * False by default. - * - * Generated from protobuf field bool form_interactions_enabled = 9; - */ - protected $form_interactions_enabled = false; - /** - * Required. URL query parameters to interpret as site search parameters. - * Max length is 1024 characters. Must not be empty. - * - * Generated from protobuf field string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $search_query_parameter = ''; - /** - * Additional URL query parameters. - * Max length is 1024 characters. - * - * Generated from protobuf field string uri_query_parameter = 11; - */ - protected $uri_query_parameter = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of the Enhanced Measurement Settings. - * Format: - * properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings - * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" - * @type bool $stream_enabled - * Indicates whether Enhanced Measurement Settings will be used to - * automatically measure interactions and content on this web stream. - * Changing this value does not affect the settings themselves, but determines - * whether they are respected. - * @type bool $scrolls_enabled - * If enabled, capture scroll events each time a visitor gets to the bottom of - * a page. - * @type bool $outbound_clicks_enabled - * If enabled, capture an outbound click event each time a visitor clicks a - * link that leads them away from your domain. - * @type bool $site_search_enabled - * If enabled, capture a view search results event each time a visitor - * performs a search on your site (based on a query parameter). - * @type bool $video_engagement_enabled - * If enabled, capture video play, progress, and complete events as visitors - * view embedded videos on your site. - * @type bool $file_downloads_enabled - * If enabled, capture a file download event each time a link is clicked with - * a common document, compressed file, application, video, or audio extension. - * @type bool $page_changes_enabled - * If enabled, capture a page view event each time the website changes the - * browser history state. - * @type bool $form_interactions_enabled - * If enabled, capture a form interaction event each time a visitor interacts - * with a form on your website. - * False by default. - * @type string $search_query_parameter - * Required. URL query parameters to interpret as site search parameters. - * Max length is 1024 characters. Must not be empty. - * @type string $uri_query_parameter - * Additional URL query parameters. - * Max length is 1024 characters. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of the Enhanced Measurement Settings. - * Format: - * properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings - * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" - * - * 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 the Enhanced Measurement Settings. - * Format: - * properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings - * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" - * - * 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; - } - - /** - * Indicates whether Enhanced Measurement Settings will be used to - * automatically measure interactions and content on this web stream. - * Changing this value does not affect the settings themselves, but determines - * whether they are respected. - * - * Generated from protobuf field bool stream_enabled = 2; - * @return bool - */ - public function getStreamEnabled() - { - return $this->stream_enabled; - } - - /** - * Indicates whether Enhanced Measurement Settings will be used to - * automatically measure interactions and content on this web stream. - * Changing this value does not affect the settings themselves, but determines - * whether they are respected. - * - * Generated from protobuf field bool stream_enabled = 2; - * @param bool $var - * @return $this - */ - public function setStreamEnabled($var) - { - GPBUtil::checkBool($var); - $this->stream_enabled = $var; - - return $this; - } - - /** - * If enabled, capture scroll events each time a visitor gets to the bottom of - * a page. - * - * Generated from protobuf field bool scrolls_enabled = 3; - * @return bool - */ - public function getScrollsEnabled() - { - return $this->scrolls_enabled; - } - - /** - * If enabled, capture scroll events each time a visitor gets to the bottom of - * a page. - * - * Generated from protobuf field bool scrolls_enabled = 3; - * @param bool $var - * @return $this - */ - public function setScrollsEnabled($var) - { - GPBUtil::checkBool($var); - $this->scrolls_enabled = $var; - - return $this; - } - - /** - * If enabled, capture an outbound click event each time a visitor clicks a - * link that leads them away from your domain. - * - * Generated from protobuf field bool outbound_clicks_enabled = 4; - * @return bool - */ - public function getOutboundClicksEnabled() - { - return $this->outbound_clicks_enabled; - } - - /** - * If enabled, capture an outbound click event each time a visitor clicks a - * link that leads them away from your domain. - * - * Generated from protobuf field bool outbound_clicks_enabled = 4; - * @param bool $var - * @return $this - */ - public function setOutboundClicksEnabled($var) - { - GPBUtil::checkBool($var); - $this->outbound_clicks_enabled = $var; - - return $this; - } - - /** - * If enabled, capture a view search results event each time a visitor - * performs a search on your site (based on a query parameter). - * - * Generated from protobuf field bool site_search_enabled = 5; - * @return bool - */ - public function getSiteSearchEnabled() - { - return $this->site_search_enabled; - } - - /** - * If enabled, capture a view search results event each time a visitor - * performs a search on your site (based on a query parameter). - * - * Generated from protobuf field bool site_search_enabled = 5; - * @param bool $var - * @return $this - */ - public function setSiteSearchEnabled($var) - { - GPBUtil::checkBool($var); - $this->site_search_enabled = $var; - - return $this; - } - - /** - * If enabled, capture video play, progress, and complete events as visitors - * view embedded videos on your site. - * - * Generated from protobuf field bool video_engagement_enabled = 6; - * @return bool - */ - public function getVideoEngagementEnabled() - { - return $this->video_engagement_enabled; - } - - /** - * If enabled, capture video play, progress, and complete events as visitors - * view embedded videos on your site. - * - * Generated from protobuf field bool video_engagement_enabled = 6; - * @param bool $var - * @return $this - */ - public function setVideoEngagementEnabled($var) - { - GPBUtil::checkBool($var); - $this->video_engagement_enabled = $var; - - return $this; - } - - /** - * If enabled, capture a file download event each time a link is clicked with - * a common document, compressed file, application, video, or audio extension. - * - * Generated from protobuf field bool file_downloads_enabled = 7; - * @return bool - */ - public function getFileDownloadsEnabled() - { - return $this->file_downloads_enabled; - } - - /** - * If enabled, capture a file download event each time a link is clicked with - * a common document, compressed file, application, video, or audio extension. - * - * Generated from protobuf field bool file_downloads_enabled = 7; - * @param bool $var - * @return $this - */ - public function setFileDownloadsEnabled($var) - { - GPBUtil::checkBool($var); - $this->file_downloads_enabled = $var; - - return $this; - } - - /** - * If enabled, capture a page view event each time the website changes the - * browser history state. - * - * Generated from protobuf field bool page_changes_enabled = 8; - * @return bool - */ - public function getPageChangesEnabled() - { - return $this->page_changes_enabled; - } - - /** - * If enabled, capture a page view event each time the website changes the - * browser history state. - * - * Generated from protobuf field bool page_changes_enabled = 8; - * @param bool $var - * @return $this - */ - public function setPageChangesEnabled($var) - { - GPBUtil::checkBool($var); - $this->page_changes_enabled = $var; - - return $this; - } - - /** - * If enabled, capture a form interaction event each time a visitor interacts - * with a form on your website. - * False by default. - * - * Generated from protobuf field bool form_interactions_enabled = 9; - * @return bool - */ - public function getFormInteractionsEnabled() - { - return $this->form_interactions_enabled; - } - - /** - * If enabled, capture a form interaction event each time a visitor interacts - * with a form on your website. - * False by default. - * - * Generated from protobuf field bool form_interactions_enabled = 9; - * @param bool $var - * @return $this - */ - public function setFormInteractionsEnabled($var) - { - GPBUtil::checkBool($var); - $this->form_interactions_enabled = $var; - - return $this; - } - - /** - * Required. URL query parameters to interpret as site search parameters. - * Max length is 1024 characters. Must not be empty. - * - * Generated from protobuf field string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getSearchQueryParameter() - { - return $this->search_query_parameter; - } - - /** - * Required. URL query parameters to interpret as site search parameters. - * Max length is 1024 characters. Must not be empty. - * - * Generated from protobuf field string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setSearchQueryParameter($var) - { - GPBUtil::checkString($var, True); - $this->search_query_parameter = $var; - - return $this; - } - - /** - * Additional URL query parameters. - * Max length is 1024 characters. - * - * Generated from protobuf field string uri_query_parameter = 11; - * @return string - */ - public function getUriQueryParameter() - { - return $this->uri_query_parameter; - } - - /** - * Additional URL query parameters. - * Max length is 1024 characters. - * - * Generated from protobuf field string uri_query_parameter = 11; - * @param string $var - * @return $this - */ - public function setUriQueryParameter($var) - { - GPBUtil::checkString($var, True); - $this->uri_query_parameter = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventCreateRule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventCreateRule.php deleted file mode 100644 index d4fcefc0a5b6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventCreateRule.php +++ /dev/null @@ -1,257 +0,0 @@ -google.analytics.admin.v1alpha.EventCreateRule - */ -class EventCreateRule extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name for this EventCreateRule resource. - * Format: - * properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. The name of the new event to be created. - * This value must: - * * be less than 40 characters - * * consist only of letters, digits or _ (underscores) - * * start with a letter - * - * Generated from protobuf field string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $destination_event = ''; - /** - * Required. Must have at least one condition, and can have up to 10 max. - * Conditions on the source event must match for this rule to be applied. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - private $event_conditions; - /** - * If true, the source parameters are copied to the new event. - * If false, or unset, all non-internal parameters are not copied from the - * source event. Parameter mutations are applied after the parameters have - * been copied. - * - * Generated from protobuf field bool source_copy_parameters = 4; - */ - protected $source_copy_parameters = false; - /** - * Parameter mutations define parameter behavior on the new event, and - * are applied in order. - * A maximum of 20 mutations can be applied. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; - */ - private $parameter_mutations; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name for this EventCreateRule resource. - * Format: - * properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule} - * @type string $destination_event - * Required. The name of the new event to be created. - * This value must: - * * be less than 40 characters - * * consist only of letters, digits or _ (underscores) - * * start with a letter - * @type \Google\Analytics\Admin\V1alpha\MatchingCondition[] $event_conditions - * Required. Must have at least one condition, and can have up to 10 max. - * Conditions on the source event must match for this rule to be applied. - * @type bool $source_copy_parameters - * If true, the source parameters are copied to the new event. - * If false, or unset, all non-internal parameters are not copied from the - * source event. Parameter mutations are applied after the parameters have - * been copied. - * @type \Google\Analytics\Admin\V1alpha\ParameterMutation[] $parameter_mutations - * Parameter mutations define parameter behavior on the new event, and - * are applied in order. - * A maximum of 20 mutations can be applied. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\EventCreateAndEdit::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name for this EventCreateRule resource. - * Format: - * properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule} - * - * 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 for this EventCreateRule resource. - * Format: - * properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule} - * - * 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 name of the new event to be created. - * This value must: - * * be less than 40 characters - * * consist only of letters, digits or _ (underscores) - * * start with a letter - * - * Generated from protobuf field string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDestinationEvent() - { - return $this->destination_event; - } - - /** - * Required. The name of the new event to be created. - * This value must: - * * be less than 40 characters - * * consist only of letters, digits or _ (underscores) - * * start with a letter - * - * Generated from protobuf field string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDestinationEvent($var) - { - GPBUtil::checkString($var, True); - $this->destination_event = $var; - - return $this; - } - - /** - * Required. Must have at least one condition, and can have up to 10 max. - * Conditions on the source event must match for this rule to be applied. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\MatchingCondition> - */ - public function getEventConditions() - { - return $this->event_conditions; - } - - /** - * Required. Must have at least one condition, and can have up to 10 max. - * Conditions on the source event must match for this rule to be applied. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\MatchingCondition[] $var - * @return $this - */ - public function setEventConditions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\MatchingCondition::class); - $this->event_conditions = $arr; - - return $this; - } - - /** - * If true, the source parameters are copied to the new event. - * If false, or unset, all non-internal parameters are not copied from the - * source event. Parameter mutations are applied after the parameters have - * been copied. - * - * Generated from protobuf field bool source_copy_parameters = 4; - * @return bool - */ - public function getSourceCopyParameters() - { - return $this->source_copy_parameters; - } - - /** - * If true, the source parameters are copied to the new event. - * If false, or unset, all non-internal parameters are not copied from the - * source event. Parameter mutations are applied after the parameters have - * been copied. - * - * Generated from protobuf field bool source_copy_parameters = 4; - * @param bool $var - * @return $this - */ - public function setSourceCopyParameters($var) - { - GPBUtil::checkBool($var); - $this->source_copy_parameters = $var; - - return $this; - } - - /** - * Parameter mutations define parameter behavior on the new event, and - * are applied in order. - * A maximum of 20 mutations can be applied. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ParameterMutation> - */ - public function getParameterMutations() - { - return $this->parameter_mutations; - } - - /** - * Parameter mutations define parameter behavior on the new event, and - * are applied in order. - * A maximum of 20 mutations can be applied. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; - * @param \Google\Analytics\Admin\V1alpha\ParameterMutation[] $var - * @return $this - */ - public function setParameterMutations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ParameterMutation::class); - $this->parameter_mutations = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventEditRule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventEditRule.php deleted file mode 100644 index 03f0533fc489..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventEditRule.php +++ /dev/null @@ -1,245 +0,0 @@ -google.analytics.admin.v1alpha.EventEditRule - */ -class EventEditRule extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Resource name for this EventEditRule resource. - * Format: - * properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Required. The display name of this event edit rule. Maximum of 255 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Required. Conditions on the source event must match for this rule to be - * applied. Must have at least one condition, and can have up to 10 max. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - private $event_conditions; - /** - * Required. Parameter mutations define parameter behavior on the new event, - * and are applied in order. A maximum of 20 mutations can be applied. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - private $parameter_mutations; - /** - * Output only. The order for which this rule will be processed. Rules with an - * order value lower than this will be processed before this rule, rules with - * an order value higher than this will be processed after this rule. New - * event edit rules will be assigned an order value at the end of the order. - * This value does not apply to event create rules. - * - * Generated from protobuf field int64 processing_order = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $processing_order = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. Resource name for this EventEditRule resource. - * Format: - * properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule} - * @type string $display_name - * Required. The display name of this event edit rule. Maximum of 255 - * characters. - * @type \Google\Analytics\Admin\V1alpha\MatchingCondition[] $event_conditions - * Required. Conditions on the source event must match for this rule to be - * applied. Must have at least one condition, and can have up to 10 max. - * @type \Google\Analytics\Admin\V1alpha\ParameterMutation[] $parameter_mutations - * Required. Parameter mutations define parameter behavior on the new event, - * and are applied in order. A maximum of 20 mutations can be applied. - * @type int|string $processing_order - * Output only. The order for which this rule will be processed. Rules with an - * order value lower than this will be processed before this rule, rules with - * an order value higher than this will be processed after this rule. New - * event edit rules will be assigned an order value at the end of the order. - * This value does not apply to event create rules. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\EventCreateAndEdit::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. Resource name for this EventEditRule resource. - * Format: - * properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Resource name for this EventEditRule resource. - * Format: - * properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The display name of this event edit rule. Maximum of 255 - * characters. - * - * 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 this event edit rule. Maximum of 255 - * characters. - * - * 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; - } - - /** - * Required. Conditions on the source event must match for this rule to be - * applied. Must have at least one condition, and can have up to 10 max. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\MatchingCondition> - */ - public function getEventConditions() - { - return $this->event_conditions; - } - - /** - * Required. Conditions on the source event must match for this rule to be - * applied. Must have at least one condition, and can have up to 10 max. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\MatchingCondition[] $var - * @return $this - */ - public function setEventConditions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\MatchingCondition::class); - $this->event_conditions = $arr; - - return $this; - } - - /** - * Required. Parameter mutations define parameter behavior on the new event, - * and are applied in order. A maximum of 20 mutations can be applied. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ParameterMutation> - */ - public function getParameterMutations() - { - return $this->parameter_mutations; - } - - /** - * Required. Parameter mutations define parameter behavior on the new event, - * and are applied in order. A maximum of 20 mutations can be applied. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\ParameterMutation[] $var - * @return $this - */ - public function setParameterMutations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ParameterMutation::class); - $this->parameter_mutations = $arr; - - return $this; - } - - /** - * Output only. The order for which this rule will be processed. Rules with an - * order value lower than this will be processed before this rule, rules with - * an order value higher than this will be processed after this rule. New - * event edit rules will be assigned an order value at the end of the order. - * This value does not apply to event create rules. - * - * Generated from protobuf field int64 processing_order = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getProcessingOrder() - { - return $this->processing_order; - } - - /** - * Output only. The order for which this rule will be processed. Rules with an - * order value lower than this will be processed before this rule, rules with - * an order value higher than this will be processed after this rule. New - * event edit rules will be assigned an order value at the end of the order. - * This value does not apply to event create rules. - * - * Generated from protobuf field int64 processing_order = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setProcessingOrder($var) - { - GPBUtil::checkInt64($var); - $this->processing_order = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventMapping.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventMapping.php deleted file mode 100644 index 7d376244e39e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/EventMapping.php +++ /dev/null @@ -1,279 +0,0 @@ -google.analytics.admin.v1alpha.EventMapping - */ -class EventMapping extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Name of the Google Analytics event. It must always be set. - * The max allowed display name length is 40 UTF-16 code units. - * - * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $event_name = ''; - /** - * At least one of the following four min/max values must be set. The - * values set will be ANDed together to qualify an event. - * The minimum number of times the event occurred. If not set, minimum event - * count won't be checked. - * - * Generated from protobuf field optional int64 min_event_count = 2; - */ - protected $min_event_count = null; - /** - * The maximum number of times the event occurred. If not set, maximum event - * count won't be checked. - * - * Generated from protobuf field optional int64 max_event_count = 3; - */ - protected $max_event_count = null; - /** - * The minimum revenue generated due to the event. Revenue currency will be - * defined at the property level. If not set, minimum event value won't be - * checked. - * - * Generated from protobuf field optional double min_event_value = 4; - */ - protected $min_event_value = null; - /** - * The maximum revenue generated due to the event. Revenue currency will be - * defined at the property level. If not set, maximum event value won't be - * checked. - * - * Generated from protobuf field optional double max_event_value = 5; - */ - protected $max_event_value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $event_name - * Required. Name of the Google Analytics event. It must always be set. - * The max allowed display name length is 40 UTF-16 code units. - * @type int|string $min_event_count - * At least one of the following four min/max values must be set. The - * values set will be ANDed together to qualify an event. - * The minimum number of times the event occurred. If not set, minimum event - * count won't be checked. - * @type int|string $max_event_count - * The maximum number of times the event occurred. If not set, maximum event - * count won't be checked. - * @type float $min_event_value - * The minimum revenue generated due to the event. Revenue currency will be - * defined at the property level. If not set, minimum event value won't be - * checked. - * @type float $max_event_value - * The maximum revenue generated due to the event. Revenue currency will be - * defined at the property level. If not set, maximum event value won't be - * checked. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Required. Name of the Google Analytics event. It must always be set. - * The max allowed display name length is 40 UTF-16 code units. - * - * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getEventName() - { - return $this->event_name; - } - - /** - * Required. Name of the Google Analytics event. It must always be set. - * The max allowed display name length is 40 UTF-16 code units. - * - * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setEventName($var) - { - GPBUtil::checkString($var, True); - $this->event_name = $var; - - return $this; - } - - /** - * At least one of the following four min/max values must be set. The - * values set will be ANDed together to qualify an event. - * The minimum number of times the event occurred. If not set, minimum event - * count won't be checked. - * - * Generated from protobuf field optional int64 min_event_count = 2; - * @return int|string - */ - public function getMinEventCount() - { - return isset($this->min_event_count) ? $this->min_event_count : 0; - } - - public function hasMinEventCount() - { - return isset($this->min_event_count); - } - - public function clearMinEventCount() - { - unset($this->min_event_count); - } - - /** - * At least one of the following four min/max values must be set. The - * values set will be ANDed together to qualify an event. - * The minimum number of times the event occurred. If not set, minimum event - * count won't be checked. - * - * Generated from protobuf field optional int64 min_event_count = 2; - * @param int|string $var - * @return $this - */ - public function setMinEventCount($var) - { - GPBUtil::checkInt64($var); - $this->min_event_count = $var; - - return $this; - } - - /** - * The maximum number of times the event occurred. If not set, maximum event - * count won't be checked. - * - * Generated from protobuf field optional int64 max_event_count = 3; - * @return int|string - */ - public function getMaxEventCount() - { - return isset($this->max_event_count) ? $this->max_event_count : 0; - } - - public function hasMaxEventCount() - { - return isset($this->max_event_count); - } - - public function clearMaxEventCount() - { - unset($this->max_event_count); - } - - /** - * The maximum number of times the event occurred. If not set, maximum event - * count won't be checked. - * - * Generated from protobuf field optional int64 max_event_count = 3; - * @param int|string $var - * @return $this - */ - public function setMaxEventCount($var) - { - GPBUtil::checkInt64($var); - $this->max_event_count = $var; - - return $this; - } - - /** - * The minimum revenue generated due to the event. Revenue currency will be - * defined at the property level. If not set, minimum event value won't be - * checked. - * - * Generated from protobuf field optional double min_event_value = 4; - * @return float - */ - public function getMinEventValue() - { - return isset($this->min_event_value) ? $this->min_event_value : 0.0; - } - - public function hasMinEventValue() - { - return isset($this->min_event_value); - } - - public function clearMinEventValue() - { - unset($this->min_event_value); - } - - /** - * The minimum revenue generated due to the event. Revenue currency will be - * defined at the property level. If not set, minimum event value won't be - * checked. - * - * Generated from protobuf field optional double min_event_value = 4; - * @param float $var - * @return $this - */ - public function setMinEventValue($var) - { - GPBUtil::checkDouble($var); - $this->min_event_value = $var; - - return $this; - } - - /** - * The maximum revenue generated due to the event. Revenue currency will be - * defined at the property level. If not set, maximum event value won't be - * checked. - * - * Generated from protobuf field optional double max_event_value = 5; - * @return float - */ - public function getMaxEventValue() - { - return isset($this->max_event_value) ? $this->max_event_value : 0.0; - } - - public function hasMaxEventValue() - { - return isset($this->max_event_value); - } - - public function clearMaxEventValue() - { - unset($this->max_event_value); - } - - /** - * The maximum revenue generated due to the event. Revenue currency will be - * defined at the property level. If not set, maximum event value won't be - * checked. - * - * Generated from protobuf field optional double max_event_value = 5; - * @param float $var - * @return $this - */ - public function setMaxEventValue($var) - { - GPBUtil::checkDouble($var); - $this->max_event_value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSet.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSet.php deleted file mode 100644 index 5ead79d293a2..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSet.php +++ /dev/null @@ -1,339 +0,0 @@ -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]; - */ - protected $name = ''; - /** - * Required. The display name of the ExpandedDataSet. - * Max 200 chars. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Optional. The description of the ExpandedDataSet. - * Max 50 chars. - * - * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $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 chance of encountering `other` row. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $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]; - */ - protected $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 string[] $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 string[] $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 chance 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 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 string[] $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 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 string[] $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 chance 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 chance 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter.php deleted file mode 100644 index 0a2bb3d195d3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter.php +++ /dev/null @@ -1,145 +0,0 @@ -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]; - */ - protected $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/InListFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/InListFilter.php deleted file mode 100644 index 026cff2b73ba..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/InListFilter.php +++ /dev/null @@ -1,113 +0,0 @@ -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]; - */ - protected $case_sensitive = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string[] $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 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 string[] $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; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter.php deleted file mode 100644 index 3efb81f5e21d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter.php +++ /dev/null @@ -1,147 +0,0 @@ -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]; - */ - protected $match_type = 0; - /** - * Required. The string value to be matched against. - * - * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $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]; - */ - protected $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; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter/MatchType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter/MatchType.php deleted file mode 100644 index 37887cedbb6d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilter/StringFilter/MatchType.php +++ /dev/null @@ -1,61 +0,0 @@ -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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilterExpression.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilterExpression.php deleted file mode 100644 index 0c866ad5358a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilterExpression.php +++ /dev/null @@ -1,159 +0,0 @@ -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 (that is, 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 (that is, 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 (that is, 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilterExpressionList.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilterExpressionList.php deleted file mode 100644 index 0d68710468ea..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ExpandedDataSetFilterExpressionList.php +++ /dev/null @@ -1,67 +0,0 @@ -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 \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression[] $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 RepeatedField<\Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression> - */ - 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 \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression[] $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/FirebaseLink.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/FirebaseLink.php deleted file mode 100644 index 4adb565d1cee..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/FirebaseLink.php +++ /dev/null @@ -1,165 +0,0 @@ -google.analytics.admin.v1alpha.FirebaseLink - */ -class FirebaseLink extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Example format: properties/1234/firebaseLinks/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $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 - * have a project_name that contains a project number. - * Format: 'projects/{project number}' - * Example: 'projects/1234' - * - * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $project = ''; - /** - * Output only. Time when this FirebaseLink was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. 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 - * have a project_name that contains a project number. - * Format: 'projects/{project number}' - * Example: 'projects/1234' - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when this FirebaseLink was originally created. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. Example format: properties/1234/firebaseLinks/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Example format: properties/1234/firebaseLinks/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * 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' - * - * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getProject() - { - return $this->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 - * have a project_name 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 this FirebaseLink was originally 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 this FirebaseLink was originally 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; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccessBindingRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccessBindingRequest.php deleted file mode 100644 index c64528984689..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccessBindingRequest.php +++ /dev/null @@ -1,96 +0,0 @@ -google.analytics.admin.v1alpha.GetAccessBindingRequest - */ -class GetAccessBindingRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the access binding to retrieve. - * Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the access binding to retrieve. - * Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * Please see {@see AnalyticsAdminServiceClient::accessBindingName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetAccessBindingRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the access binding to retrieve. - * Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the access binding to retrieve. - * Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * - * 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 access binding to retrieve. - * Formats: - * - accounts/{account}/accessBindings/{accessBinding} - * - properties/{property}/accessBindings/{accessBinding} - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccountRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccountRequest.php deleted file mode 100644 index 226411cebd73..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAccountRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.GetAccountRequest - */ -class GetAccountRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the account to lookup. - * Format: accounts/{account} - * Example: "accounts/100" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the account to lookup. - * Format: accounts/{account} - * Example: "accounts/100" - * Please see {@see AnalyticsAdminServiceClient::accountName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetAccountRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the account to lookup. - * Format: accounts/{account} - * Example: "accounts/100" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the account to lookup. - * Format: accounts/{account} - * Example: "accounts/100" - * - * 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 account to lookup. - * Format: accounts/{account} - * Example: "accounts/100" - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAdSenseLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAdSenseLinkRequest.php deleted file mode 100644 index 8569c54a935a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAdSenseLinkRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.GetAdSenseLinkRequest - */ -class GetAdSenseLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Unique identifier for the AdSense Link requested. - * Format: properties/{propertyId}/adSenseLinks/{linkId} - * Example: properties/1234/adSenseLinks/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Unique identifier for the AdSense Link requested. - * Format: properties/{propertyId}/adSenseLinks/{linkId} - * Example: properties/1234/adSenseLinks/5678 - * Please see {@see AnalyticsAdminServiceClient::adSenseLinkName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetAdSenseLinkRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Unique identifier for the AdSense Link requested. - * Format: properties/{propertyId}/adSenseLinks/{linkId} - * Example: properties/1234/adSenseLinks/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Unique identifier for the AdSense Link requested. - * Format: properties/{propertyId}/adSenseLinks/{linkId} - * Example: properties/1234/adSenseLinks/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. Unique identifier for the AdSense Link requested. - * Format: properties/{propertyId}/adSenseLinks/{linkId} - * Example: properties/1234/adSenseLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAttributionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAttributionSettingsRequest.php deleted file mode 100644 index 47f67a66af61..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAttributionSettingsRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.GetAttributionSettingsRequest - */ -class GetAttributionSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the attribution settings to retrieve. - * Format: properties/{property}/attributionSettings - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the attribution settings to retrieve. - * Format: properties/{property}/attributionSettings - * Please see {@see AnalyticsAdminServiceClient::attributionSettingsName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetAttributionSettingsRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the attribution settings to retrieve. - * Format: properties/{property}/attributionSettings - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the attribution settings to retrieve. - * Format: properties/{property}/attributionSettings - * - * 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 attribution settings to retrieve. - * Format: properties/{property}/attributionSettings - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAudienceRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAudienceRequest.php deleted file mode 100644 index fdd9699e9488..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetAudienceRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.GetAudienceRequest - */ -class GetAudienceRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Audience to get. - * Example format: properties/1234/audiences/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Audience to get. - * Example format: properties/1234/audiences/5678 - * Please see {@see AnalyticsAdminServiceClient::audienceName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetAudienceRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Audience to get. - * Example format: properties/1234/audiences/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Audience to get. - * Example format: properties/1234/audiences/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 Audience to get. - * Example format: properties/1234/audiences/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetBigQueryLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetBigQueryLinkRequest.php deleted file mode 100644 index d56e48505a69..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetBigQueryLinkRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -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) = { - */ - protected $name = ''; - - /** - * @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 - * Please see {@see AnalyticsAdminServiceClient::bigQueryLinkName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetBigQueryLinkRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCalculatedMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCalculatedMetricRequest.php deleted file mode 100644 index 696c0c8a33c7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCalculatedMetricRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.GetCalculatedMetricRequest - */ -class GetCalculatedMetricRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the CalculatedMetric to get. - * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} - * Example: properties/1234/calculatedMetrics/Metric01 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the CalculatedMetric to get. - * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} - * Example: properties/1234/calculatedMetrics/Metric01 - * Please see {@see AnalyticsAdminServiceClient::calculatedMetricName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetCalculatedMetricRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the CalculatedMetric to get. - * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} - * Example: properties/1234/calculatedMetrics/Metric01 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the CalculatedMetric to get. - * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} - * Example: properties/1234/calculatedMetrics/Metric01 - * - * 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 CalculatedMetric to get. - * Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} - * Example: properties/1234/calculatedMetrics/Metric01 - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetChannelGroupRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetChannelGroupRequest.php deleted file mode 100644 index 6732b29c85e5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetChannelGroupRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.GetChannelGroupRequest - */ -class GetChannelGroupRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ChannelGroup to get. - * Example format: properties/1234/channelGroups/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The ChannelGroup to get. - * Example format: properties/1234/channelGroups/5678 - * Please see {@see AnalyticsAdminServiceClient::channelGroupName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetChannelGroupRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The ChannelGroup to get. - * Example format: properties/1234/channelGroups/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ChannelGroup to get. - * Example format: properties/1234/channelGroups/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 ChannelGroup to get. - * Example format: properties/1234/channelGroups/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetConversionEventRequest.php deleted file mode 100644 index af00b8b14fc3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetConversionEventRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.GetConversionEventRequest - */ -class GetConversionEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the conversion event to retrieve. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/456" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the conversion event to retrieve. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/456" - * Please see {@see AnalyticsAdminServiceClient::conversionEventName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetConversionEventRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the conversion event to retrieve. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/456" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the conversion event to retrieve. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/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 resource name of the conversion event to retrieve. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomDimensionRequest.php deleted file mode 100644 index ab21a5adf2d7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomDimensionRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.GetCustomDimensionRequest - */ -class GetCustomDimensionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the CustomDimension to get. - * Example format: properties/1234/customDimensions/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the CustomDimension to get. - * Example format: properties/1234/customDimensions/5678 - * Please see {@see AnalyticsAdminServiceClient::customDimensionName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetCustomDimensionRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the CustomDimension to get. - * Example format: properties/1234/customDimensions/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the CustomDimension to get. - * Example format: properties/1234/customDimensions/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 CustomDimension to get. - * Example format: properties/1234/customDimensions/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomMetricRequest.php deleted file mode 100644 index 19169828a79d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetCustomMetricRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.GetCustomMetricRequest - */ -class GetCustomMetricRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the CustomMetric to get. - * Example format: properties/1234/customMetrics/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the CustomMetric to get. - * Example format: properties/1234/customMetrics/5678 - * Please see {@see AnalyticsAdminServiceClient::customMetricName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetCustomMetricRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the CustomMetric to get. - * Example format: properties/1234/customMetrics/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the CustomMetric to get. - * Example format: properties/1234/customMetrics/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 CustomMetric to get. - * Example format: properties/1234/customMetrics/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRedactionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRedactionSettingsRequest.php deleted file mode 100644 index 40b7d37baac3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRedactionSettingsRequest.php +++ /dev/null @@ -1,96 +0,0 @@ -google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest - */ -class GetDataRedactionSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataStreams/{data_stream}/dataRedactionSettings - * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataStreams/{data_stream}/dataRedactionSettings - * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" - * Please see {@see AnalyticsAdminServiceClient::dataRedactionSettingsName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetDataRedactionSettingsRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataStreams/{data_stream}/dataRedactionSettings - * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataStreams/{data_stream}/dataRedactionSettings - * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" - * - * 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 settings to lookup. - * Format: - * properties/{property}/dataStreams/{data_stream}/dataRedactionSettings - * Example: "properties/1000/dataStreams/2000/dataRedactionSettings" - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRetentionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRetentionSettingsRequest.php deleted file mode 100644 index ca60f7aa0f0c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataRetentionSettingsRequest.php +++ /dev/null @@ -1,96 +0,0 @@ -google.analytics.admin.v1alpha.GetDataRetentionSettingsRequest - */ -class GetDataRetentionSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataRetentionSettings - * Example: "properties/1000/dataRetentionSettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataRetentionSettings - * Example: "properties/1000/dataRetentionSettings" - * Please see {@see AnalyticsAdminServiceClient::dataRetentionSettingsName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetDataRetentionSettingsRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataRetentionSettings - * Example: "properties/1000/dataRetentionSettings" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataRetentionSettings - * Example: "properties/1000/dataRetentionSettings" - * - * 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 settings to lookup. - * Format: - * properties/{property}/dataRetentionSettings - * Example: "properties/1000/dataRetentionSettings" - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataSharingSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataSharingSettingsRequest.php deleted file mode 100644 index a595b66b8a0e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataSharingSettingsRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.analytics.admin.v1alpha.GetDataSharingSettingsRequest - */ -class GetDataSharingSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the settings to lookup. - * Format: accounts/{account}/dataSharingSettings - * Example: `accounts/1000/dataSharingSettings` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the settings to lookup. - * Format: accounts/{account}/dataSharingSettings - * - * Example: `accounts/1000/dataSharingSettings` - * Please see {@see AnalyticsAdminServiceClient::dataSharingSettingsName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetDataSharingSettingsRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the settings to lookup. - * Format: accounts/{account}/dataSharingSettings - * Example: `accounts/1000/dataSharingSettings` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the settings to lookup. - * Format: accounts/{account}/dataSharingSettings - * Example: `accounts/1000/dataSharingSettings` - * - * 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 settings to lookup. - * Format: accounts/{account}/dataSharingSettings - * Example: `accounts/1000/dataSharingSettings` - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataStreamRequest.php deleted file mode 100644 index 93c992373464..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDataStreamRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.GetDataStreamRequest - */ -class GetDataStreamRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DataStream to get. - * Example format: properties/1234/dataStreams/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the DataStream to get. - * Example format: properties/1234/dataStreams/5678 - * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetDataStreamRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DataStream to get. - * Example format: properties/1234/dataStreams/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DataStream to get. - * Example format: properties/1234/dataStreams/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 DataStream to get. - * Example format: properties/1234/dataStreams/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.php deleted file mode 100644 index f20f29f7f46f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkProposalRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkProposalRequest - */ -class GetDisplayVideo360AdvertiserLinkProposalRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 - * Please see {@see AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkProposalName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetDisplayVideo360AdvertiserLinkProposalRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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 DisplayVideo360AdvertiserLinkProposal to get. - * Example format: properties/1234/displayVideo360AdvertiserLinkProposals/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkRequest.php deleted file mode 100644 index 10b7735adcfc..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetDisplayVideo360AdvertiserLinkRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.GetDisplayVideo360AdvertiserLinkRequest - */ -class GetDisplayVideo360AdvertiserLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DisplayVideo360AdvertiserLink to get. - * Example format: properties/1234/displayVideo360AdvertiserLink/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the DisplayVideo360AdvertiserLink to get. - * Example format: properties/1234/displayVideo360AdvertiserLink/5678 - * Please see {@see AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetDisplayVideo360AdvertiserLinkRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DisplayVideo360AdvertiserLink to get. - * Example format: properties/1234/displayVideo360AdvertiserLink/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DisplayVideo360AdvertiserLink to get. - * Example format: properties/1234/displayVideo360AdvertiserLink/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 DisplayVideo360AdvertiserLink to get. - * Example format: properties/1234/displayVideo360AdvertiserLink/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEnhancedMeasurementSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEnhancedMeasurementSettingsRequest.php deleted file mode 100644 index 76f4f55a9bb9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEnhancedMeasurementSettingsRequest.php +++ /dev/null @@ -1,96 +0,0 @@ -google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest - */ -class GetEnhancedMeasurementSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings - * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings - * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" - * Please see {@see AnalyticsAdminServiceClient::enhancedMeasurementSettingsName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetEnhancedMeasurementSettingsRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings - * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings - * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" - * - * 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 settings to lookup. - * Format: - * properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings - * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventCreateRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventCreateRuleRequest.php deleted file mode 100644 index fe0549d589bd..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventCreateRuleRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.GetEventCreateRuleRequest - */ -class GetEventCreateRuleRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the EventCreateRule to get. - * Example format: properties/123/dataStreams/456/eventCreateRules/789 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the EventCreateRule to get. - * Example format: properties/123/dataStreams/456/eventCreateRules/789 - * Please see {@see AnalyticsAdminServiceClient::eventCreateRuleName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetEventCreateRuleRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the EventCreateRule to get. - * Example format: properties/123/dataStreams/456/eventCreateRules/789 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the EventCreateRule to get. - * Example format: properties/123/dataStreams/456/eventCreateRules/789 - * - * 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 EventCreateRule to get. - * Example format: properties/123/dataStreams/456/eventCreateRules/789 - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventEditRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventEditRuleRequest.php deleted file mode 100644 index 9e2a26edbae4..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetEventEditRuleRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.GetEventEditRuleRequest - */ -class GetEventEditRuleRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the EventEditRule to get. - * Example format: properties/123/dataStreams/456/eventEditRules/789 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the EventEditRule to get. - * Example format: properties/123/dataStreams/456/eventEditRules/789 - * Please see {@see AnalyticsAdminServiceClient::eventEditRuleName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetEventEditRuleRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the EventEditRule to get. - * Example format: properties/123/dataStreams/456/eventEditRules/789 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the EventEditRule to get. - * Example format: properties/123/dataStreams/456/eventEditRules/789 - * - * 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 EventEditRule to get. - * Example format: properties/123/dataStreams/456/eventEditRules/789 - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetExpandedDataSetRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetExpandedDataSetRequest.php deleted file mode 100644 index fef51d7e17a1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetExpandedDataSetRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.GetExpandedDataSetRequest - */ -class GetExpandedDataSetRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the ExpandedDataSet to get. - * Example format: properties/1234/expandedDataSets/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the ExpandedDataSet to get. - * Example format: properties/1234/expandedDataSets/5678 - * Please see {@see AnalyticsAdminServiceClient::expandedDataSetName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetExpandedDataSetRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the ExpandedDataSet to get. - * Example format: properties/1234/expandedDataSets/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the ExpandedDataSet to get. - * Example format: properties/1234/expandedDataSets/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 ExpandedDataSet to get. - * Example format: properties/1234/expandedDataSets/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGlobalSiteTagRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGlobalSiteTagRequest.php deleted file mode 100644 index a352695cad4f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGlobalSiteTagRequest.php +++ /dev/null @@ -1,97 +0,0 @@ -google.analytics.admin.v1alpha.GetGlobalSiteTagRequest - */ -class GetGlobalSiteTagRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the site tag to lookup. - * Note that site tags are singletons and do not have unique IDs. - * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag - * Example: `properties/123/dataStreams/456/globalSiteTag` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the site tag to lookup. - * Note that site tags are singletons and do not have unique IDs. - * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag - * - * Example: `properties/123/dataStreams/456/globalSiteTag` - * Please see {@see AnalyticsAdminServiceClient::globalSiteTagName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetGlobalSiteTagRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the site tag to lookup. - * Note that site tags are singletons and do not have unique IDs. - * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag - * Example: `properties/123/dataStreams/456/globalSiteTag` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the site tag to lookup. - * Note that site tags are singletons and do not have unique IDs. - * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag - * Example: `properties/123/dataStreams/456/globalSiteTag` - * - * 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 site tag to lookup. - * Note that site tags are singletons and do not have unique IDs. - * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag - * Example: `properties/123/dataStreams/456/globalSiteTag` - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGoogleSignalsSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGoogleSignalsSettingsRequest.php deleted file mode 100644 index 1960250da22d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetGoogleSignalsSettingsRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1alpha.GetGoogleSignalsSettingsRequest - */ -class GetGoogleSignalsSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the google signals settings to retrieve. - * Format: properties/{property}/googleSignalsSettings - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the google signals settings to retrieve. - * Format: properties/{property}/googleSignalsSettings - * Please see {@see AnalyticsAdminServiceClient::googleSignalsSettingsName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetGoogleSignalsSettingsRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the google signals settings to retrieve. - * Format: properties/{property}/googleSignalsSettings - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the google signals settings to retrieve. - * Format: properties/{property}/googleSignalsSettings - * - * 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 google signals settings to retrieve. - * Format: properties/{property}/googleSignalsSettings - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetKeyEventRequest.php deleted file mode 100644 index 49784183e4aa..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetKeyEventRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.GetKeyEventRequest - */ -class GetKeyEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Key Event to retrieve. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/456" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the Key Event to retrieve. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/456" - * Please see {@see AnalyticsAdminServiceClient::keyEventName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetKeyEventRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the Key Event to retrieve. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/456" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Key Event to retrieve. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/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 resource name of the Key Event to retrieve. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetMeasurementProtocolSecretRequest.php deleted file mode 100644 index a9d923a67c9e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetMeasurementProtocolSecretRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.GetMeasurementProtocolSecretRequest - */ -class GetMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the measurement protocol secret to lookup. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the measurement protocol secret to lookup. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * Please see {@see AnalyticsAdminServiceClient::measurementProtocolSecretName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetMeasurementProtocolSecretRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the measurement protocol secret to lookup. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the measurement protocol secret to lookup. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * - * 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 measurement protocol secret to lookup. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetPropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetPropertyRequest.php deleted file mode 100644 index 756ea8e05b04..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetPropertyRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.GetPropertyRequest - */ -class GetPropertyRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the property to lookup. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the property to lookup. - * Format: properties/{property_id} - * Example: "properties/1000" - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetPropertyRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the property to lookup. - * Format: properties/{property_id} - * Example: "properties/1000" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the property to lookup. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * 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 property to lookup. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingDataAnnotationRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingDataAnnotationRequest.php deleted file mode 100644 index 7276c6e47c7f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingDataAnnotationRequest.php +++ /dev/null @@ -1,96 +0,0 @@ -google.analytics.admin.v1alpha.GetReportingDataAnnotationRequest - */ -class GetReportingDataAnnotationRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Resource name of the Reporting Data Annotation to lookup. - * Format: - * properties/property_id/reportingDataAnnotations/reportingDataAnnotation - * Example: properties/123/reportingDataAnnotations/456 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Resource name of the Reporting Data Annotation to lookup. - * Format: - * properties/property_id/reportingDataAnnotations/reportingDataAnnotation - * Example: properties/123/reportingDataAnnotations/456 - * Please see {@see AnalyticsAdminServiceClient::reportingDataAnnotationName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetReportingDataAnnotationRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Resource name of the Reporting Data Annotation to lookup. - * Format: - * properties/property_id/reportingDataAnnotations/reportingDataAnnotation - * Example: properties/123/reportingDataAnnotations/456 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Resource name of the Reporting Data Annotation to lookup. - * Format: - * properties/property_id/reportingDataAnnotations/reportingDataAnnotation - * Example: properties/123/reportingDataAnnotations/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. Resource name of the Reporting Data Annotation to lookup. - * Format: - * properties/property_id/reportingDataAnnotations/reportingDataAnnotation - * Example: properties/123/reportingDataAnnotations/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingIdentitySettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingIdentitySettingsRequest.php deleted file mode 100644 index da4baed0828f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetReportingIdentitySettingsRequest.php +++ /dev/null @@ -1,96 +0,0 @@ -google.analytics.admin.v1alpha.GetReportingIdentitySettingsRequest - */ -class GetReportingIdentitySettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/reportingIdentitySettings - * Example: "properties/1000/reportingIdentitySettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the settings to lookup. - * Format: - * properties/{property}/reportingIdentitySettings - * Example: "properties/1000/reportingIdentitySettings" - * Please see {@see AnalyticsAdminServiceClient::reportingIdentitySettingsName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetReportingIdentitySettingsRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/reportingIdentitySettings - * Example: "properties/1000/reportingIdentitySettings" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/reportingIdentitySettings - * Example: "properties/1000/reportingIdentitySettings" - * - * 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 settings to lookup. - * Format: - * properties/{property}/reportingIdentitySettings - * Example: "properties/1000/reportingIdentitySettings" - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetRollupPropertySourceLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetRollupPropertySourceLinkRequest.php deleted file mode 100644 index 06d6181b73b6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetRollupPropertySourceLinkRequest.php +++ /dev/null @@ -1,96 +0,0 @@ -google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest - */ -class GetRollupPropertySourceLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the roll-up property source link to lookup. - * Format: - * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} - * Example: properties/123/rollupPropertySourceLinks/456 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the roll-up property source link to lookup. - * Format: - * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} - * Example: properties/123/rollupPropertySourceLinks/456 - * Please see {@see AnalyticsAdminServiceClient::rollupPropertySourceLinkName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetRollupPropertySourceLinkRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the roll-up property source link to lookup. - * Format: - * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} - * Example: properties/123/rollupPropertySourceLinks/456 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the roll-up property source link to lookup. - * Format: - * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} - * Example: properties/123/rollupPropertySourceLinks/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 roll-up property source link to lookup. - * Format: - * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} - * Example: properties/123/rollupPropertySourceLinks/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSKAdNetworkConversionValueSchemaRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSKAdNetworkConversionValueSchemaRequest.php deleted file mode 100644 index 7f6f2fb813dd..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSKAdNetworkConversionValueSchemaRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest - */ -class GetSKAdNetworkConversionValueSchemaRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of SKAdNetwork conversion value schema to look - * up. Format: - * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of SKAdNetwork conversion value schema to look - * up. Format: - * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} - * Please see {@see AnalyticsAdminServiceClient::sKAdNetworkConversionValueSchemaName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetSKAdNetworkConversionValueSchemaRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of SKAdNetwork conversion value schema to look - * up. Format: - * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of SKAdNetwork conversion value schema to look - * up. Format: - * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} - * - * 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 resource name of SKAdNetwork conversion value schema to look - * up. Format: - * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSearchAds360LinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSearchAds360LinkRequest.php deleted file mode 100644 index 98aa24895e5c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSearchAds360LinkRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -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) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the SearchAds360Link to get. - * Example format: properties/1234/SearchAds360Link/5678 - * Please see {@see AnalyticsAdminServiceClient::searchAds360LinkName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetSearchAds360LinkRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertyEventFilterRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertyEventFilterRequest.php deleted file mode 100644 index 76b74fa5c0ca..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertyEventFilterRequest.php +++ /dev/null @@ -1,96 +0,0 @@ -google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest - */ -class GetSubpropertyEventFilterRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Resource name of the subproperty event filter to lookup. - * Format: - * properties/property_id/subpropertyEventFilters/subproperty_event_filter - * Example: properties/123/subpropertyEventFilters/456 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Resource name of the subproperty event filter to lookup. - * Format: - * properties/property_id/subpropertyEventFilters/subproperty_event_filter - * Example: properties/123/subpropertyEventFilters/456 - * Please see {@see AnalyticsAdminServiceClient::subpropertyEventFilterName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetSubpropertyEventFilterRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Resource name of the subproperty event filter to lookup. - * Format: - * properties/property_id/subpropertyEventFilters/subproperty_event_filter - * Example: properties/123/subpropertyEventFilters/456 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Resource name of the subproperty event filter to lookup. - * Format: - * properties/property_id/subpropertyEventFilters/subproperty_event_filter - * Example: properties/123/subpropertyEventFilters/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. Resource name of the subproperty event filter to lookup. - * Format: - * properties/property_id/subpropertyEventFilters/subproperty_event_filter - * Example: properties/123/subpropertyEventFilters/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertySyncConfigRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertySyncConfigRequest.php deleted file mode 100644 index 8551055904e6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GetSubpropertySyncConfigRequest.php +++ /dev/null @@ -1,96 +0,0 @@ -google.analytics.admin.v1alpha.GetSubpropertySyncConfigRequest - */ -class GetSubpropertySyncConfigRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Resource name of the SubpropertySyncConfig to lookup. - * Format: - * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} - * Example: properties/1234/subpropertySyncConfigs/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Resource name of the SubpropertySyncConfig to lookup. - * Format: - * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} - * Example: properties/1234/subpropertySyncConfigs/5678 - * Please see {@see AnalyticsAdminServiceClient::subpropertySyncConfigName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\GetSubpropertySyncConfigRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Resource name of the SubpropertySyncConfig to lookup. - * Format: - * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} - * Example: properties/1234/subpropertySyncConfigs/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Resource name of the SubpropertySyncConfig to lookup. - * Format: - * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} - * Example: properties/1234/subpropertySyncConfigs/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. Resource name of the SubpropertySyncConfig to lookup. - * Format: - * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} - * Example: properties/1234/subpropertySyncConfigs/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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GlobalSiteTag.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GlobalSiteTag.php deleted file mode 100644 index 2cef2fb201af..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GlobalSiteTag.php +++ /dev/null @@ -1,114 +0,0 @@ -google.analytics.admin.v1alpha.GlobalSiteTag - */ -class GlobalSiteTag extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Resource name for this GlobalSiteTag resource. - * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag - * Example: "properties/123/dataStreams/456/globalSiteTag" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * 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]; - */ - protected $snippet = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. Resource name for this GlobalSiteTag resource. - * 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. Resource name for this GlobalSiteTag resource. - * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag - * Example: "properties/123/dataStreams/456/globalSiteTag" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Resource name for this GlobalSiteTag resource. - * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag - * Example: "properties/123/dataStreams/456/globalSiteTag" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * 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 - */ - public function getSnippet() - { - return $this->snippet; - } - - /** - * 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 - * @return $this - */ - public function setSnippet($var) - { - GPBUtil::checkString($var, True); - $this->snippet = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleAdsLink.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleAdsLink.php deleted file mode 100644 index cb1b0c5bc3c5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleAdsLink.php +++ /dev/null @@ -1,358 +0,0 @@ -google.analytics.admin.v1alpha.GoogleAdsLink - */ -class GoogleAdsLink extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. 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) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Immutable. Google Ads customer ID. - * - * Generated from protobuf field string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $customer_id = ''; - /** - * Output only. If true, this link is for a Google Ads manager account. - * - * Generated from protobuf field bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $can_manage_clients = false; - /** - * Enable personalized advertising features with this integration. - * Automatically publish my Google Analytics audience lists and Google - * Analytics remarketing events/parameters to the linked Google Ads account. - * If this field is not set on create/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; - */ - protected $ads_personalization_enabled = null; - /** - * Output only. Time when this link was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Time when this link was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Output only. Email address of the user that created the link. - * An empty string will be returned if the email address can't be retrieved. - * - * Generated from protobuf field string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $creator_email_address = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. Format: - * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} - * Note: googleAdsLinkId is not the Google Ads customer ID. - * @type string $customer_id - * Immutable. Google Ads customer ID. - * @type bool $can_manage_clients - * Output only. If true, this link is for a Google Ads manager account. - * @type \Google\Protobuf\BoolValue $ads_personalization_enabled - * Enable personalized advertising features with this integration. - * Automatically publish my Google Analytics audience lists and Google - * Analytics remarketing events/parameters to the linked Google Ads account. - * If this field is not set on create/update, it will be defaulted to true. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when this link was originally created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Time when this link was last updated. - * @type string $creator_email_address - * Output only. Email address of the user that created the link. - * An empty string will be returned if the email address can't be retrieved. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. 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) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. 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) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Immutable. Google Ads customer ID. - * - * Generated from protobuf field string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Immutable. Google Ads customer ID. - * - * Generated from protobuf field string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Output only. If true, this link is for a Google Ads manager account. - * - * Generated from protobuf field bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getCanManageClients() - { - return $this->can_manage_clients; - } - - /** - * Output only. If true, this link is for a Google Ads manager account. - * - * Generated from protobuf field bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setCanManageClients($var) - { - GPBUtil::checkBool($var); - $this->can_manage_clients = $var; - - return $this; - } - - /** - * Enable personalized advertising features with this integration. - * Automatically publish my Google Analytics audience lists and Google - * Analytics remarketing events/parameters to the linked Google Ads account. - * If this field is not set on create/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; - * @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() - - * Enable personalized advertising features with this integration. - * Automatically publish my Google Analytics audience lists and Google - * Analytics remarketing events/parameters to the linked Google Ads account. - * If this field is not set on create/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; - * @return bool|null - */ - public function getAdsPersonalizationEnabledUnwrapped() - { - return $this->readWrapperValue("ads_personalization_enabled"); - } - - /** - * Enable personalized advertising features with this integration. - * Automatically publish my Google Analytics audience lists and Google - * Analytics remarketing events/parameters to the linked Google Ads account. - * If this field is not set on create/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; - * @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. - - * Enable personalized advertising features with this integration. - * Automatically publish my Google Analytics audience lists and Google - * Analytics remarketing events/parameters to the linked Google Ads account. - * If this field is not set on create/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; - * @param bool|null $var - * @return $this - */ - public function setAdsPersonalizationEnabledUnwrapped($var) - { - $this->writeWrapperValue("ads_personalization_enabled", $var); - return $this;} - - /** - * Output only. Time when this link was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.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 this link was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.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; - } - - /** - * Output only. Time when this link was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Time when this link was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Output only. Email address of the user that created the link. - * An empty string will be returned if the email address can't be retrieved. - * - * Generated from protobuf field string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCreatorEmailAddress() - { - return $this->creator_email_address; - } - - /** - * Output only. Email address of the user that created the link. - * An empty string will be returned if the email address can't be retrieved. - * - * Generated from protobuf field string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCreatorEmailAddress($var) - { - GPBUtil::checkString($var, True); - $this->creator_email_address = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsConsent.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsConsent.php deleted file mode 100644 index 025db1938708..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsConsent.php +++ /dev/null @@ -1,63 +0,0 @@ -google.analytics.admin.v1alpha.GoogleSignalsConsent - */ -class GoogleSignalsConsent -{ - /** - * Google Signals consent value defaults to - * GOOGLE_SIGNALS_CONSENT_UNSPECIFIED. This will be treated as - * GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED. - * - * Generated from protobuf enum GOOGLE_SIGNALS_CONSENT_UNSPECIFIED = 0; - */ - const GOOGLE_SIGNALS_CONSENT_UNSPECIFIED = 0; - /** - * Terms of service have been accepted - * - * Generated from protobuf enum GOOGLE_SIGNALS_CONSENT_CONSENTED = 2; - */ - const GOOGLE_SIGNALS_CONSENT_CONSENTED = 2; - /** - * Terms of service have not been accepted - * - * Generated from protobuf enum GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED = 1; - */ - const GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED = 1; - - private static $valueToName = [ - self::GOOGLE_SIGNALS_CONSENT_UNSPECIFIED => 'GOOGLE_SIGNALS_CONSENT_UNSPECIFIED', - self::GOOGLE_SIGNALS_CONSENT_CONSENTED => 'GOOGLE_SIGNALS_CONSENT_CONSENTED', - self::GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED => 'GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsSettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsSettings.php deleted file mode 100644 index c088c7b4524b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsSettings.php +++ /dev/null @@ -1,143 +0,0 @@ -google.analytics.admin.v1alpha.GoogleSignalsSettings - */ -class GoogleSignalsSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of this setting. - * Format: properties/{property_id}/googleSignalsSettings - * Example: "properties/1000/googleSignalsSettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Status of this setting. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - */ - protected $state = 0; - /** - * Output only. Terms of Service acceptance. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $consent = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of this setting. - * Format: properties/{property_id}/googleSignalsSettings - * Example: "properties/1000/googleSignalsSettings" - * @type int $state - * Status of this setting. - * @type int $consent - * Output only. Terms of Service acceptance. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of this setting. - * Format: properties/{property_id}/googleSignalsSettings - * Example: "properties/1000/googleSignalsSettings" - * - * 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 setting. - * Format: properties/{property_id}/googleSignalsSettings - * Example: "properties/1000/googleSignalsSettings" - * - * 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; - } - - /** - * Status of this setting. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * @return int - */ - public function getState() - { - return $this->state; - } - - /** - * Status of this setting. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsState state = 3; - * @param int $var - * @return $this - */ - public function setState($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\GoogleSignalsState::class); - $this->state = $var; - - return $this; - } - - /** - * Output only. Terms of Service acceptance. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getConsent() - { - return $this->consent; - } - - /** - * Output only. Terms of Service acceptance. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsConsent consent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setConsent($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\GoogleSignalsConsent::class); - $this->consent = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsState.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsState.php deleted file mode 100644 index 1e9442bfdf87..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GoogleSignalsState.php +++ /dev/null @@ -1,62 +0,0 @@ -google.analytics.admin.v1alpha.GoogleSignalsState - */ -class GoogleSignalsState -{ - /** - * Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to - * represent that the user has not made an explicit choice. - * - * Generated from protobuf enum GOOGLE_SIGNALS_STATE_UNSPECIFIED = 0; - */ - const GOOGLE_SIGNALS_STATE_UNSPECIFIED = 0; - /** - * Google Signals is enabled. - * - * Generated from protobuf enum GOOGLE_SIGNALS_ENABLED = 1; - */ - const GOOGLE_SIGNALS_ENABLED = 1; - /** - * Google Signals is disabled. - * - * Generated from protobuf enum GOOGLE_SIGNALS_DISABLED = 2; - */ - const GOOGLE_SIGNALS_DISABLED = 2; - - private static $valueToName = [ - self::GOOGLE_SIGNALS_STATE_UNSPECIFIED => 'GOOGLE_SIGNALS_STATE_UNSPECIFIED', - self::GOOGLE_SIGNALS_ENABLED => 'GOOGLE_SIGNALS_ENABLED', - self::GOOGLE_SIGNALS_DISABLED => 'GOOGLE_SIGNALS_DISABLED', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GroupingRule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GroupingRule.php deleted file mode 100644 index 3e3a918a6f4c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/GroupingRule.php +++ /dev/null @@ -1,111 +0,0 @@ -google.analytics.admin.v1alpha.GroupingRule - */ -class GroupingRule extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Customer defined display name for the channel. - * - * Generated from protobuf field string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Required. The Filter Expression that defines the Grouping Rule. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $expression = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $display_name - * Required. Customer defined display name for the channel. - * @type \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression $expression - * Required. The Filter Expression that defines the Grouping Rule. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\ChannelGroup::initOnce(); - parent::__construct($data); - } - - /** - * Required. Customer defined display name for the channel. - * - * Generated from protobuf field string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. Customer defined display name for the channel. - * - * Generated from protobuf field string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Required. The Filter Expression that defines the Grouping Rule. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression|null - */ - public function getExpression() - { - return $this->expression; - } - - public function hasExpression() - { - return isset($this->expression); - } - - public function clearExpression() - { - unset($this->expression); - } - - /** - * Required. The Filter Expression that defines the Grouping Rule. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression $var - * @return $this - */ - public function setExpression($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression::class); - $this->expression = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/IndustryCategory.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/IndustryCategory.php deleted file mode 100644 index fd5a44904895..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/IndustryCategory.php +++ /dev/null @@ -1,229 +0,0 @@ -google.analytics.admin.v1alpha.IndustryCategory - */ -class IndustryCategory -{ - /** - * Industry category unspecified - * - * Generated from protobuf enum INDUSTRY_CATEGORY_UNSPECIFIED = 0; - */ - const INDUSTRY_CATEGORY_UNSPECIFIED = 0; - /** - * Automotive - * - * Generated from protobuf enum AUTOMOTIVE = 1; - */ - const AUTOMOTIVE = 1; - /** - * Business and industrial markets - * - * Generated from protobuf enum BUSINESS_AND_INDUSTRIAL_MARKETS = 2; - */ - const BUSINESS_AND_INDUSTRIAL_MARKETS = 2; - /** - * Finance - * - * Generated from protobuf enum FINANCE = 3; - */ - const FINANCE = 3; - /** - * Healthcare - * - * Generated from protobuf enum HEALTHCARE = 4; - */ - const HEALTHCARE = 4; - /** - * Technology - * - * Generated from protobuf enum TECHNOLOGY = 5; - */ - const TECHNOLOGY = 5; - /** - * Travel - * - * Generated from protobuf enum TRAVEL = 6; - */ - const TRAVEL = 6; - /** - * Other - * - * Generated from protobuf enum OTHER = 7; - */ - const OTHER = 7; - /** - * Arts and entertainment - * - * Generated from protobuf enum ARTS_AND_ENTERTAINMENT = 8; - */ - const ARTS_AND_ENTERTAINMENT = 8; - /** - * Beauty and fitness - * - * Generated from protobuf enum BEAUTY_AND_FITNESS = 9; - */ - const BEAUTY_AND_FITNESS = 9; - /** - * Books and literature - * - * Generated from protobuf enum BOOKS_AND_LITERATURE = 10; - */ - const BOOKS_AND_LITERATURE = 10; - /** - * Food and drink - * - * Generated from protobuf enum FOOD_AND_DRINK = 11; - */ - const FOOD_AND_DRINK = 11; - /** - * Games - * - * Generated from protobuf enum GAMES = 12; - */ - const GAMES = 12; - /** - * Hobbies and leisure - * - * Generated from protobuf enum HOBBIES_AND_LEISURE = 13; - */ - const HOBBIES_AND_LEISURE = 13; - /** - * Home and garden - * - * Generated from protobuf enum HOME_AND_GARDEN = 14; - */ - const HOME_AND_GARDEN = 14; - /** - * Internet and telecom - * - * Generated from protobuf enum INTERNET_AND_TELECOM = 15; - */ - const INTERNET_AND_TELECOM = 15; - /** - * Law and government - * - * Generated from protobuf enum LAW_AND_GOVERNMENT = 16; - */ - const LAW_AND_GOVERNMENT = 16; - /** - * News - * - * Generated from protobuf enum NEWS = 17; - */ - const NEWS = 17; - /** - * Online communities - * - * Generated from protobuf enum ONLINE_COMMUNITIES = 18; - */ - const ONLINE_COMMUNITIES = 18; - /** - * People and society - * - * Generated from protobuf enum PEOPLE_AND_SOCIETY = 19; - */ - const PEOPLE_AND_SOCIETY = 19; - /** - * Pets and animals - * - * Generated from protobuf enum PETS_AND_ANIMALS = 20; - */ - const PETS_AND_ANIMALS = 20; - /** - * Real estate - * - * Generated from protobuf enum REAL_ESTATE = 21; - */ - const REAL_ESTATE = 21; - /** - * Reference - * - * Generated from protobuf enum REFERENCE = 22; - */ - const REFERENCE = 22; - /** - * Science - * - * Generated from protobuf enum SCIENCE = 23; - */ - const SCIENCE = 23; - /** - * Sports - * - * Generated from protobuf enum SPORTS = 24; - */ - const SPORTS = 24; - /** - * Jobs and education - * - * Generated from protobuf enum JOBS_AND_EDUCATION = 25; - */ - const JOBS_AND_EDUCATION = 25; - /** - * Shopping - * - * Generated from protobuf enum SHOPPING = 26; - */ - const SHOPPING = 26; - - private static $valueToName = [ - self::INDUSTRY_CATEGORY_UNSPECIFIED => 'INDUSTRY_CATEGORY_UNSPECIFIED', - self::AUTOMOTIVE => 'AUTOMOTIVE', - self::BUSINESS_AND_INDUSTRIAL_MARKETS => 'BUSINESS_AND_INDUSTRIAL_MARKETS', - self::FINANCE => 'FINANCE', - self::HEALTHCARE => 'HEALTHCARE', - self::TECHNOLOGY => 'TECHNOLOGY', - self::TRAVEL => 'TRAVEL', - self::OTHER => 'OTHER', - self::ARTS_AND_ENTERTAINMENT => 'ARTS_AND_ENTERTAINMENT', - self::BEAUTY_AND_FITNESS => 'BEAUTY_AND_FITNESS', - self::BOOKS_AND_LITERATURE => 'BOOKS_AND_LITERATURE', - self::FOOD_AND_DRINK => 'FOOD_AND_DRINK', - self::GAMES => 'GAMES', - self::HOBBIES_AND_LEISURE => 'HOBBIES_AND_LEISURE', - self::HOME_AND_GARDEN => 'HOME_AND_GARDEN', - self::INTERNET_AND_TELECOM => 'INTERNET_AND_TELECOM', - self::LAW_AND_GOVERNMENT => 'LAW_AND_GOVERNMENT', - self::NEWS => 'NEWS', - self::ONLINE_COMMUNITIES => 'ONLINE_COMMUNITIES', - self::PEOPLE_AND_SOCIETY => 'PEOPLE_AND_SOCIETY', - self::PETS_AND_ANIMALS => 'PETS_AND_ANIMALS', - self::REAL_ESTATE => 'REAL_ESTATE', - self::REFERENCE => 'REFERENCE', - self::SCIENCE => 'SCIENCE', - self::SPORTS => 'SPORTS', - self::JOBS_AND_EDUCATION => 'JOBS_AND_EDUCATION', - self::SHOPPING => 'SHOPPING', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent.php deleted file mode 100644 index 0315c6542b6e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent.php +++ /dev/null @@ -1,323 +0,0 @@ -google.analytics.admin.v1alpha.KeyEvent - */ -class KeyEvent extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of this key event. - * Format: properties/{property}/keyEvents/{key_event} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Immutable. The event name for this key event. - * Examples: 'click', 'purchase' - * - * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $event_name = ''; - /** - * Output only. Time when this key event was created in the property. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. If set to true, this event can be deleted. - * - * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $deletable = false; - /** - * Output only. If set to true, this key event refers to a custom event. If - * set to false, this key 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 key events that may be created per property. - * - * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $custom = false; - /** - * Required. The method by which Key Events will be counted across multiple - * events within a session. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent.CountingMethod counting_method = 6 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $counting_method = 0; - /** - * Optional. Defines a default value/currency for a key event. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent.DefaultValue default_value = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $default_value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of this key event. - * Format: properties/{property}/keyEvents/{key_event} - * @type string $event_name - * Immutable. The event name for this key event. - * Examples: 'click', 'purchase' - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when this key event was created in the property. - * @type bool $deletable - * Output only. If set to true, this event can be deleted. - * @type bool $custom - * Output only. If set to true, this key event refers to a custom event. If - * set to false, this key 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 key events that may be created per property. - * @type int $counting_method - * Required. The method by which Key Events will be counted across multiple - * events within a session. - * @type \Google\Analytics\Admin\V1alpha\KeyEvent\DefaultValue $default_value - * Optional. Defines a default value/currency for a key event. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of this key event. - * Format: properties/{property}/keyEvents/{key_event} - * - * 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 key event. - * Format: properties/{property}/keyEvents/{key_event} - * - * 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 event name for this key event. - * Examples: 'click', 'purchase' - * - * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getEventName() - { - return $this->event_name; - } - - /** - * Immutable. The event name for this key event. - * Examples: 'click', 'purchase' - * - * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setEventName($var) - { - GPBUtil::checkString($var, True); - $this->event_name = $var; - - return $this; - } - - /** - * Output only. Time when this key event was created in the property. - * - * 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 this key event was created in the property. - * - * 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; - } - - /** - * Output only. If set to true, this event can be deleted. - * - * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getDeletable() - { - return $this->deletable; - } - - /** - * Output only. If set to true, this event can be deleted. - * - * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setDeletable($var) - { - GPBUtil::checkBool($var); - $this->deletable = $var; - - return $this; - } - - /** - * Output only. If set to true, this key event refers to a custom event. If - * set to false, this key 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 key events that may be created per property. - * - * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getCustom() - { - return $this->custom; - } - - /** - * Output only. If set to true, this key event refers to a custom event. If - * set to false, this key 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 key events that may be created per property. - * - * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setCustom($var) - { - GPBUtil::checkBool($var); - $this->custom = $var; - - return $this; - } - - /** - * Required. The method by which Key Events will be counted across multiple - * events within a session. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent.CountingMethod counting_method = 6 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getCountingMethod() - { - return $this->counting_method; - } - - /** - * Required. The method by which Key Events will be counted across multiple - * events within a session. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent.CountingMethod counting_method = 6 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setCountingMethod($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\KeyEvent\CountingMethod::class); - $this->counting_method = $var; - - return $this; - } - - /** - * Optional. Defines a default value/currency for a key event. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent.DefaultValue default_value = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Analytics\Admin\V1alpha\KeyEvent\DefaultValue|null - */ - public function getDefaultValue() - { - return $this->default_value; - } - - public function hasDefaultValue() - { - return isset($this->default_value); - } - - public function clearDefaultValue() - { - unset($this->default_value); - } - - /** - * Optional. Defines a default value/currency for a key event. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent.DefaultValue default_value = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Analytics\Admin\V1alpha\KeyEvent\DefaultValue $var - * @return $this - */ - public function setDefaultValue($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\KeyEvent\DefaultValue::class); - $this->default_value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/CountingMethod.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/CountingMethod.php deleted file mode 100644 index 7a4bfc1b30b9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/CountingMethod.php +++ /dev/null @@ -1,63 +0,0 @@ -google.analytics.admin.v1alpha.KeyEvent.CountingMethod - */ -class CountingMethod -{ - /** - * Counting method not specified. - * - * Generated from protobuf enum COUNTING_METHOD_UNSPECIFIED = 0; - */ - const COUNTING_METHOD_UNSPECIFIED = 0; - /** - * Each Event instance is considered a Key Event. - * - * Generated from protobuf enum ONCE_PER_EVENT = 1; - */ - const ONCE_PER_EVENT = 1; - /** - * An Event instance is considered a Key Event at most once per session per - * user. - * - * Generated from protobuf enum ONCE_PER_SESSION = 2; - */ - const ONCE_PER_SESSION = 2; - - private static $valueToName = [ - self::COUNTING_METHOD_UNSPECIFIED => 'COUNTING_METHOD_UNSPECIFIED', - self::ONCE_PER_EVENT => 'ONCE_PER_EVENT', - self::ONCE_PER_SESSION => 'ONCE_PER_SESSION', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/DefaultValue.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/DefaultValue.php deleted file mode 100644 index 2d37c8396548..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/KeyEvent/DefaultValue.php +++ /dev/null @@ -1,121 +0,0 @@ -google.analytics.admin.v1alpha.KeyEvent.DefaultValue - */ -class DefaultValue extends \Google\Protobuf\Internal\Message -{ - /** - * Required. This will be used to populate the "value" parameter for all - * occurrences of this Key Event (specified by event_name) where that - * parameter is unset. - * - * Generated from protobuf field double numeric_value = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $numeric_value = 0.0; - /** - * Required. When an occurrence of this Key Event (specified by event_name) - * has no set currency this currency will be applied as the default. Must be - * in ISO 4217 currency code format. - * See https://en.wikipedia.org/wiki/ISO_4217 for more information. - * - * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $currency_code = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $numeric_value - * Required. This will be used to populate the "value" parameter for all - * occurrences of this Key Event (specified by event_name) where that - * parameter is unset. - * @type string $currency_code - * Required. When an occurrence of this Key Event (specified by event_name) - * has no set currency this currency will be applied as the default. Must be - * in ISO 4217 currency code format. - * See https://en.wikipedia.org/wiki/ISO_4217 for more information. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Required. This will be used to populate the "value" parameter for all - * occurrences of this Key Event (specified by event_name) where that - * parameter is unset. - * - * Generated from protobuf field double numeric_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return float - */ - public function getNumericValue() - { - return $this->numeric_value; - } - - /** - * Required. This will be used to populate the "value" parameter for all - * occurrences of this Key Event (specified by event_name) where that - * parameter is unset. - * - * Generated from protobuf field double numeric_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param float $var - * @return $this - */ - public function setNumericValue($var) - { - GPBUtil::checkDouble($var); - $this->numeric_value = $var; - - return $this; - } - - /** - * Required. When an occurrence of this Key Event (specified by event_name) - * has no set currency this currency will be applied as the default. Must be - * in ISO 4217 currency code format. - * See https://en.wikipedia.org/wiki/ISO_4217 for more information. - * - * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCurrencyCode() - { - return $this->currency_code; - } - - /** - * Required. When an occurrence of this Key Event (specified by event_name) - * has no set currency this currency will be applied as the default. Must be - * in ISO 4217 currency code format. - * See https://en.wikipedia.org/wiki/ISO_4217 for more information. - * - * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalInitiatingProduct.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalInitiatingProduct.php deleted file mode 100644 index 19dac5a16098..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalInitiatingProduct.php +++ /dev/null @@ -1,62 +0,0 @@ -google.analytics.admin.v1alpha.LinkProposalInitiatingProduct - */ -class LinkProposalInitiatingProduct -{ - /** - * Unspecified product. - * - * Generated from protobuf enum LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED = 0; - */ - const LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED = 0; - /** - * This proposal was created by a user from Google Analytics. - * - * Generated from protobuf enum GOOGLE_ANALYTICS = 1; - */ - const GOOGLE_ANALYTICS = 1; - /** - * This proposal was created by a user from a linked product (not Google - * Analytics). - * - * Generated from protobuf enum LINKED_PRODUCT = 2; - */ - const LINKED_PRODUCT = 2; - - private static $valueToName = [ - self::LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED => 'LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED', - self::GOOGLE_ANALYTICS => 'GOOGLE_ANALYTICS', - self::LINKED_PRODUCT => 'LINKED_PRODUCT', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalState.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalState.php deleted file mode 100644 index 5143339967af..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalState.php +++ /dev/null @@ -1,97 +0,0 @@ -google.analytics.admin.v1alpha.LinkProposalState - */ -class LinkProposalState -{ - /** - * Unspecified state - * - * Generated from protobuf enum LINK_PROPOSAL_STATE_UNSPECIFIED = 0; - */ - const LINK_PROPOSAL_STATE_UNSPECIFIED = 0; - /** - * This proposal is awaiting review from a Google Analytics user. This - * proposal will automatically expire after some time. - * - * Generated from protobuf enum AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS = 1; - */ - const AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS = 1; - /** - * This proposal is awaiting review from a user of a linked product. This - * proposal will automatically expire after some time. - * - * Generated from protobuf enum AWAITING_REVIEW_FROM_LINKED_PRODUCT = 2; - */ - const AWAITING_REVIEW_FROM_LINKED_PRODUCT = 2; - /** - * This proposal has been withdrawn by an admin on the initiating product. - * This proposal will be automatically deleted after some time. - * - * Generated from protobuf enum WITHDRAWN = 3; - */ - const WITHDRAWN = 3; - /** - * This proposal has been declined by an admin on the receiving product. This - * proposal will be automatically deleted after some time. - * - * Generated from protobuf enum DECLINED = 4; - */ - const DECLINED = 4; - /** - * This proposal expired due to lack of response from an admin on the - * receiving product. This proposal will be automatically deleted after some - * time. - * - * Generated from protobuf enum EXPIRED = 5; - */ - const EXPIRED = 5; - /** - * This proposal has become obsolete because a link was directly created to - * the same external product resource that this proposal specifies. This - * proposal will be automatically deleted after some time. - * - * Generated from protobuf enum OBSOLETE = 6; - */ - const OBSOLETE = 6; - - private static $valueToName = [ - self::LINK_PROPOSAL_STATE_UNSPECIFIED => 'LINK_PROPOSAL_STATE_UNSPECIFIED', - self::AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS => 'AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS', - self::AWAITING_REVIEW_FROM_LINKED_PRODUCT => 'AWAITING_REVIEW_FROM_LINKED_PRODUCT', - self::WITHDRAWN => 'WITHDRAWN', - self::DECLINED => 'DECLINED', - self::EXPIRED => 'EXPIRED', - self::OBSOLETE => 'OBSOLETE', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalStatusDetails.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalStatusDetails.php deleted file mode 100644 index 4a1f4a02faa3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/LinkProposalStatusDetails.php +++ /dev/null @@ -1,135 +0,0 @@ -google.analytics.admin.v1alpha.LinkProposalStatusDetails - */ -class LinkProposalStatusDetails extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The source of this proposal. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $link_proposal_initiating_product = 0; - /** - * Output only. The email address of the user that proposed this linkage. - * - * Generated from protobuf field string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $requestor_email = ''; - /** - * Output only. The state of this proposal. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $link_proposal_state = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $link_proposal_initiating_product - * Output only. The source of this proposal. - * @type string $requestor_email - * Output only. The email address of the user that proposed this linkage. - * @type int $link_proposal_state - * Output only. The state of this proposal. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The source of this proposal. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getLinkProposalInitiatingProduct() - { - return $this->link_proposal_initiating_product; - } - - /** - * Output only. The source of this proposal. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalInitiatingProduct link_proposal_initiating_product = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setLinkProposalInitiatingProduct($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\LinkProposalInitiatingProduct::class); - $this->link_proposal_initiating_product = $var; - - return $this; - } - - /** - * Output only. The email address of the user that proposed this linkage. - * - * Generated from protobuf field string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getRequestorEmail() - { - return $this->requestor_email; - } - - /** - * Output only. The email address of the user that proposed this linkage. - * - * Generated from protobuf field string requestor_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setRequestorEmail($var) - { - GPBUtil::checkString($var, True); - $this->requestor_email = $var; - - return $this; - } - - /** - * Output only. The state of this proposal. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getLinkProposalState() - { - return $this->link_proposal_state; - } - - /** - * Output only. The state of this proposal. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.LinkProposalState link_proposal_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setLinkProposalState($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\LinkProposalState::class); - $this->link_proposal_state = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsRequest.php deleted file mode 100644 index 9c1705655ee5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsRequest.php +++ /dev/null @@ -1,183 +0,0 @@ -google.analytics.admin.v1alpha.ListAccessBindingsRequest - */ -class ListAccessBindingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Formats: - * - accounts/{account} - * - properties/{property} - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * The maximum number of access bindings to return. - * The service may return fewer than this value. - * If unspecified, at most 200 access bindings will be returned. - * The maximum value is 500; values above 500 will be coerced to 500. - * - * Generated from protobuf field int32 page_size = 2; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListAccessBindings` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccessBindings` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Formats: - * - accounts/{account} - * - properties/{property} - * Please see {@see AnalyticsAdminServiceClient::accountName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListAccessBindingsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Formats: - * - accounts/{account} - * - properties/{property} - * @type int $page_size - * The maximum number of access bindings to return. - * The service may return fewer than this value. - * If unspecified, at most 200 access bindings will be returned. - * The maximum value is 500; values above 500 will be coerced to 500. - * @type string $page_token - * A page token, received from a previous `ListAccessBindings` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccessBindings` 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. Formats: - * - accounts/{account} - * - properties/{property} - * - * 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. Formats: - * - accounts/{account} - * - properties/{property} - * - * 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 access bindings to return. - * The service may return fewer than this value. - * If unspecified, at most 200 access bindings will be returned. - * The maximum value is 500; values above 500 will be coerced to 500. - * - * Generated from protobuf field int32 page_size = 2; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * The maximum number of access bindings to return. - * The service may return fewer than this value. - * If unspecified, at most 200 access bindings will be returned. - * The maximum value is 500; values above 500 will be coerced to 500. - * - * 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 `ListAccessBindings` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccessBindings` 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 `ListAccessBindings` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccessBindings` 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsResponse.php deleted file mode 100644 index 4399ac5049a5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccessBindingsResponse.php +++ /dev/null @@ -1,109 +0,0 @@ -google.analytics.admin.v1alpha.ListAccessBindingsResponse - */ -class ListAccessBindingsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of AccessBindings. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; - */ - private $access_bindings; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AccessBinding[] $access_bindings - * List of AccessBindings. These will be ordered stably, but in an arbitrary - * order. - * @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 AccessBindings. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessBinding> - */ - public function getAccessBindings() - { - return $this->access_bindings; - } - - /** - * List of AccessBindings. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; - * @param \Google\Analytics\Admin\V1alpha\AccessBinding[] $var - * @return $this - */ - public function setAccessBindings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessBinding::class); - $this->access_bindings = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesRequest.php deleted file mode 100644 index 78d49bf9c0b4..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesRequest.php +++ /dev/null @@ -1,125 +0,0 @@ -google.analytics.admin.v1alpha.ListAccountSummariesRequest - */ -class ListAccountSummariesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. The maximum number of AccountSummary 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 = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous `ListAccountSummaries` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListAccountSummaries` must match the call - * that provided the page token. - * - * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $page_size - * Optional. The maximum number of AccountSummary 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 - * Optional. A page token, received from a previous `ListAccountSummaries` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListAccountSummaries` must match the call - * that provided the page token. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Optional. The maximum number of AccountSummary 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 = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. The maximum number of AccountSummary 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 = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous `ListAccountSummaries` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListAccountSummaries` must match the call - * that provided the page token. - * - * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous `ListAccountSummaries` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListAccountSummaries` must match the call - * that provided the page token. - * - * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesResponse.php deleted file mode 100644 index 57ce358c7e25..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountSummariesResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListAccountSummariesResponse - */ -class ListAccountSummariesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Account summaries of all accounts the caller has access to. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; - */ - private $account_summaries; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AccountSummary[] $account_summaries - * Account summaries of all accounts the caller has access to. - * @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); - } - - /** - * Account summaries of all accounts the caller has access to. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccountSummary> - */ - public function getAccountSummaries() - { - return $this->account_summaries; - } - - /** - * Account summaries of all accounts the caller has access to. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccountSummary account_summaries = 1; - * @param \Google\Analytics\Admin\V1alpha\AccountSummary[] $var - * @return $this - */ - public function setAccountSummaries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccountSummary::class); - $this->account_summaries = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsRequest.php deleted file mode 100644 index cc735e534e71..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsRequest.php +++ /dev/null @@ -1,167 +0,0 @@ -google.analytics.admin.v1alpha.ListAccountsRequest - */ -class ListAccountsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. 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 = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous `ListAccounts` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccounts` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - /** - * Whether to include soft-deleted (ie: "trashed") Accounts in the - * results. Accounts can be inspected to determine whether they are deleted or - * not. - * - * Generated from protobuf field bool show_deleted = 3; - */ - protected $show_deleted = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $page_size - * Optional. 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 - * Optional. A page token, received from a previous `ListAccounts` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccounts` must - * match the call that provided the page token. - * @type bool $show_deleted - * Whether to include soft-deleted (ie: "trashed") Accounts in the - * results. Accounts can be inspected to determine whether they are deleted or - * not. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Optional. 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 = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. 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 = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous `ListAccounts` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccounts` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous `ListAccounts` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccounts` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - - /** - * Whether to include soft-deleted (ie: "trashed") Accounts in the - * results. Accounts can be inspected to determine whether they are deleted or - * not. - * - * Generated from protobuf field bool show_deleted = 3; - * @return bool - */ - public function getShowDeleted() - { - return $this->show_deleted; - } - - /** - * Whether to include soft-deleted (ie: "trashed") Accounts in the - * results. Accounts can be inspected to determine whether they are deleted or - * not. - * - * Generated from protobuf field bool show_deleted = 3; - * @param bool $var - * @return $this - */ - public function setShowDeleted($var) - { - GPBUtil::checkBool($var); - $this->show_deleted = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsResponse.php deleted file mode 100644 index 1047ec386cfd..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAccountsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListAccountsResponse - */ -class ListAccountsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Results that were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Account accounts = 1; - */ - private $accounts; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\Account[] $accounts - * Results that were accessible to the caller. - * @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); - } - - /** - * Results that were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Account accounts = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\Account> - */ - public function getAccounts() - { - return $this->accounts; - } - - /** - * Results that were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Account accounts = 1; - * @param \Google\Analytics\Admin\V1alpha\Account[] $var - * @return $this - */ - public function setAccounts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\Account::class); - $this->accounts = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksRequest.php deleted file mode 100644 index b61e4ed35483..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksRequest.php +++ /dev/null @@ -1,179 +0,0 @@ -google.analytics.admin.v1alpha.ListAdSenseLinksRequest - */ -class ListAdSenseLinksRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Resource name of the parent property. - * Format: properties/{propertyId} - * Example: properties/1234 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token received from a previous `ListAdSenseLinks` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAdSenseLinks` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Resource name of the parent property. - * Format: properties/{propertyId} - * Example: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListAdSenseLinksRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Resource name of the parent property. - * Format: properties/{propertyId} - * Example: 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 `ListAdSenseLinks` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAdSenseLinks` 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. Resource name of the parent property. - * Format: properties/{propertyId} - * 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. Resource name of the parent property. - * Format: properties/{propertyId} - * 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. - * 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 `ListAdSenseLinks` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAdSenseLinks` 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 `ListAdSenseLinks` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAdSenseLinks` 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksResponse.php deleted file mode 100644 index 524a0db351ef..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAdSenseLinksResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListAdSenseLinksResponse - */ -class ListAdSenseLinksResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of AdSenseLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1; - */ - private $adsense_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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AdSenseLink[] $adsense_links - * List of AdSenseLinks. - * @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 AdSenseLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AdSenseLink> - */ - public function getAdsenseLinks() - { - return $this->adsense_links; - } - - /** - * List of AdSenseLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1; - * @param \Google\Analytics\Admin\V1alpha\AdSenseLink[] $var - * @return $this - */ - public function setAdsenseLinks($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AdSenseLink::class); - $this->adsense_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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesRequest.php deleted file mode 100644 index 70102893001c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.analytics.admin.v1alpha.ListAudiencesRequest - */ -class ListAudiencesRequest 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) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListAudiences` call. Provide this - * to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAudiences` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListAudiencesRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * 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 `ListAudiences` call. Provide this - * to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAudiences` 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 `ListAudiences` call. Provide this - * to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAudiences` 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 `ListAudiences` call. Provide this - * to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAudiences` 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesResponse.php deleted file mode 100644 index aaa74563e291..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListAudiencesResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListAudiencesResponse - */ -class ListAudiencesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of Audiences. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Audience audiences = 1; - */ - private $audiences; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\Audience[] $audiences - * List of Audiences. - * @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 Audiences. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Audience audiences = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\Audience> - */ - public function getAudiences() - { - return $this->audiences; - } - - /** - * List of Audiences. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Audience audiences = 1; - * @param \Google\Analytics\Admin\V1alpha\Audience[] $var - * @return $this - */ - public function setAudiences($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\Audience::class); - $this->audiences = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksRequest.php deleted file mode 100644 index f82b992164e1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksRequest.php +++ /dev/null @@ -1,183 +0,0 @@ -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) = { - */ - protected $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; - */ - protected $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; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. The name of the property to list BigQuery links under. - * Format: properties/{property_id} - * Example: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListBigQueryLinksRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksResponse.php deleted file mode 100644 index 9c2dc6808b93..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListBigQueryLinksResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\BigQueryLink[] $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 RepeatedField<\Google\Analytics\Admin\V1alpha\BigQueryLink> - */ - public function getBigqueryLinks() - { - return $this->bigquery_links; - } - - /** - * List of BigQueryLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1; - * @param \Google\Analytics\Admin\V1alpha\BigQueryLink[] $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsRequest.php deleted file mode 100644 index d0b1ad92066a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.analytics.admin.v1alpha.ListCalculatedMetricsRequest - */ -class ListCalculatedMetricsRequest 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) = { - */ - protected $parent = ''; - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous `ListCalculatedMetrics` - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCalculatedMetrics` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListCalculatedMetricsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type int $page_size - * Optional. 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 - * Optional. A page token, received from a previous `ListCalculatedMetrics` - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCalculatedMetrics` - * 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; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous `ListCalculatedMetrics` - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCalculatedMetrics` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous `ListCalculatedMetrics` - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCalculatedMetrics` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsResponse.php deleted file mode 100644 index d3bcfd46ff30..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCalculatedMetricsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListCalculatedMetricsResponse - */ -class ListCalculatedMetricsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of CalculatedMetrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1; - */ - private $calculated_metrics; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\CalculatedMetric[] $calculated_metrics - * List of CalculatedMetrics. - * @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 CalculatedMetrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\CalculatedMetric> - */ - public function getCalculatedMetrics() - { - return $this->calculated_metrics; - } - - /** - * List of CalculatedMetrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CalculatedMetric calculated_metrics = 1; - * @param \Google\Analytics\Admin\V1alpha\CalculatedMetric[] $var - * @return $this - */ - public function setCalculatedMetrics($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\CalculatedMetric::class); - $this->calculated_metrics = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsRequest.php deleted file mode 100644 index e2ea9f4d1326..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsRequest.php +++ /dev/null @@ -1,174 +0,0 @@ -google.analytics.admin.v1alpha.ListChannelGroupsRequest - */ -class ListChannelGroupsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The property for which to list ChannelGroups. - * Example format: properties/1234 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListChannelGroups` call. Provide - * this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListChannelGroups` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. The property for which to list ChannelGroups. - * Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListChannelGroupsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The property for which to list ChannelGroups. - * 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 `ListChannelGroups` call. Provide - * this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListChannelGroups` - * 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 property for which to list ChannelGroups. - * 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. The property for which to list ChannelGroups. - * 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 `ListChannelGroups` call. Provide - * this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListChannelGroups` - * 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 `ListChannelGroups` call. Provide - * this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListChannelGroups` - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsResponse.php deleted file mode 100644 index 83d530bd8874..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListChannelGroupsResponse.php +++ /dev/null @@ -1,109 +0,0 @@ -google.analytics.admin.v1alpha.ListChannelGroupsResponse - */ -class ListChannelGroupsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of ChannelGroup. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1; - */ - private $channel_groups; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\ChannelGroup[] $channel_groups - * List of ChannelGroup. These will be ordered stably, but in an arbitrary - * order. - * @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 ChannelGroup. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ChannelGroup> - */ - public function getChannelGroups() - { - return $this->channel_groups; - } - - /** - * List of ChannelGroup. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1; - * @param \Google\Analytics\Admin\V1alpha\ChannelGroup[] $var - * @return $this - */ - public function setChannelGroups($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ChannelGroup::class); - $this->channel_groups = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsRequest.php deleted file mode 100644 index 432b63275fa1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsRequest.php +++ /dev/null @@ -1,174 +0,0 @@ -google.analytics.admin.v1alpha.ListConversionEventsRequest - */ -class ListConversionEventsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the parent property. - * Example: 'properties/123' - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous `ListConversionEvents` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListConversionEvents` must match the call - * that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. The resource name of the parent property. - * Example: 'properties/123' - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListConversionEventsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the parent property. - * Example: 'properties/123' - * @type int $page_size - * Optional. 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 - * Optional. A page token, received from a previous `ListConversionEvents` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListConversionEvents` 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 resource name of the parent property. - * Example: 'properties/123' - * - * 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 resource name of the parent property. - * Example: 'properties/123' - * - * 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; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous `ListConversionEvents` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListConversionEvents` must match the call - * that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous `ListConversionEvents` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListConversionEvents` must match the call - * that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsResponse.php deleted file mode 100644 index b9ad5221bc2e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListConversionEventsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListConversionEventsResponse - */ -class ListConversionEventsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The requested conversion events - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; - */ - private $conversion_events; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\ConversionEvent[] $conversion_events - * The requested conversion events - * @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); - } - - /** - * The requested conversion events - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ConversionEvent> - */ - public function getConversionEvents() - { - return $this->conversion_events; - } - - /** - * The requested conversion events - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConversionEvent conversion_events = 1; - * @param \Google\Analytics\Admin\V1alpha\ConversionEvent[] $var - * @return $this - */ - public function setConversionEvents($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ConversionEvent::class); - $this->conversion_events = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsRequest.php deleted file mode 100644 index 91ab341e8a82..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.analytics.admin.v1alpha.ListCustomDimensionsRequest - */ -class ListCustomDimensionsRequest 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) = { - */ - protected $parent = ''; - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous `ListCustomDimensions` - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomDimensions` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListCustomDimensionsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type int $page_size - * Optional. 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 - * Optional. A page token, received from a previous `ListCustomDimensions` - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomDimensions` - * 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; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous `ListCustomDimensions` - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomDimensions` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous `ListCustomDimensions` - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomDimensions` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsResponse.php deleted file mode 100644 index 2446149d02c9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomDimensionsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListCustomDimensionsResponse - */ -class ListCustomDimensionsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of CustomDimensions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; - */ - private $custom_dimensions; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\CustomDimension[] $custom_dimensions - * List of CustomDimensions. - * @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 CustomDimensions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\CustomDimension> - */ - public function getCustomDimensions() - { - return $this->custom_dimensions; - } - - /** - * List of CustomDimensions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomDimension custom_dimensions = 1; - * @param \Google\Analytics\Admin\V1alpha\CustomDimension[] $var - * @return $this - */ - public function setCustomDimensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\CustomDimension::class); - $this->custom_dimensions = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsRequest.php deleted file mode 100644 index 1e344ee9de92..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.analytics.admin.v1alpha.ListCustomMetricsRequest - */ -class ListCustomMetricsRequest 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) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListCustomMetrics` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomMetrics` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListCustomMetricsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * 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 `ListCustomMetrics` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomMetrics` 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 `ListCustomMetrics` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomMetrics` 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 `ListCustomMetrics` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomMetrics` 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsResponse.php deleted file mode 100644 index d35f572350bd..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListCustomMetricsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListCustomMetricsResponse - */ -class ListCustomMetricsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of CustomMetrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; - */ - private $custom_metrics; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\CustomMetric[] $custom_metrics - * List of CustomMetrics. - * @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 CustomMetrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\CustomMetric> - */ - public function getCustomMetrics() - { - return $this->custom_metrics; - } - - /** - * List of CustomMetrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomMetric custom_metrics = 1; - * @param \Google\Analytics\Admin\V1alpha\CustomMetric[] $var - * @return $this - */ - public function setCustomMetrics($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\CustomMetric::class); - $this->custom_metrics = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsRequest.php deleted file mode 100644 index 715c7e500043..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.analytics.admin.v1alpha.ListDataStreamsRequest - */ -class ListDataStreamsRequest 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) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListDataStreams` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListDataStreams` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListDataStreamsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * 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 `ListDataStreams` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListDataStreams` 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 `ListDataStreams` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListDataStreams` 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 `ListDataStreams` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListDataStreams` 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsResponse.php deleted file mode 100644 index 908dc4c81dab..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDataStreamsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListDataStreamsResponse - */ -class ListDataStreamsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of DataStreams. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; - */ - private $data_streams; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\DataStream[] $data_streams - * List of DataStreams. - * @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 DataStreams. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\DataStream> - */ - public function getDataStreams() - { - return $this->data_streams; - } - - /** - * List of DataStreams. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1; - * @param \Google\Analytics\Admin\V1alpha\DataStream[] $var - * @return $this - */ - public function setDataStreams($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\DataStream::class); - $this->data_streams = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.php deleted file mode 100644 index f3b63eea6d37..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsRequest.php +++ /dev/null @@ -1,177 +0,0 @@ -google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest - */ -class ListDisplayVideo360AdvertiserLinkProposalsRequest 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) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous - * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve - * the subsequent page. - * When paginating, all other parameters provided to - * `ListDisplayVideo360AdvertiserLinkProposals` must match the call that - * provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinkProposalsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * 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 - * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve - * the subsequent page. - * When paginating, all other parameters provided to - * `ListDisplayVideo360AdvertiserLinkProposals` 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 - * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve - * the subsequent page. - * When paginating, all other parameters provided to - * `ListDisplayVideo360AdvertiserLinkProposals` 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 - * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve - * the subsequent page. - * When paginating, all other parameters provided to - * `ListDisplayVideo360AdvertiserLinkProposals` 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.php deleted file mode 100644 index bbcccfca8f3b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinkProposalsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsResponse - */ -class ListDisplayVideo360AdvertiserLinkProposalsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of DisplayVideo360AdvertiserLinkProposals. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - */ - private $display_video_360_advertiser_link_proposals; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal[] $display_video_360_advertiser_link_proposals - * List of DisplayVideo360AdvertiserLinkProposals. - * @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 DisplayVideo360AdvertiserLinkProposals. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal> - */ - public function getDisplayVideo360AdvertiserLinkProposals() - { - return $this->display_video_360_advertiser_link_proposals; - } - - /** - * List of DisplayVideo360AdvertiserLinkProposals. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal display_video_360_advertiser_link_proposals = 1; - * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal[] $var - * @return $this - */ - public function setDisplayVideo360AdvertiserLinkProposals($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal::class); - $this->display_video_360_advertiser_link_proposals = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksRequest.php deleted file mode 100644 index 29185798a695..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksRequest.php +++ /dev/null @@ -1,173 +0,0 @@ -google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksRequest - */ -class ListDisplayVideo360AdvertiserLinksRequest 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) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks` - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to - * `ListDisplayVideo360AdvertiserLinks` must match the call that provided the - * page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinksRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * 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 `ListDisplayVideo360AdvertiserLinks` - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to - * `ListDisplayVideo360AdvertiserLinks` 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 `ListDisplayVideo360AdvertiserLinks` - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to - * `ListDisplayVideo360AdvertiserLinks` 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 `ListDisplayVideo360AdvertiserLinks` - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to - * `ListDisplayVideo360AdvertiserLinks` 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksResponse.php deleted file mode 100644 index 15b1c4e87af8..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListDisplayVideo360AdvertiserLinksResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinksResponse - */ -class ListDisplayVideo360AdvertiserLinksResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of DisplayVideo360AdvertiserLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - */ - private $display_video_360_advertiser_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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink[] $display_video_360_advertiser_links - * List of DisplayVideo360AdvertiserLinks. - * @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 DisplayVideo360AdvertiserLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink> - */ - public function getDisplayVideo360AdvertiserLinks() - { - return $this->display_video_360_advertiser_links; - } - - /** - * List of DisplayVideo360AdvertiserLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_links = 1; - * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink[] $var - * @return $this - */ - public function setDisplayVideo360AdvertiserLinks($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink::class); - $this->display_video_360_advertiser_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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesRequest.php deleted file mode 100644 index 9bf7dacf4009..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.analytics.admin.v1alpha.ListEventCreateRulesRequest - */ -class ListEventCreateRulesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Example format: properties/123/dataStreams/456 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListEventCreateRules` call. Provide - * this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListEventCreateRules` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/123/dataStreams/456 - * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListEventCreateRulesRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/123/dataStreams/456 - * @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 `ListEventCreateRules` call. Provide - * this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListEventCreateRules` - * 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/123/dataStreams/456 - * - * 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/123/dataStreams/456 - * - * 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 `ListEventCreateRules` call. Provide - * this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListEventCreateRules` - * 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 `ListEventCreateRules` call. Provide - * this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListEventCreateRules` - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesResponse.php deleted file mode 100644 index ce8db60029eb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventCreateRulesResponse.php +++ /dev/null @@ -1,109 +0,0 @@ -google.analytics.admin.v1alpha.ListEventCreateRulesResponse - */ -class ListEventCreateRulesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of EventCreateRules. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventCreateRule event_create_rules = 1; - */ - private $event_create_rules; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\EventCreateRule[] $event_create_rules - * List of EventCreateRules. These will be ordered stably, but in an arbitrary - * order. - * @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 EventCreateRules. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventCreateRule event_create_rules = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\EventCreateRule> - */ - public function getEventCreateRules() - { - return $this->event_create_rules; - } - - /** - * List of EventCreateRules. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventCreateRule event_create_rules = 1; - * @param \Google\Analytics\Admin\V1alpha\EventCreateRule[] $var - * @return $this - */ - public function setEventCreateRules($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\EventCreateRule::class); - $this->event_create_rules = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesRequest.php deleted file mode 100644 index fe2c9119afc7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.analytics.admin.v1alpha.ListEventEditRulesRequest - */ -class ListEventEditRulesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Example format: properties/123/dataStreams/456 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous `ListEventEditRules` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListEventEditRules` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/123/dataStreams/456 - * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListEventEditRulesRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/123/dataStreams/456 - * @type int $page_size - * Optional. 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 - * Optional. A page token, received from a previous `ListEventEditRules` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListEventEditRules` - * 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/123/dataStreams/456 - * - * 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/123/dataStreams/456 - * - * 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; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous `ListEventEditRules` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListEventEditRules` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous `ListEventEditRules` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListEventEditRules` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesResponse.php deleted file mode 100644 index dc8f6addf885..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListEventEditRulesResponse.php +++ /dev/null @@ -1,109 +0,0 @@ -google.analytics.admin.v1alpha.ListEventEditRulesResponse - */ -class ListEventEditRulesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of EventEditRules. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventEditRule event_edit_rules = 1; - */ - private $event_edit_rules; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\EventEditRule[] $event_edit_rules - * List of EventEditRules. These will be ordered stably, but in an arbitrary - * order. - * @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 EventEditRules. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventEditRule event_edit_rules = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\EventEditRule> - */ - public function getEventEditRules() - { - return $this->event_edit_rules; - } - - /** - * List of EventEditRules. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.EventEditRule event_edit_rules = 1; - * @param \Google\Analytics\Admin\V1alpha\EventEditRule[] $var - * @return $this - */ - public function setEventEditRules($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\EventEditRule::class); - $this->event_edit_rules = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsRequest.php deleted file mode 100644 index 45a49b679ad7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.analytics.admin.v1alpha.ListExpandedDataSetsRequest - */ -class ListExpandedDataSetsRequest 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) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListExpandedDataSets` call. Provide - * this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListExpandedDataSet` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListExpandedDataSetsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * 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 `ListExpandedDataSets` call. Provide - * this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListExpandedDataSet` - * 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 `ListExpandedDataSets` call. Provide - * this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListExpandedDataSet` - * 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 `ListExpandedDataSets` call. Provide - * this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListExpandedDataSet` - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsResponse.php deleted file mode 100644 index 51edc662deaf..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListExpandedDataSetsResponse.php +++ /dev/null @@ -1,109 +0,0 @@ -google.analytics.admin.v1alpha.ListExpandedDataSetsResponse - */ -class ListExpandedDataSetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_sets = 1; - */ - private $expanded_data_sets; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSet[] $expanded_data_sets - * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary - * order. - * @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 ExpandedDataSet. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_sets = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ExpandedDataSet> - */ - public function getExpandedDataSets() - { - return $this->expanded_data_sets; - } - - /** - * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary - * order. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_sets = 1; - * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSet[] $var - * @return $this - */ - public function setExpandedDataSets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ExpandedDataSet::class); - $this->expanded_data_sets = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksRequest.php deleted file mode 100644 index 80b263e3fcdf..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksRequest.php +++ /dev/null @@ -1,179 +0,0 @@ -google.analytics.admin.v1alpha.ListFirebaseLinksRequest - */ -class ListFirebaseLinksRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Format: properties/{property_id} - * Example: `properties/1234` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous `ListFirebaseLinks` call. - * Provide this to retrieve the subsequent page. - * 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 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Format: properties/{property_id} - * - * Example: `properties/1234` - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListFirebaseLinksRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Format: properties/{property_id} - * Example: `properties/1234` - * @type int $page_size - * Optional. 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 - * Optional. A page token, received from a previous `ListFirebaseLinks` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListFirebaseLinks` 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. 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. 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; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous `ListFirebaseLinks` call. - * Provide this to retrieve the subsequent page. - * 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 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous `ListFirebaseLinks` call. - * Provide this to retrieve the subsequent page. - * 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 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksResponse.php deleted file mode 100644 index c63563cc8668..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListFirebaseLinksResponse.php +++ /dev/null @@ -1,113 +0,0 @@ -google.analytics.admin.v1alpha.ListFirebaseLinksResponse - */ -class ListFirebaseLinksResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of FirebaseLinks. This will have at most one value. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; - */ - private $firebase_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. - * Currently, Google Analytics supports only one FirebaseLink per property, - * so this will never be populated. - * - * Generated from protobuf field string next_page_token = 2; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\FirebaseLink[] $firebase_links - * List of FirebaseLinks. This will have at most one value. - * @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. - * Currently, Google Analytics supports only one FirebaseLink per property, - * so this will never be populated. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * List of FirebaseLinks. This will have at most one value. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\FirebaseLink> - */ - public function getFirebaseLinks() - { - return $this->firebase_links; - } - - /** - * List of FirebaseLinks. This will have at most one value. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.FirebaseLink firebase_links = 1; - * @param \Google\Analytics\Admin\V1alpha\FirebaseLink[] $var - * @return $this - */ - public function setFirebaseLinks($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\FirebaseLink::class); - $this->firebase_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. - * Currently, Google Analytics supports only one FirebaseLink per property, - * so this will never be populated. - * - * 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. - * Currently, Google Analytics supports only one FirebaseLink per property, - * so this will never be populated. - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksRequest.php deleted file mode 100644 index d52d7e474da5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.analytics.admin.v1alpha.ListGoogleAdsLinksRequest - */ -class ListGoogleAdsLinksRequest 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) = { - */ - protected $parent = ''; - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous `ListGoogleAdsLinks` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListGoogleAdsLinks` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListGoogleAdsLinksRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type int $page_size - * Optional. 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 - * Optional. A page token, received from a previous `ListGoogleAdsLinks` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListGoogleAdsLinks` 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; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous `ListGoogleAdsLinks` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListGoogleAdsLinks` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous `ListGoogleAdsLinks` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListGoogleAdsLinks` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksResponse.php deleted file mode 100644 index 17d005189e3b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListGoogleAdsLinksResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse - */ -class ListGoogleAdsLinksResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of GoogleAdsLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; - */ - private $google_ads_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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\GoogleAdsLink[] $google_ads_links - * List of GoogleAdsLinks. - * @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 GoogleAdsLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\GoogleAdsLink> - */ - public function getGoogleAdsLinks() - { - return $this->google_ads_links; - } - - /** - * List of GoogleAdsLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_links = 1; - * @param \Google\Analytics\Admin\V1alpha\GoogleAdsLink[] $var - * @return $this - */ - public function setGoogleAdsLinks($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\GoogleAdsLink::class); - $this->google_ads_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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsRequest.php deleted file mode 100644 index d2bcd8437459..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsRequest.php +++ /dev/null @@ -1,174 +0,0 @@ -google.analytics.admin.v1alpha.ListKeyEventsRequest - */ -class ListKeyEventsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the parent property. - * Example: 'properties/123' - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous `ListKeyEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListKeyEvents` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. The resource name of the parent property. - * Example: 'properties/123' - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListKeyEventsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the parent property. - * Example: 'properties/123' - * @type int $page_size - * Optional. 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 - * Optional. A page token, received from a previous `ListKeyEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListKeyEvents` - * 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 resource name of the parent property. - * Example: 'properties/123' - * - * 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 resource name of the parent property. - * Example: 'properties/123' - * - * 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; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous `ListKeyEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListKeyEvents` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous `ListKeyEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListKeyEvents` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsResponse.php deleted file mode 100644 index edd3d9691ef7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListKeyEventsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListKeyEventsResponse - */ -class ListKeyEventsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The requested Key Events - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1; - */ - private $key_events; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\KeyEvent[] $key_events - * The requested Key Events - * @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); - } - - /** - * The requested Key Events - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\KeyEvent> - */ - public function getKeyEvents() - { - return $this->key_events; - } - - /** - * The requested Key Events - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.KeyEvent key_events = 1; - * @param \Google\Analytics\Admin\V1alpha\KeyEvent[] $var - * @return $this - */ - public function setKeyEvents($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\KeyEvent::class); - $this->key_events = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsRequest.php deleted file mode 100644 index 7ea200403341..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsRequest.php +++ /dev/null @@ -1,183 +0,0 @@ -google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsRequest - */ -class ListMeasurementProtocolSecretsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the parent stream. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Optional. The maximum number of resources to return. - * If unspecified, at most 10 resources will be returned. - * The maximum value is 10. Higher values will be coerced to the maximum. - * - * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous - * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListMeasurementProtocolSecrets` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. The resource name of the parent stream. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets - * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListMeasurementProtocolSecretsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the parent stream. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets - * @type int $page_size - * Optional. The maximum number of resources to return. - * If unspecified, at most 10 resources will be returned. - * The maximum value is 10. Higher values will be coerced to the maximum. - * @type string $page_token - * Optional. A page token, received from a previous - * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListMeasurementProtocolSecrets` 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 resource name of the parent stream. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets - * - * 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 resource name of the parent stream. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets - * - * 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; - } - - /** - * Optional. The maximum number of resources to return. - * If unspecified, at most 10 resources will be returned. - * The maximum value is 10. Higher values will be coerced to the maximum. - * - * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. The maximum number of resources to return. - * If unspecified, at most 10 resources will be returned. - * The maximum value is 10. Higher values will be coerced to the maximum. - * - * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous - * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListMeasurementProtocolSecrets` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous - * `ListMeasurementProtocolSecrets` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListMeasurementProtocolSecrets` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsResponse.php deleted file mode 100644 index f0c4493862f3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListMeasurementProtocolSecretsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListMeasurementProtocolSecretsResponse - */ -class ListMeasurementProtocolSecretsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * A list of secrets for the parent stream specified in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - */ - private $measurement_protocol_secrets; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret[] $measurement_protocol_secrets - * A list of secrets for the parent stream specified in the request. - * @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); - } - - /** - * A list of secrets for the parent stream specified in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret> - */ - public function getMeasurementProtocolSecrets() - { - return $this->measurement_protocol_secrets; - } - - /** - * A list of secrets for the parent stream specified in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * @param \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret[] $var - * @return $this - */ - public function setMeasurementProtocolSecrets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret::class); - $this->measurement_protocol_secrets = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesRequest.php deleted file mode 100644 index a389d4176fee..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesRequest.php +++ /dev/null @@ -1,257 +0,0 @@ -google.analytics.admin.v1alpha.ListPropertiesRequest - */ -class ListPropertiesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. An expression for filtering the results of the request. - * Fields eligible for filtering are: - * `parent:`(The resource name of the parent account/property) or - * `ancestor:`(The resource name of the parent account) or - * `firebase_project:`(The id or number of the linked firebase project). - * Some examples of filters: - * ``` - * | Filter | Description | - * |-----------------------------|-------------------------------------------| - * | parent:accounts/123 | The account with account id: 123. | - * | parent:properties/123 | The property with property id: 123. | - * | ancestor:accounts/123 | The account with account id: 123. | - * | firebase_project:project-id | The firebase project with id: project-id. | - * | firebase_project:123 | The firebase project with number: 123. | - * ``` - * - * Generated from protobuf field string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $filter = ''; - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous `ListProperties` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListProperties` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - /** - * Whether to include soft-deleted (ie: "trashed") Properties in the - * results. Properties can be inspected to determine whether they are deleted - * or not. - * - * Generated from protobuf field bool show_deleted = 4; - */ - protected $show_deleted = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $filter - * Required. An expression for filtering the results of the request. - * Fields eligible for filtering are: - * `parent:`(The resource name of the parent account/property) or - * `ancestor:`(The resource name of the parent account) or - * `firebase_project:`(The id or number of the linked firebase project). - * Some examples of filters: - * ``` - * | Filter | Description | - * |-----------------------------|-------------------------------------------| - * | parent:accounts/123 | The account with account id: 123. | - * | parent:properties/123 | The property with property id: 123. | - * | ancestor:accounts/123 | The account with account id: 123. | - * | firebase_project:project-id | The firebase project with id: project-id. | - * | firebase_project:123 | The firebase project with number: 123. | - * ``` - * @type int $page_size - * Optional. 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 - * Optional. A page token, received from a previous `ListProperties` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListProperties` must - * match the call that provided the page token. - * @type bool $show_deleted - * Whether to include soft-deleted (ie: "trashed") Properties in the - * results. Properties can be inspected to determine whether they are deleted - * or not. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. An expression for filtering the results of the request. - * Fields eligible for filtering are: - * `parent:`(The resource name of the parent account/property) or - * `ancestor:`(The resource name of the parent account) or - * `firebase_project:`(The id or number of the linked firebase project). - * Some examples of filters: - * ``` - * | Filter | Description | - * |-----------------------------|-------------------------------------------| - * | parent:accounts/123 | The account with account id: 123. | - * | parent:properties/123 | The property with property id: 123. | - * | ancestor:accounts/123 | The account with account id: 123. | - * | firebase_project:project-id | The firebase project with id: project-id. | - * | firebase_project:123 | The firebase project with number: 123. | - * ``` - * - * Generated from protobuf field string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFilter() - { - return $this->filter; - } - - /** - * Required. An expression for filtering the results of the request. - * Fields eligible for filtering are: - * `parent:`(The resource name of the parent account/property) or - * `ancestor:`(The resource name of the parent account) or - * `firebase_project:`(The id or number of the linked firebase project). - * Some examples of filters: - * ``` - * | Filter | Description | - * |-----------------------------|-------------------------------------------| - * | parent:accounts/123 | The account with account id: 123. | - * | parent:properties/123 | The property with property id: 123. | - * | ancestor:accounts/123 | The account with account id: 123. | - * | firebase_project:project-id | The firebase project with id: project-id. | - * | firebase_project:123 | The firebase project with number: 123. | - * ``` - * - * Generated from protobuf field string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setFilter($var) - { - GPBUtil::checkString($var, True); - $this->filter = $var; - - return $this; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous `ListProperties` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListProperties` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous `ListProperties` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListProperties` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - - /** - * Whether to include soft-deleted (ie: "trashed") Properties in the - * results. Properties can be inspected to determine whether they are deleted - * or not. - * - * Generated from protobuf field bool show_deleted = 4; - * @return bool - */ - public function getShowDeleted() - { - return $this->show_deleted; - } - - /** - * Whether to include soft-deleted (ie: "trashed") Properties in the - * results. Properties can be inspected to determine whether they are deleted - * or not. - * - * Generated from protobuf field bool show_deleted = 4; - * @param bool $var - * @return $this - */ - public function setShowDeleted($var) - { - GPBUtil::checkBool($var); - $this->show_deleted = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesResponse.php deleted file mode 100644 index 9a1493ddb331..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListPropertiesResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListPropertiesResponse - */ -class ListPropertiesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Results that matched the filter criteria and were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Property properties = 1; - */ - private $properties; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\Property[] $properties - * Results that matched the filter criteria and were accessible to the caller. - * @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); - } - - /** - * Results that matched the filter criteria and were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Property properties = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\Property> - */ - public function getProperties() - { - return $this->properties; - } - - /** - * Results that matched the filter criteria and were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.Property properties = 1; - * @param \Google\Analytics\Admin\V1alpha\Property[] $var - * @return $this - */ - public function setProperties($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\Property::class); - $this->properties = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsRequest.php deleted file mode 100644 index bd11377322f3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsRequest.php +++ /dev/null @@ -1,361 +0,0 @@ -google.analytics.admin.v1alpha.ListReportingDataAnnotationsRequest - */ -class ListReportingDataAnnotationsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Resource name of the property. - * Format: properties/property_id - * Example: properties/123 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Optional. Filter that restricts which reporting data annotations under the - * parent property are listed. - * Supported fields are: - * * 'name' - * * `title` - * * `description` - * * `annotation_date` - * * `annotation_date_range` - * * `color` - * Additionally, this API provides the following helper functions: - * * annotation_duration() : the duration that this annotation marks, - * [durations](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/duration.proto). - * expect a numeric representation of seconds followed by an `s` suffix. - * * is_annotation_in_range(start_date, end_date) : if the annotation is in - * the range specified by the `start_date` and `end_date`. The dates are in - * ISO-8601 format, for example `2031-06-28`. - * Supported operations: - * * `=` : equals - * * `!=` : not equals - * * `<` : less than - * * `>` : greater than - * * `<=` : less than or equals - * * `>=` : greater than or equals - * * `:` : has operator - * * `=~` : [regular expression](https://github.com/google/re2/wiki/Syntax) - * match - * * `!~` : [regular expression](https://github.com/google/re2/wiki/Syntax) - * does not match - * * `NOT` : Logical not - * * `AND` : Logical and - * * `OR` : Logical or - * Examples: - * 1. `title="Holiday Sale"` - * 2. `description=~"[Bb]ig [Gg]ame.*[Ss]ale"` - * 3. `is_annotation_in_range("2025-12-25", "2026-01-16") = true` - * 4. `annotation_duration() >= 172800s AND title:BOGO` - * - * Generated from protobuf field string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $filter = ''; - /** - * Optional. 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous - * `ListReportingDataAnnotations` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListReportingDataAnnotations` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Resource name of the property. - * Format: properties/property_id - * Example: properties/123 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListReportingDataAnnotationsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Resource name of the property. - * Format: properties/property_id - * Example: properties/123 - * @type string $filter - * Optional. Filter that restricts which reporting data annotations under the - * parent property are listed. - * Supported fields are: - * * 'name' - * * `title` - * * `description` - * * `annotation_date` - * * `annotation_date_range` - * * `color` - * Additionally, this API provides the following helper functions: - * * annotation_duration() : the duration that this annotation marks, - * [durations](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/duration.proto). - * expect a numeric representation of seconds followed by an `s` suffix. - * * is_annotation_in_range(start_date, end_date) : if the annotation is in - * the range specified by the `start_date` and `end_date`. The dates are in - * ISO-8601 format, for example `2031-06-28`. - * Supported operations: - * * `=` : equals - * * `!=` : not equals - * * `<` : less than - * * `>` : greater than - * * `<=` : less than or equals - * * `>=` : greater than or equals - * * `:` : has operator - * * `=~` : [regular expression](https://github.com/google/re2/wiki/Syntax) - * match - * * `!~` : [regular expression](https://github.com/google/re2/wiki/Syntax) - * does not match - * * `NOT` : Logical not - * * `AND` : Logical and - * * `OR` : Logical or - * Examples: - * 1. `title="Holiday Sale"` - * 2. `description=~"[Bb]ig [Gg]ame.*[Ss]ale"` - * 3. `is_annotation_in_range("2025-12-25", "2026-01-16") = true` - * 4. `annotation_duration() >= 172800s AND title:BOGO` - * @type int $page_size - * Optional. 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 - * Optional. A page token, received from a previous - * `ListReportingDataAnnotations` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListReportingDataAnnotations` 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. Resource name of the property. - * Format: properties/property_id - * Example: properties/123 - * - * 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. Resource name of the property. - * Format: properties/property_id - * Example: properties/123 - * - * 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; - } - - /** - * Optional. Filter that restricts which reporting data annotations under the - * parent property are listed. - * Supported fields are: - * * 'name' - * * `title` - * * `description` - * * `annotation_date` - * * `annotation_date_range` - * * `color` - * Additionally, this API provides the following helper functions: - * * annotation_duration() : the duration that this annotation marks, - * [durations](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/duration.proto). - * expect a numeric representation of seconds followed by an `s` suffix. - * * is_annotation_in_range(start_date, end_date) : if the annotation is in - * the range specified by the `start_date` and `end_date`. The dates are in - * ISO-8601 format, for example `2031-06-28`. - * Supported operations: - * * `=` : equals - * * `!=` : not equals - * * `<` : less than - * * `>` : greater than - * * `<=` : less than or equals - * * `>=` : greater than or equals - * * `:` : has operator - * * `=~` : [regular expression](https://github.com/google/re2/wiki/Syntax) - * match - * * `!~` : [regular expression](https://github.com/google/re2/wiki/Syntax) - * does not match - * * `NOT` : Logical not - * * `AND` : Logical and - * * `OR` : Logical or - * Examples: - * 1. `title="Holiday Sale"` - * 2. `description=~"[Bb]ig [Gg]ame.*[Ss]ale"` - * 3. `is_annotation_in_range("2025-12-25", "2026-01-16") = true` - * 4. `annotation_duration() >= 172800s AND title:BOGO` - * - * Generated from protobuf field string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getFilter() - { - return $this->filter; - } - - /** - * Optional. Filter that restricts which reporting data annotations under the - * parent property are listed. - * Supported fields are: - * * 'name' - * * `title` - * * `description` - * * `annotation_date` - * * `annotation_date_range` - * * `color` - * Additionally, this API provides the following helper functions: - * * annotation_duration() : the duration that this annotation marks, - * [durations](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/duration.proto). - * expect a numeric representation of seconds followed by an `s` suffix. - * * is_annotation_in_range(start_date, end_date) : if the annotation is in - * the range specified by the `start_date` and `end_date`. The dates are in - * ISO-8601 format, for example `2031-06-28`. - * Supported operations: - * * `=` : equals - * * `!=` : not equals - * * `<` : less than - * * `>` : greater than - * * `<=` : less than or equals - * * `>=` : greater than or equals - * * `:` : has operator - * * `=~` : [regular expression](https://github.com/google/re2/wiki/Syntax) - * match - * * `!~` : [regular expression](https://github.com/google/re2/wiki/Syntax) - * does not match - * * `NOT` : Logical not - * * `AND` : Logical and - * * `OR` : Logical or - * Examples: - * 1. `title="Holiday Sale"` - * 2. `description=~"[Bb]ig [Gg]ame.*[Ss]ale"` - * 3. `is_annotation_in_range("2025-12-25", "2026-01-16") = true` - * 4. `annotation_duration() >= 172800s AND title:BOGO` - * - * Generated from protobuf field string filter = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setFilter($var) - { - GPBUtil::checkString($var, True); - $this->filter = $var; - - return $this; - } - - /** - * Optional. 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. 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 = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous - * `ListReportingDataAnnotations` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListReportingDataAnnotations` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous - * `ListReportingDataAnnotations` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListReportingDataAnnotations` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsResponse.php deleted file mode 100644 index 5f91de16a444..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListReportingDataAnnotationsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListReportingDataAnnotationsResponse - */ -class ListReportingDataAnnotationsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of Reporting Data Annotations. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1; - */ - private $reporting_data_annotations; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation[] $reporting_data_annotations - * List of Reporting Data Annotations. - * @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 Reporting Data Annotations. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ReportingDataAnnotation> - */ - public function getReportingDataAnnotations() - { - return $this->reporting_data_annotations; - } - - /** - * List of Reporting Data Annotations. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotations = 1; - * @param \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation[] $var - * @return $this - */ - public function setReportingDataAnnotations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation::class); - $this->reporting_data_annotations = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksRequest.php deleted file mode 100644 index b78e7246d742..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksRequest.php +++ /dev/null @@ -1,182 +0,0 @@ -google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest - */ -class ListRollupPropertySourceLinksRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the roll-up property to list roll-up property source - * 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) = { - */ - protected $parent = ''; - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous - * `ListRollupPropertySourceLinks` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListRollupPropertySourceLinks` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. The name of the roll-up property to list roll-up property source - * links under. Format: properties/{property_id} Example: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListRollupPropertySourceLinksRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The name of the roll-up property to list roll-up property source - * links under. Format: properties/{property_id} Example: properties/1234 - * @type int $page_size - * Optional. 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 - * Optional. A page token, received from a previous - * `ListRollupPropertySourceLinks` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListRollupPropertySourceLinks` 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 roll-up property to list roll-up property source - * 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 roll-up property to list roll-up property source - * 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; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous - * `ListRollupPropertySourceLinks` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListRollupPropertySourceLinks` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous - * `ListRollupPropertySourceLinks` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListRollupPropertySourceLinks` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksResponse.php deleted file mode 100644 index d6ba5dcee3da..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListRollupPropertySourceLinksResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse - */ -class ListRollupPropertySourceLinksResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of RollupPropertySourceLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; - */ - private $rollup_property_source_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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink[] $rollup_property_source_links - * List of RollupPropertySourceLinks. - * @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 RollupPropertySourceLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\RollupPropertySourceLink> - */ - public function getRollupPropertySourceLinks() - { - return $this->rollup_property_source_links; - } - - /** - * List of RollupPropertySourceLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; - * @param \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink[] $var - * @return $this - */ - public function setRollupPropertySourceLinks($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\RollupPropertySourceLink::class); - $this->rollup_property_source_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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php deleted file mode 100644 index c7fcbb79b59b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasRequest.php +++ /dev/null @@ -1,192 +0,0 @@ -google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest - */ -class ListSKAdNetworkConversionValueSchemasRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The DataStream resource to list schemas for. - * Format: - * properties/{property_id}/dataStreams/{dataStream} - * Example: properties/1234/dataStreams/5678 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous - * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListSKAdNetworkConversionValueSchema` must match the call that provided - * the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. The DataStream resource to list schemas for. - * Format: - * properties/{property_id}/dataStreams/{dataStream} - * Example: properties/1234/dataStreams/5678 - * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListSKAdNetworkConversionValueSchemasRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The DataStream resource to list schemas for. - * Format: - * properties/{property_id}/dataStreams/{dataStream} - * Example: properties/1234/dataStreams/5678 - * @type int $page_size - * Optional. 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 - * Optional. A page token, received from a previous - * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListSKAdNetworkConversionValueSchema` 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 DataStream resource to list schemas for. - * Format: - * properties/{property_id}/dataStreams/{dataStream} - * Example: properties/1234/dataStreams/5678 - * - * 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 DataStream resource to list schemas for. - * Format: - * properties/{property_id}/dataStreams/{dataStream} - * Example: properties/1234/dataStreams/5678 - * - * 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; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous - * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListSKAdNetworkConversionValueSchema` must match the call that provided - * the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous - * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the - * subsequent page. When paginating, all other parameters provided to - * `ListSKAdNetworkConversionValueSchema` must match the call that provided - * the page token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasResponse.php deleted file mode 100644 index 74c1c79f9f6a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSKAdNetworkConversionValueSchemasResponse.php +++ /dev/null @@ -1,121 +0,0 @@ -google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse - */ -class ListSKAdNetworkConversionValueSchemasResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of SKAdNetworkConversionValueSchemas. This will have at most one - * value. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; - */ - private $skadnetwork_conversion_value_schemas; - /** - * A token, which can be sent as `page_token` to retrieve the next page. - * If this field is omitted, there are no subsequent pages. - * Currently, Google Analytics supports only one - * SKAdNetworkConversionValueSchema per dataStream, so this will never be - * populated. - * - * Generated from protobuf field string next_page_token = 2; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema[] $skadnetwork_conversion_value_schemas - * List of SKAdNetworkConversionValueSchemas. This will have at most one - * value. - * @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. - * Currently, Google Analytics supports only one - * SKAdNetworkConversionValueSchema per dataStream, so this will never be - * populated. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * List of SKAdNetworkConversionValueSchemas. This will have at most one - * value. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema> - */ - public function getSkadnetworkConversionValueSchemas() - { - return $this->skadnetwork_conversion_value_schemas; - } - - /** - * List of SKAdNetworkConversionValueSchemas. This will have at most one - * value. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; - * @param \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema[] $var - * @return $this - */ - public function setSkadnetworkConversionValueSchemas($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema::class); - $this->skadnetwork_conversion_value_schemas = $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. - * Currently, Google Analytics supports only one - * SKAdNetworkConversionValueSchema per dataStream, so this will never be - * populated. - * - * 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. - * Currently, Google Analytics supports only one - * SKAdNetworkConversionValueSchema per dataStream, so this will never be - * populated. - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksRequest.php deleted file mode 100644 index 75d83488bf8d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksRequest.php +++ /dev/null @@ -1,173 +0,0 @@ -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) = { - */ - protected $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; - */ - protected $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; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListSearchAds360LinksRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksResponse.php deleted file mode 100644 index dbcbbb926998..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSearchAds360LinksResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\SearchAds360Link[] $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 RepeatedField<\Google\Analytics\Admin\V1alpha\SearchAds360Link> - */ - 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 \Google\Analytics\Admin\V1alpha\SearchAds360Link[] $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersRequest.php deleted file mode 100644 index 490016a97dbb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersRequest.php +++ /dev/null @@ -1,187 +0,0 @@ -google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest - */ -class ListSubpropertyEventFiltersRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Resource name of the ordinary property. - * Format: properties/property_id - * Example: properties/123 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous - * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent - * page. When paginating, all other parameters provided to - * `ListSubpropertyEventFilters` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Resource name of the ordinary property. - * Format: properties/property_id - * Example: properties/123 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListSubpropertyEventFiltersRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Resource name of the ordinary property. - * Format: properties/property_id - * Example: properties/123 - * @type int $page_size - * Optional. 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 - * Optional. A page token, received from a previous - * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent - * page. When paginating, all other parameters provided to - * `ListSubpropertyEventFilters` 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. Resource name of the ordinary property. - * Format: properties/property_id - * Example: properties/123 - * - * 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. Resource name of the ordinary property. - * Format: properties/property_id - * Example: properties/123 - * - * 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; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous - * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent - * page. When paginating, all other parameters provided to - * `ListSubpropertyEventFilters` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous - * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent - * page. When paginating, all other parameters provided to - * `ListSubpropertyEventFilters` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersResponse.php deleted file mode 100644 index 40522b4fbaff..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertyEventFiltersResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse - */ -class ListSubpropertyEventFiltersResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of subproperty event filters. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; - */ - private $subproperty_event_filters; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter[] $subproperty_event_filters - * List of subproperty event filters. - * @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 subproperty event filters. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\SubpropertyEventFilter> - */ - public function getSubpropertyEventFilters() - { - return $this->subproperty_event_filters; - } - - /** - * List of subproperty event filters. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; - * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter[] $var - * @return $this - */ - public function setSubpropertyEventFilters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter::class); - $this->subproperty_event_filters = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsRequest.php deleted file mode 100644 index 67a4bb121daa..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsRequest.php +++ /dev/null @@ -1,187 +0,0 @@ -google.analytics.admin.v1alpha.ListSubpropertySyncConfigsRequest - */ -class ListSubpropertySyncConfigsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Resource name of the property. - * Format: properties/property_id - * Example: properties/123 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_size = 0; - /** - * Optional. A page token, received from a previous - * `ListSubpropertySyncConfig` call. Provide this to retrieve the subsequent - * page. When paginating, all other parameters provided to - * `ListSubpropertySyncConfig` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Resource name of the property. - * Format: properties/property_id - * Example: properties/123 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\ListSubpropertySyncConfigsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Resource name of the property. - * Format: properties/property_id - * Example: properties/123 - * @type int $page_size - * Optional. 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 - * Optional. A page token, received from a previous - * `ListSubpropertySyncConfig` call. Provide this to retrieve the subsequent - * page. When paginating, all other parameters provided to - * `ListSubpropertySyncConfig` 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. Resource name of the property. - * Format: properties/property_id - * Example: properties/123 - * - * 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. Resource name of the property. - * Format: properties/property_id - * Example: properties/123 - * - * 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; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. 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 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Optional. A page token, received from a previous - * `ListSubpropertySyncConfig` call. Provide this to retrieve the subsequent - * page. When paginating, all other parameters provided to - * `ListSubpropertySyncConfig` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Optional. A page token, received from a previous - * `ListSubpropertySyncConfig` call. Provide this to retrieve the subsequent - * page. When paginating, all other parameters provided to - * `ListSubpropertySyncConfig` must match the call that provided the page - * token. - * - * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsResponse.php deleted file mode 100644 index d1ee6df45c31..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ListSubpropertySyncConfigsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.ListSubpropertySyncConfigsResponse - */ -class ListSubpropertySyncConfigsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of `SubpropertySyncConfig` resources. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_configs = 1; - */ - private $subproperty_sync_configs; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig[] $subproperty_sync_configs - * List of `SubpropertySyncConfig` resources. - * @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 `SubpropertySyncConfig` resources. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_configs = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\SubpropertySyncConfig> - */ - public function getSubpropertySyncConfigs() - { - return $this->subproperty_sync_configs; - } - - /** - * List of `SubpropertySyncConfig` resources. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_configs = 1; - * @param \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig[] $var - * @return $this - */ - public function setSubpropertySyncConfigs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig::class); - $this->subproperty_sync_configs = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition.php deleted file mode 100644 index 0e38dc14cc17..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition.php +++ /dev/null @@ -1,202 +0,0 @@ -google.analytics.admin.v1alpha.MatchingCondition - */ -class MatchingCondition extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the field that is compared against for the condition. - * If 'event_name' is specified this condition will apply to the name of the - * event. Otherwise the condition will apply to a parameter with the - * specified name. - * This value cannot contain spaces. - * - * Generated from protobuf field string field = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $field = ''; - /** - * Required. The type of comparison to be applied to the value. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $comparison_type = 0; - /** - * Required. The value being compared against for this condition. The runtime - * implementation may perform type coercion of this value to evaluate this - * condition based on the type of the parameter value. - * - * Generated from protobuf field string value = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $value = ''; - /** - * Whether or not the result of the comparison should be negated. For example, - * if `negated` is true, then 'equals' comparisons would function as 'not - * equals'. - * - * Generated from protobuf field bool negated = 4; - */ - protected $negated = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $field - * Required. The name of the field that is compared against for the condition. - * If 'event_name' is specified this condition will apply to the name of the - * event. Otherwise the condition will apply to a parameter with the - * specified name. - * This value cannot contain spaces. - * @type int $comparison_type - * Required. The type of comparison to be applied to the value. - * @type string $value - * Required. The value being compared against for this condition. The runtime - * implementation may perform type coercion of this value to evaluate this - * condition based on the type of the parameter value. - * @type bool $negated - * Whether or not the result of the comparison should be negated. For example, - * if `negated` is true, then 'equals' comparisons would function as 'not - * equals'. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\EventCreateAndEdit::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the field that is compared against for the condition. - * If 'event_name' is specified this condition will apply to the name of the - * event. Otherwise the condition will apply to a parameter with the - * specified name. - * This value cannot contain spaces. - * - * Generated from protobuf field string field = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getField() - { - return $this->field; - } - - /** - * Required. The name of the field that is compared against for the condition. - * If 'event_name' is specified this condition will apply to the name of the - * event. Otherwise the condition will apply to a parameter with the - * specified name. - * This value cannot contain spaces. - * - * Generated from protobuf field string field = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setField($var) - { - GPBUtil::checkString($var, True); - $this->field = $var; - - return $this; - } - - /** - * Required. The type of comparison to be applied to the value. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getComparisonType() - { - return $this->comparison_type; - } - - /** - * Required. The type of comparison to be applied to the value. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setComparisonType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\MatchingCondition\ComparisonType::class); - $this->comparison_type = $var; - - return $this; - } - - /** - * Required. The value being compared against for this condition. The runtime - * implementation may perform type coercion of this value to evaluate this - * condition based on the type of the parameter value. - * - * Generated from protobuf field string value = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * Required. The value being compared against for this condition. The runtime - * implementation may perform type coercion of this value to evaluate this - * condition based on the type of the parameter value. - * - * Generated from protobuf field string value = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - - /** - * Whether or not the result of the comparison should be negated. For example, - * if `negated` is true, then 'equals' comparisons would function as 'not - * equals'. - * - * Generated from protobuf field bool negated = 4; - * @return bool - */ - public function getNegated() - { - return $this->negated; - } - - /** - * Whether or not the result of the comparison should be negated. For example, - * if `negated` is true, then 'equals' comparisons would function as 'not - * equals'. - * - * Generated from protobuf field bool negated = 4; - * @param bool $var - * @return $this - */ - public function setNegated($var) - { - GPBUtil::checkBool($var); - $this->negated = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition/ComparisonType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition/ComparisonType.php deleted file mode 100644 index f4e64a1c3fa9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MatchingCondition/ComparisonType.php +++ /dev/null @@ -1,145 +0,0 @@ -google.analytics.admin.v1alpha.MatchingCondition.ComparisonType - */ -class ComparisonType -{ - /** - * Unknown - * - * Generated from protobuf enum COMPARISON_TYPE_UNSPECIFIED = 0; - */ - const COMPARISON_TYPE_UNSPECIFIED = 0; - /** - * Equals, case sensitive - * - * Generated from protobuf enum EQUALS = 1; - */ - const EQUALS = 1; - /** - * Equals, case insensitive - * - * Generated from protobuf enum EQUALS_CASE_INSENSITIVE = 2; - */ - const EQUALS_CASE_INSENSITIVE = 2; - /** - * Contains, case sensitive - * - * Generated from protobuf enum CONTAINS = 3; - */ - const CONTAINS = 3; - /** - * Contains, case insensitive - * - * Generated from protobuf enum CONTAINS_CASE_INSENSITIVE = 4; - */ - const CONTAINS_CASE_INSENSITIVE = 4; - /** - * Starts with, case sensitive - * - * Generated from protobuf enum STARTS_WITH = 5; - */ - const STARTS_WITH = 5; - /** - * Starts with, case insensitive - * - * Generated from protobuf enum STARTS_WITH_CASE_INSENSITIVE = 6; - */ - const STARTS_WITH_CASE_INSENSITIVE = 6; - /** - * Ends with, case sensitive - * - * Generated from protobuf enum ENDS_WITH = 7; - */ - const ENDS_WITH = 7; - /** - * Ends with, case insensitive - * - * Generated from protobuf enum ENDS_WITH_CASE_INSENSITIVE = 8; - */ - const ENDS_WITH_CASE_INSENSITIVE = 8; - /** - * Greater than - * - * Generated from protobuf enum GREATER_THAN = 9; - */ - const GREATER_THAN = 9; - /** - * Greater than or equal - * - * Generated from protobuf enum GREATER_THAN_OR_EQUAL = 10; - */ - const GREATER_THAN_OR_EQUAL = 10; - /** - * Less than - * - * Generated from protobuf enum LESS_THAN = 11; - */ - const LESS_THAN = 11; - /** - * Less than or equal - * - * Generated from protobuf enum LESS_THAN_OR_EQUAL = 12; - */ - const LESS_THAN_OR_EQUAL = 12; - /** - * regular expression. Only supported for web streams. - * - * Generated from protobuf enum REGULAR_EXPRESSION = 13; - */ - const REGULAR_EXPRESSION = 13; - /** - * regular expression, case insensitive. Only supported for web streams. - * - * Generated from protobuf enum REGULAR_EXPRESSION_CASE_INSENSITIVE = 14; - */ - const REGULAR_EXPRESSION_CASE_INSENSITIVE = 14; - - private static $valueToName = [ - self::COMPARISON_TYPE_UNSPECIFIED => 'COMPARISON_TYPE_UNSPECIFIED', - self::EQUALS => 'EQUALS', - self::EQUALS_CASE_INSENSITIVE => 'EQUALS_CASE_INSENSITIVE', - self::CONTAINS => 'CONTAINS', - self::CONTAINS_CASE_INSENSITIVE => 'CONTAINS_CASE_INSENSITIVE', - self::STARTS_WITH => 'STARTS_WITH', - self::STARTS_WITH_CASE_INSENSITIVE => 'STARTS_WITH_CASE_INSENSITIVE', - self::ENDS_WITH => 'ENDS_WITH', - self::ENDS_WITH_CASE_INSENSITIVE => 'ENDS_WITH_CASE_INSENSITIVE', - self::GREATER_THAN => 'GREATER_THAN', - self::GREATER_THAN_OR_EQUAL => 'GREATER_THAN_OR_EQUAL', - self::LESS_THAN => 'LESS_THAN', - self::LESS_THAN_OR_EQUAL => 'LESS_THAN_OR_EQUAL', - self::REGULAR_EXPRESSION => 'REGULAR_EXPRESSION', - self::REGULAR_EXPRESSION_CASE_INSENSITIVE => 'REGULAR_EXPRESSION_CASE_INSENSITIVE', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MeasurementProtocolSecret.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MeasurementProtocolSecret.php deleted file mode 100644 index fa10ccb3ddaf..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/MeasurementProtocolSecret.php +++ /dev/null @@ -1,151 +0,0 @@ -google.analytics.admin.v1alpha.MeasurementProtocolSecret - */ -class MeasurementProtocolSecret extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. 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) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Required. Human-readable display name for this secret. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $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 - * secret's parent property. - * - * Generated from protobuf field string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $secret_value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. 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 - * secret's parent property. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. 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) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. 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) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. Human-readable display name for this secret. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. Human-readable display name for this secret. - * - * 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; - } - - /** - * 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]; - * @return string - */ - public function getSecretValue() - { - return $this->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 - * secret's parent property. - * - * Generated from protobuf field string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSecretValue($var) - { - GPBUtil::checkString($var, True); - $this->secret_value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/NumericValue.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/NumericValue.php deleted file mode 100644 index 93e1eca5677a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/NumericValue.php +++ /dev/null @@ -1,108 +0,0 @@ -google.analytics.admin.v1alpha.NumericValue - */ -class NumericValue extends \Google\Protobuf\Internal\Message -{ - protected $one_value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $int64_value - * Integer value - * @type float $double_value - * Double value - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * Integer value - * - * Generated from protobuf field int64 int64_value = 1; - * @return int|string - */ - public function getInt64Value() - { - return $this->readOneof(1); - } - - public function hasInt64Value() - { - return $this->hasOneof(1); - } - - /** - * Integer value - * - * Generated from protobuf field int64 int64_value = 1; - * @param int|string $var - * @return $this - */ - public function setInt64Value($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Double value - * - * Generated from protobuf field double double_value = 2; - * @return float - */ - public function getDoubleValue() - { - return $this->readOneof(2); - } - - public function hasDoubleValue() - { - return $this->hasOneof(2); - } - - /** - * Double value - * - * Generated from protobuf field double double_value = 2; - * @param float $var - * @return $this - */ - public function setDoubleValue($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOneValue() - { - return $this->whichOneof("one_value"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ParameterMutation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ParameterMutation.php deleted file mode 100644 index 2f9e895b6a8b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ParameterMutation.php +++ /dev/null @@ -1,145 +0,0 @@ -google.analytics.admin.v1alpha.ParameterMutation - */ -class ParameterMutation extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the parameter to mutate. - * This value must: - * * be less than 40 characters. - * * be unique across across all mutations within the rule - * * consist only of letters, digits or _ (underscores) - * For event edit rules, the name may also be set to 'event_name' to modify - * the event_name in place. - * - * Generated from protobuf field string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $parameter = ''; - /** - * Required. The value mutation to perform. - * * Must be less than 100 characters. - * * To specify a constant value for the param, use the value's string. - * * To copy value from another parameter, use syntax like - * "[[other_parameter]]" For more details, see this [help center - * article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters). - * - * Generated from protobuf field string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $parameter_value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parameter - * Required. The name of the parameter to mutate. - * This value must: - * * be less than 40 characters. - * * be unique across across all mutations within the rule - * * consist only of letters, digits or _ (underscores) - * For event edit rules, the name may also be set to 'event_name' to modify - * the event_name in place. - * @type string $parameter_value - * Required. The value mutation to perform. - * * Must be less than 100 characters. - * * To specify a constant value for the param, use the value's string. - * * To copy value from another parameter, use syntax like - * "[[other_parameter]]" For more details, see this [help center - * article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\EventCreateAndEdit::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the parameter to mutate. - * This value must: - * * be less than 40 characters. - * * be unique across across all mutations within the rule - * * consist only of letters, digits or _ (underscores) - * For event edit rules, the name may also be set to 'event_name' to modify - * the event_name in place. - * - * Generated from protobuf field string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getParameter() - { - return $this->parameter; - } - - /** - * Required. The name of the parameter to mutate. - * This value must: - * * be less than 40 characters. - * * be unique across across all mutations within the rule - * * consist only of letters, digits or _ (underscores) - * For event edit rules, the name may also be set to 'event_name' to modify - * the event_name in place. - * - * Generated from protobuf field string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setParameter($var) - { - GPBUtil::checkString($var, True); - $this->parameter = $var; - - return $this; - } - - /** - * Required. The value mutation to perform. - * * Must be less than 100 characters. - * * To specify a constant value for the param, use the value's string. - * * To copy value from another parameter, use syntax like - * "[[other_parameter]]" For more details, see this [help center - * article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters). - * - * Generated from protobuf field string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getParameterValue() - { - return $this->parameter_value; - } - - /** - * Required. The value mutation to perform. - * * Must be less than 100 characters. - * * To specify a constant value for the param, use the value's string. - * * To copy value from another parameter, use syntax like - * "[[other_parameter]]" For more details, see this [help center - * article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters). - * - * Generated from protobuf field string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setParameterValue($var) - { - GPBUtil::checkString($var, True); - $this->parameter_value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PostbackWindow.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PostbackWindow.php deleted file mode 100644 index 6b357a51ad55..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PostbackWindow.php +++ /dev/null @@ -1,137 +0,0 @@ -google.analytics.admin.v1alpha.PostbackWindow - */ -class PostbackWindow extends \Google\Protobuf\Internal\Message -{ - /** - * Ordering of the repeated field will be used to prioritize the conversion - * value settings. Lower indexed entries are prioritized higher. The first - * conversion value setting that evaluates to true will be selected. It must - * have at least one entry if enable_postback_window_settings is set to - * true. It can have maximum of 128 entries. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1; - */ - private $conversion_values; - /** - * If enable_postback_window_settings is true, conversion_values - * must be populated and will be used for determining when and how to set the - * Conversion Value on a client device and exporting schema to linked Ads - * accounts. If false, the settings are not used, but are retained in case - * they may be used in the future. This must always be true for - * postback_window_one. - * - * Generated from protobuf field bool postback_window_settings_enabled = 2; - */ - protected $postback_window_settings_enabled = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\ConversionValues[] $conversion_values - * Ordering of the repeated field will be used to prioritize the conversion - * value settings. Lower indexed entries are prioritized higher. The first - * conversion value setting that evaluates to true will be selected. It must - * have at least one entry if enable_postback_window_settings is set to - * true. It can have maximum of 128 entries. - * @type bool $postback_window_settings_enabled - * If enable_postback_window_settings is true, conversion_values - * must be populated and will be used for determining when and how to set the - * Conversion Value on a client device and exporting schema to linked Ads - * accounts. If false, the settings are not used, but are retained in case - * they may be used in the future. This must always be true for - * postback_window_one. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Ordering of the repeated field will be used to prioritize the conversion - * value settings. Lower indexed entries are prioritized higher. The first - * conversion value setting that evaluates to true will be selected. It must - * have at least one entry if enable_postback_window_settings is set to - * true. It can have maximum of 128 entries. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ConversionValues> - */ - public function getConversionValues() - { - return $this->conversion_values; - } - - /** - * Ordering of the repeated field will be used to prioritize the conversion - * value settings. Lower indexed entries are prioritized higher. The first - * conversion value setting that evaluates to true will be selected. It must - * have at least one entry if enable_postback_window_settings is set to - * true. It can have maximum of 128 entries. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1; - * @param \Google\Analytics\Admin\V1alpha\ConversionValues[] $var - * @return $this - */ - public function setConversionValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ConversionValues::class); - $this->conversion_values = $arr; - - return $this; - } - - /** - * If enable_postback_window_settings is true, conversion_values - * must be populated and will be used for determining when and how to set the - * Conversion Value on a client device and exporting schema to linked Ads - * accounts. If false, the settings are not used, but are retained in case - * they may be used in the future. This must always be true for - * postback_window_one. - * - * Generated from protobuf field bool postback_window_settings_enabled = 2; - * @return bool - */ - public function getPostbackWindowSettingsEnabled() - { - return $this->postback_window_settings_enabled; - } - - /** - * If enable_postback_window_settings is true, conversion_values - * must be populated and will be used for determining when and how to set the - * Conversion Value on a client device and exporting schema to linked Ads - * accounts. If false, the settings are not used, but are retained in case - * they may be used in the future. This must always be true for - * postback_window_one. - * - * Generated from protobuf field bool postback_window_settings_enabled = 2; - * @param bool $var - * @return $this - */ - public function setPostbackWindowSettingsEnabled($var) - { - GPBUtil::checkBool($var); - $this->postback_window_settings_enabled = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Property.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Property.php deleted file mode 100644 index c3a4937df576..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/Property.php +++ /dev/null @@ -1,607 +0,0 @@ -google.analytics.admin.v1alpha.Property - */ -class Property extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Resource name of this property. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $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. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $property_type = 0; - /** - * Output only. Time when the entity was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Time when entity payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Immutable. Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/101" - * - * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $parent = ''; - /** - * Required. Human-readable display name for this property. - * The max allowed display name length is 100 UTF-16 code units. - * - * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Industry associated with this property - * Example: AUTOMOTIVE, FOOD_AND_DRINK - * - * Generated from protobuf field .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - */ - protected $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. - * NOTE: Changing the time zone only affects data going forward, and is not - * applied retroactively. - * Format: https://www.iana.org/time-zones - * Example: "America/Los_Angeles" - * - * Generated from protobuf field string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $time_zone = ''; - /** - * The currency type used in reports involving monetary values. - * Format: https://en.wikipedia.org/wiki/ISO_4217 - * Examples: "USD", "EUR", "JPY" - * - * Generated from protobuf field string currency_code = 8; - */ - protected $currency_code = ''; - /** - * 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]; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $expire_time = null; - /** - * Immutable. The resource name of the parent account - * Format: accounts/{account_id} - * Example: "accounts/123" - * - * Generated from protobuf field string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $account = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. Resource name of this property. - * 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. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when the entity was originally created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Time when entity payload fields were last updated. - * @type string $parent - * Immutable. Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/101" - * @type string $display_name - * Required. Human-readable display name for this property. - * The max allowed display name length is 100 UTF-16 code units. - * @type int $industry_category - * 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. - * NOTE: Changing the time zone only affects data going forward, and is not - * applied retroactively. - * Format: https://www.iana.org/time-zones - * Example: "America/Los_Angeles" - * @type string $currency_code - * The currency type used in reports involving monetary values. - * 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. - * @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. - * @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. - * @type string $account - * Immutable. The resource name of the parent account - * Format: accounts/{account_id} - * Example: "accounts/123" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. Resource name of this property. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Resource name of this property. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * 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. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getPropertyType() - { - return $this->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. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setPropertyType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\PropertyType::class); - $this->property_type = $var; - - return $this; - } - - /** - * Output only. Time when the entity was originally 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 entity was originally 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; - } - - /** - * Output only. Time when entity payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Time when entity payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Immutable. Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/101" - * - * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Immutable. Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/101" - * - * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. Human-readable display name for this property. - * The max allowed display name length is 100 UTF-16 code units. - * - * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. Human-readable display name for this property. - * The max allowed display name length is 100 UTF-16 code units. - * - * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Industry associated with this property - * Example: AUTOMOTIVE, FOOD_AND_DRINK - * - * Generated from protobuf field .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * @return int - */ - public function getIndustryCategory() - { - return $this->industry_category; - } - - /** - * Industry associated with this property - * Example: AUTOMOTIVE, FOOD_AND_DRINK - * - * Generated from protobuf field .google.analytics.admin.v1alpha.IndustryCategory industry_category = 6; - * @param int $var - * @return $this - */ - public function setIndustryCategory($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\IndustryCategory::class); - $this->industry_category = $var; - - return $this; - } - - /** - * 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 - * Example: "America/Los_Angeles" - * - * Generated from protobuf field string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getTimeZone() - { - return $this->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. - * NOTE: Changing the time zone only affects data going forward, and is not - * applied retroactively. - * Format: https://www.iana.org/time-zones - * Example: "America/Los_Angeles" - * - * Generated from protobuf field string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setTimeZone($var) - { - GPBUtil::checkString($var, True); - $this->time_zone = $var; - - return $this; - } - - /** - * The currency type used in reports involving monetary values. - * Format: https://en.wikipedia.org/wiki/ISO_4217 - * Examples: "USD", "EUR", "JPY" - * - * Generated from protobuf field string currency_code = 8; - * @return string - */ - public function getCurrencyCode() - { - return $this->currency_code; - } - - /** - * The currency type used in reports involving monetary values. - * Format: https://en.wikipedia.org/wiki/ISO_4217 - * Examples: "USD", "EUR", "JPY" - * - * Generated from protobuf field string currency_code = 8; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - - /** - * 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 - */ - public function getServiceLevel() - { - return $this->service_level; - } - - /** - * 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 - * @return $this - */ - public function setServiceLevel($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\ServiceLevel::class); - $this->service_level = $var; - - return $this; - } - - /** - * 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 - */ - public function getDeleteTime() - { - return $this->delete_time; - } - - public function hasDeleteTime() - { - return isset($this->delete_time); - } - - public function clearDeleteTime() - { - unset($this->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. - * - * Generated from protobuf field .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setDeleteTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->delete_time = $var; - - return $this; - } - - /** - * 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 - */ - public function getExpireTime() - { - return $this->expire_time; - } - - public function hasExpireTime() - { - return isset($this->expire_time); - } - - public function clearExpireTime() - { - unset($this->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. - * - * Generated from protobuf field .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setExpireTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->expire_time = $var; - - return $this; - } - - /** - * Immutable. The resource name of the parent account - * Format: accounts/{account_id} - * Example: "accounts/123" - * - * Generated from protobuf field string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAccount() - { - return $this->account; - } - - /** - * Immutable. The resource name of the parent account - * Format: accounts/{account_id} - * Example: "accounts/123" - * - * Generated from protobuf field string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAccount($var) - { - GPBUtil::checkString($var, True); - $this->account = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertySummary.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertySummary.php deleted file mode 100644 index e665fe10c18b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertySummary.php +++ /dev/null @@ -1,189 +0,0 @@ -google.analytics.admin.v1alpha.PropertySummary - */ -class PropertySummary extends \Google\Protobuf\Internal\Message -{ - /** - * Resource name of property referred to by this property summary - * Format: properties/{property_id} - * Example: "properties/1000" - * - * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { - */ - protected $property = ''; - /** - * Display name for the property referred to in this property summary. - * - * Generated from protobuf field string display_name = 2; - */ - protected $display_name = ''; - /** - * The property's property type. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 3; - */ - protected $property_type = 0; - /** - * Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/200" - * - * Generated from protobuf field string parent = 4; - */ - protected $parent = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $property - * Resource name of property referred to by this property summary - * Format: properties/{property_id} - * Example: "properties/1000" - * @type string $display_name - * Display name for the property referred to in this property summary. - * @type int $property_type - * The property's property type. - * @type string $parent - * Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/200" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Resource name of property referred to by this property summary - * Format: properties/{property_id} - * Example: "properties/1000" - * - * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getProperty() - { - return $this->property; - } - - /** - * Resource name of property referred to by this property summary - * Format: properties/{property_id} - * Example: "properties/1000" - * - * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkString($var, True); - $this->property = $var; - - return $this; - } - - /** - * Display name for the property referred to in this property summary. - * - * Generated from protobuf field string display_name = 2; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Display name for the property referred to in this property summary. - * - * Generated from protobuf field string display_name = 2; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * The property's property type. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 3; - * @return int - */ - public function getPropertyType() - { - return $this->property_type; - } - - /** - * The property's property type. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 3; - * @param int $var - * @return $this - */ - public function setPropertyType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\PropertyType::class); - $this->property_type = $var; - - return $this; - } - - /** - * Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/200" - * - * Generated from protobuf field string parent = 4; - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/200" - * - * Generated from protobuf field string parent = 4; - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertyType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertyType.php deleted file mode 100644 index 9e6af8865669..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/PropertyType.php +++ /dev/null @@ -1,68 +0,0 @@ -google.analytics.admin.v1alpha.PropertyType - */ -class PropertyType -{ - /** - * Unknown or unspecified property type - * - * Generated from protobuf enum PROPERTY_TYPE_UNSPECIFIED = 0; - */ - const PROPERTY_TYPE_UNSPECIFIED = 0; - /** - * Ordinary Google Analytics property - * - * Generated from protobuf enum PROPERTY_TYPE_ORDINARY = 1; - */ - const PROPERTY_TYPE_ORDINARY = 1; - /** - * Google Analytics subproperty - * - * Generated from protobuf enum PROPERTY_TYPE_SUBPROPERTY = 2; - */ - const PROPERTY_TYPE_SUBPROPERTY = 2; - /** - * Google Analytics rollup property - * - * Generated from protobuf enum PROPERTY_TYPE_ROLLUP = 3; - */ - const PROPERTY_TYPE_ROLLUP = 3; - - private static $valueToName = [ - self::PROPERTY_TYPE_UNSPECIFIED => 'PROPERTY_TYPE_UNSPECIFIED', - self::PROPERTY_TYPE_ORDINARY => 'PROPERTY_TYPE_ORDINARY', - self::PROPERTY_TYPE_SUBPROPERTY => 'PROPERTY_TYPE_SUBPROPERTY', - self::PROPERTY_TYPE_ROLLUP => 'PROPERTY_TYPE_ROLLUP', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketRequest.php deleted file mode 100644 index ff65ff2d84d1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketRequest.php +++ /dev/null @@ -1,115 +0,0 @@ -google.analytics.admin.v1alpha.ProvisionAccountTicketRequest - */ -class ProvisionAccountTicketRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The account to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1; - */ - protected $account = null; - /** - * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Cloud Console as a Redirect URI. - * - * Generated from protobuf field string redirect_uri = 2; - */ - protected $redirect_uri = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\Account $account - * The account to create. - * @type string $redirect_uri - * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Cloud Console as a Redirect URI. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The account to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1; - * @return \Google\Analytics\Admin\V1alpha\Account|null - */ - public function getAccount() - { - return $this->account; - } - - public function hasAccount() - { - return isset($this->account); - } - - public function clearAccount() - { - unset($this->account); - } - - /** - * The account to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1; - * @param \Google\Analytics\Admin\V1alpha\Account $var - * @return $this - */ - public function setAccount($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Account::class); - $this->account = $var; - - return $this; - } - - /** - * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Cloud Console as a Redirect URI. - * - * Generated from protobuf field string redirect_uri = 2; - * @return string - */ - public function getRedirectUri() - { - return $this->redirect_uri; - } - - /** - * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Cloud Console as a Redirect URI. - * - * Generated from protobuf field string redirect_uri = 2; - * @param string $var - * @return $this - */ - public function setRedirectUri($var) - { - GPBUtil::checkString($var, True); - $this->redirect_uri = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketResponse.php deleted file mode 100644 index ee19fc19c8e4..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionAccountTicketResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1alpha.ProvisionAccountTicketResponse - */ -class ProvisionAccountTicketResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The param to be passed in the ToS link. - * - * Generated from protobuf field string account_ticket_id = 1; - */ - protected $account_ticket_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $account_ticket_id - * The param to be passed in the ToS link. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The param to be passed in the ToS link. - * - * Generated from protobuf field string account_ticket_id = 1; - * @return string - */ - public function getAccountTicketId() - { - return $this->account_ticket_id; - } - - /** - * The param to be passed in the ToS link. - * - * Generated from protobuf field string account_ticket_id = 1; - * @param string $var - * @return $this - */ - public function setAccountTicketId($var) - { - GPBUtil::checkString($var, True); - $this->account_ticket_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyRequest.php deleted file mode 100644 index 3d708d0b4dfc..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyRequest.php +++ /dev/null @@ -1,159 +0,0 @@ -google.analytics.admin.v1alpha.ProvisionSubpropertyRequest - */ -class ProvisionSubpropertyRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The subproperty to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $subproperty = null; - /** - * Optional. The subproperty event filter to create on an ordinary property. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $subproperty_event_filter = null; - /** - * Optional. The subproperty feature synchronization mode for Custom - * Dimensions and Metrics - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode custom_dimension_and_metric_synchronization_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $custom_dimension_and_metric_synchronization_mode = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\Property $subproperty - * Required. The subproperty to create. - * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subproperty_event_filter - * Optional. The subproperty event filter to create on an ordinary property. - * @type int $custom_dimension_and_metric_synchronization_mode - * Optional. The subproperty feature synchronization mode for Custom - * Dimensions and Metrics - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The subproperty to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\Property|null - */ - public function getSubproperty() - { - return $this->subproperty; - } - - public function hasSubproperty() - { - return isset($this->subproperty); - } - - public function clearSubproperty() - { - unset($this->subproperty); - } - - /** - * Required. The subproperty to create. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\Property $var - * @return $this - */ - public function setSubproperty($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Property::class); - $this->subproperty = $var; - - return $this; - } - - /** - * Optional. The subproperty event filter to create on an ordinary property. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter|null - */ - public function getSubpropertyEventFilter() - { - return $this->subproperty_event_filter; - } - - public function hasSubpropertyEventFilter() - { - return isset($this->subproperty_event_filter); - } - - public function clearSubpropertyEventFilter() - { - unset($this->subproperty_event_filter); - } - - /** - * Optional. The subproperty event filter to create on an ordinary property. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $var - * @return $this - */ - public function setSubpropertyEventFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter::class); - $this->subproperty_event_filter = $var; - - return $this; - } - - /** - * Optional. The subproperty feature synchronization mode for Custom - * Dimensions and Metrics - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode custom_dimension_and_metric_synchronization_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getCustomDimensionAndMetricSynchronizationMode() - { - return $this->custom_dimension_and_metric_synchronization_mode; - } - - /** - * Optional. The subproperty feature synchronization mode for Custom - * Dimensions and Metrics - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode custom_dimension_and_metric_synchronization_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setCustomDimensionAndMetricSynchronizationMode($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig\SynchronizationMode::class); - $this->custom_dimension_and_metric_synchronization_mode = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyResponse.php deleted file mode 100644 index a6d04446aa2a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ProvisionSubpropertyResponse.php +++ /dev/null @@ -1,121 +0,0 @@ -google.analytics.admin.v1alpha.ProvisionSubpropertyResponse - */ -class ProvisionSubpropertyResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The created subproperty. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property subproperty = 1; - */ - protected $subproperty = null; - /** - * The created subproperty event filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; - */ - protected $subproperty_event_filter = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\Property $subproperty - * The created subproperty. - * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subproperty_event_filter - * The created subproperty event filter. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The created subproperty. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property subproperty = 1; - * @return \Google\Analytics\Admin\V1alpha\Property|null - */ - public function getSubproperty() - { - return $this->subproperty; - } - - public function hasSubproperty() - { - return isset($this->subproperty); - } - - public function clearSubproperty() - { - unset($this->subproperty); - } - - /** - * The created subproperty. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property subproperty = 1; - * @param \Google\Analytics\Admin\V1alpha\Property $var - * @return $this - */ - public function setSubproperty($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Property::class); - $this->subproperty = $var; - - return $this; - } - - /** - * The created subproperty event filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; - * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter|null - */ - public function getSubpropertyEventFilter() - { - return $this->subproperty_event_filter; - } - - public function hasSubpropertyEventFilter() - { - return isset($this->subproperty_event_filter); - } - - public function clearSubpropertyEventFilter() - { - unset($this->subproperty_event_filter); - } - - /** - * The created subproperty event filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; - * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $var - * @return $this - */ - public function setSubpropertyEventFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter::class); - $this->subproperty_event_filter = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReorderEventEditRulesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReorderEventEditRulesRequest.php deleted file mode 100644 index 5b14e1270bbe..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReorderEventEditRulesRequest.php +++ /dev/null @@ -1,109 +0,0 @@ -google.analytics.admin.v1alpha.ReorderEventEditRulesRequest - */ -class ReorderEventEditRulesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Example format: properties/123/dataStreams/456 - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. EventEditRule resource names for the specified data stream, in - * the needed processing order. All EventEditRules for the stream must be - * present in the list. - * - * Generated from protobuf field repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $event_edit_rules; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/123/dataStreams/456 - * @type string[] $event_edit_rules - * Required. EventEditRule resource names for the specified data stream, in - * the needed processing order. All EventEditRules for the stream must be - * present in the list. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Example format: properties/123/dataStreams/456 - * - * 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/123/dataStreams/456 - * - * 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. EventEditRule resource names for the specified data stream, in - * the needed processing order. All EventEditRules for the stream must be - * present in the list. - * - * Generated from protobuf field repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return RepeatedField - */ - public function getEventEditRules() - { - return $this->event_edit_rules; - } - - /** - * Required. EventEditRule resource names for the specified data stream, in - * the needed processing order. All EventEditRules for the stream must be - * present in the list. - * - * Generated from protobuf field repeated string event_edit_rules = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string[] $var - * @return $this - */ - public function setEventEditRules($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->event_edit_rules = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation.php deleted file mode 100644 index c63220cc0dcc..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation.php +++ /dev/null @@ -1,304 +0,0 @@ -google.analytics.admin.v1alpha.ReportingDataAnnotation - */ -class ReportingDataAnnotation extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Identifier. Resource name of this Reporting Data Annotation. - * Format: - * 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' - * Format: 'properties/123/reportingDataAnnotations/456' - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = REQUIRED]; - */ - protected $name = ''; - /** - * Required. Human-readable title for this Reporting Data Annotation. - * - * Generated from protobuf field string title = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $title = ''; - /** - * Optional. Description for this Reporting Data Annotation. - * - * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $description = ''; - /** - * Required. The color used for display of this Reporting Data Annotation. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation.Color color = 6 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $color = 0; - /** - * Output only. If true, this annotation was generated by the Google Analytics - * system. System-generated annotations cannot be updated or deleted. - * - * Generated from protobuf field bool system_generated = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $system_generated = false; - protected $target; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Type\Date $annotation_date - * If set, the Reporting Data Annotation is for a specific date represented - * by this field. The date must be a valid date with year, month and day - * set. The date may be in the past, present, or future. - * @type \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation\DateRange $annotation_date_range - * If set, the Reporting Data Annotation is for a range of dates represented - * by this field. - * @type string $name - * Required. Identifier. Resource name of this Reporting Data Annotation. - * Format: - * 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' - * Format: 'properties/123/reportingDataAnnotations/456' - * @type string $title - * Required. Human-readable title for this Reporting Data Annotation. - * @type string $description - * Optional. Description for this Reporting Data Annotation. - * @type int $color - * Required. The color used for display of this Reporting Data Annotation. - * @type bool $system_generated - * Output only. If true, this annotation was generated by the Google Analytics - * system. System-generated annotations cannot be updated or deleted. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * If set, the Reporting Data Annotation is for a specific date represented - * by this field. The date must be a valid date with year, month and day - * set. The date may be in the past, present, or future. - * - * Generated from protobuf field .google.type.Date annotation_date = 4; - * @return \Google\Type\Date|null - */ - public function getAnnotationDate() - { - return $this->readOneof(4); - } - - public function hasAnnotationDate() - { - return $this->hasOneof(4); - } - - /** - * If set, the Reporting Data Annotation is for a specific date represented - * by this field. The date must be a valid date with year, month and day - * set. The date may be in the past, present, or future. - * - * Generated from protobuf field .google.type.Date annotation_date = 4; - * @param \Google\Type\Date $var - * @return $this - */ - public function setAnnotationDate($var) - { - GPBUtil::checkMessage($var, \Google\Type\Date::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * If set, the Reporting Data Annotation is for a range of dates represented - * by this field. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation.DateRange annotation_date_range = 5; - * @return \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation\DateRange|null - */ - public function getAnnotationDateRange() - { - return $this->readOneof(5); - } - - public function hasAnnotationDateRange() - { - return $this->hasOneof(5); - } - - /** - * If set, the Reporting Data Annotation is for a range of dates represented - * by this field. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation.DateRange annotation_date_range = 5; - * @param \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation\DateRange $var - * @return $this - */ - public function setAnnotationDateRange($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation\DateRange::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Required. Identifier. Resource name of this Reporting Data Annotation. - * Format: - * 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' - * Format: 'properties/123/reportingDataAnnotations/456' - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. Identifier. Resource name of this Reporting Data Annotation. - * Format: - * 'properties/{property_id}/reportingDataAnnotations/{reporting_data_annotation}' - * Format: 'properties/123/reportingDataAnnotations/456' - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. Human-readable title for this Reporting Data Annotation. - * - * Generated from protobuf field string title = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getTitle() - { - return $this->title; - } - - /** - * Required. Human-readable title for this Reporting Data Annotation. - * - * Generated from protobuf field string title = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setTitle($var) - { - GPBUtil::checkString($var, True); - $this->title = $var; - - return $this; - } - - /** - * Optional. Description for this Reporting Data Annotation. - * - * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Optional. Description for this Reporting Data Annotation. - * - * 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; - } - - /** - * Required. The color used for display of this Reporting Data Annotation. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation.Color color = 6 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getColor() - { - return $this->color; - } - - /** - * Required. The color used for display of this Reporting Data Annotation. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation.Color color = 6 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setColor($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation\Color::class); - $this->color = $var; - - return $this; - } - - /** - * Output only. If true, this annotation was generated by the Google Analytics - * system. System-generated annotations cannot be updated or deleted. - * - * Generated from protobuf field bool system_generated = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getSystemGenerated() - { - return $this->system_generated; - } - - /** - * Output only. If true, this annotation was generated by the Google Analytics - * system. System-generated annotations cannot be updated or deleted. - * - * Generated from protobuf field bool system_generated = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setSystemGenerated($var) - { - GPBUtil::checkBool($var); - $this->system_generated = $var; - - return $this; - } - - /** - * @return string - */ - public function getTarget() - { - return $this->whichOneof("target"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/Color.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/Color.php deleted file mode 100644 index b7461c02a1ee..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/Color.php +++ /dev/null @@ -1,96 +0,0 @@ -google.analytics.admin.v1alpha.ReportingDataAnnotation.Color - */ -class Color -{ - /** - * Color unknown or not specified. - * - * Generated from protobuf enum COLOR_UNSPECIFIED = 0; - */ - const COLOR_UNSPECIFIED = 0; - /** - * Purple color. - * - * Generated from protobuf enum PURPLE = 1; - */ - const PURPLE = 1; - /** - * Brown color. - * - * Generated from protobuf enum BROWN = 2; - */ - const BROWN = 2; - /** - * Blue color. - * - * Generated from protobuf enum BLUE = 3; - */ - const BLUE = 3; - /** - * Green color. - * - * Generated from protobuf enum GREEN = 4; - */ - const GREEN = 4; - /** - * Red color. - * - * Generated from protobuf enum RED = 5; - */ - const RED = 5; - /** - * Cyan color. - * - * Generated from protobuf enum CYAN = 6; - */ - const CYAN = 6; - /** - * Orange color. (Only used for system-generated annotations) - * - * Generated from protobuf enum ORANGE = 7; - */ - const ORANGE = 7; - - private static $valueToName = [ - self::COLOR_UNSPECIFIED => 'COLOR_UNSPECIFIED', - self::PURPLE => 'PURPLE', - self::BROWN => 'BROWN', - self::BLUE => 'BLUE', - self::GREEN => 'GREEN', - self::RED => 'RED', - self::CYAN => 'CYAN', - self::ORANGE => 'ORANGE', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/DateRange.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/DateRange.php deleted file mode 100644 index 28c7a23d6388..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingDataAnnotation/DateRange.php +++ /dev/null @@ -1,138 +0,0 @@ -google.analytics.admin.v1alpha.ReportingDataAnnotation.DateRange - */ -class DateRange extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The start date for this range. Must be a valid date with - * year, month, and day set. The date may be in the past, present, or - * future. - * - * Generated from protobuf field .google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $start_date = null; - /** - * Required. The end date for this range. Must be a valid date with - * year, month, and day set. This date must be greater than or equal to - * the start date. - * - * Generated from protobuf field .google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $end_date = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Type\Date $start_date - * Required. The start date for this range. Must be a valid date with - * year, month, and day set. The date may be in the past, present, or - * future. - * @type \Google\Type\Date $end_date - * Required. The end date for this range. Must be a valid date with - * year, month, and day set. This date must be greater than or equal to - * the start date. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Required. The start date for this range. Must be a valid date with - * year, month, and day set. The date may be in the past, present, or - * future. - * - * Generated from protobuf field .google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Type\Date|null - */ - public function getStartDate() - { - return $this->start_date; - } - - public function hasStartDate() - { - return isset($this->start_date); - } - - public function clearStartDate() - { - unset($this->start_date); - } - - /** - * Required. The start date for this range. Must be a valid date with - * year, month, and day set. The date may be in the past, present, or - * future. - * - * Generated from protobuf field .google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Type\Date $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkMessage($var, \Google\Type\Date::class); - $this->start_date = $var; - - return $this; - } - - /** - * Required. The end date for this range. Must be a valid date with - * year, month, and day set. This date must be greater than or equal to - * the start date. - * - * Generated from protobuf field .google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Type\Date|null - */ - public function getEndDate() - { - return $this->end_date; - } - - public function hasEndDate() - { - return isset($this->end_date); - } - - public function clearEndDate() - { - unset($this->end_date); - } - - /** - * Required. The end date for this range. Must be a valid date with - * year, month, and day set. This date must be greater than or equal to - * the start date. - * - * Generated from protobuf field .google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Type\Date $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkMessage($var, \Google\Type\Date::class); - $this->end_date = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings.php deleted file mode 100644 index bce9d3af2b20..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings.php +++ /dev/null @@ -1,113 +0,0 @@ -google.analytics.admin.v1alpha.ReportingIdentitySettings - */ -class ReportingIdentitySettings extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Identifier. Resource name for this reporting identity settings - * singleton resource. Format: - * properties/{property_id}/reportingIdentitySettings Example: - * "properties/1234/reportingIdentitySettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * The strategy used for identifying user identities in reports. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingIdentitySettings.ReportingIdentity reporting_identity = 2; - */ - protected $reporting_identity = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Identifier. Resource name for this reporting identity settings - * singleton resource. Format: - * properties/{property_id}/reportingIdentitySettings Example: - * "properties/1234/reportingIdentitySettings" - * @type int $reporting_identity - * The strategy used for identifying user identities in reports. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Identifier. Resource name for this reporting identity settings - * singleton resource. Format: - * properties/{property_id}/reportingIdentitySettings Example: - * "properties/1234/reportingIdentitySettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Identifier. Resource name for this reporting identity settings - * singleton resource. Format: - * properties/{property_id}/reportingIdentitySettings Example: - * "properties/1234/reportingIdentitySettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The strategy used for identifying user identities in reports. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingIdentitySettings.ReportingIdentity reporting_identity = 2; - * @return int - */ - public function getReportingIdentity() - { - return $this->reporting_identity; - } - - /** - * The strategy used for identifying user identities in reports. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingIdentitySettings.ReportingIdentity reporting_identity = 2; - * @param int $var - * @return $this - */ - public function setReportingIdentity($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\ReportingIdentitySettings\ReportingIdentity::class); - $this->reporting_identity = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings/ReportingIdentity.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings/ReportingIdentity.php deleted file mode 100644 index 7843a32a3371..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ReportingIdentitySettings/ReportingIdentity.php +++ /dev/null @@ -1,68 +0,0 @@ -google.analytics.admin.v1alpha.ReportingIdentitySettings.ReportingIdentity - */ -class ReportingIdentity -{ - /** - * Unspecified blending strategy. - * - * Generated from protobuf enum IDENTITY_BLENDING_STRATEGY_UNSPECIFIED = 0; - */ - const IDENTITY_BLENDING_STRATEGY_UNSPECIFIED = 0; - /** - * Blended reporting identity strategy. - * - * Generated from protobuf enum BLENDED = 1; - */ - const BLENDED = 1; - /** - * Observed reporting identity strategy. - * - * Generated from protobuf enum OBSERVED = 2; - */ - const OBSERVED = 2; - /** - * Device-based reporting identity strategy. - * - * Generated from protobuf enum DEVICE_BASED = 3; - */ - const DEVICE_BASED = 3; - - private static $valueToName = [ - self::IDENTITY_BLENDING_STRATEGY_UNSPECIFIED => 'IDENTITY_BLENDING_STRATEGY_UNSPECIFIED', - self::BLENDED => 'BLENDED', - self::OBSERVED => 'OBSERVED', - self::DEVICE_BASED => 'DEVICE_BASED', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RollupPropertySourceLink.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RollupPropertySourceLink.php deleted file mode 100644 index f8590a3c5977..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RollupPropertySourceLink.php +++ /dev/null @@ -1,121 +0,0 @@ -google.analytics.admin.v1alpha.RollupPropertySourceLink - */ -class RollupPropertySourceLink extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of this RollupPropertySourceLink. - * Format: - * 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' - * Format: 'properties/123/rollupPropertySourceLinks/456' - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Immutable. Resource name of the source property. - * Format: properties/{property_id} - * Example: "properties/789" - * - * Generated from protobuf field string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $source_property = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of this RollupPropertySourceLink. - * Format: - * 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' - * Format: 'properties/123/rollupPropertySourceLinks/456' - * @type string $source_property - * Immutable. Resource name of the source property. - * Format: properties/{property_id} - * Example: "properties/789" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of this RollupPropertySourceLink. - * Format: - * 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' - * Format: 'properties/123/rollupPropertySourceLinks/456' - * - * 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 RollupPropertySourceLink. - * Format: - * 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' - * Format: 'properties/123/rollupPropertySourceLinks/456' - * - * 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. Resource name of the source property. - * Format: properties/{property_id} - * Example: "properties/789" - * - * Generated from protobuf field string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getSourceProperty() - { - return $this->source_property; - } - - /** - * Immutable. Resource name of the source property. - * Format: properties/{property_id} - * Example: "properties/789" - * - * Generated from protobuf field string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setSourceProperty($var) - { - GPBUtil::checkString($var, True); - $this->source_property = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportRequest.php deleted file mode 100644 index 4fdaa2bf8aa7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportRequest.php +++ /dev/null @@ -1,679 +0,0 @@ -google.analytics.admin.v1alpha.RunAccessReportRequest - */ -class RunAccessReportRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The Data Access Report supports requesting at the property level or account - * level. If requested at the account level, Data Access Reports include all - * access for all properties under that account. - * To request at the property level, entity should be for example - * 'properties/123' if "123" is your Google Analytics property ID. To request - * at the account level, entity should be for example 'accounts/1234' if - * "1234" is your Google Analytics Account ID. - * - * Generated from protobuf field string entity = 1; - */ - protected $entity = ''; - /** - * The dimensions requested and displayed in the response. Requests are - * allowed up to 9 dimensions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2; - */ - private $dimensions; - /** - * The metrics requested and displayed in the response. Requests are allowed - * up to 10 metrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3; - */ - private $metrics; - /** - * Date ranges of access records to read. If multiple date ranges are - * requested, each response row will contain a zero based date range index. If - * two date ranges overlap, the access records for the overlapping days is - * included in the response rows for both date ranges. Requests are allowed up - * to 2 date ranges. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4; - */ - private $date_ranges; - /** - * Dimension filters let you restrict report response to specific - * dimension values which match the filter. For example, filtering on access - * records of a single user. To learn more, see [Fundamentals of Dimension - * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) - * for examples. Metrics cannot be used in this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; - */ - protected $dimension_filter = null; - /** - * Metric filters allow you to restrict report response to specific metric - * values which match the filter. Metric filters are applied after aggregating - * the report's rows, similar to SQL having-clause. Dimensions cannot be used - * in this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; - */ - protected $metric_filter = null; - /** - * The row count of the start row. The first row is counted as row 0. If - * offset is unspecified, it is treated as 0. If offset is zero, then this - * method will return the first page of results with `limit` entries. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int64 offset = 7; - */ - protected $offset = 0; - /** - * The number of rows to return. If unspecified, 10,000 rows are returned. The - * API returns a maximum of 100,000 rows per request, no matter how many you - * ask for. `limit` must be positive. - * The API may return fewer rows than the requested `limit`, if there aren't - * as many remaining rows as the `limit`. For instance, there are fewer than - * 300 possible values for the dimension `country`, so when reporting on only - * `country`, you can't get more than 300 rows, even if you set `limit` to a - * higher value. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int64 limit = 8; - */ - protected $limit = 0; - /** - * This request's time zone if specified. If unspecified, the property's time - * zone is used. The request's time zone is used to interpret the start & end - * dates of the report. - * Formatted as strings from the IANA Time Zone database - * (https://www.iana.org/time-zones); for example "America/New_York" or - * "Asia/Tokyo". - * - * Generated from protobuf field string time_zone = 9; - */ - protected $time_zone = ''; - /** - * Specifies how rows are ordered in the response. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; - */ - private $order_bys; - /** - * Toggles whether to return the current state of this Analytics Property's - * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level - * requests, this field must be false. - * - * Generated from protobuf field bool return_entity_quota = 11; - */ - protected $return_entity_quota = false; - /** - * Optional. Determines whether to include users who have never made an API - * call in the response. If true, all users with access to the specified - * property or account are included in the response, regardless of whether - * they have made an API call or not. If false, only the users who have made - * an API call will be included. - * - * Generated from protobuf field bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $include_all_users = false; - /** - * Optional. Decides whether to return the users within user groups. This - * field works only when include_all_users is set to true. If true, it will - * return all users with access to the specified property or account. - * If false, only the users with direct access will be returned. - * - * Generated from protobuf field bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $expand_groups = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $entity - * The Data Access Report supports requesting at the property level or account - * level. If requested at the account level, Data Access Reports include all - * access for all properties under that account. - * To request at the property level, entity should be for example - * 'properties/123' if "123" is your Google Analytics property ID. To request - * at the account level, entity should be for example 'accounts/1234' if - * "1234" is your Google Analytics Account ID. - * @type \Google\Analytics\Admin\V1alpha\AccessDimension[] $dimensions - * The dimensions requested and displayed in the response. Requests are - * allowed up to 9 dimensions. - * @type \Google\Analytics\Admin\V1alpha\AccessMetric[] $metrics - * The metrics requested and displayed in the response. Requests are allowed - * up to 10 metrics. - * @type \Google\Analytics\Admin\V1alpha\AccessDateRange[] $date_ranges - * Date ranges of access records to read. If multiple date ranges are - * requested, each response row will contain a zero based date range index. If - * two date ranges overlap, the access records for the overlapping days is - * included in the response rows for both date ranges. Requests are allowed up - * to 2 date ranges. - * @type \Google\Analytics\Admin\V1alpha\AccessFilterExpression $dimension_filter - * Dimension filters let you restrict report response to specific - * dimension values which match the filter. For example, filtering on access - * records of a single user. To learn more, see [Fundamentals of Dimension - * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) - * for examples. Metrics cannot be used in this filter. - * @type \Google\Analytics\Admin\V1alpha\AccessFilterExpression $metric_filter - * Metric filters allow you to restrict report response to specific metric - * values which match the filter. Metric filters are applied after aggregating - * the report's rows, similar to SQL having-clause. Dimensions cannot be used - * in this filter. - * @type int|string $offset - * The row count of the start row. The first row is counted as row 0. If - * offset is unspecified, it is treated as 0. If offset is zero, then this - * method will return the first page of results with `limit` entries. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * @type int|string $limit - * The number of rows to return. If unspecified, 10,000 rows are returned. The - * API returns a maximum of 100,000 rows per request, no matter how many you - * ask for. `limit` must be positive. - * The API may return fewer rows than the requested `limit`, if there aren't - * as many remaining rows as the `limit`. For instance, there are fewer than - * 300 possible values for the dimension `country`, so when reporting on only - * `country`, you can't get more than 300 rows, even if you set `limit` to a - * higher value. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * @type string $time_zone - * This request's time zone if specified. If unspecified, the property's time - * zone is used. The request's time zone is used to interpret the start & end - * dates of the report. - * Formatted as strings from the IANA Time Zone database - * (https://www.iana.org/time-zones); for example "America/New_York" or - * "Asia/Tokyo". - * @type \Google\Analytics\Admin\V1alpha\AccessOrderBy[] $order_bys - * Specifies how rows are ordered in the response. - * @type bool $return_entity_quota - * Toggles whether to return the current state of this Analytics Property's - * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level - * requests, this field must be false. - * @type bool $include_all_users - * Optional. Determines whether to include users who have never made an API - * call in the response. If true, all users with access to the specified - * property or account are included in the response, regardless of whether - * they have made an API call or not. If false, only the users who have made - * an API call will be included. - * @type bool $expand_groups - * Optional. Decides whether to return the users within user groups. This - * field works only when include_all_users is set to true. If true, it will - * return all users with access to the specified property or account. - * If false, only the users with direct access will be returned. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The Data Access Report supports requesting at the property level or account - * level. If requested at the account level, Data Access Reports include all - * access for all properties under that account. - * To request at the property level, entity should be for example - * 'properties/123' if "123" is your Google Analytics property ID. To request - * at the account level, entity should be for example 'accounts/1234' if - * "1234" is your Google Analytics Account ID. - * - * Generated from protobuf field string entity = 1; - * @return string - */ - public function getEntity() - { - return $this->entity; - } - - /** - * The Data Access Report supports requesting at the property level or account - * level. If requested at the account level, Data Access Reports include all - * access for all properties under that account. - * To request at the property level, entity should be for example - * 'properties/123' if "123" is your Google Analytics property ID. To request - * at the account level, entity should be for example 'accounts/1234' if - * "1234" is your Google Analytics Account ID. - * - * Generated from protobuf field string entity = 1; - * @param string $var - * @return $this - */ - public function setEntity($var) - { - GPBUtil::checkString($var, True); - $this->entity = $var; - - return $this; - } - - /** - * The dimensions requested and displayed in the response. Requests are - * allowed up to 9 dimensions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessDimension> - */ - public function getDimensions() - { - return $this->dimensions; - } - - /** - * The dimensions requested and displayed in the response. Requests are - * allowed up to 9 dimensions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimension dimensions = 2; - * @param \Google\Analytics\Admin\V1alpha\AccessDimension[] $var - * @return $this - */ - public function setDimensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessDimension::class); - $this->dimensions = $arr; - - return $this; - } - - /** - * The metrics requested and displayed in the response. Requests are allowed - * up to 10 metrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessMetric> - */ - public function getMetrics() - { - return $this->metrics; - } - - /** - * The metrics requested and displayed in the response. Requests are allowed - * up to 10 metrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetric metrics = 3; - * @param \Google\Analytics\Admin\V1alpha\AccessMetric[] $var - * @return $this - */ - public function setMetrics($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessMetric::class); - $this->metrics = $arr; - - return $this; - } - - /** - * Date ranges of access records to read. If multiple date ranges are - * requested, each response row will contain a zero based date range index. If - * two date ranges overlap, the access records for the overlapping days is - * included in the response rows for both date ranges. Requests are allowed up - * to 2 date ranges. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessDateRange> - */ - public function getDateRanges() - { - return $this->date_ranges; - } - - /** - * Date ranges of access records to read. If multiple date ranges are - * requested, each response row will contain a zero based date range index. If - * two date ranges overlap, the access records for the overlapping days is - * included in the response rows for both date ranges. Requests are allowed up - * to 2 date ranges. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDateRange date_ranges = 4; - * @param \Google\Analytics\Admin\V1alpha\AccessDateRange[] $var - * @return $this - */ - public function setDateRanges($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessDateRange::class); - $this->date_ranges = $arr; - - return $this; - } - - /** - * Dimension filters let you restrict report response to specific - * dimension values which match the filter. For example, filtering on access - * records of a single user. To learn more, see [Fundamentals of Dimension - * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) - * for examples. Metrics cannot be used in this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; - * @return \Google\Analytics\Admin\V1alpha\AccessFilterExpression|null - */ - public function getDimensionFilter() - { - return $this->dimension_filter; - } - - public function hasDimensionFilter() - { - return isset($this->dimension_filter); - } - - public function clearDimensionFilter() - { - unset($this->dimension_filter); - } - - /** - * Dimension filters let you restrict report response to specific - * dimension values which match the filter. For example, filtering on access - * records of a single user. To learn more, see [Fundamentals of Dimension - * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) - * for examples. Metrics cannot be used in this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression dimension_filter = 5; - * @param \Google\Analytics\Admin\V1alpha\AccessFilterExpression $var - * @return $this - */ - public function setDimensionFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessFilterExpression::class); - $this->dimension_filter = $var; - - return $this; - } - - /** - * Metric filters allow you to restrict report response to specific metric - * values which match the filter. Metric filters are applied after aggregating - * the report's rows, similar to SQL having-clause. Dimensions cannot be used - * in this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; - * @return \Google\Analytics\Admin\V1alpha\AccessFilterExpression|null - */ - public function getMetricFilter() - { - return $this->metric_filter; - } - - public function hasMetricFilter() - { - return isset($this->metric_filter); - } - - public function clearMetricFilter() - { - unset($this->metric_filter); - } - - /** - * Metric filters allow you to restrict report response to specific metric - * values which match the filter. Metric filters are applied after aggregating - * the report's rows, similar to SQL having-clause. Dimensions cannot be used - * in this filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessFilterExpression metric_filter = 6; - * @param \Google\Analytics\Admin\V1alpha\AccessFilterExpression $var - * @return $this - */ - public function setMetricFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessFilterExpression::class); - $this->metric_filter = $var; - - return $this; - } - - /** - * The row count of the start row. The first row is counted as row 0. If - * offset is unspecified, it is treated as 0. If offset is zero, then this - * method will return the first page of results with `limit` entries. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int64 offset = 7; - * @return int|string - */ - public function getOffset() - { - return $this->offset; - } - - /** - * The row count of the start row. The first row is counted as row 0. If - * offset is unspecified, it is treated as 0. If offset is zero, then this - * method will return the first page of results with `limit` entries. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int64 offset = 7; - * @param int|string $var - * @return $this - */ - public function setOffset($var) - { - GPBUtil::checkInt64($var); - $this->offset = $var; - - return $this; - } - - /** - * The number of rows to return. If unspecified, 10,000 rows are returned. The - * API returns a maximum of 100,000 rows per request, no matter how many you - * ask for. `limit` must be positive. - * The API may return fewer rows than the requested `limit`, if there aren't - * as many remaining rows as the `limit`. For instance, there are fewer than - * 300 possible values for the dimension `country`, so when reporting on only - * `country`, you can't get more than 300 rows, even if you set `limit` to a - * higher value. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int64 limit = 8; - * @return int|string - */ - public function getLimit() - { - return $this->limit; - } - - /** - * The number of rows to return. If unspecified, 10,000 rows are returned. The - * API returns a maximum of 100,000 rows per request, no matter how many you - * ask for. `limit` must be positive. - * The API may return fewer rows than the requested `limit`, if there aren't - * as many remaining rows as the `limit`. For instance, there are fewer than - * 300 possible values for the dimension `country`, so when reporting on only - * `country`, you can't get more than 300 rows, even if you set `limit` to a - * higher value. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int64 limit = 8; - * @param int|string $var - * @return $this - */ - public function setLimit($var) - { - GPBUtil::checkInt64($var); - $this->limit = $var; - - return $this; - } - - /** - * This request's time zone if specified. If unspecified, the property's time - * zone is used. The request's time zone is used to interpret the start & end - * dates of the report. - * Formatted as strings from the IANA Time Zone database - * (https://www.iana.org/time-zones); for example "America/New_York" or - * "Asia/Tokyo". - * - * Generated from protobuf field string time_zone = 9; - * @return string - */ - public function getTimeZone() - { - return $this->time_zone; - } - - /** - * This request's time zone if specified. If unspecified, the property's time - * zone is used. The request's time zone is used to interpret the start & end - * dates of the report. - * Formatted as strings from the IANA Time Zone database - * (https://www.iana.org/time-zones); for example "America/New_York" or - * "Asia/Tokyo". - * - * Generated from protobuf field string time_zone = 9; - * @param string $var - * @return $this - */ - public function setTimeZone($var) - { - GPBUtil::checkString($var, True); - $this->time_zone = $var; - - return $this; - } - - /** - * Specifies how rows are ordered in the response. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessOrderBy> - */ - public function getOrderBys() - { - return $this->order_bys; - } - - /** - * Specifies how rows are ordered in the response. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessOrderBy order_bys = 10; - * @param \Google\Analytics\Admin\V1alpha\AccessOrderBy[] $var - * @return $this - */ - public function setOrderBys($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessOrderBy::class); - $this->order_bys = $arr; - - return $this; - } - - /** - * Toggles whether to return the current state of this Analytics Property's - * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level - * requests, this field must be false. - * - * Generated from protobuf field bool return_entity_quota = 11; - * @return bool - */ - public function getReturnEntityQuota() - { - return $this->return_entity_quota; - } - - /** - * Toggles whether to return the current state of this Analytics Property's - * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level - * requests, this field must be false. - * - * Generated from protobuf field bool return_entity_quota = 11; - * @param bool $var - * @return $this - */ - public function setReturnEntityQuota($var) - { - GPBUtil::checkBool($var); - $this->return_entity_quota = $var; - - return $this; - } - - /** - * Optional. Determines whether to include users who have never made an API - * call in the response. If true, all users with access to the specified - * property or account are included in the response, regardless of whether - * they have made an API call or not. If false, only the users who have made - * an API call will be included. - * - * Generated from protobuf field bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getIncludeAllUsers() - { - return $this->include_all_users; - } - - /** - * Optional. Determines whether to include users who have never made an API - * call in the response. If true, all users with access to the specified - * property or account are included in the response, regardless of whether - * they have made an API call or not. If false, only the users who have made - * an API call will be included. - * - * Generated from protobuf field bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setIncludeAllUsers($var) - { - GPBUtil::checkBool($var); - $this->include_all_users = $var; - - return $this; - } - - /** - * Optional. Decides whether to return the users within user groups. This - * field works only when include_all_users is set to true. If true, it will - * return all users with access to the specified property or account. - * If false, only the users with direct access will be returned. - * - * Generated from protobuf field bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getExpandGroups() - { - return $this->expand_groups; - } - - /** - * Optional. Decides whether to return the users within user groups. This - * field works only when include_all_users is set to true. If true, it will - * return all users with access to the specified property or account. - * If false, only the users with direct access will be returned. - * - * Generated from protobuf field bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setExpandGroups($var) - { - GPBUtil::checkBool($var); - $this->expand_groups = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportResponse.php deleted file mode 100644 index 8a8e8c134676..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/RunAccessReportResponse.php +++ /dev/null @@ -1,257 +0,0 @@ -google.analytics.admin.v1alpha.RunAccessReportResponse - */ -class RunAccessReportResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The header for a column in the report that corresponds to a specific - * dimension. The number of DimensionHeaders and ordering of DimensionHeaders - * matches the dimensions present in rows. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - */ - private $dimension_headers; - /** - * The header for a column in the report that corresponds to a specific - * metric. The number of MetricHeaders and ordering of MetricHeaders matches - * the metrics present in rows. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2; - */ - private $metric_headers; - /** - * Rows of dimension value combinations and metric values in the report. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; - */ - private $rows; - /** - * The total number of rows in the query result. `rowCount` is independent of - * the number of rows returned in the response, the `limit` request - * parameter, and the `offset` request parameter. For example if a query - * returns 175 rows and includes `limit` of 50 in the API request, the - * response will contain `rowCount` of 175 but only 50 rows. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int32 row_count = 4; - */ - protected $row_count = 0; - /** - * The quota state for this Analytics property including this request. This - * field doesn't work with account-level requests. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuota quota = 5; - */ - protected $quota = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AccessDimensionHeader[] $dimension_headers - * The header for a column in the report that corresponds to a specific - * dimension. The number of DimensionHeaders and ordering of DimensionHeaders - * matches the dimensions present in rows. - * @type \Google\Analytics\Admin\V1alpha\AccessMetricHeader[] $metric_headers - * The header for a column in the report that corresponds to a specific - * metric. The number of MetricHeaders and ordering of MetricHeaders matches - * the metrics present in rows. - * @type \Google\Analytics\Admin\V1alpha\AccessRow[] $rows - * Rows of dimension value combinations and metric values in the report. - * @type int $row_count - * The total number of rows in the query result. `rowCount` is independent of - * the number of rows returned in the response, the `limit` request - * parameter, and the `offset` request parameter. For example if a query - * returns 175 rows and includes `limit` of 50 in the API request, the - * response will contain `rowCount` of 175 but only 50 rows. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * @type \Google\Analytics\Admin\V1alpha\AccessQuota $quota - * The quota state for this Analytics property including this request. This - * field doesn't work with account-level requests. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The header for a column in the report that corresponds to a specific - * dimension. The number of DimensionHeaders and ordering of DimensionHeaders - * matches the dimensions present in rows. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessDimensionHeader> - */ - public function getDimensionHeaders() - { - return $this->dimension_headers; - } - - /** - * The header for a column in the report that corresponds to a specific - * dimension. The number of DimensionHeaders and ordering of DimensionHeaders - * matches the dimensions present in rows. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessDimensionHeader dimension_headers = 1; - * @param \Google\Analytics\Admin\V1alpha\AccessDimensionHeader[] $var - * @return $this - */ - public function setDimensionHeaders($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessDimensionHeader::class); - $this->dimension_headers = $arr; - - return $this; - } - - /** - * The header for a column in the report that corresponds to a specific - * metric. The number of MetricHeaders and ordering of MetricHeaders matches - * the metrics present in rows. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessMetricHeader> - */ - public function getMetricHeaders() - { - return $this->metric_headers; - } - - /** - * The header for a column in the report that corresponds to a specific - * metric. The number of MetricHeaders and ordering of MetricHeaders matches - * the metrics present in rows. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessMetricHeader metric_headers = 2; - * @param \Google\Analytics\Admin\V1alpha\AccessMetricHeader[] $var - * @return $this - */ - public function setMetricHeaders($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessMetricHeader::class); - $this->metric_headers = $arr; - - return $this; - } - - /** - * Rows of dimension value combinations and metric values in the report. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\AccessRow> - */ - public function getRows() - { - return $this->rows; - } - - /** - * Rows of dimension value combinations and metric values in the report. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.AccessRow rows = 3; - * @param \Google\Analytics\Admin\V1alpha\AccessRow[] $var - * @return $this - */ - public function setRows($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\AccessRow::class); - $this->rows = $arr; - - return $this; - } - - /** - * The total number of rows in the query result. `rowCount` is independent of - * the number of rows returned in the response, the `limit` request - * parameter, and the `offset` request parameter. For example if a query - * returns 175 rows and includes `limit` of 50 in the API request, the - * response will contain `rowCount` of 175 but only 50 rows. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int32 row_count = 4; - * @return int - */ - public function getRowCount() - { - return $this->row_count; - } - - /** - * The total number of rows in the query result. `rowCount` is independent of - * the number of rows returned in the response, the `limit` request - * parameter, and the `offset` request parameter. For example if a query - * returns 175 rows and includes `limit` of 50 in the API request, the - * response will contain `rowCount` of 175 but only 50 rows. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int32 row_count = 4; - * @param int $var - * @return $this - */ - public function setRowCount($var) - { - GPBUtil::checkInt32($var); - $this->row_count = $var; - - return $this; - } - - /** - * The quota state for this Analytics property including this request. This - * field doesn't work with account-level requests. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuota quota = 5; - * @return \Google\Analytics\Admin\V1alpha\AccessQuota|null - */ - public function getQuota() - { - return $this->quota; - } - - public function hasQuota() - { - return isset($this->quota); - } - - public function clearQuota() - { - unset($this->quota); - } - - /** - * The quota state for this Analytics property including this request. This - * field doesn't work with account-level requests. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuota quota = 5; - * @param \Google\Analytics\Admin\V1alpha\AccessQuota $var - * @return $this - */ - public function setQuota($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessQuota::class); - $this->quota = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SKAdNetworkConversionValueSchema.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SKAdNetworkConversionValueSchema.php deleted file mode 100644 index 6aca77fe4073..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SKAdNetworkConversionValueSchema.php +++ /dev/null @@ -1,309 +0,0 @@ -google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema - */ -class SKAdNetworkConversionValueSchema extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Resource name of the schema. This will be child of ONLY an iOS - * stream, and there can be at most one such child under an iOS stream. - * Format: - * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Required. The conversion value settings for the first postback window. - * These differ from values for postback window two and three in that they - * contain a "Fine" grained conversion value (a numeric value). - * Conversion values for this postback window must be set. The other windows - * are optional and may inherit this window's settings if unset or disabled. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $postback_window_one = null; - /** - * The conversion value settings for the second postback window. - * This field should only be configured if there is a need to define different - * conversion values for this postback window. - * If enable_postback_window_settings is set to false for this postback - * window, the values from postback_window_one will be used. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3; - */ - protected $postback_window_two = null; - /** - * The conversion value settings for the third postback window. - * This field should only be set if the user chose to define different - * conversion values for this postback window. It is allowed to configure - * window 3 without setting window 2. In case window 1 & 2 settings are set - * and enable_postback_window_settings for this postback window is set to - * false, the schema will inherit settings from postback_window_two. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4; - */ - protected $postback_window_three = null; - /** - * If enabled, the GA SDK will set conversion values using this schema - * definition, and schema will be exported to any Google Ads accounts linked - * to this property. If disabled, the GA SDK will not automatically set - * conversion values, and also the schema will not be exported to Ads. - * - * Generated from protobuf field bool apply_conversion_values = 5; - */ - protected $apply_conversion_values = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. Resource name of the schema. This will be child of ONLY an iOS - * stream, and there can be at most one such child under an iOS stream. - * Format: - * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema - * @type \Google\Analytics\Admin\V1alpha\PostbackWindow $postback_window_one - * Required. The conversion value settings for the first postback window. - * These differ from values for postback window two and three in that they - * contain a "Fine" grained conversion value (a numeric value). - * Conversion values for this postback window must be set. The other windows - * are optional and may inherit this window's settings if unset or disabled. - * @type \Google\Analytics\Admin\V1alpha\PostbackWindow $postback_window_two - * The conversion value settings for the second postback window. - * This field should only be configured if there is a need to define different - * conversion values for this postback window. - * If enable_postback_window_settings is set to false for this postback - * window, the values from postback_window_one will be used. - * @type \Google\Analytics\Admin\V1alpha\PostbackWindow $postback_window_three - * The conversion value settings for the third postback window. - * This field should only be set if the user chose to define different - * conversion values for this postback window. It is allowed to configure - * window 3 without setting window 2. In case window 1 & 2 settings are set - * and enable_postback_window_settings for this postback window is set to - * false, the schema will inherit settings from postback_window_two. - * @type bool $apply_conversion_values - * If enabled, the GA SDK will set conversion values using this schema - * definition, and schema will be exported to any Google Ads accounts linked - * to this property. If disabled, the GA SDK will not automatically set - * conversion values, and also the schema will not be exported to Ads. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. Resource name of the schema. This will be child of ONLY an iOS - * stream, and there can be at most one such child under an iOS stream. - * Format: - * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Resource name of the schema. This will be child of ONLY an iOS - * stream, and there can be at most one such child under an iOS stream. - * Format: - * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The conversion value settings for the first postback window. - * These differ from values for postback window two and three in that they - * contain a "Fine" grained conversion value (a numeric value). - * Conversion values for this postback window must be set. The other windows - * are optional and may inherit this window's settings if unset or disabled. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\PostbackWindow|null - */ - public function getPostbackWindowOne() - { - return $this->postback_window_one; - } - - public function hasPostbackWindowOne() - { - return isset($this->postback_window_one); - } - - public function clearPostbackWindowOne() - { - unset($this->postback_window_one); - } - - /** - * Required. The conversion value settings for the first postback window. - * These differ from values for postback window two and three in that they - * contain a "Fine" grained conversion value (a numeric value). - * Conversion values for this postback window must be set. The other windows - * are optional and may inherit this window's settings if unset or disabled. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\PostbackWindow $var - * @return $this - */ - public function setPostbackWindowOne($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\PostbackWindow::class); - $this->postback_window_one = $var; - - return $this; - } - - /** - * The conversion value settings for the second postback window. - * This field should only be configured if there is a need to define different - * conversion values for this postback window. - * If enable_postback_window_settings is set to false for this postback - * window, the values from postback_window_one will be used. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3; - * @return \Google\Analytics\Admin\V1alpha\PostbackWindow|null - */ - public function getPostbackWindowTwo() - { - return $this->postback_window_two; - } - - public function hasPostbackWindowTwo() - { - return isset($this->postback_window_two); - } - - public function clearPostbackWindowTwo() - { - unset($this->postback_window_two); - } - - /** - * The conversion value settings for the second postback window. - * This field should only be configured if there is a need to define different - * conversion values for this postback window. - * If enable_postback_window_settings is set to false for this postback - * window, the values from postback_window_one will be used. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3; - * @param \Google\Analytics\Admin\V1alpha\PostbackWindow $var - * @return $this - */ - public function setPostbackWindowTwo($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\PostbackWindow::class); - $this->postback_window_two = $var; - - return $this; - } - - /** - * The conversion value settings for the third postback window. - * This field should only be set if the user chose to define different - * conversion values for this postback window. It is allowed to configure - * window 3 without setting window 2. In case window 1 & 2 settings are set - * and enable_postback_window_settings for this postback window is set to - * false, the schema will inherit settings from postback_window_two. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4; - * @return \Google\Analytics\Admin\V1alpha\PostbackWindow|null - */ - public function getPostbackWindowThree() - { - return $this->postback_window_three; - } - - public function hasPostbackWindowThree() - { - return isset($this->postback_window_three); - } - - public function clearPostbackWindowThree() - { - unset($this->postback_window_three); - } - - /** - * The conversion value settings for the third postback window. - * This field should only be set if the user chose to define different - * conversion values for this postback window. It is allowed to configure - * window 3 without setting window 2. In case window 1 & 2 settings are set - * and enable_postback_window_settings for this postback window is set to - * false, the schema will inherit settings from postback_window_two. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4; - * @param \Google\Analytics\Admin\V1alpha\PostbackWindow $var - * @return $this - */ - public function setPostbackWindowThree($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\PostbackWindow::class); - $this->postback_window_three = $var; - - return $this; - } - - /** - * If enabled, the GA SDK will set conversion values using this schema - * definition, and schema will be exported to any Google Ads accounts linked - * to this property. If disabled, the GA SDK will not automatically set - * conversion values, and also the schema will not be exported to Ads. - * - * Generated from protobuf field bool apply_conversion_values = 5; - * @return bool - */ - public function getApplyConversionValues() - { - return $this->apply_conversion_values; - } - - /** - * If enabled, the GA SDK will set conversion values using this schema - * definition, and schema will be exported to any Google Ads accounts linked - * to this property. If disabled, the GA SDK will not automatically set - * conversion values, and also the schema will not be exported to Ads. - * - * Generated from protobuf field bool apply_conversion_values = 5; - * @param bool $var - * @return $this - */ - public function setApplyConversionValues($var) - { - GPBUtil::checkBool($var); - $this->apply_conversion_values = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchAds360Link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchAds360Link.php deleted file mode 100644 index 37d8b7b92fc7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchAds360Link.php +++ /dev/null @@ -1,489 +0,0 @@ -google.analytics.admin.v1alpha.SearchAds360Link - */ -class SearchAds360Link extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. 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) = IDENTIFIER]; - */ - protected $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]; - */ - protected $advertiser_id = ''; - /** - * Immutable. Enables the import of campaign data from Search Ads 360 into the - * Google Analytics 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]; - */ - protected $campaign_data_sharing_enabled = null; - /** - * Immutable. Enables the import of cost data from Search Ads 360 to the - * Google Analytics 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]; - */ - protected $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]; - */ - protected $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; - */ - protected $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; - */ - protected $site_stats_sharing_enabled = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. 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 - * Google Analytics 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 - * Google Analytics 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); - } - - /** - * Identifier. 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) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. 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) = IDENTIFIER]; - * @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 - * Google Analytics 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 - * Google Analytics 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 getCampaignDataSharingEnabledUnwrapped() - { - return $this->readWrapperValue("campaign_data_sharing_enabled"); - } - - /** - * Immutable. Enables the import of campaign data from Search Ads 360 into the - * Google Analytics 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 - * Google Analytics 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 setCampaignDataSharingEnabledUnwrapped($var) - { - $this->writeWrapperValue("campaign_data_sharing_enabled", $var); - return $this;} - - /** - * Immutable. Enables the import of cost data from Search Ads 360 to the - * Google Analytics 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 - * Google Analytics 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 getCostDataSharingEnabledUnwrapped() - { - return $this->readWrapperValue("cost_data_sharing_enabled"); - } - - /** - * Immutable. Enables the import of cost data from Search Ads 360 to the - * Google Analytics 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 - * Google Analytics 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 setCostDataSharingEnabledUnwrapped($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 getAdsPersonalizationEnabledUnwrapped() - { - 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 setAdsPersonalizationEnabledUnwrapped($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 getSiteStatsSharingEnabledUnwrapped() - { - 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 setSiteStatsSharingEnabledUnwrapped($var) - { - $this->writeWrapperValue("site_stats_sharing_enabled", $var); - return $this;} - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsRequest.php deleted file mode 100644 index 975a39949792..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsRequest.php +++ /dev/null @@ -1,435 +0,0 @@ -google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest - */ -class SearchChangeHistoryEventsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The account resource for which to return change history - * resources. Format: accounts/{account} - * Example: `accounts/100` - * - * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $account = ''; - /** - * Optional. Resource name for a child property. If set, only return changes - * made to this property or its child resources. - * Format: properties/{propertyId} - * Example: `properties/100` - * - * Generated from protobuf field string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - */ - protected $property = ''; - /** - * 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. - * - * 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. - * - * Generated from protobuf field repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $actor_email; - /** - * Optional. If set, only return changes made after this time (inclusive). - * - * Generated from protobuf field .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $earliest_change_time = null; - /** - * Optional. If set, only return changes made before this time (inclusive). - * - * Generated from protobuf field .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $latest_change_time = null; - /** - * Optional. The maximum number of ChangeHistoryEvent items to return. - * If unspecified, at most 50 items will be returned. The maximum value is 200 - * (higher values will be coerced to the maximum). - * Note that the service may return a page with fewer items than this value - * specifies (potentially even zero), and that there still may be additional - * pages. If you want a particular number of items, you'll need to continue - * requesting additional pages using `page_token` until you get the needed - * number. - * - * Generated from protobuf field int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $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. - * - * Generated from protobuf field string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $account - * Required. The account resource for which to return change history - * resources. Format: accounts/{account} - * Example: `accounts/100` - * @type string $property - * Optional. Resource name for a child property. If set, only return changes - * made to this property or its child resources. - * Format: properties/{propertyId} - * Example: `properties/100` - * @type int[] $resource_type - * Optional. If set, only return changes if they are for a resource that - * matches at least one of these types. - * @type int[] $action - * Optional. If set, only return changes that match one or more of these types - * of actions. - * @type string[] $actor_email - * 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 - * Optional. If set, only return changes made before this time (inclusive). - * @type int $page_size - * Optional. The maximum number of ChangeHistoryEvent items to return. - * If unspecified, at most 50 items will be returned. The maximum value is 200 - * (higher values will be coerced to the maximum). - * Note that the service may return a page with fewer items than this value - * specifies (potentially even zero), and that there still may be additional - * pages. If you want a particular number of items, you'll need to continue - * requesting additional pages using `page_token` until you get the needed - * number. - * @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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The account resource for which to return change history - * resources. Format: accounts/{account} - * Example: `accounts/100` - * - * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getAccount() - { - return $this->account; - } - - /** - * Required. The account resource for which to return change history - * resources. Format: accounts/{account} - * Example: `accounts/100` - * - * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAccount($var) - { - GPBUtil::checkString($var, True); - $this->account = $var; - - return $this; - } - - /** - * Optional. Resource name for a child property. If set, only return changes - * made to this property or its child resources. - * Format: properties/{propertyId} - * Example: `properties/100` - * - * Generated from protobuf field string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @return string - */ - public function getProperty() - { - return $this->property; - } - - /** - * Optional. Resource name for a child property. If set, only return changes - * made to this property or its child resources. - * Format: properties/{propertyId} - * Example: `properties/100` - * - * Generated from protobuf field string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkString($var, True); - $this->property = $var; - - return $this; - } - - /** - * 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 RepeatedField - */ - public function getResourceType() - { - return $this->resource_type; - } - - /** - * 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 int[] $var - * @return $this - */ - public function setResourceType($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Analytics\Admin\V1alpha\ChangeHistoryResourceType::class); - $this->resource_type = $arr; - - return $this; - } - - /** - * 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 RepeatedField - */ - public function getAction() - { - return $this->action; - } - - /** - * 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 int[] $var - * @return $this - */ - public function setAction($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Analytics\Admin\V1alpha\ActionType::class); - $this->action = $arr; - - return $this; - } - - /** - * 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 RepeatedField - */ - public function getActorEmail() - { - return $this->actor_email; - } - - /** - * 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 string[] $var - * @return $this - */ - public function setActorEmail($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->actor_email = $arr; - - return $this; - } - - /** - * Optional. If set, only return changes made after this time (inclusive). - * - * Generated from protobuf field .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getEarliestChangeTime() - { - return $this->earliest_change_time; - } - - public function hasEarliestChangeTime() - { - return isset($this->earliest_change_time); - } - - public function clearEarliestChangeTime() - { - unset($this->earliest_change_time); - } - - /** - * Optional. If set, only return changes made after this time (inclusive). - * - * Generated from protobuf field .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setEarliestChangeTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->earliest_change_time = $var; - - return $this; - } - - /** - * Optional. If set, only return changes made before this time (inclusive). - * - * Generated from protobuf field .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getLatestChangeTime() - { - return $this->latest_change_time; - } - - public function hasLatestChangeTime() - { - return isset($this->latest_change_time); - } - - public function clearLatestChangeTime() - { - unset($this->latest_change_time); - } - - /** - * Optional. If set, only return changes made before this time (inclusive). - * - * Generated from protobuf field .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setLatestChangeTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->latest_change_time = $var; - - return $this; - } - - /** - * Optional. The maximum number of ChangeHistoryEvent items to return. - * If unspecified, at most 50 items will be returned. The maximum value is 200 - * (higher values will be coerced to the maximum). - * Note that the service may return a page with fewer items than this value - * specifies (potentially even zero), and that there still may be additional - * pages. If you want a particular number of items, you'll need to continue - * requesting additional pages using `page_token` until you get the needed - * number. - * - * Generated from protobuf field int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. The maximum number of ChangeHistoryEvent items to return. - * If unspecified, at most 50 items will be returned. The maximum value is 200 - * (higher values will be coerced to the maximum). - * Note that the service may return a page with fewer items than this value - * specifies (potentially even zero), and that there still may be additional - * pages. If you want a particular number of items, you'll need to continue - * requesting additional pages using `page_token` until you get the needed - * number. - * - * Generated from protobuf field int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * 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 - */ - public function getPageToken() - { - return $this->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 - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsResponse.php deleted file mode 100644 index 25bb0163045e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SearchChangeHistoryEventsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse - */ -class SearchChangeHistoryEventsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Results that were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - */ - private $change_history_events; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\ChangeHistoryEvent[] $change_history_events - * Results that were accessible to the caller. - * @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); - } - - /** - * Results that were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\ChangeHistoryEvent> - */ - public function getChangeHistoryEvents() - { - return $this->change_history_events; - } - - /** - * Results that were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryEvent change_history_events = 1; - * @param \Google\Analytics\Admin\V1alpha\ChangeHistoryEvent[] $var - * @return $this - */ - public function setChangeHistoryEvents($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ChangeHistoryEvent::class); - $this->change_history_events = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ServiceLevel.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ServiceLevel.php deleted file mode 100644 index d7e00a48d589..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/ServiceLevel.php +++ /dev/null @@ -1,61 +0,0 @@ -google.analytics.admin.v1alpha.ServiceLevel - */ -class ServiceLevel -{ - /** - * Service level not specified or invalid. - * - * Generated from protobuf enum SERVICE_LEVEL_UNSPECIFIED = 0; - */ - const SERVICE_LEVEL_UNSPECIFIED = 0; - /** - * The standard version of Google Analytics. - * - * Generated from protobuf enum GOOGLE_ANALYTICS_STANDARD = 1; - */ - const GOOGLE_ANALYTICS_STANDARD = 1; - /** - * The paid, premium version of Google Analytics. - * - * Generated from protobuf enum GOOGLE_ANALYTICS_360 = 2; - */ - const GOOGLE_ANALYTICS_360 = 2; - - private static $valueToName = [ - self::SERVICE_LEVEL_UNSPECIFIED => 'SERVICE_LEVEL_UNSPECIFIED', - self::GOOGLE_ANALYTICS_STANDARD => 'GOOGLE_ANALYTICS_STANDARD', - self::GOOGLE_ANALYTICS_360 => 'GOOGLE_ANALYTICS_360', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionRequest.php deleted file mode 100644 index 65b1fdc15bde..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionRequest.php +++ /dev/null @@ -1,258 +0,0 @@ -google.analytics.admin.v1alpha.SubmitUserDeletionRequest - */ -class SubmitUserDeletionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the property to submit user deletion for. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - protected $user; - - /** - * @param string $name Required. The name of the property to submit user deletion for. Please see - * {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1alpha\SubmitUserDeletionRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $user_id - * Google Analytics [user - * ID](https://firebase.google.com/docs/analytics/userid). - * @type string $client_id - * Google Analytics [client - * ID](https://support.google.com/analytics/answer/11593727). - * @type string $app_instance_id - * Firebase [application instance - * ID](https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId). - * @type string $user_provided_data - * [User-provided - * data](https://support.google.com/analytics/answer/14077171). May contain - * either one email address or one phone number. - * Email addresses should be normalized as such: - * * lowercase - * * remove periods before \@ for gmail.com/googlemail.com addresses - * * remove all spaces - * Phone numbers should be normalized as such: - * * remove all non digit characters - * * add + prefix - * @type string $name - * Required. The name of the property to submit user deletion for. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Google Analytics [user - * ID](https://firebase.google.com/docs/analytics/userid). - * - * Generated from protobuf field string user_id = 2; - * @return string - */ - public function getUserId() - { - return $this->readOneof(2); - } - - public function hasUserId() - { - return $this->hasOneof(2); - } - - /** - * Google Analytics [user - * ID](https://firebase.google.com/docs/analytics/userid). - * - * Generated from protobuf field string user_id = 2; - * @param string $var - * @return $this - */ - public function setUserId($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Google Analytics [client - * ID](https://support.google.com/analytics/answer/11593727). - * - * Generated from protobuf field string client_id = 3; - * @return string - */ - public function getClientId() - { - return $this->readOneof(3); - } - - public function hasClientId() - { - return $this->hasOneof(3); - } - - /** - * Google Analytics [client - * ID](https://support.google.com/analytics/answer/11593727). - * - * Generated from protobuf field string client_id = 3; - * @param string $var - * @return $this - */ - public function setClientId($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Firebase [application instance - * ID](https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId). - * - * Generated from protobuf field string app_instance_id = 4; - * @return string - */ - public function getAppInstanceId() - { - return $this->readOneof(4); - } - - public function hasAppInstanceId() - { - return $this->hasOneof(4); - } - - /** - * Firebase [application instance - * ID](https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId). - * - * Generated from protobuf field string app_instance_id = 4; - * @param string $var - * @return $this - */ - public function setAppInstanceId($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * [User-provided - * data](https://support.google.com/analytics/answer/14077171). May contain - * either one email address or one phone number. - * Email addresses should be normalized as such: - * * lowercase - * * remove periods before \@ for gmail.com/googlemail.com addresses - * * remove all spaces - * Phone numbers should be normalized as such: - * * remove all non digit characters - * * add + prefix - * - * Generated from protobuf field string user_provided_data = 5; - * @return string - */ - public function getUserProvidedData() - { - return $this->readOneof(5); - } - - public function hasUserProvidedData() - { - return $this->hasOneof(5); - } - - /** - * [User-provided - * data](https://support.google.com/analytics/answer/14077171). May contain - * either one email address or one phone number. - * Email addresses should be normalized as such: - * * lowercase - * * remove periods before \@ for gmail.com/googlemail.com addresses - * * remove all spaces - * Phone numbers should be normalized as such: - * * remove all non digit characters - * * add + prefix - * - * Generated from protobuf field string user_provided_data = 5; - * @param string $var - * @return $this - */ - public function setUserProvidedData($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Required. The name of the property to submit user deletion for. - * - * 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 property to submit user deletion for. - * - * 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; - } - - /** - * @return string - */ - public function getUser() - { - return $this->whichOneof("user"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionResponse.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionResponse.php deleted file mode 100644 index febfce623b39..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubmitUserDeletionResponse.php +++ /dev/null @@ -1,85 +0,0 @@ -google.analytics.admin.v1alpha.SubmitUserDeletionResponse - */ -class SubmitUserDeletionResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Marks the moment for which all visitor data before this point should be - * deleted. This is set to the time at which the deletion request was - * received. - * - * Generated from protobuf field .google.protobuf.Timestamp deletion_request_time = 1; - */ - protected $deletion_request_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\Timestamp $deletion_request_time - * Marks the moment for which all visitor data before this point should be - * deleted. This is set to the time at which the deletion request was - * received. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Marks the moment for which all visitor data before this point should be - * deleted. This is set to the time at which the deletion request was - * received. - * - * Generated from protobuf field .google.protobuf.Timestamp deletion_request_time = 1; - * @return \Google\Protobuf\Timestamp|null - */ - public function getDeletionRequestTime() - { - return $this->deletion_request_time; - } - - public function hasDeletionRequestTime() - { - return isset($this->deletion_request_time); - } - - public function clearDeletionRequestTime() - { - unset($this->deletion_request_time); - } - - /** - * Marks the moment for which all visitor data before this point should be - * deleted. This is set to the time at which the deletion request was - * received. - * - * Generated from protobuf field .google.protobuf.Timestamp deletion_request_time = 1; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setDeletionRequestTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->deletion_request_time = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilter.php deleted file mode 100644 index 32767e5c3d9e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilter.php +++ /dev/null @@ -1,161 +0,0 @@ -google.analytics.admin.v1alpha.SubpropertyEventFilter - */ -class SubpropertyEventFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Format: - * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} - * Example: properties/1234/subpropertyEventFilters/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Immutable. Resource name of the Subproperty that uses this filter. - * - * Generated from protobuf field optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $apply_to_property = null; - /** - * Required. Unordered list. Filter clauses that define the - * SubpropertyEventFilter. All clauses are AND'ed together to determine what - * data is sent to the subproperty. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - */ - private $filter_clauses; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Format: - * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} - * Example: properties/1234/subpropertyEventFilters/5678 - * @type string $apply_to_property - * Immutable. Resource name of the Subproperty that uses this filter. - * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause[] $filter_clauses - * Required. Unordered list. Filter clauses that define the - * SubpropertyEventFilter. All clauses are AND'ed together to determine what - * data is sent to the subproperty. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\SubpropertyEventFilter::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Format: - * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} - * Example: properties/1234/subpropertyEventFilters/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Format: - * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} - * Example: properties/1234/subpropertyEventFilters/5678 - * - * 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. Resource name of the Subproperty that uses this filter. - * - * Generated from protobuf field optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getApplyToProperty() - { - return isset($this->apply_to_property) ? $this->apply_to_property : ''; - } - - public function hasApplyToProperty() - { - return isset($this->apply_to_property); - } - - public function clearApplyToProperty() - { - unset($this->apply_to_property); - } - - /** - * Immutable. Resource name of the Subproperty that uses this filter. - * - * Generated from protobuf field optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setApplyToProperty($var) - { - GPBUtil::checkString($var, True); - $this->apply_to_property = $var; - - return $this; - } - - /** - * Required. Unordered list. Filter clauses that define the - * SubpropertyEventFilter. All clauses are AND'ed together to determine what - * data is sent to the subproperty. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause> - */ - public function getFilterClauses() - { - return $this->filter_clauses; - } - - /** - * Required. Unordered list. Filter clauses that define the - * SubpropertyEventFilter. All clauses are AND'ed together to determine what - * data is sent to the subproperty. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause[] $var - * @return $this - */ - public function setFilterClauses($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause::class); - $this->filter_clauses = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause.php deleted file mode 100644 index 05910231121d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause.php +++ /dev/null @@ -1,118 +0,0 @@ -google.analytics.admin.v1alpha.SubpropertyEventFilterClause - */ -class SubpropertyEventFilterClause extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The type for the filter clause. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $filter_clause_type = 0; - /** - * Required. The logical expression for what events are sent to the - * subproperty. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $filter_expression = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $filter_clause_type - * Required. The type for the filter clause. - * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression $filter_expression - * Required. The logical expression for what events are sent to the - * subproperty. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\SubpropertyEventFilter::initOnce(); - parent::__construct($data); - } - - /** - * Required. The type for the filter clause. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getFilterClauseType() - { - return $this->filter_clause_type; - } - - /** - * Required. The type for the filter clause. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setFilterClauseType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause\FilterClauseType::class); - $this->filter_clause_type = $var; - - return $this; - } - - /** - * Required. The logical expression for what events are sent to the - * subproperty. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression|null - */ - public function getFilterExpression() - { - return $this->filter_expression; - } - - public function hasFilterExpression() - { - return isset($this->filter_expression); - } - - public function clearFilterExpression() - { - unset($this->filter_expression); - } - - /** - * Required. The logical expression for what events are sent to the - * subproperty. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression $var - * @return $this - */ - public function setFilterExpression($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression::class); - $this->filter_expression = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause/FilterClauseType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause/FilterClauseType.php deleted file mode 100644 index d853bdddfd95..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterClause/FilterClauseType.php +++ /dev/null @@ -1,66 +0,0 @@ -google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType - */ -class FilterClauseType -{ - /** - * Filter clause type unknown or not specified. - * - * Generated from protobuf enum FILTER_CLAUSE_TYPE_UNSPECIFIED = 0; - */ - const FILTER_CLAUSE_TYPE_UNSPECIFIED = 0; - /** - * Events will be included in the Sub property if the filter clause is met. - * - * Generated from protobuf enum INCLUDE = 1; - */ - const PBINCLUDE = 1; - /** - * Events will be excluded from the Sub property if the filter clause is - * met. - * - * Generated from protobuf enum EXCLUDE = 2; - */ - const EXCLUDE = 2; - - private static $valueToName = [ - self::FILTER_CLAUSE_TYPE_UNSPECIFIED => 'FILTER_CLAUSE_TYPE_UNSPECIFIED', - self::PBINCLUDE => 'INCLUDE', - self::EXCLUDE => 'EXCLUDE', - ]; - - 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)) { - $pbconst = __CLASS__. '::PB' . strtoupper($name); - if (!defined($pbconst)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($pbconst); - } - return constant($const); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition.php deleted file mode 100644 index 0c43ff028df5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition.php +++ /dev/null @@ -1,142 +0,0 @@ -google.analytics.admin.v1alpha.SubpropertyEventFilterCondition - */ -class SubpropertyEventFilterCondition extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The field that is being filtered. - * - * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $field_name = ''; - protected $one_filter; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $null_filter - * A filter for null values. - * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition\StringFilter $string_filter - * A filter for a string-type dimension that matches a particular pattern. - * @type string $field_name - * Required. The field that is being filtered. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\SubpropertyEventFilter::initOnce(); - parent::__construct($data); - } - - /** - * A filter for null values. - * - * Generated from protobuf field bool null_filter = 2; - * @return bool - */ - public function getNullFilter() - { - return $this->readOneof(2); - } - - public function hasNullFilter() - { - return $this->hasOneof(2); - } - - /** - * A filter for null values. - * - * Generated from protobuf field bool null_filter = 2; - * @param bool $var - * @return $this - */ - public function setNullFilter($var) - { - GPBUtil::checkBool($var); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * A filter for a string-type dimension that matches a particular pattern. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; - * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition\StringFilter|null - */ - public function getStringFilter() - { - return $this->readOneof(3); - } - - public function hasStringFilter() - { - return $this->hasOneof(3); - } - - /** - * A filter for a string-type dimension that matches a particular pattern. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; - * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition\StringFilter $var - * @return $this - */ - public function setStringFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition\StringFilter::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Required. The field that is being filtered. - * - * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFieldName() - { - return $this->field_name; - } - - /** - * Required. The field that is being filtered. - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter.php deleted file mode 100644 index ce6297ab3f67..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter.php +++ /dev/null @@ -1,139 +0,0 @@ -google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter - */ -class StringFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The match type for the string filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $match_type = 0; - /** - * Required. The string value used for the matching. - * - * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $value = ''; - /** - * Optional. If true, the string value is case sensitive. If false, the - * match is case-insensitive. - * - * Generated from protobuf field bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $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 used for the matching. - * @type bool $case_sensitive - * Optional. If true, the string value is case sensitive. If false, the - * match is case-insensitive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\SubpropertyEventFilter::initOnce(); - parent::__construct($data); - } - - /** - * Required. The match type for the string filter. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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\SubpropertyEventFilterCondition\StringFilter\MatchType::class); - $this->match_type = $var; - - return $this; - } - - /** - * Required. The string value used for the matching. - * - * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * Required. The string value used for the matching. - * - * 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 string value is case sensitive. If false, the - * match is case-insensitive. - * - * 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 string value is case sensitive. If false, the - * match is case-insensitive. - * - * 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; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter/MatchType.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter/MatchType.php deleted file mode 100644 index 696b8e6f0b12..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterCondition/StringFilter/MatchType.php +++ /dev/null @@ -1,89 +0,0 @@ -google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType - */ -class MatchType -{ - /** - * Match type unknown or not specified. - * - * 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; - /** - * Begins with the string value. - * - * Generated from protobuf enum BEGINS_WITH = 2; - */ - const BEGINS_WITH = 2; - /** - * Ends with the string value. - * - * Generated from protobuf enum ENDS_WITH = 3; - */ - const ENDS_WITH = 3; - /** - * Contains the string value. - * - * Generated from protobuf enum CONTAINS = 4; - */ - const CONTAINS = 4; - /** - * Full regular expression matches with the string value. - * - * 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', - self::EXACT => 'EXACT', - self::BEGINS_WITH => 'BEGINS_WITH', - self::ENDS_WITH => 'ENDS_WITH', - self::CONTAINS => 'CONTAINS', - self::FULL_REGEXP => 'FULL_REGEXP', - self::PARTIAL_REGEXP => 'PARTIAL_REGEXP', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpression.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpression.php deleted file mode 100644 index fe19420560aa..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpression.php +++ /dev/null @@ -1,153 +0,0 @@ -google.analytics.admin.v1alpha.SubpropertyEventFilterExpression - */ -class SubpropertyEventFilterExpression extends \Google\Protobuf\Internal\Message -{ - protected $expr; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpressionList $or_group - * A list of expressions to OR’ed together. Must only contain - * not_expression or filter_condition expressions. - * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression $not_expression - * A filter expression to be NOT'ed (inverted, complemented). It can only - * include a filter. This cannot be set on the top level - * SubpropertyEventFilterExpression. - * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition $filter_condition - * Creates a filter that matches a specific event. This cannot be set on the - * top level SubpropertyEventFilterExpression. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\SubpropertyEventFilter::initOnce(); - parent::__construct($data); - } - - /** - * A list of expressions to OR’ed together. Must only contain - * not_expression or filter_condition expressions. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; - * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpressionList|null - */ - public function getOrGroup() - { - return $this->readOneof(1); - } - - public function hasOrGroup() - { - return $this->hasOneof(1); - } - - /** - * A list of expressions to OR’ed together. Must only contain - * not_expression or filter_condition expressions. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; - * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpressionList $var - * @return $this - */ - public function setOrGroup($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpressionList::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * A filter expression to be NOT'ed (inverted, complemented). It can only - * include a filter. This cannot be set on the top level - * SubpropertyEventFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; - * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression|null - */ - public function getNotExpression() - { - return $this->readOneof(2); - } - - public function hasNotExpression() - { - return $this->hasOneof(2); - } - - /** - * A filter expression to be NOT'ed (inverted, complemented). It can only - * include a filter. This cannot be set on the top level - * SubpropertyEventFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; - * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression $var - * @return $this - */ - public function setNotExpression($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Creates a filter that matches a specific event. This cannot be set on the - * top level SubpropertyEventFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; - * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition|null - */ - public function getFilterCondition() - { - return $this->readOneof(3); - } - - public function hasFilterCondition() - { - return $this->hasOneof(3); - } - - /** - * Creates a filter that matches a specific event. This cannot be set on the - * top level SubpropertyEventFilterExpression. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; - * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition $var - * @return $this - */ - public function setFilterCondition($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterCondition::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getExpr() - { - return $this->whichOneof("expr"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpressionList.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpressionList.php deleted file mode 100644 index 9e0469483fe6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertyEventFilterExpressionList.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList - */ -class SubpropertyEventFilterExpressionList extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Unordered list. A list of Subproperty event filter expressions - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - */ - private $filter_expressions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression[] $filter_expressions - * Required. Unordered list. A list of Subproperty event filter expressions - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\SubpropertyEventFilter::initOnce(); - parent::__construct($data); - } - - /** - * Required. Unordered list. A list of Subproperty event filter expressions - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * @return RepeatedField<\Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression> - */ - public function getFilterExpressions() - { - return $this->filter_expressions; - } - - /** - * Required. Unordered list. A list of Subproperty event filter expressions - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression[] $var - * @return $this - */ - public function setFilterExpressions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilterExpression::class); - $this->filter_expressions = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig.php deleted file mode 100644 index 841698b1d65f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig.php +++ /dev/null @@ -1,181 +0,0 @@ -google.analytics.admin.v1alpha.SubpropertySyncConfig - */ -class SubpropertySyncConfig extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Identifier. Format: - * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} - * Example: properties/1234/subpropertySyncConfigs/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Output only. Immutable. Resource name of the subproperty that these - * settings apply to. - * - * Generated from protobuf field string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $apply_to_property = ''; - /** - * Required. Specifies the Custom Dimension / Metric synchronization mode for - * the subproperty. - * If set to ALL, Custom Dimension / Metric synchronization will be - * immediately enabled. Local configuration of Custom Dimensions / Metrics - * will not be allowed on the subproperty so long as the synchronization mode - * is set to ALL. - * If set to NONE, Custom Dimensions / Metric synchronization is disabled. - * Custom Dimensions / Metrics must be configured explicitly on the - * Subproperty. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode custom_dimension_and_metric_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $custom_dimension_and_metric_sync_mode = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Identifier. Format: - * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} - * Example: properties/1234/subpropertySyncConfigs/5678 - * @type string $apply_to_property - * Output only. Immutable. Resource name of the subproperty that these - * settings apply to. - * @type int $custom_dimension_and_metric_sync_mode - * Required. Specifies the Custom Dimension / Metric synchronization mode for - * the subproperty. - * If set to ALL, Custom Dimension / Metric synchronization will be - * immediately enabled. Local configuration of Custom Dimensions / Metrics - * will not be allowed on the subproperty so long as the synchronization mode - * is set to ALL. - * If set to NONE, Custom Dimensions / Metric synchronization is disabled. - * Custom Dimensions / Metrics must be configured explicitly on the - * Subproperty. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Identifier. Format: - * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} - * Example: properties/1234/subpropertySyncConfigs/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Identifier. Format: - * properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} - * Example: properties/1234/subpropertySyncConfigs/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Immutable. Resource name of the subproperty that these - * settings apply to. - * - * Generated from protobuf field string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getApplyToProperty() - { - return $this->apply_to_property; - } - - /** - * Output only. Immutable. Resource name of the subproperty that these - * settings apply to. - * - * Generated from protobuf field string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setApplyToProperty($var) - { - GPBUtil::checkString($var, True); - $this->apply_to_property = $var; - - return $this; - } - - /** - * Required. Specifies the Custom Dimension / Metric synchronization mode for - * the subproperty. - * If set to ALL, Custom Dimension / Metric synchronization will be - * immediately enabled. Local configuration of Custom Dimensions / Metrics - * will not be allowed on the subproperty so long as the synchronization mode - * is set to ALL. - * If set to NONE, Custom Dimensions / Metric synchronization is disabled. - * Custom Dimensions / Metrics must be configured explicitly on the - * Subproperty. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode custom_dimension_and_metric_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getCustomDimensionAndMetricSyncMode() - { - return $this->custom_dimension_and_metric_sync_mode; - } - - /** - * Required. Specifies the Custom Dimension / Metric synchronization mode for - * the subproperty. - * If set to ALL, Custom Dimension / Metric synchronization will be - * immediately enabled. Local configuration of Custom Dimensions / Metrics - * will not be allowed on the subproperty so long as the synchronization mode - * is set to ALL. - * If set to NONE, Custom Dimensions / Metric synchronization is disabled. - * Custom Dimensions / Metrics must be configured explicitly on the - * Subproperty. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode custom_dimension_and_metric_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setCustomDimensionAndMetricSyncMode($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig\SynchronizationMode::class); - $this->custom_dimension_and_metric_sync_mode = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig/SynchronizationMode.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig/SynchronizationMode.php deleted file mode 100644 index c8df0ea49fd9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/SubpropertySyncConfig/SynchronizationMode.php +++ /dev/null @@ -1,64 +0,0 @@ -google.analytics.admin.v1alpha.SubpropertySyncConfig.SynchronizationMode - */ -class SynchronizationMode -{ - /** - * Synchronization mode unknown or not specified. - * - * Generated from protobuf enum SYNCHRONIZATION_MODE_UNSPECIFIED = 0; - */ - const SYNCHRONIZATION_MODE_UNSPECIFIED = 0; - /** - * Entities are not synchronized. - * Local edits are allowed on the subproperty. - * - * Generated from protobuf enum NONE = 1; - */ - const NONE = 1; - /** - * Entities are synchronized from parent property. - * Local mutations are not allowed on the subproperty (Create / Update / - * Delete) - * - * Generated from protobuf enum ALL = 2; - */ - const ALL = 2; - - private static $valueToName = [ - self::SYNCHRONIZATION_MODE_UNSPECIFIED => 'SYNCHRONIZATION_MODE_UNSPECIFIED', - self::NONE => 'NONE', - self::ALL => 'ALL', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccessBindingRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccessBindingRequest.php deleted file mode 100644 index 315994fabd7c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccessBindingRequest.php +++ /dev/null @@ -1,90 +0,0 @@ -google.analytics.admin.v1alpha.UpdateAccessBindingRequest - */ -class UpdateAccessBindingRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The access binding to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $access_binding = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\AccessBinding $accessBinding Required. The access binding to update. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateAccessBindingRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\AccessBinding $accessBinding): self - { - return (new self()) - ->setAccessBinding($accessBinding); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AccessBinding $access_binding - * Required. The access binding to update. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The access binding to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\AccessBinding|null - */ - public function getAccessBinding() - { - return $this->access_binding; - } - - public function hasAccessBinding() - { - return isset($this->access_binding); - } - - public function clearAccessBinding() - { - unset($this->access_binding); - } - - /** - * Required. The access binding to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\AccessBinding $var - * @return $this - */ - public function setAccessBinding($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessBinding::class); - $this->access_binding = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccountRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccountRequest.php deleted file mode 100644 index 0b8fe9d5a5b8..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAccountRequest.php +++ /dev/null @@ -1,156 +0,0 @@ -google.analytics.admin.v1alpha.UpdateAccountRequest - */ -class UpdateAccountRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The account to update. - * The account's `name` field is used to identify the account. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $account = null; - /** - * Required. The list of fields to be updated. Field names must be in snake - * case (for example, "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]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\Account $account Required. The account to update. - * The account's `name` field is used to identify the account. - * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake - * case (for example, "field_to_update"). Omitted fields will not be updated. - * To replace the entire entity, use one path with the string "*" to match all - * fields. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateAccountRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\Account $account, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setAccount($account) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\Account $account - * 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 (for example, "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) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The account to update. - * The account's `name` field is used to identify the account. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\Account|null - */ - public function getAccount() - { - return $this->account; - } - - public function hasAccount() - { - return isset($this->account); - } - - public function clearAccount() - { - unset($this->account); - } - - /** - * Required. The account to update. - * The account's `name` field is used to identify the account. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\Account $var - * @return $this - */ - public function setAccount($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Account::class); - $this->account = $var; - - return $this; - } - - /** - * Required. The list of fields to be updated. Field names must be in snake - * case (for example, "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 - */ - 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. Field names must be in snake - * case (for example, "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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAttributionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAttributionSettingsRequest.php deleted file mode 100644 index 3db071dd0ffd..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAttributionSettingsRequest.php +++ /dev/null @@ -1,156 +0,0 @@ -google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest - */ -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. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\AttributionSettings $attributionSettings Required. The attribution settings to update. - * The `name` field is used to identify the settings to be updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateAttributionSettingsRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\AttributionSettings $attributionSettings, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setAttributionSettings($attributionSettings) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\AttributionSettings $attribution_settings - * 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The attribution settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\AttributionSettings|null - */ - public function getAttributionSettings() - { - return $this->attribution_settings; - } - - public function hasAttributionSettings() - { - return isset($this->attribution_settings); - } - - public function clearAttributionSettings() - { - unset($this->attribution_settings); - } - - /** - * Required. The attribution settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings attribution_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\AttributionSettings $var - * @return $this - */ - public function setAttributionSettings($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AttributionSettings::class); - $this->attribution_settings = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAudienceRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAudienceRequest.php deleted file mode 100644 index 067823c0ffd2..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateAudienceRequest.php +++ /dev/null @@ -1,156 +0,0 @@ -google.analytics.admin.v1alpha.UpdateAudienceRequest - */ -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. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\Audience $audience Required. The audience to update. - * The audience's `name` field is used to identify the audience to be updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateAudienceRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\Audience $audience, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setAudience($audience) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\Audience $audience - * 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The audience to update. - * The audience's `name` field is used to identify the audience to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\Audience|null - */ - public function getAudience() - { - return $this->audience; - } - - public function hasAudience() - { - return isset($this->audience); - } - - public function clearAudience() - { - unset($this->audience); - } - - /** - * Required. The audience to update. - * The audience's `name` field is used to identify the audience to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\Audience $var - * @return $this - */ - public function setAudience($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Audience::class); - $this->audience = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateBigQueryLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateBigQueryLinkRequest.php deleted file mode 100644 index 311760c2141a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateBigQueryLinkRequest.php +++ /dev/null @@ -1,156 +0,0 @@ -google.analytics.admin.v1alpha.UpdateBigQueryLinkRequest - */ -class UpdateBigQueryLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $bigquery_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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\BigQueryLink $bigqueryLink Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateBigQueryLinkRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\BigQueryLink $bigqueryLink, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setBigqueryLink($bigqueryLink) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\BigQueryLink $bigquery_link - * 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\BigQueryLink|null - */ - public function getBigqueryLink() - { - return $this->bigquery_link; - } - - public function hasBigqueryLink() - { - return isset($this->bigquery_link); - } - - public function clearBigqueryLink() - { - unset($this->bigquery_link); - } - - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\BigQueryLink $var - * @return $this - */ - public function setBigqueryLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\BigQueryLink::class); - $this->bigquery_link = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCalculatedMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCalculatedMetricRequest.php deleted file mode 100644 index 3ee876fc572c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCalculatedMetricRequest.php +++ /dev/null @@ -1,146 +0,0 @@ -google.analytics.admin.v1alpha.UpdateCalculatedMetricRequest - */ -class UpdateCalculatedMetricRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The CalculatedMetric to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $calculated_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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\CalculatedMetric $calculatedMetric Required. The CalculatedMetric to update - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateCalculatedMetricRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\CalculatedMetric $calculatedMetric, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setCalculatedMetric($calculatedMetric) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\CalculatedMetric $calculated_metric - * Required. The CalculatedMetric 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); - } - - /** - * Required. The CalculatedMetric to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\CalculatedMetric|null - */ - public function getCalculatedMetric() - { - return $this->calculated_metric; - } - - public function hasCalculatedMetric() - { - return isset($this->calculated_metric); - } - - public function clearCalculatedMetric() - { - unset($this->calculated_metric); - } - - /** - * Required. The CalculatedMetric to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\CalculatedMetric $var - * @return $this - */ - public function setCalculatedMetric($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CalculatedMetric::class); - $this->calculated_metric = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateChannelGroupRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateChannelGroupRequest.php deleted file mode 100644 index 7089ae1b0375..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateChannelGroupRequest.php +++ /dev/null @@ -1,161 +0,0 @@ -google.analytics.admin.v1alpha.UpdateChannelGroupRequest - */ -class UpdateChannelGroupRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ChannelGroup to update. - * The resource's `name` field is used to identify the ChannelGroup to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $channel_group = 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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\ChannelGroup $channelGroup Required. The ChannelGroup to update. - * The resource's `name` field is used to identify the ChannelGroup to be - * updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateChannelGroupRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\ChannelGroup $channelGroup, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setChannelGroup($channelGroup) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\ChannelGroup $channel_group - * Required. The ChannelGroup to update. - * The resource's `name` field is used to identify the ChannelGroup 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ChannelGroup to update. - * The resource's `name` field is used to identify the ChannelGroup to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\ChannelGroup|null - */ - public function getChannelGroup() - { - return $this->channel_group; - } - - public function hasChannelGroup() - { - return isset($this->channel_group); - } - - public function clearChannelGroup() - { - unset($this->channel_group); - } - - /** - * Required. The ChannelGroup to update. - * The resource's `name` field is used to identify the ChannelGroup to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\ChannelGroup $var - * @return $this - */ - public function setChannelGroup($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ChannelGroup::class); - $this->channel_group = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateConversionEventRequest.php deleted file mode 100644 index e59ece0d0123..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateConversionEventRequest.php +++ /dev/null @@ -1,156 +0,0 @@ -google.analytics.admin.v1alpha.UpdateConversionEventRequest - */ -class UpdateConversionEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The conversion event to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $conversion_event = 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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\ConversionEvent $conversionEvent Required. The conversion event to update. - * The `name` field is used to identify the settings to be updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateConversionEventRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\ConversionEvent $conversionEvent, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setConversionEvent($conversionEvent) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\ConversionEvent $conversion_event - * Required. The conversion event 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The conversion event to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\ConversionEvent|null - */ - public function getConversionEvent() - { - return $this->conversion_event; - } - - public function hasConversionEvent() - { - return isset($this->conversion_event); - } - - public function clearConversionEvent() - { - unset($this->conversion_event); - } - - /** - * Required. The conversion event to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\ConversionEvent $var - * @return $this - */ - public function setConversionEvent($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ConversionEvent::class); - $this->conversion_event = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomDimensionRequest.php deleted file mode 100644 index 844d0d083265..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomDimensionRequest.php +++ /dev/null @@ -1,146 +0,0 @@ -google.analytics.admin.v1alpha.UpdateCustomDimensionRequest - */ -class UpdateCustomDimensionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The CustomDimension to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\CustomDimension $customDimension The CustomDimension to update - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateCustomDimensionRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\CustomDimension $customDimension, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setCustomDimension($customDimension) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The CustomDimension to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; - * @return \Google\Analytics\Admin\V1alpha\CustomDimension|null - */ - public function getCustomDimension() - { - return $this->custom_dimension; - } - - public function hasCustomDimension() - { - return isset($this->custom_dimension); - } - - public function clearCustomDimension() - { - unset($this->custom_dimension); - } - - /** - * The CustomDimension to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomDimension custom_dimension = 1; - * @param \Google\Analytics\Admin\V1alpha\CustomDimension $var - * @return $this - */ - public function setCustomDimension($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CustomDimension::class); - $this->custom_dimension = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomMetricRequest.php deleted file mode 100644 index 135ba1799847..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateCustomMetricRequest.php +++ /dev/null @@ -1,146 +0,0 @@ -google.analytics.admin.v1alpha.UpdateCustomMetricRequest - */ -class UpdateCustomMetricRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The CustomMetric to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\CustomMetric $customMetric The CustomMetric to update - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateCustomMetricRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\CustomMetric $customMetric, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setCustomMetric($customMetric) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The CustomMetric to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; - * @return \Google\Analytics\Admin\V1alpha\CustomMetric|null - */ - public function getCustomMetric() - { - return $this->custom_metric; - } - - public function hasCustomMetric() - { - return isset($this->custom_metric); - } - - public function clearCustomMetric() - { - unset($this->custom_metric); - } - - /** - * The CustomMetric to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.CustomMetric custom_metric = 1; - * @param \Google\Analytics\Admin\V1alpha\CustomMetric $var - * @return $this - */ - public function setCustomMetric($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\CustomMetric::class); - $this->custom_metric = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRedactionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRedactionSettingsRequest.php deleted file mode 100644 index 7b3b18bb9e69..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRedactionSettingsRequest.php +++ /dev/null @@ -1,156 +0,0 @@ -google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest - */ -class UpdateDataRedactionSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $data_redaction_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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\DataRedactionSettings $dataRedactionSettings Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateDataRedactionSettingsRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\DataRedactionSettings $dataRedactionSettings, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setDataRedactionSettings($dataRedactionSettings) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\DataRedactionSettings $data_redaction_settings - * 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\DataRedactionSettings|null - */ - public function getDataRedactionSettings() - { - return $this->data_redaction_settings; - } - - public function hasDataRedactionSettings() - { - return isset($this->data_redaction_settings); - } - - public function clearDataRedactionSettings() - { - unset($this->data_redaction_settings); - } - - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\DataRedactionSettings $var - * @return $this - */ - public function setDataRedactionSettings($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataRedactionSettings::class); - $this->data_redaction_settings = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRetentionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRetentionSettingsRequest.php deleted file mode 100644 index 65b6777ac258..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataRetentionSettingsRequest.php +++ /dev/null @@ -1,156 +0,0 @@ -google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest - */ -class UpdateDataRetentionSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\DataRetentionSettings $dataRetentionSettings Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateDataRetentionSettingsRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\DataRetentionSettings $dataRetentionSettings, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setDataRetentionSettings($dataRetentionSettings) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\DataRetentionSettings $data_retention_settings - * 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\DataRetentionSettings|null - */ - public function getDataRetentionSettings() - { - return $this->data_retention_settings; - } - - public function hasDataRetentionSettings() - { - return isset($this->data_retention_settings); - } - - public function clearDataRetentionSettings() - { - unset($this->data_retention_settings); - } - - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\DataRetentionSettings $var - * @return $this - */ - public function setDataRetentionSettings($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataRetentionSettings::class); - $this->data_retention_settings = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataStreamRequest.php deleted file mode 100644 index f5234dbf0e59..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDataStreamRequest.php +++ /dev/null @@ -1,146 +0,0 @@ -google.analytics.admin.v1alpha.UpdateDataStreamRequest - */ -class UpdateDataStreamRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The DataStream to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 1; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\DataStream $dataStream The DataStream to update - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateDataStreamRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\DataStream $dataStream, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setDataStream($dataStream) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The DataStream to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 1; - * @return \Google\Analytics\Admin\V1alpha\DataStream|null - */ - public function getDataStream() - { - return $this->data_stream; - } - - public function hasDataStream() - { - return isset($this->data_stream); - } - - public function clearDataStream() - { - unset($this->data_stream); - } - - /** - * The DataStream to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DataStream data_stream = 1; - * @param \Google\Analytics\Admin\V1alpha\DataStream $var - * @return $this - */ - public function setDataStream($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataStream::class); - $this->data_stream = $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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php deleted file mode 100644 index 6ff14660f6c8..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php +++ /dev/null @@ -1,146 +0,0 @@ -google.analytics.admin.v1alpha.UpdateDisplayVideo360AdvertiserLinkRequest - */ -class UpdateDisplayVideo360AdvertiserLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The DisplayVideo360AdvertiserLink to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $displayVideo360AdvertiserLink The DisplayVideo360AdvertiserLink to update - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateDisplayVideo360AdvertiserLinkRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $displayVideo360AdvertiserLink, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setDisplayVideo360AdvertiserLink($displayVideo360AdvertiserLink) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The DisplayVideo360AdvertiserLink to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * @return \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink|null - */ - public function getDisplayVideo360AdvertiserLink() - { - return $this->display_video_360_advertiser_link; - } - - public function hasDisplayVideo360AdvertiserLink() - { - return isset($this->display_video_360_advertiser_link); - } - - public function clearDisplayVideo360AdvertiserLink() - { - unset($this->display_video_360_advertiser_link); - } - - /** - * The DisplayVideo360AdvertiserLink to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink display_video_360_advertiser_link = 1; - * @param \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $var - * @return $this - */ - public function setDisplayVideo360AdvertiserLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink::class); - $this->display_video_360_advertiser_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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEnhancedMeasurementSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEnhancedMeasurementSettingsRequest.php deleted file mode 100644 index 7a31a29e620c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEnhancedMeasurementSettingsRequest.php +++ /dev/null @@ -1,156 +0,0 @@ -google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest - */ -class UpdateEnhancedMeasurementSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $enhanced_measurement_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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings $enhancedMeasurementSettings Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateEnhancedMeasurementSettingsRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings $enhancedMeasurementSettings, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setEnhancedMeasurementSettings($enhancedMeasurementSettings) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings $enhanced_measurement_settings - * 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings|null - */ - public function getEnhancedMeasurementSettings() - { - return $this->enhanced_measurement_settings; - } - - public function hasEnhancedMeasurementSettings() - { - return isset($this->enhanced_measurement_settings); - } - - public function clearEnhancedMeasurementSettings() - { - unset($this->enhanced_measurement_settings); - } - - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings $var - * @return $this - */ - public function setEnhancedMeasurementSettings($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings::class); - $this->enhanced_measurement_settings = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventCreateRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventCreateRuleRequest.php deleted file mode 100644 index 31820c79489f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventCreateRuleRequest.php +++ /dev/null @@ -1,161 +0,0 @@ -google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest - */ -class UpdateEventCreateRuleRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The EventCreateRule to update. - * The resource's `name` field is used to identify the EventCreateRule to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $event_create_rule = 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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\EventCreateRule $eventCreateRule Required. The EventCreateRule to update. - * The resource's `name` field is used to identify the EventCreateRule to be - * updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateEventCreateRuleRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\EventCreateRule $eventCreateRule, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setEventCreateRule($eventCreateRule) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\EventCreateRule $event_create_rule - * Required. The EventCreateRule to update. - * The resource's `name` field is used to identify the EventCreateRule 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The EventCreateRule to update. - * The resource's `name` field is used to identify the EventCreateRule to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\EventCreateRule|null - */ - public function getEventCreateRule() - { - return $this->event_create_rule; - } - - public function hasEventCreateRule() - { - return isset($this->event_create_rule); - } - - public function clearEventCreateRule() - { - unset($this->event_create_rule); - } - - /** - * Required. The EventCreateRule to update. - * The resource's `name` field is used to identify the EventCreateRule to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\EventCreateRule $var - * @return $this - */ - public function setEventCreateRule($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\EventCreateRule::class); - $this->event_create_rule = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventEditRuleRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventEditRuleRequest.php deleted file mode 100644 index 0cdb187328e3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateEventEditRuleRequest.php +++ /dev/null @@ -1,161 +0,0 @@ -google.analytics.admin.v1alpha.UpdateEventEditRuleRequest - */ -class UpdateEventEditRuleRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The EventEditRule to update. - * The resource's `name` field is used to identify the EventEditRule to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $event_edit_rule = 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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\EventEditRule $eventEditRule Required. The EventEditRule to update. - * The resource's `name` field is used to identify the EventEditRule to be - * updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateEventEditRuleRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\EventEditRule $eventEditRule, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setEventEditRule($eventEditRule) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\EventEditRule $event_edit_rule - * Required. The EventEditRule to update. - * The resource's `name` field is used to identify the EventEditRule 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The EventEditRule to update. - * The resource's `name` field is used to identify the EventEditRule to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\EventEditRule|null - */ - public function getEventEditRule() - { - return $this->event_edit_rule; - } - - public function hasEventEditRule() - { - return isset($this->event_edit_rule); - } - - public function clearEventEditRule() - { - unset($this->event_edit_rule); - } - - /** - * Required. The EventEditRule to update. - * The resource's `name` field is used to identify the EventEditRule to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.EventEditRule event_edit_rule = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\EventEditRule $var - * @return $this - */ - public function setEventEditRule($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\EventEditRule::class); - $this->event_edit_rule = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateExpandedDataSetRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateExpandedDataSetRequest.php deleted file mode 100644 index f4be332a4d0b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateExpandedDataSetRequest.php +++ /dev/null @@ -1,161 +0,0 @@ -google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest - */ -class UpdateExpandedDataSetRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ExpandedDataSet to update. - * The resource's `name` field is used to identify the ExpandedDataSet to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $expanded_data_set = 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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSet $expandedDataSet Required. The ExpandedDataSet to update. - * The resource's `name` field is used to identify the ExpandedDataSet to be - * updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateExpandedDataSetRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\ExpandedDataSet $expandedDataSet, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setExpandedDataSet($expandedDataSet) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSet $expanded_data_set - * Required. The ExpandedDataSet to update. - * The resource's `name` field is used to identify the ExpandedDataSet 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ExpandedDataSet to update. - * The resource's `name` field is used to identify the ExpandedDataSet to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\ExpandedDataSet|null - */ - public function getExpandedDataSet() - { - return $this->expanded_data_set; - } - - public function hasExpandedDataSet() - { - return isset($this->expanded_data_set); - } - - public function clearExpandedDataSet() - { - unset($this->expanded_data_set); - } - - /** - * Required. The ExpandedDataSet to update. - * The resource's `name` field is used to identify the ExpandedDataSet to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSet $var - * @return $this - */ - public function setExpandedDataSet($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ExpandedDataSet::class); - $this->expanded_data_set = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleAdsLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleAdsLinkRequest.php deleted file mode 100644 index efd0ac7d41d7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleAdsLinkRequest.php +++ /dev/null @@ -1,151 +0,0 @@ -google.analytics.admin.v1alpha.UpdateGoogleAdsLinkRequest - */ -class UpdateGoogleAdsLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The GoogleAdsLink to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\GoogleAdsLink $googleAdsLink The GoogleAdsLink to update - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateGoogleAdsLinkRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\GoogleAdsLink $googleAdsLink, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setGoogleAdsLink($googleAdsLink) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The GoogleAdsLink to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; - * @return \Google\Analytics\Admin\V1alpha\GoogleAdsLink|null - */ - public function getGoogleAdsLink() - { - return $this->google_ads_link; - } - - public function hasGoogleAdsLink() - { - return isset($this->google_ads_link); - } - - public function clearGoogleAdsLink() - { - unset($this->google_ads_link); - } - - /** - * The GoogleAdsLink to update - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleAdsLink google_ads_link = 1; - * @param \Google\Analytics\Admin\V1alpha\GoogleAdsLink $var - * @return $this - */ - public function setGoogleAdsLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\GoogleAdsLink::class); - $this->google_ads_link = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleSignalsSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleSignalsSettingsRequest.php deleted file mode 100644 index 0cfea757883b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateGoogleSignalsSettingsRequest.php +++ /dev/null @@ -1,156 +0,0 @@ -google.analytics.admin.v1alpha.UpdateGoogleSignalsSettingsRequest - */ -class UpdateGoogleSignalsSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings $googleSignalsSettings Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateGoogleSignalsSettingsRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\GoogleSignalsSettings $googleSignalsSettings, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setGoogleSignalsSettings($googleSignalsSettings) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings $google_signals_settings - * 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings|null - */ - public function getGoogleSignalsSettings() - { - return $this->google_signals_settings; - } - - public function hasGoogleSignalsSettings() - { - return isset($this->google_signals_settings); - } - - public function clearGoogleSignalsSettings() - { - unset($this->google_signals_settings); - } - - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.GoogleSignalsSettings google_signals_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings $var - * @return $this - */ - public function setGoogleSignalsSettings($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\GoogleSignalsSettings::class); - $this->google_signals_settings = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateKeyEventRequest.php deleted file mode 100644 index dfc290da9e17..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateKeyEventRequest.php +++ /dev/null @@ -1,156 +0,0 @@ -google.analytics.admin.v1alpha.UpdateKeyEventRequest - */ -class UpdateKeyEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The Key Event to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $key_event = 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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\KeyEvent $keyEvent Required. The Key Event to update. - * The `name` field is used to identify the settings to be updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateKeyEventRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\KeyEvent $keyEvent, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setKeyEvent($keyEvent) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\KeyEvent $key_event - * Required. The Key Event 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The Key Event to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\KeyEvent|null - */ - public function getKeyEvent() - { - return $this->key_event; - } - - public function hasKeyEvent() - { - return isset($this->key_event); - } - - public function clearKeyEvent() - { - unset($this->key_event); - } - - /** - * Required. The Key Event to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\KeyEvent $var - * @return $this - */ - public function setKeyEvent($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\KeyEvent::class); - $this->key_event = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateMeasurementProtocolSecretRequest.php deleted file mode 100644 index ba4a68c69d2b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateMeasurementProtocolSecretRequest.php +++ /dev/null @@ -1,141 +0,0 @@ -google.analytics.admin.v1alpha.UpdateMeasurementProtocolSecretRequest - */ -class UpdateMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The measurement protocol secret to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $measurement_protocol_secret = null; - /** - * Required. The list of fields to be updated. Omitted fields will not be - * updated. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurementProtocolSecret Required. The measurement protocol secret to update. - * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be - * updated. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateMeasurementProtocolSecretRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurementProtocolSecret, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setMeasurementProtocolSecret($measurementProtocolSecret) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $measurement_protocol_secret - * Required. The measurement protocol secret to update. - * @type \Google\Protobuf\FieldMask $update_mask - * Required. The list of fields to be updated. Omitted fields will not be - * updated. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The measurement protocol secret to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret|null - */ - public function getMeasurementProtocolSecret() - { - return $this->measurement_protocol_secret; - } - - public function hasMeasurementProtocolSecret() - { - return isset($this->measurement_protocol_secret); - } - - public function clearMeasurementProtocolSecret() - { - unset($this->measurement_protocol_secret); - } - - /** - * Required. The measurement protocol secret to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret $var - * @return $this - */ - public function setMeasurementProtocolSecret($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret::class); - $this->measurement_protocol_secret = $var; - - return $this; - } - - /** - * Required. The list of fields to be updated. Omitted fields will not be - * updated. - * - * 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. - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdatePropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdatePropertyRequest.php deleted file mode 100644 index 0141870ed1ec..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdatePropertyRequest.php +++ /dev/null @@ -1,161 +0,0 @@ -google.analytics.admin.v1alpha.UpdatePropertyRequest - */ -class UpdatePropertyRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The property to update. - * The property's `name` field is used to identify the property to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\Property $property Required. The property to update. - * The property's `name` field is used to identify the property to be - * updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdatePropertyRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\Property $property, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setProperty($property) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\Property $property - * Required. The property to update. - * 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The property to update. - * The property's `name` field is used to identify the property to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\Property|null - */ - public function getProperty() - { - return $this->property; - } - - public function hasProperty() - { - return isset($this->property); - } - - public function clearProperty() - { - unset($this->property); - } - - /** - * Required. The property to update. - * The property's `name` field is used to identify the property to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\Property $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\Property::class); - $this->property = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateReportingDataAnnotationRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateReportingDataAnnotationRequest.php deleted file mode 100644 index 4c3c5809e345..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateReportingDataAnnotationRequest.php +++ /dev/null @@ -1,151 +0,0 @@ -google.analytics.admin.v1alpha.UpdateReportingDataAnnotationRequest - */ -class UpdateReportingDataAnnotationRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The Reporting Data Annotation to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $reporting_data_annotation = null; - /** - * Optional. The list of fields to update. Field names must be in snake case - * (for example, "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) = OPTIONAL]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $reportingDataAnnotation Required. The Reporting Data Annotation to update. - * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. Field names must be in snake case - * (for example, "field_to_update"). Omitted fields will not be updated. To - * replace the entire entity, use one path with the string "*" to match all - * fields. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateReportingDataAnnotationRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $reportingDataAnnotation, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setReportingDataAnnotation($reportingDataAnnotation) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $reporting_data_annotation - * Required. The Reporting Data Annotation to update. - * @type \Google\Protobuf\FieldMask $update_mask - * Optional. The list of fields to update. Field names must be in snake case - * (for example, "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) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The Reporting Data Annotation to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation|null - */ - public function getReportingDataAnnotation() - { - return $this->reporting_data_annotation; - } - - public function hasReportingDataAnnotation() - { - return isset($this->reporting_data_annotation); - } - - public function clearReportingDataAnnotation() - { - unset($this->reporting_data_annotation); - } - - /** - * Required. The Reporting Data Annotation to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ReportingDataAnnotation reporting_data_annotation = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation $var - * @return $this - */ - public function setReportingDataAnnotation($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ReportingDataAnnotation::class); - $this->reporting_data_annotation = $var; - - return $this; - } - - /** - * Optional. The list of fields to update. Field names must be in snake case - * (for example, "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) = OPTIONAL]; - * @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); - } - - /** - * Optional. The list of fields to update. Field names must be in snake case - * (for example, "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) = OPTIONAL]; - * @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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.php deleted file mode 100644 index b87eff0aeada..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.php +++ /dev/null @@ -1,141 +0,0 @@ -google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest - */ -class UpdateSKAdNetworkConversionValueSchemaRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. SKAdNetwork conversion value schema to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $skadnetwork_conversion_value_schema = null; - /** - * Required. The list of fields to be updated. Omitted fields will not be - * updated. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetworkConversionValueSchema Required. SKAdNetwork conversion value schema to update. - * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be - * updated. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateSKAdNetworkConversionValueSchemaRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetworkConversionValueSchema, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $skadnetwork_conversion_value_schema - * Required. SKAdNetwork conversion value schema to update. - * @type \Google\Protobuf\FieldMask $update_mask - * Required. The list of fields to be updated. Omitted fields will not be - * updated. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. SKAdNetwork conversion value schema to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema|null - */ - public function getSkadnetworkConversionValueSchema() - { - return $this->skadnetwork_conversion_value_schema; - } - - public function hasSkadnetworkConversionValueSchema() - { - return isset($this->skadnetwork_conversion_value_schema); - } - - public function clearSkadnetworkConversionValueSchema() - { - unset($this->skadnetwork_conversion_value_schema); - } - - /** - * Required. SKAdNetwork conversion value schema to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema $var - * @return $this - */ - public function setSkadnetworkConversionValueSchema($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema::class); - $this->skadnetwork_conversion_value_schema = $var; - - return $this; - } - - /** - * Required. The list of fields to be updated. Omitted fields will not be - * updated. - * - * 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. - * - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSearchAds360LinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSearchAds360LinkRequest.php deleted file mode 100644 index bf40e01f5500..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSearchAds360LinkRequest.php +++ /dev/null @@ -1,146 +0,0 @@ -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; - */ - protected $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]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\SearchAds360Link $searchAds360Link The SearchAds360Link to update - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateSearchAds360LinkRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\SearchAds360Link $searchAds360Link, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setSearchAds360Link($searchAds360Link) - ->setUpdateMask($updateMask); - } - - /** - * 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/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertyEventFilterRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertyEventFilterRequest.php deleted file mode 100644 index d220b0e16370..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertyEventFilterRequest.php +++ /dev/null @@ -1,151 +0,0 @@ -google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest - */ -class UpdateSubpropertyEventFilterRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The subproperty event filter to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $subproperty_event_filter = null; - /** - * Required. The list of fields to update. Field names must be in snake case - * (for example, "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]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subpropertyEventFilter Required. The subproperty event filter to update. - * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to update. Field names must be in snake case - * (for example, "field_to_update"). Omitted fields will not be updated. To - * replace the entire entity, use one path with the string "*" to match all - * fields. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateSubpropertyEventFilterRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subpropertyEventFilter, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setSubpropertyEventFilter($subpropertyEventFilter) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $subproperty_event_filter - * Required. The subproperty event filter to update. - * @type \Google\Protobuf\FieldMask $update_mask - * Required. The list of fields to update. Field names must be in snake case - * (for example, "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) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The subproperty event filter to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter|null - */ - public function getSubpropertyEventFilter() - { - return $this->subproperty_event_filter; - } - - public function hasSubpropertyEventFilter() - { - return isset($this->subproperty_event_filter); - } - - public function clearSubpropertyEventFilter() - { - unset($this->subproperty_event_filter); - } - - /** - * Required. The subproperty event filter to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter $var - * @return $this - */ - public function setSubpropertyEventFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertyEventFilter::class); - $this->subproperty_event_filter = $var; - - return $this; - } - - /** - * Required. The list of fields to update. Field names must be in snake case - * (for example, "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 - */ - 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 update. Field names must be in snake case - * (for example, "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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertySyncConfigRequest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertySyncConfigRequest.php deleted file mode 100644 index 936faa54c9fa..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/proto/src/Google/Analytics/Admin/V1alpha/UpdateSubpropertySyncConfigRequest.php +++ /dev/null @@ -1,151 +0,0 @@ -google.analytics.admin.v1alpha.UpdateSubpropertySyncConfigRequest - */ -class UpdateSubpropertySyncConfigRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The `SubpropertySyncConfig` to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_config = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $subproperty_sync_config = null; - /** - * Optional. The list of fields to update. Field names must be in snake case - * (for example, "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) = OPTIONAL]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig $subpropertySyncConfig Required. The `SubpropertySyncConfig` to update. - * @param \Google\Protobuf\FieldMask $updateMask Optional. The list of fields to update. Field names must be in snake case - * (for example, "field_to_update"). Omitted fields will not be updated. To - * replace the entire entity, use one path with the string "*" to match all - * fields. - * - * @return \Google\Analytics\Admin\V1alpha\UpdateSubpropertySyncConfigRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1alpha\SubpropertySyncConfig $subpropertySyncConfig, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setSubpropertySyncConfig($subpropertySyncConfig) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig $subproperty_sync_config - * Required. The `SubpropertySyncConfig` to update. - * @type \Google\Protobuf\FieldMask $update_mask - * Optional. The list of fields to update. Field names must be in snake case - * (for example, "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) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The `SubpropertySyncConfig` to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig|null - */ - public function getSubpropertySyncConfig() - { - return $this->subproperty_sync_config; - } - - public function hasSubpropertySyncConfig() - { - return isset($this->subproperty_sync_config); - } - - public function clearSubpropertySyncConfig() - { - unset($this->subproperty_sync_config); - } - - /** - * Required. The `SubpropertySyncConfig` to update. - * - * Generated from protobuf field .google.analytics.admin.v1alpha.SubpropertySyncConfig subproperty_sync_config = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig $var - * @return $this - */ - public function setSubpropertySyncConfig($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SubpropertySyncConfig::class); - $this->subproperty_sync_config = $var; - - return $this; - } - - /** - * Optional. The list of fields to update. Field names must be in snake case - * (for example, "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) = OPTIONAL]; - * @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); - } - - /** - * Optional. The list of fields to update. Field names must be in snake case - * (for example, "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) = OPTIONAL]; - * @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/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php deleted file mode 100644 index 5ea86f35aee8..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php +++ /dev/null @@ -1,87 +0,0 @@ -setProperty($formattedProperty) - ->setAcknowledgement($acknowledgement); - - // Call the API and handle any network failures. - try { - /** @var AcknowledgeUserDataCollectionResponse $response */ - $response = $analyticsAdminServiceClient->acknowledgeUserDataCollection($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedProperty = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $acknowledgement = '[ACKNOWLEDGEMENT]'; - - acknowledge_user_data_collection_sample($formattedProperty, $acknowledgement); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_AcknowledgeUserDataCollection_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/approve_display_video360_advertiser_link_proposal.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/approve_display_video360_advertiser_link_proposal.php deleted file mode 100644 index 820b46f9bc63..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/approve_display_video360_advertiser_link_proposal.php +++ /dev/null @@ -1,77 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var ApproveDisplayVideo360AdvertiserLinkProposalResponse $response */ - $response = $analyticsAdminServiceClient->approveDisplayVideo360AdvertiserLinkProposal($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkProposalName( - '[PROPERTY]', - '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]' - ); - - approve_display_video360_advertiser_link_proposal_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ApproveDisplayVideo360AdvertiserLinkProposal_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_audience.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_audience.php deleted file mode 100644 index 13852360abb7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_audience.php +++ /dev/null @@ -1,69 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->archiveAudience($request); - 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::propertyName('[PROPERTY]'); - - archive_audience_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ArchiveAudience_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_dimension.php deleted file mode 100644 index a96903c59373..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_dimension.php +++ /dev/null @@ -1,73 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->archiveCustomDimension($request); - 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::customDimensionName( - '[PROPERTY]', - '[CUSTOM_DIMENSION]' - ); - - archive_custom_dimension_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ArchiveCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_metric.php deleted file mode 100644 index 247a29c81eb0..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_metric.php +++ /dev/null @@ -1,70 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->archiveCustomMetric($request); - 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::customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); - - archive_custom_metric_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ArchiveCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_access_bindings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_access_bindings.php deleted file mode 100644 index 109fa6884701..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_access_bindings.php +++ /dev/null @@ -1,94 +0,0 @@ -setParent($formattedRequestsParent) - ->setAccessBinding($requestsAccessBinding); - $requests = [$createAccessBindingRequest,]; - $request = (new BatchCreateAccessBindingsRequest()) - ->setParent($formattedParent) - ->setRequests($requests); - - // Call the API and handle any network failures. - try { - /** @var BatchCreateAccessBindingsResponse $response */ - $response = $analyticsAdminServiceClient->batchCreateAccessBindings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - $formattedRequestsParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - - batch_create_access_bindings_sample($formattedParent, $formattedRequestsParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchCreateAccessBindings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_delete_access_bindings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_delete_access_bindings.php deleted file mode 100644 index 1a118188a41d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_delete_access_bindings.php +++ /dev/null @@ -1,88 +0,0 @@ -setName($formattedRequestsName); - $requests = [$deleteAccessBindingRequest,]; - $request = (new BatchDeleteAccessBindingsRequest()) - ->setParent($formattedParent) - ->setRequests($requests); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->batchDeleteAccessBindings($request); - printf('Call completed successfully.' . PHP_EOL); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - $formattedRequestsName = AnalyticsAdminServiceClient::accessBindingName( - '[ACCOUNT]', - '[ACCESS_BINDING]' - ); - - batch_delete_access_bindings_sample($formattedParent, $formattedRequestsName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchDeleteAccessBindings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_get_access_bindings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_get_access_bindings.php deleted file mode 100644 index 930dd91353eb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_get_access_bindings.php +++ /dev/null @@ -1,89 +0,0 @@ -setParent($formattedParent) - ->setNames($formattedNames); - - // Call the API and handle any network failures. - try { - /** @var BatchGetAccessBindingsResponse $response */ - $response = $analyticsAdminServiceClient->batchGetAccessBindings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - $formattedNamesElement = AnalyticsAdminServiceClient::accessBindingName( - '[ACCOUNT]', - '[ACCESS_BINDING]' - ); - - batch_get_access_bindings_sample($formattedParent, $formattedNamesElement); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchGetAccessBindings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_update_access_bindings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_update_access_bindings.php deleted file mode 100644 index 7f193271e38f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/batch_update_access_bindings.php +++ /dev/null @@ -1,84 +0,0 @@ -setAccessBinding($requestsAccessBinding); - $requests = [$updateAccessBindingRequest,]; - $request = (new BatchUpdateAccessBindingsRequest()) - ->setParent($formattedParent) - ->setRequests($requests); - - // Call the API and handle any network failures. - try { - /** @var BatchUpdateAccessBindingsResponse $response */ - $response = $analyticsAdminServiceClient->batchUpdateAccessBindings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - - batch_update_access_bindings_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchUpdateAccessBindings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/cancel_display_video360_advertiser_link_proposal.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/cancel_display_video360_advertiser_link_proposal.php deleted file mode 100644 index ff699d69ddcb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/cancel_display_video360_advertiser_link_proposal.php +++ /dev/null @@ -1,79 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var DisplayVideo360AdvertiserLinkProposal $response */ - $response = $analyticsAdminServiceClient->cancelDisplayVideo360AdvertiserLinkProposal($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkProposalName( - '[PROPERTY]', - '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]' - ); - - cancel_display_video360_advertiser_link_proposal_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CancelDisplayVideo360AdvertiserLinkProposal_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_access_binding.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_access_binding.php deleted file mode 100644 index 2202945134de..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_access_binding.php +++ /dev/null @@ -1,75 +0,0 @@ -setParent($formattedParent) - ->setAccessBinding($accessBinding); - - // Call the API and handle any network failures. - try { - /** @var AccessBinding $response */ - $response = $analyticsAdminServiceClient->createAccessBinding($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - - create_access_binding_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateAccessBinding_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_ad_sense_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_ad_sense_link.php deleted file mode 100644 index ba0f3244a574..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_ad_sense_link.php +++ /dev/null @@ -1,75 +0,0 @@ -setParent($formattedParent) - ->setAdsenseLink($adsenseLink); - - // Call the API and handle any network failures. - try { - /** @var AdSenseLink $response */ - $response = $analyticsAdminServiceClient->createAdSenseLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - create_ad_sense_link_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateAdSenseLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_audience.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_audience.php deleted file mode 100644 index 3a56148cd7d4..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_audience.php +++ /dev/null @@ -1,102 +0,0 @@ -setClauseType($audienceFilterClausesClauseType); - $audienceFilterClauses = [$audienceFilterClause,]; - $audience = (new Audience()) - ->setDisplayName($audienceDisplayName) - ->setDescription($audienceDescription) - ->setMembershipDurationDays($audienceMembershipDurationDays) - ->setFilterClauses($audienceFilterClauses); - $request = (new CreateAudienceRequest()) - ->setParent($formattedParent) - ->setAudience($audience); - - // Call the API and handle any network failures. - try { - /** @var Audience $response */ - $response = $analyticsAdminServiceClient->createAudience($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $audienceDisplayName = '[DISPLAY_NAME]'; - $audienceDescription = '[DESCRIPTION]'; - $audienceMembershipDurationDays = 0; - $audienceFilterClausesClauseType = AudienceClauseType::AUDIENCE_CLAUSE_TYPE_UNSPECIFIED; - - create_audience_sample( - $formattedParent, - $audienceDisplayName, - $audienceDescription, - $audienceMembershipDurationDays, - $audienceFilterClausesClauseType - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateAudience_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_big_query_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_big_query_link.php deleted file mode 100644 index 9d887ad02d44..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_big_query_link.php +++ /dev/null @@ -1,80 +0,0 @@ -setDatasetLocation($bigqueryLinkDatasetLocation); - $request = (new CreateBigQueryLinkRequest()) - ->setParent($formattedParent) - ->setBigqueryLink($bigqueryLink); - - // Call the API and handle any network failures. - try { - /** @var BigQueryLink $response */ - $response = $analyticsAdminServiceClient->createBigQueryLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $bigqueryLinkDatasetLocation = '[DATASET_LOCATION]'; - - create_big_query_link_sample($formattedParent, $bigqueryLinkDatasetLocation); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateBigQueryLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_calculated_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_calculated_metric.php deleted file mode 100644 index 80f603c0969c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_calculated_metric.php +++ /dev/null @@ -1,112 +0,0 @@ -setDisplayName($calculatedMetricDisplayName) - ->setMetricUnit($calculatedMetricMetricUnit) - ->setFormula($calculatedMetricFormula); - $request = (new CreateCalculatedMetricRequest()) - ->setParent($formattedParent) - ->setCalculatedMetricId($calculatedMetricId) - ->setCalculatedMetric($calculatedMetric); - - // Call the API and handle any network failures. - try { - /** @var CalculatedMetric $response */ - $response = $analyticsAdminServiceClient->createCalculatedMetric($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $calculatedMetricId = '[CALCULATED_METRIC_ID]'; - $calculatedMetricDisplayName = '[DISPLAY_NAME]'; - $calculatedMetricMetricUnit = MetricUnit::METRIC_UNIT_UNSPECIFIED; - $calculatedMetricFormula = '[FORMULA]'; - - create_calculated_metric_sample( - $formattedParent, - $calculatedMetricId, - $calculatedMetricDisplayName, - $calculatedMetricMetricUnit, - $calculatedMetricFormula - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateCalculatedMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_channel_group.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_channel_group.php deleted file mode 100644 index df970f2bcc3a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_channel_group.php +++ /dev/null @@ -1,95 +0,0 @@ -setDisplayName($channelGroupGroupingRuleDisplayName) - ->setExpression($channelGroupGroupingRuleExpression); - $channelGroupGroupingRule = [$groupingRule,]; - $channelGroup = (new ChannelGroup()) - ->setDisplayName($channelGroupDisplayName) - ->setGroupingRule($channelGroupGroupingRule); - $request = (new CreateChannelGroupRequest()) - ->setParent($formattedParent) - ->setChannelGroup($channelGroup); - - // Call the API and handle any network failures. - try { - /** @var ChannelGroup $response */ - $response = $analyticsAdminServiceClient->createChannelGroup($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $channelGroupDisplayName = '[DISPLAY_NAME]'; - $channelGroupGroupingRuleDisplayName = '[DISPLAY_NAME]'; - - create_channel_group_sample( - $formattedParent, - $channelGroupDisplayName, - $channelGroupGroupingRuleDisplayName - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateChannelGroup_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_conversion_event.php deleted file mode 100644 index fce79cdb0d41..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_conversion_event.php +++ /dev/null @@ -1,75 +0,0 @@ -setConversionEvent($conversionEvent) - ->setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var ConversionEvent $response */ - $response = $analyticsAdminServiceClient->createConversionEvent($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - create_conversion_event_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_dimension.php deleted file mode 100644 index 4dbd6b547435..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_dimension.php +++ /dev/null @@ -1,107 +0,0 @@ -setParameterName($customDimensionParameterName) - ->setDisplayName($customDimensionDisplayName) - ->setScope($customDimensionScope); - $request = (new CreateCustomDimensionRequest()) - ->setParent($formattedParent) - ->setCustomDimension($customDimension); - - // Call the API and handle any network failures. - try { - /** @var CustomDimension $response */ - $response = $analyticsAdminServiceClient->createCustomDimension($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $customDimensionParameterName = '[PARAMETER_NAME]'; - $customDimensionDisplayName = '[DISPLAY_NAME]'; - $customDimensionScope = DimensionScope::DIMENSION_SCOPE_UNSPECIFIED; - - create_custom_dimension_sample( - $formattedParent, - $customDimensionParameterName, - $customDimensionDisplayName, - $customDimensionScope - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_metric.php deleted file mode 100644 index d5e387a595c2..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_metric.php +++ /dev/null @@ -1,108 +0,0 @@ -setParameterName($customMetricParameterName) - ->setDisplayName($customMetricDisplayName) - ->setMeasurementUnit($customMetricMeasurementUnit) - ->setScope($customMetricScope); - $request = (new CreateCustomMetricRequest()) - ->setParent($formattedParent) - ->setCustomMetric($customMetric); - - // Call the API and handle any network failures. - try { - /** @var CustomMetric $response */ - $response = $analyticsAdminServiceClient->createCustomMetric($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $customMetricParameterName = '[PARAMETER_NAME]'; - $customMetricDisplayName = '[DISPLAY_NAME]'; - $customMetricMeasurementUnit = MeasurementUnit::MEASUREMENT_UNIT_UNSPECIFIED; - $customMetricScope = MetricScope::METRIC_SCOPE_UNSPECIFIED; - - create_custom_metric_sample( - $formattedParent, - $customMetricParameterName, - $customMetricDisplayName, - $customMetricMeasurementUnit, - $customMetricScope - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_data_stream.php deleted file mode 100644 index 4fdb88e289d6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_data_stream.php +++ /dev/null @@ -1,77 +0,0 @@ -setType($dataStreamType); - $request = (new CreateDataStreamRequest()) - ->setParent($formattedParent) - ->setDataStream($dataStream); - - // Call the API and handle any network failures. - try { - /** @var DataStream $response */ - $response = $analyticsAdminServiceClient->createDataStream($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $dataStreamType = DataStreamType::DATA_STREAM_TYPE_UNSPECIFIED; - - create_data_stream_sample($formattedParent, $dataStreamType); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link.php deleted file mode 100644 index 3fc2cb6869fb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link.php +++ /dev/null @@ -1,77 +0,0 @@ -setParent($formattedParent) - ->setDisplayVideo360AdvertiserLink($displayVideo360AdvertiserLink); - - // Call the API and handle any network failures. - try { - /** @var DisplayVideo360AdvertiserLink $response */ - $response = $analyticsAdminServiceClient->createDisplayVideo360AdvertiserLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - create_display_video360_advertiser_link_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateDisplayVideo360AdvertiserLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link_proposal.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link_proposal.php deleted file mode 100644 index d1d95436bae6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link_proposal.php +++ /dev/null @@ -1,73 +0,0 @@ -setParent($formattedParent) - ->setDisplayVideo360AdvertiserLinkProposal($displayVideo360AdvertiserLinkProposal); - - // Call the API and handle any network failures. - try { - /** @var DisplayVideo360AdvertiserLinkProposal $response */ - $response = $analyticsAdminServiceClient->createDisplayVideo360AdvertiserLinkProposal($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - create_display_video360_advertiser_link_proposal_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateDisplayVideo360AdvertiserLinkProposal_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_create_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_create_rule.php deleted file mode 100644 index e28b6545b2e2..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_create_rule.php +++ /dev/null @@ -1,113 +0,0 @@ -setField($eventCreateRuleEventConditionsField) - ->setComparisonType($eventCreateRuleEventConditionsComparisonType) - ->setValue($eventCreateRuleEventConditionsValue); - $eventCreateRuleEventConditions = [$matchingCondition,]; - $eventCreateRule = (new EventCreateRule()) - ->setDestinationEvent($eventCreateRuleDestinationEvent) - ->setEventConditions($eventCreateRuleEventConditions); - $request = (new CreateEventCreateRuleRequest()) - ->setParent($formattedParent) - ->setEventCreateRule($eventCreateRule); - - // Call the API and handle any network failures. - try { - /** @var EventCreateRule $response */ - $response = $analyticsAdminServiceClient->createEventCreateRule($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $eventCreateRuleDestinationEvent = '[DESTINATION_EVENT]'; - $eventCreateRuleEventConditionsField = '[FIELD]'; - $eventCreateRuleEventConditionsComparisonType = ComparisonType::COMPARISON_TYPE_UNSPECIFIED; - $eventCreateRuleEventConditionsValue = '[VALUE]'; - - create_event_create_rule_sample( - $formattedParent, - $eventCreateRuleDestinationEvent, - $eventCreateRuleEventConditionsField, - $eventCreateRuleEventConditionsComparisonType, - $eventCreateRuleEventConditionsValue - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateEventCreateRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_edit_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_edit_rule.php deleted file mode 100644 index f278ade9731a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_event_edit_rule.php +++ /dev/null @@ -1,134 +0,0 @@ -setField($eventEditRuleEventConditionsField) - ->setComparisonType($eventEditRuleEventConditionsComparisonType) - ->setValue($eventEditRuleEventConditionsValue); - $eventEditRuleEventConditions = [$matchingCondition,]; - $parameterMutation = (new ParameterMutation()) - ->setParameter($eventEditRuleParameterMutationsParameter) - ->setParameterValue($eventEditRuleParameterMutationsParameterValue); - $eventEditRuleParameterMutations = [$parameterMutation,]; - $eventEditRule = (new EventEditRule()) - ->setDisplayName($eventEditRuleDisplayName) - ->setEventConditions($eventEditRuleEventConditions) - ->setParameterMutations($eventEditRuleParameterMutations); - $request = (new CreateEventEditRuleRequest()) - ->setParent($formattedParent) - ->setEventEditRule($eventEditRule); - - // Call the API and handle any network failures. - try { - /** @var EventEditRule $response */ - $response = $analyticsAdminServiceClient->createEventEditRule($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $eventEditRuleDisplayName = '[DISPLAY_NAME]'; - $eventEditRuleEventConditionsField = '[FIELD]'; - $eventEditRuleEventConditionsComparisonType = ComparisonType::COMPARISON_TYPE_UNSPECIFIED; - $eventEditRuleEventConditionsValue = '[VALUE]'; - $eventEditRuleParameterMutationsParameter = '[PARAMETER]'; - $eventEditRuleParameterMutationsParameterValue = '[PARAMETER_VALUE]'; - - create_event_edit_rule_sample( - $formattedParent, - $eventEditRuleDisplayName, - $eventEditRuleEventConditionsField, - $eventEditRuleEventConditionsComparisonType, - $eventEditRuleEventConditionsValue, - $eventEditRuleParameterMutationsParameter, - $eventEditRuleParameterMutationsParameterValue - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateEventEditRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_expanded_data_set.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_expanded_data_set.php deleted file mode 100644 index f92a0bb6237f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_expanded_data_set.php +++ /dev/null @@ -1,79 +0,0 @@ -setDisplayName($expandedDataSetDisplayName); - $request = (new CreateExpandedDataSetRequest()) - ->setParent($formattedParent) - ->setExpandedDataSet($expandedDataSet); - - // Call the API and handle any network failures. - try { - /** @var ExpandedDataSet $response */ - $response = $analyticsAdminServiceClient->createExpandedDataSet($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $expandedDataSetDisplayName = '[DISPLAY_NAME]'; - - create_expanded_data_set_sample($formattedParent, $expandedDataSetDisplayName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateExpandedDataSet_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_firebase_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_firebase_link.php deleted file mode 100644 index a81aab8e1ffe..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_firebase_link.php +++ /dev/null @@ -1,77 +0,0 @@ -setParent($formattedParent) - ->setFirebaseLink($firebaseLink); - - // Call the API and handle any network failures. - try { - /** @var FirebaseLink $response */ - $response = $analyticsAdminServiceClient->createFirebaseLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - create_firebase_link_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateFirebaseLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_google_ads_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_google_ads_link.php deleted file mode 100644 index bdb996b9fbf9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_google_ads_link.php +++ /dev/null @@ -1,73 +0,0 @@ -setParent($formattedParent) - ->setGoogleAdsLink($googleAdsLink); - - // Call the API and handle any network failures. - try { - /** @var GoogleAdsLink $response */ - $response = $analyticsAdminServiceClient->createGoogleAdsLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - create_google_ads_link_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateGoogleAdsLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_key_event.php deleted file mode 100644 index 5a1023cc45c3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_key_event.php +++ /dev/null @@ -1,79 +0,0 @@ -setCountingMethod($keyEventCountingMethod); - $request = (new CreateKeyEventRequest()) - ->setKeyEvent($keyEvent) - ->setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var KeyEvent $response */ - $response = $analyticsAdminServiceClient->createKeyEvent($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - create_key_event_sample($keyEventCountingMethod, $formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php deleted file mode 100644 index c4760e3064fb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php +++ /dev/null @@ -1,79 +0,0 @@ -setDisplayName($measurementProtocolSecretDisplayName); - $request = (new CreateMeasurementProtocolSecretRequest()) - ->setParent($formattedParent) - ->setMeasurementProtocolSecret($measurementProtocolSecret); - - // Call the API and handle any network failures. - try { - /** @var MeasurementProtocolSecret $response */ - $response = $analyticsAdminServiceClient->createMeasurementProtocolSecret($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $measurementProtocolSecretDisplayName = '[DISPLAY_NAME]'; - - create_measurement_protocol_secret_sample($formattedParent, $measurementProtocolSecretDisplayName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_property.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_property.php deleted file mode 100644 index b8c391a9cb7b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_property.php +++ /dev/null @@ -1,86 +0,0 @@ -setDisplayName($propertyDisplayName) - ->setTimeZone($propertyTimeZone); - $request = (new CreatePropertyRequest()) - ->setProperty($property); - - // Call the API and handle any network failures. - try { - /** @var Property $response */ - $response = $analyticsAdminServiceClient->createProperty($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $propertyDisplayName = '[DISPLAY_NAME]'; - $propertyTimeZone = '[TIME_ZONE]'; - - create_property_sample($propertyDisplayName, $propertyTimeZone); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_reporting_data_annotation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_reporting_data_annotation.php deleted file mode 100644 index 98a319b96a11..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_reporting_data_annotation.php +++ /dev/null @@ -1,97 +0,0 @@ -setName($reportingDataAnnotationName) - ->setTitle($reportingDataAnnotationTitle) - ->setColor($reportingDataAnnotationColor); - $request = (new CreateReportingDataAnnotationRequest()) - ->setParent($formattedParent) - ->setReportingDataAnnotation($reportingDataAnnotation); - - // Call the API and handle any network failures. - try { - /** @var ReportingDataAnnotation $response */ - $response = $analyticsAdminServiceClient->createReportingDataAnnotation($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $reportingDataAnnotationName = '[NAME]'; - $reportingDataAnnotationTitle = '[TITLE]'; - $reportingDataAnnotationColor = Color::COLOR_UNSPECIFIED; - - create_reporting_data_annotation_sample( - $formattedParent, - $reportingDataAnnotationName, - $reportingDataAnnotationTitle, - $reportingDataAnnotationColor - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateReportingDataAnnotation_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property.php deleted file mode 100644 index 51559c2ced4b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property.php +++ /dev/null @@ -1,88 +0,0 @@ -setDisplayName($rollupPropertyDisplayName) - ->setTimeZone($rollupPropertyTimeZone); - $request = (new CreateRollupPropertyRequest()) - ->setRollupProperty($rollupProperty); - - // Call the API and handle any network failures. - try { - /** @var CreateRollupPropertyResponse $response */ - $response = $analyticsAdminServiceClient->createRollupProperty($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $rollupPropertyDisplayName = '[DISPLAY_NAME]'; - $rollupPropertyTimeZone = '[TIME_ZONE]'; - - create_rollup_property_sample($rollupPropertyDisplayName, $rollupPropertyTimeZone); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateRollupProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property_source_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property_source_link.php deleted file mode 100644 index 796faa3539ff..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property_source_link.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent) - ->setRollupPropertySourceLink($rollupPropertySourceLink); - - // Call the API and handle any network failures. - try { - /** @var RollupPropertySourceLink $response */ - $response = $analyticsAdminServiceClient->createRollupPropertySourceLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - create_rollup_property_source_link_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateRollupPropertySourceLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_search_ads360_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_search_ads360_link.php deleted file mode 100644 index cc8b57f6cb32..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_search_ads360_link.php +++ /dev/null @@ -1,73 +0,0 @@ -setParent($formattedParent) - ->setSearchAds360Link($searchAds360Link); - - // Call the API and handle any network failures. - try { - /** @var SearchAds360Link $response */ - $response = $analyticsAdminServiceClient->createSearchAds360Link($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - create_search_ads360_link_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSearchAds360Link_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_sk_ad_network_conversion_value_schema.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_sk_ad_network_conversion_value_schema.php deleted file mode 100644 index 670f3c45c950..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_sk_ad_network_conversion_value_schema.php +++ /dev/null @@ -1,77 +0,0 @@ -setPostbackWindowOne($skadnetworkConversionValueSchemaPostbackWindowOne); - $request = (new CreateSKAdNetworkConversionValueSchemaRequest()) - ->setParent($formattedParent) - ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema); - - // Call the API and handle any network failures. - try { - /** @var SKAdNetworkConversionValueSchema $response */ - $response = $analyticsAdminServiceClient->createSKAdNetworkConversionValueSchema($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - - create_sk_ad_network_conversion_value_schema_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSKAdNetworkConversionValueSchema_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty_event_filter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty_event_filter.php deleted file mode 100644 index 6b43230cd119..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty_event_filter.php +++ /dev/null @@ -1,90 +0,0 @@ -setFilterClauseType($subpropertyEventFilterFilterClausesFilterClauseType) - ->setFilterExpression($subpropertyEventFilterFilterClausesFilterExpression); - $subpropertyEventFilterFilterClauses = [$subpropertyEventFilterClause,]; - $subpropertyEventFilter = (new SubpropertyEventFilter()) - ->setFilterClauses($subpropertyEventFilterFilterClauses); - $request = (new CreateSubpropertyEventFilterRequest()) - ->setParent($formattedParent) - ->setSubpropertyEventFilter($subpropertyEventFilter); - - // Call the API and handle any network failures. - try { - /** @var SubpropertyEventFilter $response */ - $response = $analyticsAdminServiceClient->createSubpropertyEventFilter($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $subpropertyEventFilterFilterClausesFilterClauseType = FilterClauseType::FILTER_CLAUSE_TYPE_UNSPECIFIED; - - create_subproperty_event_filter_sample( - $formattedParent, - $subpropertyEventFilterFilterClausesFilterClauseType - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSubpropertyEventFilter_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_access_binding.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_access_binding.php deleted file mode 100644 index 79419c9d19d9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_access_binding.php +++ /dev/null @@ -1,71 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteAccessBinding($request); - 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::accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); - - delete_access_binding_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteAccessBinding_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_account.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_account.php deleted file mode 100644 index 779301e2f04b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_account.php +++ /dev/null @@ -1,81 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteAccount($request); - 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::accountName('[ACCOUNT]'); - - delete_account_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteAccount_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_ad_sense_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_ad_sense_link.php deleted file mode 100644 index 7eeecb458ddf..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_ad_sense_link.php +++ /dev/null @@ -1,71 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteAdSenseLink($request); - 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::adSenseLinkName('[PROPERTY]', '[ADSENSE_LINK]'); - - delete_ad_sense_link_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteAdSenseLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_big_query_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_big_query_link.php deleted file mode 100644 index 19bc8bc3e396..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_big_query_link.php +++ /dev/null @@ -1,70 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteBigQueryLink($request); - 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::bigQueryLinkName('[PROPERTY]', '[BIGQUERY_LINK]'); - - delete_big_query_link_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteBigQueryLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_calculated_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_calculated_metric.php deleted file mode 100644 index 2387685c55ff..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_calculated_metric.php +++ /dev/null @@ -1,74 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteCalculatedMetric($request); - 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::calculatedMetricName( - '[PROPERTY]', - '[CALCULATED_METRIC]' - ); - - delete_calculated_metric_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteCalculatedMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_channel_group.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_channel_group.php deleted file mode 100644 index a6e96a05d9ae..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_channel_group.php +++ /dev/null @@ -1,70 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteChannelGroup($request); - 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::channelGroupName('[PROPERTY]', '[CHANNEL_GROUP]'); - - delete_channel_group_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteChannelGroup_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_conversion_event.php deleted file mode 100644 index 6f746f7e3ea4..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_conversion_event.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteConversionEvent($request); - 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::conversionEventName( - '[PROPERTY]', - '[CONVERSION_EVENT]' - ); - - delete_conversion_event_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_data_stream.php deleted file mode 100644 index 171152a4d648..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_data_stream.php +++ /dev/null @@ -1,70 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteDataStream($request); - 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::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - - delete_data_stream_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link.php deleted file mode 100644 index 61091a7d0452..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link.php +++ /dev/null @@ -1,73 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteDisplayVideo360AdvertiserLink($request); - 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::displayVideo360AdvertiserLinkName( - '[PROPERTY]', - '[DISPLAY_VIDEO_360_ADVERTISER_LINK]' - ); - - delete_display_video360_advertiser_link_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteDisplayVideo360AdvertiserLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link_proposal.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link_proposal.php deleted file mode 100644 index d55b2bb1481b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link_proposal.php +++ /dev/null @@ -1,74 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteDisplayVideo360AdvertiserLinkProposal($request); - 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::displayVideo360AdvertiserLinkProposalName( - '[PROPERTY]', - '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]' - ); - - delete_display_video360_advertiser_link_proposal_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteDisplayVideo360AdvertiserLinkProposal_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_create_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_create_rule.php deleted file mode 100644 index 00b8bd04e55f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_create_rule.php +++ /dev/null @@ -1,74 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteEventCreateRule($request); - 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::eventCreateRuleName( - '[PROPERTY]', - '[DATA_STREAM]', - '[EVENT_CREATE_RULE]' - ); - - delete_event_create_rule_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteEventCreateRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_edit_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_edit_rule.php deleted file mode 100644 index f955a41cde51..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_event_edit_rule.php +++ /dev/null @@ -1,73 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteEventEditRule($request); - 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::eventEditRuleName( - '[PROPERTY]', - '[DATA_STREAM]', - '[EVENT_EDIT_RULE]' - ); - - delete_event_edit_rule_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteEventEditRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_expanded_data_set.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_expanded_data_set.php deleted file mode 100644 index 4ab0dbe69bb5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_expanded_data_set.php +++ /dev/null @@ -1,72 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteExpandedDataSet($request); - 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::expandedDataSetName( - '[PROPERTY]', - '[EXPANDED_DATA_SET]' - ); - - delete_expanded_data_set_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteExpandedDataSet_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_firebase_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_firebase_link.php deleted file mode 100644 index 4ccf92a00738..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_firebase_link.php +++ /dev/null @@ -1,71 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteFirebaseLink($request); - 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::firebaseLinkName('[PROPERTY]', '[FIREBASE_LINK]'); - - delete_firebase_link_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteFirebaseLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_google_ads_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_google_ads_link.php deleted file mode 100644 index bdf8e7d3202d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_google_ads_link.php +++ /dev/null @@ -1,69 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteGoogleAdsLink($request); - 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::googleAdsLinkName('[PROPERTY]', '[GOOGLE_ADS_LINK]'); - - delete_google_ads_link_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteGoogleAdsLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_key_event.php deleted file mode 100644 index a20ceeac2227..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_key_event.php +++ /dev/null @@ -1,71 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteKeyEvent($request); - 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::keyEventName('[PROPERTY]', '[KEY_EVENT]'); - - delete_key_event_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php deleted file mode 100644 index 599450ffb103..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteMeasurementProtocolSecret($request); - 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::measurementProtocolSecretName( - '[PROPERTY]', - '[DATA_STREAM]', - '[MEASUREMENT_PROTOCOL_SECRET]' - ); - - delete_measurement_protocol_secret_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php deleted file mode 100644 index a87cc9421b2b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php +++ /dev/null @@ -1,83 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var Property $response */ - $response = $analyticsAdminServiceClient->deleteProperty($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - delete_property_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_reporting_data_annotation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_reporting_data_annotation.php deleted file mode 100644 index 1ebe442c9477..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_reporting_data_annotation.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteReportingDataAnnotation($request); - 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::reportingDataAnnotationName( - '[PROPERTY]', - '[REPORTING_DATA_ANNOTATION]' - ); - - delete_reporting_data_annotation_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteReportingDataAnnotation_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_rollup_property_source_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_rollup_property_source_link.php deleted file mode 100644 index 5e00c8330ede..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_rollup_property_source_link.php +++ /dev/null @@ -1,76 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteRollupPropertySourceLink($request); - 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::rollupPropertySourceLinkName( - '[PROPERTY]', - '[ROLLUP_PROPERTY_SOURCE_LINK]' - ); - - delete_rollup_property_source_link_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteRollupPropertySourceLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_search_ads360_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_search_ads360_link.php deleted file mode 100644 index 68a31fd18015..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_search_ads360_link.php +++ /dev/null @@ -1,73 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteSearchAds360Link($request); - 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/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_sk_ad_network_conversion_value_schema.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_sk_ad_network_conversion_value_schema.php deleted file mode 100644 index 1107e891503d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_sk_ad_network_conversion_value_schema.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteSKAdNetworkConversionValueSchema($request); - 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::sKAdNetworkConversionValueSchemaName( - '[PROPERTY]', - '[DATA_STREAM]', - '[SKADNETWORK_CONVERSION_VALUE_SCHEMA]' - ); - - delete_sk_ad_network_conversion_value_schema_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSKAdNetworkConversionValueSchema_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_subproperty_event_filter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_subproperty_event_filter.php deleted file mode 100644 index 5a2d5dae86c8..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/delete_subproperty_event_filter.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteSubpropertyEventFilter($request); - 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::subpropertyEventFilterName( - '[PROPERTY]', - '[SUB_PROPERTY_EVENT_FILTER]' - ); - - delete_subproperty_event_filter_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSubpropertyEventFilter_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_access_binding.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_access_binding.php deleted file mode 100644 index 6b9ababbf4cb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_access_binding.php +++ /dev/null @@ -1,74 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var AccessBinding $response */ - $response = $analyticsAdminServiceClient->getAccessBinding($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); - - get_access_binding_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAccessBinding_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_account.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_account.php deleted file mode 100644 index bb75365e420f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_account.php +++ /dev/null @@ -1,73 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var Account $response */ - $response = $analyticsAdminServiceClient->getAccount($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - - get_account_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAccount_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_ad_sense_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_ad_sense_link.php deleted file mode 100644 index 926a6ad854e3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_ad_sense_link.php +++ /dev/null @@ -1,73 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var AdSenseLink $response */ - $response = $analyticsAdminServiceClient->getAdSenseLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::adSenseLinkName('[PROPERTY]', '[ADSENSE_LINK]'); - - get_ad_sense_link_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAdSenseLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_attribution_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_attribution_settings.php deleted file mode 100644 index c410e87e600d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_attribution_settings.php +++ /dev/null @@ -1,72 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var AttributionSettings $response */ - $response = $analyticsAdminServiceClient->getAttributionSettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::attributionSettingsName('[PROPERTY]'); - - get_attribution_settings_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAttributionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_audience.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_audience.php deleted file mode 100644 index 68a757a18198..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_audience.php +++ /dev/null @@ -1,74 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var Audience $response */ - $response = $analyticsAdminServiceClient->getAudience($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::audienceName('[PROPERTY]', '[AUDIENCE]'); - - get_audience_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetAudience_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_big_query_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_big_query_link.php deleted file mode 100644 index de2074600bad..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_big_query_link.php +++ /dev/null @@ -1,73 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var BigQueryLink $response */ - $response = $analyticsAdminServiceClient->getBigQueryLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::bigQueryLinkName('[PROPERTY]', '[BIGQUERY_LINK]'); - - get_big_query_link_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetBigQueryLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_calculated_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_calculated_metric.php deleted file mode 100644 index 2ba7263e9a15..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_calculated_metric.php +++ /dev/null @@ -1,76 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var CalculatedMetric $response */ - $response = $analyticsAdminServiceClient->getCalculatedMetric($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::calculatedMetricName( - '[PROPERTY]', - '[CALCULATED_METRIC]' - ); - - get_calculated_metric_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetCalculatedMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_channel_group.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_channel_group.php deleted file mode 100644 index 960869854d54..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_channel_group.php +++ /dev/null @@ -1,72 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var ChannelGroup $response */ - $response = $analyticsAdminServiceClient->getChannelGroup($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::channelGroupName('[PROPERTY]', '[CHANNEL_GROUP]'); - - get_channel_group_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetChannelGroup_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_conversion_event.php deleted file mode 100644 index 25e12867c3e5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_conversion_event.php +++ /dev/null @@ -1,77 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var ConversionEvent $response */ - $response = $analyticsAdminServiceClient->getConversionEvent($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::conversionEventName( - '[PROPERTY]', - '[CONVERSION_EVENT]' - ); - - get_conversion_event_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_dimension.php deleted file mode 100644 index 4934a648ce2a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_dimension.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var CustomDimension $response */ - $response = $analyticsAdminServiceClient->getCustomDimension($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::customDimensionName( - '[PROPERTY]', - '[CUSTOM_DIMENSION]' - ); - - get_custom_dimension_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_metric.php deleted file mode 100644 index e4ea3486bc1f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_custom_metric.php +++ /dev/null @@ -1,72 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var CustomMetric $response */ - $response = $analyticsAdminServiceClient->getCustomMetric($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); - - get_custom_metric_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_redaction_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_redaction_settings.php deleted file mode 100644 index 3ba007b8a9db..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_redaction_settings.php +++ /dev/null @@ -1,77 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var DataRedactionSettings $response */ - $response = $analyticsAdminServiceClient->getDataRedactionSettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::dataRedactionSettingsName( - '[PROPERTY]', - '[DATA_STREAM]' - ); - - get_data_redaction_settings_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataRedactionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_retention_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_retention_settings.php deleted file mode 100644 index a9032e3efecd..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_retention_settings.php +++ /dev/null @@ -1,74 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var DataRetentionSettings $response */ - $response = $analyticsAdminServiceClient->getDataRetentionSettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::dataRetentionSettingsName('[PROPERTY]'); - - get_data_retention_settings_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataRetentionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_sharing_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_sharing_settings.php deleted file mode 100644 index f52ac82e88e5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_sharing_settings.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var DataSharingSettings $response */ - $response = $analyticsAdminServiceClient->getDataSharingSettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::dataSharingSettingsName('[ACCOUNT]'); - - get_data_sharing_settings_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataSharingSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_stream.php deleted file mode 100644 index 05cdffe346bf..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_data_stream.php +++ /dev/null @@ -1,72 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var DataStream $response */ - $response = $analyticsAdminServiceClient->getDataStream($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - - get_data_stream_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link.php deleted file mode 100644 index 79305efbbe44..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var DisplayVideo360AdvertiserLink $response */ - $response = $analyticsAdminServiceClient->getDisplayVideo360AdvertiserLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkName( - '[PROPERTY]', - '[DISPLAY_VIDEO_360_ADVERTISER_LINK]' - ); - - get_display_video360_advertiser_link_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDisplayVideo360AdvertiserLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link_proposal.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link_proposal.php deleted file mode 100644 index d756583a8039..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link_proposal.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var DisplayVideo360AdvertiserLinkProposal $response */ - $response = $analyticsAdminServiceClient->getDisplayVideo360AdvertiserLinkProposal($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::displayVideo360AdvertiserLinkProposalName( - '[PROPERTY]', - '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]' - ); - - get_display_video360_advertiser_link_proposal_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetDisplayVideo360AdvertiserLinkProposal_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_enhanced_measurement_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_enhanced_measurement_settings.php deleted file mode 100644 index 9f69e6325bda..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_enhanced_measurement_settings.php +++ /dev/null @@ -1,79 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var EnhancedMeasurementSettings $response */ - $response = $analyticsAdminServiceClient->getEnhancedMeasurementSettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::enhancedMeasurementSettingsName( - '[PROPERTY]', - '[DATA_STREAM]' - ); - - get_enhanced_measurement_settings_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetEnhancedMeasurementSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_create_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_create_rule.php deleted file mode 100644 index d0352e98bca9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_create_rule.php +++ /dev/null @@ -1,76 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var EventCreateRule $response */ - $response = $analyticsAdminServiceClient->getEventCreateRule($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::eventCreateRuleName( - '[PROPERTY]', - '[DATA_STREAM]', - '[EVENT_CREATE_RULE]' - ); - - get_event_create_rule_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetEventCreateRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_edit_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_edit_rule.php deleted file mode 100644 index bff503f8e0dc..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_event_edit_rule.php +++ /dev/null @@ -1,76 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var EventEditRule $response */ - $response = $analyticsAdminServiceClient->getEventEditRule($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::eventEditRuleName( - '[PROPERTY]', - '[DATA_STREAM]', - '[EVENT_EDIT_RULE]' - ); - - get_event_edit_rule_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetEventEditRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_expanded_data_set.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_expanded_data_set.php deleted file mode 100644 index 899fb37cc3fd..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_expanded_data_set.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var ExpandedDataSet $response */ - $response = $analyticsAdminServiceClient->getExpandedDataSet($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::expandedDataSetName( - '[PROPERTY]', - '[EXPANDED_DATA_SET]' - ); - - get_expanded_data_set_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetExpandedDataSet_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_global_site_tag.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_global_site_tag.php deleted file mode 100644 index c720fa2cbbc8..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_global_site_tag.php +++ /dev/null @@ -1,76 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var GlobalSiteTag $response */ - $response = $analyticsAdminServiceClient->getGlobalSiteTag($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::globalSiteTagName('[PROPERTY]', '[DATA_STREAM]'); - - get_global_site_tag_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetGlobalSiteTag_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_google_signals_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_google_signals_settings.php deleted file mode 100644 index 8c39fbd4c05c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_google_signals_settings.php +++ /dev/null @@ -1,72 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var GoogleSignalsSettings $response */ - $response = $analyticsAdminServiceClient->getGoogleSignalsSettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::googleSignalsSettingsName('[PROPERTY]'); - - get_google_signals_settings_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetGoogleSignalsSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_key_event.php deleted file mode 100644 index 3754bd4a1606..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_key_event.php +++ /dev/null @@ -1,73 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var KeyEvent $response */ - $response = $analyticsAdminServiceClient->getKeyEvent($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::keyEventName('[PROPERTY]', '[KEY_EVENT]'); - - get_key_event_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php deleted file mode 100644 index 79ba7d0dd990..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php +++ /dev/null @@ -1,77 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var MeasurementProtocolSecret $response */ - $response = $analyticsAdminServiceClient->getMeasurementProtocolSecret($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::measurementProtocolSecretName( - '[PROPERTY]', - '[DATA_STREAM]', - '[MEASUREMENT_PROTOCOL_SECRET]' - ); - - get_measurement_protocol_secret_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_property.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_property.php deleted file mode 100644 index ddb077f06e08..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_property.php +++ /dev/null @@ -1,73 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var Property $response */ - $response = $analyticsAdminServiceClient->getProperty($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - get_property_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_data_annotation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_data_annotation.php deleted file mode 100644 index d3d31275dcd8..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_data_annotation.php +++ /dev/null @@ -1,77 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var ReportingDataAnnotation $response */ - $response = $analyticsAdminServiceClient->getReportingDataAnnotation($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::reportingDataAnnotationName( - '[PROPERTY]', - '[REPORTING_DATA_ANNOTATION]' - ); - - get_reporting_data_annotation_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetReportingDataAnnotation_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_identity_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_identity_settings.php deleted file mode 100644 index 524c9dcb2af7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_identity_settings.php +++ /dev/null @@ -1,74 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var ReportingIdentitySettings $response */ - $response = $analyticsAdminServiceClient->getReportingIdentitySettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::reportingIdentitySettingsName('[PROPERTY]'); - - get_reporting_identity_settings_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetReportingIdentitySettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_rollup_property_source_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_rollup_property_source_link.php deleted file mode 100644 index fa86821df1be..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_rollup_property_source_link.php +++ /dev/null @@ -1,79 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var RollupPropertySourceLink $response */ - $response = $analyticsAdminServiceClient->getRollupPropertySourceLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::rollupPropertySourceLinkName( - '[PROPERTY]', - '[ROLLUP_PROPERTY_SOURCE_LINK]' - ); - - get_rollup_property_source_link_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetRollupPropertySourceLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_search_ads360_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_search_ads360_link.php deleted file mode 100644 index 07b3948d8694..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_search_ads360_link.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var SearchAds360Link $response */ - $response = $analyticsAdminServiceClient->getSearchAds360Link($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::searchAds360LinkName( - '[PROPERTY]', - '[SEARCH_ADS_360_LINK]' - ); - - get_search_ads360_link_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSearchAds360Link_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_sk_ad_network_conversion_value_schema.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_sk_ad_network_conversion_value_schema.php deleted file mode 100644 index bd8f64923a5b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_sk_ad_network_conversion_value_schema.php +++ /dev/null @@ -1,77 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var SKAdNetworkConversionValueSchema $response */ - $response = $analyticsAdminServiceClient->getSKAdNetworkConversionValueSchema($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::sKAdNetworkConversionValueSchemaName( - '[PROPERTY]', - '[DATA_STREAM]', - '[SKADNETWORK_CONVERSION_VALUE_SCHEMA]' - ); - - get_sk_ad_network_conversion_value_schema_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSKAdNetworkConversionValueSchema_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_event_filter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_event_filter.php deleted file mode 100644 index 0cd4f59a1217..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_event_filter.php +++ /dev/null @@ -1,77 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var SubpropertyEventFilter $response */ - $response = $analyticsAdminServiceClient->getSubpropertyEventFilter($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::subpropertyEventFilterName( - '[PROPERTY]', - '[SUB_PROPERTY_EVENT_FILTER]' - ); - - get_subproperty_event_filter_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSubpropertyEventFilter_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_sync_config.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_sync_config.php deleted file mode 100644 index 2386cb4fa4bb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_sync_config.php +++ /dev/null @@ -1,77 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var SubpropertySyncConfig $response */ - $response = $analyticsAdminServiceClient->getSubpropertySyncConfig($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::subpropertySyncConfigName( - '[PROPERTY]', - '[SUBPROPERTY_SYNC_CONFIG]' - ); - - get_subproperty_sync_config_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSubpropertySyncConfig_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_access_bindings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_access_bindings.php deleted file mode 100644 index fa675c779ccc..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_access_bindings.php +++ /dev/null @@ -1,78 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listAccessBindings($request); - - /** @var AccessBinding $element */ - foreach ($response as $element) { - printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); - } - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - - list_access_bindings_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAccessBindings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_account_summaries.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_account_summaries.php deleted file mode 100644 index 25d014a8240e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_account_summaries.php +++ /dev/null @@ -1,62 +0,0 @@ -listAccountSummaries($request); - - /** @var AccountSummary $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()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAccountSummaries_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_accounts.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_accounts.php deleted file mode 100644 index da7c743ca343..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_accounts.php +++ /dev/null @@ -1,66 +0,0 @@ -listAccounts($request); - - /** @var Account $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()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAccounts_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_ad_sense_links.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_ad_sense_links.php deleted file mode 100644 index 3aa80b04bf04..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_ad_sense_links.php +++ /dev/null @@ -1,78 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listAdSenseLinks($request); - - /** @var AdSenseLink $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_ad_sense_links_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAdSenseLinks_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_audiences.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_audiences.php deleted file mode 100644 index 0c056c015ef0..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_audiences.php +++ /dev/null @@ -1,78 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listAudiences($request); - - /** @var Audience $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_audiences_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListAudiences_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_big_query_links.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_big_query_links.php deleted file mode 100644 index 6c4699614a45..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_big_query_links.php +++ /dev/null @@ -1,78 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listBigQueryLinks($request); - - /** @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/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_calculated_metrics.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_calculated_metrics.php deleted file mode 100644 index 1f325caf7c2e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_calculated_metrics.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listCalculatedMetrics($request); - - /** @var CalculatedMetric $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_calculated_metrics_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListCalculatedMetrics_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_channel_groups.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_channel_groups.php deleted file mode 100644 index b418ff4a3cb5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_channel_groups.php +++ /dev/null @@ -1,77 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listChannelGroups($request); - - /** @var ChannelGroup $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_channel_groups_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListChannelGroups_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_conversion_events.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_conversion_events.php deleted file mode 100644 index 22b685a07fff..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_conversion_events.php +++ /dev/null @@ -1,80 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listConversionEvents($request); - - /** @var ConversionEvent $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_conversion_events_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListConversionEvents_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_dimensions.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_dimensions.php deleted file mode 100644 index aa0d08c8a224..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_dimensions.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listCustomDimensions($request); - - /** @var CustomDimension $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_custom_dimensions_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListCustomDimensions_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_metrics.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_metrics.php deleted file mode 100644 index 0ce8ceb84615..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_custom_metrics.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listCustomMetrics($request); - - /** @var CustomMetric $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_custom_metrics_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListCustomMetrics_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_data_streams.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_data_streams.php deleted file mode 100644 index 30748b08cc6e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_data_streams.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listDataStreams($request); - - /** @var DataStream $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_data_streams_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListDataStreams_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_link_proposals.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_link_proposals.php deleted file mode 100644 index 1cbeeac4e2a9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_link_proposals.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listDisplayVideo360AdvertiserLinkProposals($request); - - /** @var DisplayVideo360AdvertiserLinkProposal $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_display_video360_advertiser_link_proposals_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListDisplayVideo360AdvertiserLinkProposals_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_links.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_links.php deleted file mode 100644 index 1349c748a408..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_links.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listDisplayVideo360AdvertiserLinks($request); - - /** @var DisplayVideo360AdvertiserLink $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_display_video360_advertiser_links_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListDisplayVideo360AdvertiserLinks_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_create_rules.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_create_rules.php deleted file mode 100644 index 5ab89141410e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_create_rules.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listEventCreateRules($request); - - /** @var EventCreateRule $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::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - - list_event_create_rules_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListEventCreateRules_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_edit_rules.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_edit_rules.php deleted file mode 100644 index 64a45c8bb4d8..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_event_edit_rules.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listEventEditRules($request); - - /** @var EventEditRule $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::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - - list_event_edit_rules_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListEventEditRules_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_expanded_data_sets.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_expanded_data_sets.php deleted file mode 100644 index 51cdb6525c06..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_expanded_data_sets.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listExpandedDataSets($request); - - /** @var ExpandedDataSet $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_expanded_data_sets_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListExpandedDataSets_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_firebase_links.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_firebase_links.php deleted file mode 100644 index 9d3a3be010e9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_firebase_links.php +++ /dev/null @@ -1,79 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listFirebaseLinks($request); - - /** @var FirebaseLink $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_firebase_links_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListFirebaseLinks_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_google_ads_links.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_google_ads_links.php deleted file mode 100644 index 621d1a1e3e9e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_google_ads_links.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listGoogleAdsLinks($request); - - /** @var GoogleAdsLink $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_google_ads_links_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListGoogleAdsLinks_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_key_events.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_key_events.php deleted file mode 100644 index fa7fd19f935e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_key_events.php +++ /dev/null @@ -1,78 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listKeyEvents($request); - - /** @var KeyEvent $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_key_events_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListKeyEvents_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php deleted file mode 100644 index 7a2c9a124269..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php +++ /dev/null @@ -1,79 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listMeasurementProtocolSecrets($request); - - /** @var MeasurementProtocolSecret $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::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - - list_measurement_protocol_secrets_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListMeasurementProtocolSecrets_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_properties.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_properties.php deleted file mode 100644 index a3e8f107f591..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_properties.php +++ /dev/null @@ -1,94 +0,0 @@ -setFilter($filter); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listProperties($request); - - /** @var Property $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 -{ - $filter = '[FILTER]'; - - list_properties_sample($filter); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListProperties_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_reporting_data_annotations.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_reporting_data_annotations.php deleted file mode 100644 index e278f6ae00d3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_reporting_data_annotations.php +++ /dev/null @@ -1,78 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listReportingDataAnnotations($request); - - /** @var ReportingDataAnnotation $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_reporting_data_annotations_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListReportingDataAnnotations_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_rollup_property_source_links.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_rollup_property_source_links.php deleted file mode 100644 index 728421507b3a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_rollup_property_source_links.php +++ /dev/null @@ -1,79 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listRollupPropertySourceLinks($request); - - /** @var RollupPropertySourceLink $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_rollup_property_source_links_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListRollupPropertySourceLinks_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_search_ads360_links.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_search_ads360_links.php deleted file mode 100644 index eaf941b77862..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_search_ads360_links.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listSearchAds360Links($request); - - /** @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/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_sk_ad_network_conversion_value_schemas.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_sk_ad_network_conversion_value_schemas.php deleted file mode 100644 index ac74f04268a9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_sk_ad_network_conversion_value_schemas.php +++ /dev/null @@ -1,80 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listSKAdNetworkConversionValueSchemas($request); - - /** @var SKAdNetworkConversionValueSchema $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::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - - list_sk_ad_network_conversion_value_schemas_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSKAdNetworkConversionValueSchemas_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_event_filters.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_event_filters.php deleted file mode 100644 index 22f18da927b9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_event_filters.php +++ /dev/null @@ -1,78 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listSubpropertyEventFilters($request); - - /** @var SubpropertyEventFilter $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_subproperty_event_filters_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSubpropertyEventFilters_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_sync_configs.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_sync_configs.php deleted file mode 100644 index 712c4dd2e7a0..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_sync_configs.php +++ /dev/null @@ -1,78 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listSubpropertySyncConfigs($request); - - /** @var SubpropertySyncConfig $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_subproperty_sync_configs_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSubpropertySyncConfigs_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_account_ticket.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_account_ticket.php deleted file mode 100644 index 6e891006e8c9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_account_ticket.php +++ /dev/null @@ -1,57 +0,0 @@ -provisionAccountTicket($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ProvisionAccountTicket_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_subproperty.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_subproperty.php deleted file mode 100644 index e09641aff4a5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/provision_subproperty.php +++ /dev/null @@ -1,89 +0,0 @@ -setDisplayName($subpropertyDisplayName) - ->setTimeZone($subpropertyTimeZone); - $request = (new ProvisionSubpropertyRequest()) - ->setSubproperty($subproperty); - - // Call the API and handle any network failures. - try { - /** @var ProvisionSubpropertyResponse $response */ - $response = $analyticsAdminServiceClient->provisionSubproperty($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $subpropertyDisplayName = '[DISPLAY_NAME]'; - $subpropertyTimeZone = '[TIME_ZONE]'; - - provision_subproperty_sample($subpropertyDisplayName, $subpropertyTimeZone); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ProvisionSubproperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/reorder_event_edit_rules.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/reorder_event_edit_rules.php deleted file mode 100644 index ac3fafde5735..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/reorder_event_edit_rules.php +++ /dev/null @@ -1,77 +0,0 @@ -setParent($formattedParent) - ->setEventEditRules($eventEditRules); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->reorderEventEditRules($request); - printf('Call completed successfully.' . PHP_EOL); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $eventEditRulesElement = '[EVENT_EDIT_RULES]'; - - reorder_event_edit_rules_sample($formattedParent, $eventEditRulesElement); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ReorderEventEditRules_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/run_access_report.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/run_access_report.php deleted file mode 100644 index 877ac95ab994..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/run_access_report.php +++ /dev/null @@ -1,76 +0,0 @@ -runAccessReport($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_RunAccessReport_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php deleted file mode 100644 index 6d3ea2fc3fac..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php +++ /dev/null @@ -1,83 +0,0 @@ -setAccount($formattedAccount); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->searchChangeHistoryEvents($request); - - /** @var ChangeHistoryEvent $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 -{ - $formattedAccount = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - - search_change_history_events_sample($formattedAccount); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_SearchChangeHistoryEvents_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/submit_user_deletion.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/submit_user_deletion.php deleted file mode 100644 index ffb77d1dfc1c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/submit_user_deletion.php +++ /dev/null @@ -1,71 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var SubmitUserDeletionResponse $response */ - $response = $analyticsAdminServiceClient->submitUserDeletion($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - submit_user_deletion_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_SubmitUserDeletion_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_access_binding.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_access_binding.php deleted file mode 100644 index 6454a2edd2f7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_access_binding.php +++ /dev/null @@ -1,59 +0,0 @@ -setAccessBinding($accessBinding); - - // Call the API and handle any network failures. - try { - /** @var AccessBinding $response */ - $response = $analyticsAdminServiceClient->updateAccessBinding($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAccessBinding_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_account.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_account.php deleted file mode 100644 index c2d27ced850e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_account.php +++ /dev/null @@ -1,75 +0,0 @@ -setDisplayName($accountDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateAccountRequest()) - ->setAccount($account) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var Account $response */ - $response = $analyticsAdminServiceClient->updateAccount($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $accountDisplayName = '[DISPLAY_NAME]'; - - update_account_sample($accountDisplayName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAccount_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_attribution_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_attribution_settings.php deleted file mode 100644 index 7b099b9d8fe0..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_attribution_settings.php +++ /dev/null @@ -1,107 +0,0 @@ -setAcquisitionConversionEventLookbackWindow( - $attributionSettingsAcquisitionConversionEventLookbackWindow - ) - ->setOtherConversionEventLookbackWindow($attributionSettingsOtherConversionEventLookbackWindow) - ->setReportingAttributionModel($attributionSettingsReportingAttributionModel) - ->setAdsWebConversionDataExportScope($attributionSettingsAdsWebConversionDataExportScope); - $updateMask = new FieldMask(); - $request = (new UpdateAttributionSettingsRequest()) - ->setAttributionSettings($attributionSettings) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var AttributionSettings $response */ - $response = $analyticsAdminServiceClient->updateAttributionSettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $attributionSettingsAcquisitionConversionEventLookbackWindow = AcquisitionConversionEventLookbackWindow::ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; - $attributionSettingsOtherConversionEventLookbackWindow = OtherConversionEventLookbackWindow::OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; - $attributionSettingsReportingAttributionModel = ReportingAttributionModel::REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED; - $attributionSettingsAdsWebConversionDataExportScope = AdsWebConversionDataExportScope::ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED; - - update_attribution_settings_sample( - $attributionSettingsAcquisitionConversionEventLookbackWindow, - $attributionSettingsOtherConversionEventLookbackWindow, - $attributionSettingsReportingAttributionModel, - $attributionSettingsAdsWebConversionDataExportScope - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAttributionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_audience.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_audience.php deleted file mode 100644 index c7b4954f6b13..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_audience.php +++ /dev/null @@ -1,99 +0,0 @@ -setClauseType($audienceFilterClausesClauseType); - $audienceFilterClauses = [$audienceFilterClause,]; - $audience = (new Audience()) - ->setDisplayName($audienceDisplayName) - ->setDescription($audienceDescription) - ->setMembershipDurationDays($audienceMembershipDurationDays) - ->setFilterClauses($audienceFilterClauses); - $updateMask = new FieldMask(); - $request = (new UpdateAudienceRequest()) - ->setAudience($audience) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var Audience $response */ - $response = $analyticsAdminServiceClient->updateAudience($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $audienceDisplayName = '[DISPLAY_NAME]'; - $audienceDescription = '[DESCRIPTION]'; - $audienceMembershipDurationDays = 0; - $audienceFilterClausesClauseType = AudienceClauseType::AUDIENCE_CLAUSE_TYPE_UNSPECIFIED; - - update_audience_sample( - $audienceDisplayName, - $audienceDescription, - $audienceMembershipDurationDays, - $audienceFilterClausesClauseType - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAudience_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_big_query_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_big_query_link.php deleted file mode 100644 index 9337a26ea549..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_big_query_link.php +++ /dev/null @@ -1,77 +0,0 @@ -setDatasetLocation($bigqueryLinkDatasetLocation); - $updateMask = new FieldMask(); - $request = (new UpdateBigQueryLinkRequest()) - ->setBigqueryLink($bigqueryLink) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var BigQueryLink $response */ - $response = $analyticsAdminServiceClient->updateBigQueryLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $bigqueryLinkDatasetLocation = '[DATASET_LOCATION]'; - - update_big_query_link_sample($bigqueryLinkDatasetLocation); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateBigQueryLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_calculated_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_calculated_metric.php deleted file mode 100644 index 9a6c24dad49f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_calculated_metric.php +++ /dev/null @@ -1,96 +0,0 @@ -setDisplayName($calculatedMetricDisplayName) - ->setMetricUnit($calculatedMetricMetricUnit) - ->setFormula($calculatedMetricFormula); - $updateMask = new FieldMask(); - $request = (new UpdateCalculatedMetricRequest()) - ->setCalculatedMetric($calculatedMetric) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var CalculatedMetric $response */ - $response = $analyticsAdminServiceClient->updateCalculatedMetric($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $calculatedMetricDisplayName = '[DISPLAY_NAME]'; - $calculatedMetricMetricUnit = MetricUnit::METRIC_UNIT_UNSPECIFIED; - $calculatedMetricFormula = '[FORMULA]'; - - update_calculated_metric_sample( - $calculatedMetricDisplayName, - $calculatedMetricMetricUnit, - $calculatedMetricFormula - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateCalculatedMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_channel_group.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_channel_group.php deleted file mode 100644 index 840957d9b92e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_channel_group.php +++ /dev/null @@ -1,88 +0,0 @@ -setDisplayName($channelGroupGroupingRuleDisplayName) - ->setExpression($channelGroupGroupingRuleExpression); - $channelGroupGroupingRule = [$groupingRule,]; - $channelGroup = (new ChannelGroup()) - ->setDisplayName($channelGroupDisplayName) - ->setGroupingRule($channelGroupGroupingRule); - $updateMask = new FieldMask(); - $request = (new UpdateChannelGroupRequest()) - ->setChannelGroup($channelGroup) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var ChannelGroup $response */ - $response = $analyticsAdminServiceClient->updateChannelGroup($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $channelGroupDisplayName = '[DISPLAY_NAME]'; - $channelGroupGroupingRuleDisplayName = '[DISPLAY_NAME]'; - - update_channel_group_sample($channelGroupDisplayName, $channelGroupGroupingRuleDisplayName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateChannelGroup_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_conversion_event.php deleted file mode 100644 index 430cc0467e4d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_conversion_event.php +++ /dev/null @@ -1,63 +0,0 @@ -setConversionEvent($conversionEvent) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var ConversionEvent $response */ - $response = $analyticsAdminServiceClient->updateConversionEvent($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_dimension.php deleted file mode 100644 index fdf872769d51..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_dimension.php +++ /dev/null @@ -1,60 +0,0 @@ -setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var CustomDimension $response */ - $response = $analyticsAdminServiceClient->updateCustomDimension($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_metric.php deleted file mode 100644 index 5a64e487289d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_custom_metric.php +++ /dev/null @@ -1,60 +0,0 @@ -setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var CustomMetric $response */ - $response = $analyticsAdminServiceClient->updateCustomMetric($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_redaction_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_redaction_settings.php deleted file mode 100644 index 082a9d1e3e70..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_redaction_settings.php +++ /dev/null @@ -1,62 +0,0 @@ -setDataRedactionSettings($dataRedactionSettings) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var DataRedactionSettings $response */ - $response = $analyticsAdminServiceClient->updateDataRedactionSettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDataRedactionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_retention_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_retention_settings.php deleted file mode 100644 index 6c539b883413..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_retention_settings.php +++ /dev/null @@ -1,84 +0,0 @@ -setEventDataRetention($dataRetentionSettingsEventDataRetention) - ->setUserDataRetention($dataRetentionSettingsUserDataRetention); - $updateMask = new FieldMask(); - $request = (new UpdateDataRetentionSettingsRequest()) - ->setDataRetentionSettings($dataRetentionSettings) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var DataRetentionSettings $response */ - $response = $analyticsAdminServiceClient->updateDataRetentionSettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $dataRetentionSettingsEventDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; - $dataRetentionSettingsUserDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; - - update_data_retention_settings_sample( - $dataRetentionSettingsEventDataRetention, - $dataRetentionSettingsUserDataRetention - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDataRetentionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_stream.php deleted file mode 100644 index 6f16d1dcbd5b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_data_stream.php +++ /dev/null @@ -1,60 +0,0 @@ -setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var DataStream $response */ - $response = $analyticsAdminServiceClient->updateDataStream($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_display_video360_advertiser_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_display_video360_advertiser_link.php deleted file mode 100644 index 4818bb9788c0..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_display_video360_advertiser_link.php +++ /dev/null @@ -1,60 +0,0 @@ -setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var DisplayVideo360AdvertiserLink $response */ - $response = $analyticsAdminServiceClient->updateDisplayVideo360AdvertiserLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateDisplayVideo360AdvertiserLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_enhanced_measurement_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_enhanced_measurement_settings.php deleted file mode 100644 index cdeb1c2c8ae2..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_enhanced_measurement_settings.php +++ /dev/null @@ -1,79 +0,0 @@ -setSearchQueryParameter($enhancedMeasurementSettingsSearchQueryParameter); - $updateMask = new FieldMask(); - $request = (new UpdateEnhancedMeasurementSettingsRequest()) - ->setEnhancedMeasurementSettings($enhancedMeasurementSettings) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var EnhancedMeasurementSettings $response */ - $response = $analyticsAdminServiceClient->updateEnhancedMeasurementSettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $enhancedMeasurementSettingsSearchQueryParameter = '[SEARCH_QUERY_PARAMETER]'; - - update_enhanced_measurement_settings_sample($enhancedMeasurementSettingsSearchQueryParameter); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateEnhancedMeasurementSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_create_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_create_rule.php deleted file mode 100644 index 9173932444c5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_create_rule.php +++ /dev/null @@ -1,110 +0,0 @@ -setField($eventCreateRuleEventConditionsField) - ->setComparisonType($eventCreateRuleEventConditionsComparisonType) - ->setValue($eventCreateRuleEventConditionsValue); - $eventCreateRuleEventConditions = [$matchingCondition,]; - $eventCreateRule = (new EventCreateRule()) - ->setDestinationEvent($eventCreateRuleDestinationEvent) - ->setEventConditions($eventCreateRuleEventConditions); - $updateMask = new FieldMask(); - $request = (new UpdateEventCreateRuleRequest()) - ->setEventCreateRule($eventCreateRule) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var EventCreateRule $response */ - $response = $analyticsAdminServiceClient->updateEventCreateRule($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $eventCreateRuleDestinationEvent = '[DESTINATION_EVENT]'; - $eventCreateRuleEventConditionsField = '[FIELD]'; - $eventCreateRuleEventConditionsComparisonType = ComparisonType::COMPARISON_TYPE_UNSPECIFIED; - $eventCreateRuleEventConditionsValue = '[VALUE]'; - - update_event_create_rule_sample( - $eventCreateRuleDestinationEvent, - $eventCreateRuleEventConditionsField, - $eventCreateRuleEventConditionsComparisonType, - $eventCreateRuleEventConditionsValue - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateEventCreateRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_edit_rule.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_edit_rule.php deleted file mode 100644 index 9c0bc0e32fb7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_event_edit_rule.php +++ /dev/null @@ -1,131 +0,0 @@ -setField($eventEditRuleEventConditionsField) - ->setComparisonType($eventEditRuleEventConditionsComparisonType) - ->setValue($eventEditRuleEventConditionsValue); - $eventEditRuleEventConditions = [$matchingCondition,]; - $parameterMutation = (new ParameterMutation()) - ->setParameter($eventEditRuleParameterMutationsParameter) - ->setParameterValue($eventEditRuleParameterMutationsParameterValue); - $eventEditRuleParameterMutations = [$parameterMutation,]; - $eventEditRule = (new EventEditRule()) - ->setDisplayName($eventEditRuleDisplayName) - ->setEventConditions($eventEditRuleEventConditions) - ->setParameterMutations($eventEditRuleParameterMutations); - $updateMask = new FieldMask(); - $request = (new UpdateEventEditRuleRequest()) - ->setEventEditRule($eventEditRule) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var EventEditRule $response */ - $response = $analyticsAdminServiceClient->updateEventEditRule($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $eventEditRuleDisplayName = '[DISPLAY_NAME]'; - $eventEditRuleEventConditionsField = '[FIELD]'; - $eventEditRuleEventConditionsComparisonType = ComparisonType::COMPARISON_TYPE_UNSPECIFIED; - $eventEditRuleEventConditionsValue = '[VALUE]'; - $eventEditRuleParameterMutationsParameter = '[PARAMETER]'; - $eventEditRuleParameterMutationsParameterValue = '[PARAMETER_VALUE]'; - - update_event_edit_rule_sample( - $eventEditRuleDisplayName, - $eventEditRuleEventConditionsField, - $eventEditRuleEventConditionsComparisonType, - $eventEditRuleEventConditionsValue, - $eventEditRuleParameterMutationsParameter, - $eventEditRuleParameterMutationsParameterValue - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateEventEditRule_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_expanded_data_set.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_expanded_data_set.php deleted file mode 100644 index 3e27ab48d13b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_expanded_data_set.php +++ /dev/null @@ -1,76 +0,0 @@ -setDisplayName($expandedDataSetDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateExpandedDataSetRequest()) - ->setExpandedDataSet($expandedDataSet) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var ExpandedDataSet $response */ - $response = $analyticsAdminServiceClient->updateExpandedDataSet($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $expandedDataSetDisplayName = '[DISPLAY_NAME]'; - - update_expanded_data_set_sample($expandedDataSetDisplayName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateExpandedDataSet_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_ads_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_ads_link.php deleted file mode 100644 index 1a5c8ece5541..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_ads_link.php +++ /dev/null @@ -1,60 +0,0 @@ -setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var GoogleAdsLink $response */ - $response = $analyticsAdminServiceClient->updateGoogleAdsLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateGoogleAdsLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_signals_settings.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_signals_settings.php deleted file mode 100644 index 35997c7ad7e3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_google_signals_settings.php +++ /dev/null @@ -1,62 +0,0 @@ -setGoogleSignalsSettings($googleSignalsSettings) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var GoogleSignalsSettings $response */ - $response = $analyticsAdminServiceClient->updateGoogleSignalsSettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateGoogleSignalsSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_key_event.php deleted file mode 100644 index 2329a8a145b2..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_key_event.php +++ /dev/null @@ -1,77 +0,0 @@ -setCountingMethod($keyEventCountingMethod); - $updateMask = new FieldMask(); - $request = (new UpdateKeyEventRequest()) - ->setKeyEvent($keyEvent) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var KeyEvent $response */ - $response = $analyticsAdminServiceClient->updateKeyEvent($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; - - update_key_event_sample($keyEventCountingMethod); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php deleted file mode 100644 index 2e1594d33474..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php +++ /dev/null @@ -1,76 +0,0 @@ -setDisplayName($measurementProtocolSecretDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateMeasurementProtocolSecretRequest()) - ->setMeasurementProtocolSecret($measurementProtocolSecret) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var MeasurementProtocolSecret $response */ - $response = $analyticsAdminServiceClient->updateMeasurementProtocolSecret($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $measurementProtocolSecretDisplayName = '[DISPLAY_NAME]'; - - update_measurement_protocol_secret_sample($measurementProtocolSecretDisplayName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_property.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_property.php deleted file mode 100644 index 4a24018d4e89..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_property.php +++ /dev/null @@ -1,88 +0,0 @@ -setDisplayName($propertyDisplayName) - ->setTimeZone($propertyTimeZone); - $updateMask = new FieldMask(); - $request = (new UpdatePropertyRequest()) - ->setProperty($property) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var Property $response */ - $response = $analyticsAdminServiceClient->updateProperty($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $propertyDisplayName = '[DISPLAY_NAME]'; - $propertyTimeZone = '[TIME_ZONE]'; - - update_property_sample($propertyDisplayName, $propertyTimeZone); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_reporting_data_annotation.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_reporting_data_annotation.php deleted file mode 100644 index 2995ae14ca51..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_reporting_data_annotation.php +++ /dev/null @@ -1,89 +0,0 @@ -setName($reportingDataAnnotationName) - ->setTitle($reportingDataAnnotationTitle) - ->setColor($reportingDataAnnotationColor); - $request = (new UpdateReportingDataAnnotationRequest()) - ->setReportingDataAnnotation($reportingDataAnnotation); - - // Call the API and handle any network failures. - try { - /** @var ReportingDataAnnotation $response */ - $response = $analyticsAdminServiceClient->updateReportingDataAnnotation($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $reportingDataAnnotationName = '[NAME]'; - $reportingDataAnnotationTitle = '[TITLE]'; - $reportingDataAnnotationColor = Color::COLOR_UNSPECIFIED; - - update_reporting_data_annotation_sample( - $reportingDataAnnotationName, - $reportingDataAnnotationTitle, - $reportingDataAnnotationColor - ); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateReportingDataAnnotation_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_search_ads360_link.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_search_ads360_link.php deleted file mode 100644 index e683e3703023..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_search_ads360_link.php +++ /dev/null @@ -1,60 +0,0 @@ -setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var SearchAds360Link $response */ - $response = $analyticsAdminServiceClient->updateSearchAds360Link($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSearchAds360Link_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_sk_ad_network_conversion_value_schema.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_sk_ad_network_conversion_value_schema.php deleted file mode 100644 index 0af0725d36ac..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_sk_ad_network_conversion_value_schema.php +++ /dev/null @@ -1,65 +0,0 @@ -setPostbackWindowOne($skadnetworkConversionValueSchemaPostbackWindowOne); - $updateMask = new FieldMask(); - $request = (new UpdateSKAdNetworkConversionValueSchemaRequest()) - ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var SKAdNetworkConversionValueSchema $response */ - $response = $analyticsAdminServiceClient->updateSKAdNetworkConversionValueSchema($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSKAdNetworkConversionValueSchema_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_event_filter.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_event_filter.php deleted file mode 100644 index b5d403abe513..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_event_filter.php +++ /dev/null @@ -1,84 +0,0 @@ -setFilterClauseType($subpropertyEventFilterFilterClausesFilterClauseType) - ->setFilterExpression($subpropertyEventFilterFilterClausesFilterExpression); - $subpropertyEventFilterFilterClauses = [$subpropertyEventFilterClause,]; - $subpropertyEventFilter = (new SubpropertyEventFilter()) - ->setFilterClauses($subpropertyEventFilterFilterClauses); - $updateMask = new FieldMask(); - $request = (new UpdateSubpropertyEventFilterRequest()) - ->setSubpropertyEventFilter($subpropertyEventFilter) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var SubpropertyEventFilter $response */ - $response = $analyticsAdminServiceClient->updateSubpropertyEventFilter($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $subpropertyEventFilterFilterClausesFilterClauseType = FilterClauseType::FILTER_CLAUSE_TYPE_UNSPECIFIED; - - update_subproperty_event_filter_sample($subpropertyEventFilterFilterClausesFilterClauseType); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSubpropertyEventFilter_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_sync_config.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_sync_config.php deleted file mode 100644 index 54d68e8db9ed..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_sync_config.php +++ /dev/null @@ -1,84 +0,0 @@ -setCustomDimensionAndMetricSyncMode($subpropertySyncConfigCustomDimensionAndMetricSyncMode); - $request = (new UpdateSubpropertySyncConfigRequest()) - ->setSubpropertySyncConfig($subpropertySyncConfig); - - // Call the API and handle any network failures. - try { - /** @var SubpropertySyncConfig $response */ - $response = $analyticsAdminServiceClient->updateSubpropertySyncConfig($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $subpropertySyncConfigCustomDimensionAndMetricSyncMode = SynchronizationMode::SYNCHRONIZATION_MODE_UNSPECIFIED; - - update_subproperty_sync_config_sample($subpropertySyncConfigCustomDimensionAndMetricSyncMode); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateSubpropertySyncConfig_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/Client/AnalyticsAdminServiceClient.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/Client/AnalyticsAdminServiceClient.php deleted file mode 100644 index 626206bdfb1f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/Client/AnalyticsAdminServiceClient.php +++ /dev/null @@ -1,5889 +0,0 @@ - acknowledgeUserDataCollectionAsync(AcknowledgeUserDataCollectionRequest $request, array $optionalArgs = []) - * @method PromiseInterface approveDisplayVideo360AdvertiserLinkProposalAsync(ApproveDisplayVideo360AdvertiserLinkProposalRequest $request, array $optionalArgs = []) - * @method PromiseInterface archiveAudienceAsync(ArchiveAudienceRequest $request, array $optionalArgs = []) - * @method PromiseInterface archiveCustomDimensionAsync(ArchiveCustomDimensionRequest $request, array $optionalArgs = []) - * @method PromiseInterface archiveCustomMetricAsync(ArchiveCustomMetricRequest $request, array $optionalArgs = []) - * @method PromiseInterface batchCreateAccessBindingsAsync(BatchCreateAccessBindingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface batchDeleteAccessBindingsAsync(BatchDeleteAccessBindingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface batchGetAccessBindingsAsync(BatchGetAccessBindingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface batchUpdateAccessBindingsAsync(BatchUpdateAccessBindingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface cancelDisplayVideo360AdvertiserLinkProposalAsync(CancelDisplayVideo360AdvertiserLinkProposalRequest $request, array $optionalArgs = []) - * @method PromiseInterface createAccessBindingAsync(CreateAccessBindingRequest $request, array $optionalArgs = []) - * @method PromiseInterface createAdSenseLinkAsync(CreateAdSenseLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface createAudienceAsync(CreateAudienceRequest $request, array $optionalArgs = []) - * @method PromiseInterface createBigQueryLinkAsync(CreateBigQueryLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface createCalculatedMetricAsync(CreateCalculatedMetricRequest $request, array $optionalArgs = []) - * @method PromiseInterface createChannelGroupAsync(CreateChannelGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface createConversionEventAsync(CreateConversionEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface createCustomDimensionAsync(CreateCustomDimensionRequest $request, array $optionalArgs = []) - * @method PromiseInterface createCustomMetricAsync(CreateCustomMetricRequest $request, array $optionalArgs = []) - * @method PromiseInterface createDataStreamAsync(CreateDataStreamRequest $request, array $optionalArgs = []) - * @method PromiseInterface createDisplayVideo360AdvertiserLinkAsync(CreateDisplayVideo360AdvertiserLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface createDisplayVideo360AdvertiserLinkProposalAsync(CreateDisplayVideo360AdvertiserLinkProposalRequest $request, array $optionalArgs = []) - * @method PromiseInterface createEventCreateRuleAsync(CreateEventCreateRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface createEventEditRuleAsync(CreateEventEditRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface createExpandedDataSetAsync(CreateExpandedDataSetRequest $request, array $optionalArgs = []) - * @method PromiseInterface createFirebaseLinkAsync(CreateFirebaseLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface createGoogleAdsLinkAsync(CreateGoogleAdsLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface createKeyEventAsync(CreateKeyEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface createMeasurementProtocolSecretAsync(CreateMeasurementProtocolSecretRequest $request, array $optionalArgs = []) - * @method PromiseInterface createPropertyAsync(CreatePropertyRequest $request, array $optionalArgs = []) - * @method PromiseInterface createReportingDataAnnotationAsync(CreateReportingDataAnnotationRequest $request, array $optionalArgs = []) - * @method PromiseInterface createRollupPropertyAsync(CreateRollupPropertyRequest $request, array $optionalArgs = []) - * @method PromiseInterface createRollupPropertySourceLinkAsync(CreateRollupPropertySourceLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface createSKAdNetworkConversionValueSchemaAsync(CreateSKAdNetworkConversionValueSchemaRequest $request, array $optionalArgs = []) - * @method PromiseInterface createSearchAds360LinkAsync(CreateSearchAds360LinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface createSubpropertyEventFilterAsync(CreateSubpropertyEventFilterRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAccessBindingAsync(DeleteAccessBindingRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAccountAsync(DeleteAccountRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAdSenseLinkAsync(DeleteAdSenseLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteBigQueryLinkAsync(DeleteBigQueryLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteCalculatedMetricAsync(DeleteCalculatedMetricRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteChannelGroupAsync(DeleteChannelGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteConversionEventAsync(DeleteConversionEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteDataStreamAsync(DeleteDataStreamRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteDisplayVideo360AdvertiserLinkAsync(DeleteDisplayVideo360AdvertiserLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteDisplayVideo360AdvertiserLinkProposalAsync(DeleteDisplayVideo360AdvertiserLinkProposalRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteEventCreateRuleAsync(DeleteEventCreateRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteEventEditRuleAsync(DeleteEventEditRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteExpandedDataSetAsync(DeleteExpandedDataSetRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteFirebaseLinkAsync(DeleteFirebaseLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteGoogleAdsLinkAsync(DeleteGoogleAdsLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteKeyEventAsync(DeleteKeyEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteMeasurementProtocolSecretAsync(DeleteMeasurementProtocolSecretRequest $request, array $optionalArgs = []) - * @method PromiseInterface deletePropertyAsync(DeletePropertyRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteReportingDataAnnotationAsync(DeleteReportingDataAnnotationRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteRollupPropertySourceLinkAsync(DeleteRollupPropertySourceLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteSKAdNetworkConversionValueSchemaAsync(DeleteSKAdNetworkConversionValueSchemaRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteSearchAds360LinkAsync(DeleteSearchAds360LinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteSubpropertyEventFilterAsync(DeleteSubpropertyEventFilterRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAccessBindingAsync(GetAccessBindingRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAccountAsync(GetAccountRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAdSenseLinkAsync(GetAdSenseLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAttributionSettingsAsync(GetAttributionSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAudienceAsync(GetAudienceRequest $request, array $optionalArgs = []) - * @method PromiseInterface getBigQueryLinkAsync(GetBigQueryLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface getCalculatedMetricAsync(GetCalculatedMetricRequest $request, array $optionalArgs = []) - * @method PromiseInterface getChannelGroupAsync(GetChannelGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface getConversionEventAsync(GetConversionEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface getCustomDimensionAsync(GetCustomDimensionRequest $request, array $optionalArgs = []) - * @method PromiseInterface getCustomMetricAsync(GetCustomMetricRequest $request, array $optionalArgs = []) - * @method PromiseInterface getDataRedactionSettingsAsync(GetDataRedactionSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface getDataRetentionSettingsAsync(GetDataRetentionSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface getDataSharingSettingsAsync(GetDataSharingSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface getDataStreamAsync(GetDataStreamRequest $request, array $optionalArgs = []) - * @method PromiseInterface getDisplayVideo360AdvertiserLinkAsync(GetDisplayVideo360AdvertiserLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface getDisplayVideo360AdvertiserLinkProposalAsync(GetDisplayVideo360AdvertiserLinkProposalRequest $request, array $optionalArgs = []) - * @method PromiseInterface getEnhancedMeasurementSettingsAsync(GetEnhancedMeasurementSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface getEventCreateRuleAsync(GetEventCreateRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface getEventEditRuleAsync(GetEventEditRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface getExpandedDataSetAsync(GetExpandedDataSetRequest $request, array $optionalArgs = []) - * @method PromiseInterface getGlobalSiteTagAsync(GetGlobalSiteTagRequest $request, array $optionalArgs = []) - * @method PromiseInterface getGoogleSignalsSettingsAsync(GetGoogleSignalsSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface getKeyEventAsync(GetKeyEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface getMeasurementProtocolSecretAsync(GetMeasurementProtocolSecretRequest $request, array $optionalArgs = []) - * @method PromiseInterface getPropertyAsync(GetPropertyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getReportingDataAnnotationAsync(GetReportingDataAnnotationRequest $request, array $optionalArgs = []) - * @method PromiseInterface getReportingIdentitySettingsAsync(GetReportingIdentitySettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface getRollupPropertySourceLinkAsync(GetRollupPropertySourceLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface getSKAdNetworkConversionValueSchemaAsync(GetSKAdNetworkConversionValueSchemaRequest $request, array $optionalArgs = []) - * @method PromiseInterface getSearchAds360LinkAsync(GetSearchAds360LinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface getSubpropertyEventFilterAsync(GetSubpropertyEventFilterRequest $request, array $optionalArgs = []) - * @method PromiseInterface getSubpropertySyncConfigAsync(GetSubpropertySyncConfigRequest $request, array $optionalArgs = []) - * @method PromiseInterface getUserProvidedDataSettingsAsync(GetUserProvidedDataSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAccessBindingsAsync(ListAccessBindingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAccountSummariesAsync(ListAccountSummariesRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAccountsAsync(ListAccountsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAdSenseLinksAsync(ListAdSenseLinksRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAudiencesAsync(ListAudiencesRequest $request, array $optionalArgs = []) - * @method PromiseInterface listBigQueryLinksAsync(ListBigQueryLinksRequest $request, array $optionalArgs = []) - * @method PromiseInterface listCalculatedMetricsAsync(ListCalculatedMetricsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listChannelGroupsAsync(ListChannelGroupsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listConversionEventsAsync(ListConversionEventsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listCustomDimensionsAsync(ListCustomDimensionsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listCustomMetricsAsync(ListCustomMetricsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listDataStreamsAsync(ListDataStreamsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listDisplayVideo360AdvertiserLinkProposalsAsync(ListDisplayVideo360AdvertiserLinkProposalsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listDisplayVideo360AdvertiserLinksAsync(ListDisplayVideo360AdvertiserLinksRequest $request, array $optionalArgs = []) - * @method PromiseInterface listEventCreateRulesAsync(ListEventCreateRulesRequest $request, array $optionalArgs = []) - * @method PromiseInterface listEventEditRulesAsync(ListEventEditRulesRequest $request, array $optionalArgs = []) - * @method PromiseInterface listExpandedDataSetsAsync(ListExpandedDataSetsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listFirebaseLinksAsync(ListFirebaseLinksRequest $request, array $optionalArgs = []) - * @method PromiseInterface listGoogleAdsLinksAsync(ListGoogleAdsLinksRequest $request, array $optionalArgs = []) - * @method PromiseInterface listKeyEventsAsync(ListKeyEventsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listMeasurementProtocolSecretsAsync(ListMeasurementProtocolSecretsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listPropertiesAsync(ListPropertiesRequest $request, array $optionalArgs = []) - * @method PromiseInterface listReportingDataAnnotationsAsync(ListReportingDataAnnotationsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listRollupPropertySourceLinksAsync(ListRollupPropertySourceLinksRequest $request, array $optionalArgs = []) - * @method PromiseInterface listSKAdNetworkConversionValueSchemasAsync(ListSKAdNetworkConversionValueSchemasRequest $request, array $optionalArgs = []) - * @method PromiseInterface listSearchAds360LinksAsync(ListSearchAds360LinksRequest $request, array $optionalArgs = []) - * @method PromiseInterface listSubpropertyEventFiltersAsync(ListSubpropertyEventFiltersRequest $request, array $optionalArgs = []) - * @method PromiseInterface listSubpropertySyncConfigsAsync(ListSubpropertySyncConfigsRequest $request, array $optionalArgs = []) - * @method PromiseInterface provisionAccountTicketAsync(ProvisionAccountTicketRequest $request, array $optionalArgs = []) - * @method PromiseInterface provisionSubpropertyAsync(ProvisionSubpropertyRequest $request, array $optionalArgs = []) - * @method PromiseInterface reorderEventEditRulesAsync(ReorderEventEditRulesRequest $request, array $optionalArgs = []) - * @method PromiseInterface runAccessReportAsync(RunAccessReportRequest $request, array $optionalArgs = []) - * @method PromiseInterface searchChangeHistoryEventsAsync(SearchChangeHistoryEventsRequest $request, array $optionalArgs = []) - * @method PromiseInterface submitUserDeletionAsync(SubmitUserDeletionRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAccessBindingAsync(UpdateAccessBindingRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAccountAsync(UpdateAccountRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAttributionSettingsAsync(UpdateAttributionSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAudienceAsync(UpdateAudienceRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateBigQueryLinkAsync(UpdateBigQueryLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateCalculatedMetricAsync(UpdateCalculatedMetricRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateChannelGroupAsync(UpdateChannelGroupRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateConversionEventAsync(UpdateConversionEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateCustomDimensionAsync(UpdateCustomDimensionRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateCustomMetricAsync(UpdateCustomMetricRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateDataRedactionSettingsAsync(UpdateDataRedactionSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateDataRetentionSettingsAsync(UpdateDataRetentionSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateDataStreamAsync(UpdateDataStreamRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateDisplayVideo360AdvertiserLinkAsync(UpdateDisplayVideo360AdvertiserLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateEnhancedMeasurementSettingsAsync(UpdateEnhancedMeasurementSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateEventCreateRuleAsync(UpdateEventCreateRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateEventEditRuleAsync(UpdateEventEditRuleRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateExpandedDataSetAsync(UpdateExpandedDataSetRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateGoogleAdsLinkAsync(UpdateGoogleAdsLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateGoogleSignalsSettingsAsync(UpdateGoogleSignalsSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateKeyEventAsync(UpdateKeyEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateMeasurementProtocolSecretAsync(UpdateMeasurementProtocolSecretRequest $request, array $optionalArgs = []) - * @method PromiseInterface updatePropertyAsync(UpdatePropertyRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateReportingDataAnnotationAsync(UpdateReportingDataAnnotationRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateSKAdNetworkConversionValueSchemaAsync(UpdateSKAdNetworkConversionValueSchemaRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateSearchAds360LinkAsync(UpdateSearchAds360LinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateSubpropertyEventFilterAsync(UpdateSubpropertyEventFilterRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateSubpropertySyncConfigAsync(UpdateSubpropertySyncConfigRequest $request, array $optionalArgs = []) - */ -final class AnalyticsAdminServiceClient -{ - use GapicClientTrait; - use ResourceHelperTrait; - - /** The name of the service. */ - private const SERVICE_NAME = 'google.analytics.admin.v1alpha.AnalyticsAdminService'; - - /** - * The default address of the service. - * - * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. - */ - private const SERVICE_ADDRESS = 'analyticsadmin.googleapis.com'; - - /** The address template of the service. */ - private const SERVICE_ADDRESS_TEMPLATE = 'analyticsadmin.UNIVERSE_DOMAIN'; - - /** The default port of the service. */ - private const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - private const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - '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.readonly', - ]; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/analytics_admin_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/analytics_admin_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/analytics_admin_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/analytics_admin_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * access_binding resource. - * - * @param string $account - * @param string $accessBinding - * - * @return string The formatted access_binding resource. - * - * @experimental - */ - public static function accessBindingName(string $account, string $accessBinding): string - { - return self::getPathTemplate('accessBinding')->render([ - 'account' => $account, - 'access_binding' => $accessBinding, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a account - * resource. - * - * @param string $account - * - * @return string The formatted account resource. - * - * @experimental - */ - public static function accountName(string $account): string - { - return self::getPathTemplate('account')->render([ - 'account' => $account, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * account_access_binding resource. - * - * @param string $account - * @param string $accessBinding - * - * @return string The formatted account_access_binding resource. - * - * @experimental - */ - public static function accountAccessBindingName(string $account, string $accessBinding): string - { - return self::getPathTemplate('accountAccessBinding')->render([ - 'account' => $account, - 'access_binding' => $accessBinding, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_sense_link resource. - * - * @param string $property - * @param string $adsenseLink - * - * @return string The formatted ad_sense_link resource. - * - * @experimental - */ - public static function adSenseLinkName(string $property, string $adsenseLink): string - { - return self::getPathTemplate('adSenseLink')->render([ - 'property' => $property, - 'adsense_link' => $adsenseLink, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * attribution_settings resource. - * - * @param string $property - * - * @return string The formatted attribution_settings resource. - * - * @experimental - */ - public static function attributionSettingsName(string $property): string - { - return self::getPathTemplate('attributionSettings')->render([ - 'property' => $property, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a audience - * resource. - * - * @param string $property - * @param string $audience - * - * @return string The formatted audience resource. - * - * @experimental - */ - public static function audienceName(string $property, string $audience): string - { - return self::getPathTemplate('audience')->render([ - 'property' => $property, - 'audience' => $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(string $property, string $bigqueryLink): string - { - return self::getPathTemplate('bigQueryLink')->render([ - 'property' => $property, - 'bigquery_link' => $bigqueryLink, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * calculated_metric resource. - * - * @param string $property - * @param string $calculatedMetric - * - * @return string The formatted calculated_metric resource. - * - * @experimental - */ - public static function calculatedMetricName(string $property, string $calculatedMetric): string - { - return self::getPathTemplate('calculatedMetric')->render([ - 'property' => $property, - 'calculated_metric' => $calculatedMetric, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * channel_group resource. - * - * @param string $property - * @param string $channelGroup - * - * @return string The formatted channel_group resource. - * - * @experimental - */ - public static function channelGroupName(string $property, string $channelGroup): string - { - return self::getPathTemplate('channelGroup')->render([ - 'property' => $property, - 'channel_group' => $channelGroup, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_event resource. - * - * @param string $property - * @param string $conversionEvent - * - * @return string The formatted conversion_event resource. - * - * @experimental - */ - public static function conversionEventName(string $property, string $conversionEvent): string - { - return self::getPathTemplate('conversionEvent')->render([ - 'property' => $property, - 'conversion_event' => $conversionEvent, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_dimension resource. - * - * @param string $property - * @param string $customDimension - * - * @return string The formatted custom_dimension resource. - * - * @experimental - */ - public static function customDimensionName(string $property, string $customDimension): string - { - return self::getPathTemplate('customDimension')->render([ - 'property' => $property, - 'custom_dimension' => $customDimension, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_metric resource. - * - * @param string $property - * @param string $customMetric - * - * @return string The formatted custom_metric resource. - * - * @experimental - */ - public static function customMetricName(string $property, string $customMetric): string - { - return self::getPathTemplate('customMetric')->render([ - 'property' => $property, - 'custom_metric' => $customMetric, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * data_redaction_settings resource. - * - * @param string $property - * @param string $dataStream - * - * @return string The formatted data_redaction_settings resource. - * - * @experimental - */ - public static function dataRedactionSettingsName(string $property, string $dataStream): string - { - return self::getPathTemplate('dataRedactionSettings')->render([ - 'property' => $property, - 'data_stream' => $dataStream, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * data_retention_settings resource. - * - * @param string $property - * - * @return string The formatted data_retention_settings resource. - * - * @experimental - */ - public static function dataRetentionSettingsName(string $property): string - { - return self::getPathTemplate('dataRetentionSettings')->render([ - 'property' => $property, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * data_sharing_settings resource. - * - * @param string $account - * - * @return string The formatted data_sharing_settings resource. - * - * @experimental - */ - public static function dataSharingSettingsName(string $account): string - { - return self::getPathTemplate('dataSharingSettings')->render([ - 'account' => $account, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a data_stream - * resource. - * - * @param string $property - * @param string $dataStream - * - * @return string The formatted data_stream resource. - * - * @experimental - */ - public static function dataStreamName(string $property, string $dataStream): string - { - return self::getPathTemplate('dataStream')->render([ - 'property' => $property, - 'data_stream' => $dataStream, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * display_video360_advertiser_link resource. - * - * @param string $property - * @param string $displayVideo360AdvertiserLink - * - * @return string The formatted display_video360_advertiser_link resource. - * - * @experimental - */ - public static function displayVideo360AdvertiserLinkName(string $property, string $displayVideo360AdvertiserLink): string - { - return self::getPathTemplate('displayVideo360AdvertiserLink')->render([ - 'property' => $property, - 'display_video_360_advertiser_link' => $displayVideo360AdvertiserLink, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * display_video360_advertiser_link_proposal resource. - * - * @param string $property - * @param string $displayVideo360AdvertiserLinkProposal - * - * @return string The formatted display_video360_advertiser_link_proposal resource. - * - * @experimental - */ - public static function displayVideo360AdvertiserLinkProposalName(string $property, string $displayVideo360AdvertiserLinkProposal): string - { - return self::getPathTemplate('displayVideo360AdvertiserLinkProposal')->render([ - 'property' => $property, - 'display_video_360_advertiser_link_proposal' => $displayVideo360AdvertiserLinkProposal, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * enhanced_measurement_settings resource. - * - * @param string $property - * @param string $dataStream - * - * @return string The formatted enhanced_measurement_settings resource. - * - * @experimental - */ - public static function enhancedMeasurementSettingsName(string $property, string $dataStream): string - { - return self::getPathTemplate('enhancedMeasurementSettings')->render([ - 'property' => $property, - 'data_stream' => $dataStream, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * event_create_rule resource. - * - * @param string $property - * @param string $dataStream - * @param string $eventCreateRule - * - * @return string The formatted event_create_rule resource. - * - * @experimental - */ - public static function eventCreateRuleName(string $property, string $dataStream, string $eventCreateRule): string - { - return self::getPathTemplate('eventCreateRule')->render([ - 'property' => $property, - 'data_stream' => $dataStream, - 'event_create_rule' => $eventCreateRule, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * event_edit_rule resource. - * - * @param string $property - * @param string $dataStream - * @param string $eventEditRule - * - * @return string The formatted event_edit_rule resource. - * - * @experimental - */ - public static function eventEditRuleName(string $property, string $dataStream, string $eventEditRule): string - { - return self::getPathTemplate('eventEditRule')->render([ - 'property' => $property, - 'data_stream' => $dataStream, - 'event_edit_rule' => $eventEditRule, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * expanded_data_set resource. - * - * @param string $property - * @param string $expandedDataSet - * - * @return string The formatted expanded_data_set resource. - * - * @experimental - */ - public static function expandedDataSetName(string $property, string $expandedDataSet): string - { - return self::getPathTemplate('expandedDataSet')->render([ - 'property' => $property, - 'expanded_data_set' => $expandedDataSet, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * firebase_link resource. - * - * @param string $property - * @param string $firebaseLink - * - * @return string The formatted firebase_link resource. - * - * @experimental - */ - public static function firebaseLinkName(string $property, string $firebaseLink): string - { - return self::getPathTemplate('firebaseLink')->render([ - 'property' => $property, - 'firebase_link' => $firebaseLink, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * global_site_tag resource. - * - * @param string $property - * @param string $dataStream - * - * @return string The formatted global_site_tag resource. - * - * @experimental - */ - public static function globalSiteTagName(string $property, string $dataStream): string - { - return self::getPathTemplate('globalSiteTag')->render([ - 'property' => $property, - 'data_stream' => $dataStream, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * google_ads_link resource. - * - * @param string $property - * @param string $googleAdsLink - * - * @return string The formatted google_ads_link resource. - * - * @experimental - */ - public static function googleAdsLinkName(string $property, string $googleAdsLink): string - { - return self::getPathTemplate('googleAdsLink')->render([ - 'property' => $property, - 'google_ads_link' => $googleAdsLink, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * google_signals_settings resource. - * - * @param string $property - * - * @return string The formatted google_signals_settings resource. - * - * @experimental - */ - public static function googleSignalsSettingsName(string $property): string - { - return self::getPathTemplate('googleSignalsSettings')->render([ - 'property' => $property, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a key_event - * resource. - * - * @param string $property - * @param string $keyEvent - * - * @return string The formatted key_event resource. - * - * @experimental - */ - public static function keyEventName(string $property, string $keyEvent): string - { - return self::getPathTemplate('keyEvent')->render([ - 'property' => $property, - 'key_event' => $keyEvent, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * measurement_protocol_secret resource. - * - * @param string $property - * @param string $dataStream - * @param string $measurementProtocolSecret - * - * @return string The formatted measurement_protocol_secret resource. - * - * @experimental - */ - public static function measurementProtocolSecretName(string $property, string $dataStream, string $measurementProtocolSecret): string - { - return self::getPathTemplate('measurementProtocolSecret')->render([ - 'property' => $property, - 'data_stream' => $dataStream, - 'measurement_protocol_secret' => $measurementProtocolSecret, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a organization - * resource. - * - * @param string $organization - * - * @return string The formatted organization resource. - * - * @experimental - */ - public static function organizationName(string $organization): string - { - return self::getPathTemplate('organization')->render([ - 'organization' => $organization, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a property - * resource. - * - * @param string $property - * - * @return string The formatted property resource. - * - * @experimental - */ - public static function propertyName(string $property): string - { - return self::getPathTemplate('property')->render([ - 'property' => $property, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * property_access_binding resource. - * - * @param string $property - * @param string $accessBinding - * - * @return string The formatted property_access_binding resource. - * - * @experimental - */ - public static function propertyAccessBindingName(string $property, string $accessBinding): string - { - return self::getPathTemplate('propertyAccessBinding')->render([ - 'property' => $property, - 'access_binding' => $accessBinding, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * reporting_data_annotation resource. - * - * @param string $property - * @param string $reportingDataAnnotation - * - * @return string The formatted reporting_data_annotation resource. - * - * @experimental - */ - public static function reportingDataAnnotationName(string $property, string $reportingDataAnnotation): string - { - return self::getPathTemplate('reportingDataAnnotation')->render([ - 'property' => $property, - 'reporting_data_annotation' => $reportingDataAnnotation, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * reporting_identity_settings resource. - * - * @param string $property - * - * @return string The formatted reporting_identity_settings resource. - * - * @experimental - */ - public static function reportingIdentitySettingsName(string $property): string - { - return self::getPathTemplate('reportingIdentitySettings')->render([ - 'property' => $property, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * rollup_property_source_link resource. - * - * @param string $property - * @param string $rollupPropertySourceLink - * - * @return string The formatted rollup_property_source_link resource. - * - * @experimental - */ - public static function rollupPropertySourceLinkName(string $property, string $rollupPropertySourceLink): string - { - return self::getPathTemplate('rollupPropertySourceLink')->render([ - 'property' => $property, - 'rollup_property_source_link' => $rollupPropertySourceLink, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * sk_ad_network_conversion_value_schema resource. - * - * @param string $property - * @param string $dataStream - * @param string $skadnetworkConversionValueSchema - * - * @return string The formatted sk_ad_network_conversion_value_schema resource. - * - * @experimental - */ - public static function sKAdNetworkConversionValueSchemaName(string $property, string $dataStream, string $skadnetworkConversionValueSchema): string - { - return self::getPathTemplate('sKAdNetworkConversionValueSchema')->render([ - 'property' => $property, - 'data_stream' => $dataStream, - 'skadnetwork_conversion_value_schema' => $skadnetworkConversionValueSchema, - ]); - } - - /** - * 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(string $property, string $searchAds360Link): string - { - return self::getPathTemplate('searchAds360Link')->render([ - 'property' => $property, - 'search_ads_360_link' => $searchAds360Link, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * subproperty_event_filter resource. - * - * @param string $property - * @param string $subPropertyEventFilter - * - * @return string The formatted subproperty_event_filter resource. - * - * @experimental - */ - public static function subpropertyEventFilterName(string $property, string $subPropertyEventFilter): string - { - return self::getPathTemplate('subpropertyEventFilter')->render([ - 'property' => $property, - 'sub_property_event_filter' => $subPropertyEventFilter, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * subproperty_sync_config resource. - * - * @param string $property - * @param string $subpropertySyncConfig - * - * @return string The formatted subproperty_sync_config resource. - * - * @experimental - */ - public static function subpropertySyncConfigName(string $property, string $subpropertySyncConfig): string - { - return self::getPathTemplate('subpropertySyncConfig')->render([ - 'property' => $property, - 'subproperty_sync_config' => $subpropertySyncConfig, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * user_provided_data_settings resource. - * - * @param string $property - * - * @return string The formatted user_provided_data_settings resource. - * - * @experimental - */ - public static function userProvidedDataSettingsName(string $property): string - { - return self::getPathTemplate('userProvidedDataSettings')->render([ - 'property' => $property, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - accessBinding: accounts/{account}/accessBindings/{access_binding} - * - account: accounts/{account} - * - accountAccessBinding: accounts/{account}/accessBindings/{access_binding} - * - adSenseLink: properties/{property}/adSenseLinks/{adsense_link} - * - attributionSettings: properties/{property}/attributionSettings - * - audience: properties/{property}/audiences/{audience} - * - bigQueryLink: properties/{property}/bigQueryLinks/{bigquery_link} - * - calculatedMetric: properties/{property}/calculatedMetrics/{calculated_metric} - * - channelGroup: properties/{property}/channelGroups/{channel_group} - * - conversionEvent: properties/{property}/conversionEvents/{conversion_event} - * - customDimension: properties/{property}/customDimensions/{custom_dimension} - * - customMetric: properties/{property}/customMetrics/{custom_metric} - * - dataRedactionSettings: properties/{property}/dataStreams/{data_stream}/dataRedactionSettings - * - dataRetentionSettings: properties/{property}/dataRetentionSettings - * - dataSharingSettings: accounts/{account}/dataSharingSettings - * - dataStream: properties/{property}/dataStreams/{data_stream} - * - displayVideo360AdvertiserLink: properties/{property}/displayVideo360AdvertiserLinks/{display_video_360_advertiser_link} - * - displayVideo360AdvertiserLinkProposal: properties/{property}/displayVideo360AdvertiserLinkProposals/{display_video_360_advertiser_link_proposal} - * - enhancedMeasurementSettings: properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings - * - eventCreateRule: properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule} - * - eventEditRule: properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule} - * - expandedDataSet: properties/{property}/expandedDataSets/{expanded_data_set} - * - firebaseLink: properties/{property}/firebaseLinks/{firebase_link} - * - globalSiteTag: properties/{property}/dataStreams/{data_stream}/globalSiteTag - * - googleAdsLink: properties/{property}/googleAdsLinks/{google_ads_link} - * - googleSignalsSettings: properties/{property}/googleSignalsSettings - * - keyEvent: properties/{property}/keyEvents/{key_event} - * - measurementProtocolSecret: properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret} - * - organization: organizations/{organization} - * - property: properties/{property} - * - propertyAccessBinding: properties/{property}/accessBindings/{access_binding} - * - reportingDataAnnotation: properties/{property}/reportingDataAnnotations/{reporting_data_annotation} - * - reportingIdentitySettings: properties/{property}/reportingIdentitySettings - * - rollupPropertySourceLink: properties/{property}/rollupPropertySourceLinks/{rollup_property_source_link} - * - sKAdNetworkConversionValueSchema: properties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} - * - searchAds360Link: properties/{property}/searchAds360Links/{search_ads_360_link} - * - subpropertyEventFilter: properties/{property}/subpropertyEventFilters/{sub_property_event_filter} - * - subpropertySyncConfig: properties/{property}/subpropertySyncConfigs/{subproperty_sync_config} - * - userProvidedDataSettings: properties/{property}/userProvidedDataSettings - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param ?string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - * - * @experimental - */ - public static function parseName(string $formattedName, ?string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array|ClientOptions $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'analyticsadmin.googleapis.com:443'. - * @type FetchAuthTokenInterface|CredentialsWrapper $credentials - * This option should only be used with a pre-constructed - * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that - * when one of these objects are provided, any settings in $credentialsConfig will - * be ignored. - * **Important**: If you are providing a path to a credentials file, or a decoded - * credentials file as a PHP array, this usage is now DEPRECATED. Providing an - * unvalidated credential configuration to Google APIs can compromise the security - * of your systems and data. It is recommended to create the credentials explicitly - * ``` - * use Google\Auth\Credentials\ServiceAccountCredentials; - * use Google\Analytics\Admin\V1alpha\AnalyticsAdminServiceClient; - * $creds = new ServiceAccountCredentials($scopes, $json); - * $options = new AnalyticsAdminServiceClient(['credentials' => $creds]); - * ``` - * {@see - * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * @type false|LoggerInterface $logger - * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the - * 'GOOGLE_SDK_PHP_LOGGING' environment flag - * @type string $universeDomain - * The service domain for the client. Defaults to 'googleapis.com'. - * } - * - * @throws ValidationException - * - * @experimental - */ - public function __construct(array|ClientOptions $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Acknowledges the terms of user data collection for the specified property. - * - * This acknowledgement must be completed (either in the Google Analytics UI - * or through this API) before MeasurementProtocolSecret resources may be - * created. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::acknowledgeUserDataCollectionAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php - * - * @param AcknowledgeUserDataCollectionRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 AcknowledgeUserDataCollectionResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function acknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest $request, array $callOptions = []): AcknowledgeUserDataCollectionResponse - { - return $this->startApiCall('AcknowledgeUserDataCollection', $request, $callOptions)->wait(); - } - - /** - * Approves a DisplayVideo360AdvertiserLinkProposal. - * The DisplayVideo360AdvertiserLinkProposal will be deleted and a new - * DisplayVideo360AdvertiserLink will be created. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::approveDisplayVideo360AdvertiserLinkProposalAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/approve_display_video360_advertiser_link_proposal.php - * - * @param ApproveDisplayVideo360AdvertiserLinkProposalRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ApproveDisplayVideo360AdvertiserLinkProposalResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function approveDisplayVideo360AdvertiserLinkProposal(ApproveDisplayVideo360AdvertiserLinkProposalRequest $request, array $callOptions = []): ApproveDisplayVideo360AdvertiserLinkProposalResponse - { - return $this->startApiCall('ApproveDisplayVideo360AdvertiserLinkProposal', $request, $callOptions)->wait(); - } - - /** - * Archives an Audience on a property. - * - * The async variant is {@see AnalyticsAdminServiceClient::archiveAudienceAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/archive_audience.php - * - * @param ArchiveAudienceRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function archiveAudience(ArchiveAudienceRequest $request, array $callOptions = []): void - { - $this->startApiCall('ArchiveAudience', $request, $callOptions)->wait(); - } - - /** - * Archives a CustomDimension on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::archiveCustomDimensionAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_dimension.php - * - * @param ArchiveCustomDimensionRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function archiveCustomDimension(ArchiveCustomDimensionRequest $request, array $callOptions = []): void - { - $this->startApiCall('ArchiveCustomDimension', $request, $callOptions)->wait(); - } - - /** - * Archives a CustomMetric on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::archiveCustomMetricAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/archive_custom_metric.php - * - * @param ArchiveCustomMetricRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function archiveCustomMetric(ArchiveCustomMetricRequest $request, array $callOptions = []): void - { - $this->startApiCall('ArchiveCustomMetric', $request, $callOptions)->wait(); - } - - /** - * Creates information about multiple access bindings to an account or - * property. - * - * This method is transactional. If any AccessBinding cannot be created, none - * of the AccessBindings will be created. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::batchCreateAccessBindingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/batch_create_access_bindings.php - * - * @param BatchCreateAccessBindingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 BatchCreateAccessBindingsResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function batchCreateAccessBindings(BatchCreateAccessBindingsRequest $request, array $callOptions = []): BatchCreateAccessBindingsResponse - { - return $this->startApiCall('BatchCreateAccessBindings', $request, $callOptions)->wait(); - } - - /** - * Deletes information about multiple users' links to an account or property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::batchDeleteAccessBindingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/batch_delete_access_bindings.php - * - * @param BatchDeleteAccessBindingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function batchDeleteAccessBindings(BatchDeleteAccessBindingsRequest $request, array $callOptions = []): void - { - $this->startApiCall('BatchDeleteAccessBindings', $request, $callOptions)->wait(); - } - - /** - * Gets information about multiple access bindings to an account or property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::batchGetAccessBindingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/batch_get_access_bindings.php - * - * @param BatchGetAccessBindingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 BatchGetAccessBindingsResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function batchGetAccessBindings(BatchGetAccessBindingsRequest $request, array $callOptions = []): BatchGetAccessBindingsResponse - { - return $this->startApiCall('BatchGetAccessBindings', $request, $callOptions)->wait(); - } - - /** - * Updates information about multiple access bindings to an account or - * property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::batchUpdateAccessBindingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/batch_update_access_bindings.php - * - * @param BatchUpdateAccessBindingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 BatchUpdateAccessBindingsResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function batchUpdateAccessBindings(BatchUpdateAccessBindingsRequest $request, array $callOptions = []): BatchUpdateAccessBindingsResponse - { - return $this->startApiCall('BatchUpdateAccessBindings', $request, $callOptions)->wait(); - } - - /** - * Cancels a DisplayVideo360AdvertiserLinkProposal. - * Cancelling can mean either: - * - Declining a proposal initiated from Display & Video 360 - * - Withdrawing a proposal initiated from Google Analytics - * After being cancelled, a proposal will eventually be deleted automatically. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::cancelDisplayVideo360AdvertiserLinkProposalAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/cancel_display_video360_advertiser_link_proposal.php - * - * @param CancelDisplayVideo360AdvertiserLinkProposalRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DisplayVideo360AdvertiserLinkProposal - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function cancelDisplayVideo360AdvertiserLinkProposal(CancelDisplayVideo360AdvertiserLinkProposalRequest $request, array $callOptions = []): DisplayVideo360AdvertiserLinkProposal - { - return $this->startApiCall('CancelDisplayVideo360AdvertiserLinkProposal', $request, $callOptions)->wait(); - } - - /** - * Creates an access binding on an account or property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createAccessBindingAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_access_binding.php - * - * @param CreateAccessBindingRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 AccessBinding - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createAccessBinding(CreateAccessBindingRequest $request, array $callOptions = []): AccessBinding - { - return $this->startApiCall('CreateAccessBinding', $request, $callOptions)->wait(); - } - - /** - * Creates an AdSenseLink. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createAdSenseLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_ad_sense_link.php - * - * @param CreateAdSenseLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 AdSenseLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createAdSenseLink(CreateAdSenseLinkRequest $request, array $callOptions = []): AdSenseLink - { - return $this->startApiCall('CreateAdSenseLink', $request, $callOptions)->wait(); - } - - /** - * Creates an Audience. - * - * The async variant is {@see AnalyticsAdminServiceClient::createAudienceAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_audience.php - * - * @param CreateAudienceRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Audience - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createAudience(CreateAudienceRequest $request, array $callOptions = []): Audience - { - return $this->startApiCall('CreateAudience', $request, $callOptions)->wait(); - } - - /** - * Creates a BigQueryLink. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createBigQueryLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_big_query_link.php - * - * @param CreateBigQueryLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 BigQueryLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createBigQueryLink(CreateBigQueryLinkRequest $request, array $callOptions = []): BigQueryLink - { - return $this->startApiCall('CreateBigQueryLink', $request, $callOptions)->wait(); - } - - /** - * Creates a CalculatedMetric. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createCalculatedMetricAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_calculated_metric.php - * - * @param CreateCalculatedMetricRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CalculatedMetric - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createCalculatedMetric(CreateCalculatedMetricRequest $request, array $callOptions = []): CalculatedMetric - { - return $this->startApiCall('CreateCalculatedMetric', $request, $callOptions)->wait(); - } - - /** - * Creates a ChannelGroup. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createChannelGroupAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_channel_group.php - * - * @param CreateChannelGroupRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ChannelGroup - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createChannelGroup(CreateChannelGroupRequest $request, array $callOptions = []): ChannelGroup - { - return $this->startApiCall('CreateChannelGroup', $request, $callOptions)->wait(); - } - - /** - * Deprecated: Use `CreateKeyEvent` instead. - * Creates a conversion event with the specified attributes. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createConversionEventAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_conversion_event.php - * - * @param CreateConversionEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ConversionEvent - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - * - * @deprecated This method will be removed in the next major version update. - */ - public function createConversionEvent(CreateConversionEventRequest $request, array $callOptions = []): ConversionEvent - { - return $this->startApiCall('CreateConversionEvent', $request, $callOptions)->wait(); - } - - /** - * Creates a CustomDimension. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createCustomDimensionAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_custom_dimension.php - * - * @param CreateCustomDimensionRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CustomDimension - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createCustomDimension(CreateCustomDimensionRequest $request, array $callOptions = []): CustomDimension - { - return $this->startApiCall('CreateCustomDimension', $request, $callOptions)->wait(); - } - - /** - * Creates a CustomMetric. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createCustomMetricAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_custom_metric.php - * - * @param CreateCustomMetricRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CustomMetric - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createCustomMetric(CreateCustomMetricRequest $request, array $callOptions = []): CustomMetric - { - return $this->startApiCall('CreateCustomMetric', $request, $callOptions)->wait(); - } - - /** - * Creates a DataStream. - * - * The async variant is {@see AnalyticsAdminServiceClient::createDataStreamAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_data_stream.php - * - * @param CreateDataStreamRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DataStream - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createDataStream(CreateDataStreamRequest $request, array $callOptions = []): DataStream - { - return $this->startApiCall('CreateDataStream', $request, $callOptions)->wait(); - } - - /** - * Creates a DisplayVideo360AdvertiserLink. - * This can only be utilized by users who have proper authorization both on - * the Google Analytics property and on the Display & Video 360 advertiser. - * Users who do not have access to the Display & Video 360 advertiser should - * instead seek to create a DisplayVideo360LinkProposal. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createDisplayVideo360AdvertiserLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link.php - * - * @param CreateDisplayVideo360AdvertiserLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DisplayVideo360AdvertiserLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createDisplayVideo360AdvertiserLink(CreateDisplayVideo360AdvertiserLinkRequest $request, array $callOptions = []): DisplayVideo360AdvertiserLink - { - return $this->startApiCall('CreateDisplayVideo360AdvertiserLink', $request, $callOptions)->wait(); - } - - /** - * Creates a DisplayVideo360AdvertiserLinkProposal. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createDisplayVideo360AdvertiserLinkProposalAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_display_video360_advertiser_link_proposal.php - * - * @param CreateDisplayVideo360AdvertiserLinkProposalRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DisplayVideo360AdvertiserLinkProposal - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createDisplayVideo360AdvertiserLinkProposal(CreateDisplayVideo360AdvertiserLinkProposalRequest $request, array $callOptions = []): DisplayVideo360AdvertiserLinkProposal - { - return $this->startApiCall('CreateDisplayVideo360AdvertiserLinkProposal', $request, $callOptions)->wait(); - } - - /** - * Creates an EventCreateRule. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createEventCreateRuleAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_event_create_rule.php - * - * @param CreateEventCreateRuleRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 EventCreateRule - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createEventCreateRule(CreateEventCreateRuleRequest $request, array $callOptions = []): EventCreateRule - { - return $this->startApiCall('CreateEventCreateRule', $request, $callOptions)->wait(); - } - - /** - * Creates an EventEditRule. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createEventEditRuleAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_event_edit_rule.php - * - * @param CreateEventEditRuleRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 EventEditRule - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createEventEditRule(CreateEventEditRuleRequest $request, array $callOptions = []): EventEditRule - { - return $this->startApiCall('CreateEventEditRule', $request, $callOptions)->wait(); - } - - /** - * Creates a ExpandedDataSet. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createExpandedDataSetAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_expanded_data_set.php - * - * @param CreateExpandedDataSetRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ExpandedDataSet - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createExpandedDataSet(CreateExpandedDataSetRequest $request, array $callOptions = []): ExpandedDataSet - { - return $this->startApiCall('CreateExpandedDataSet', $request, $callOptions)->wait(); - } - - /** - * Creates a FirebaseLink. - * - * Properties can have at most one FirebaseLink. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createFirebaseLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_firebase_link.php - * - * @param CreateFirebaseLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 FirebaseLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createFirebaseLink(CreateFirebaseLinkRequest $request, array $callOptions = []): FirebaseLink - { - return $this->startApiCall('CreateFirebaseLink', $request, $callOptions)->wait(); - } - - /** - * Creates a GoogleAdsLink. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createGoogleAdsLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_google_ads_link.php - * - * @param CreateGoogleAdsLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 GoogleAdsLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createGoogleAdsLink(CreateGoogleAdsLinkRequest $request, array $callOptions = []): GoogleAdsLink - { - return $this->startApiCall('CreateGoogleAdsLink', $request, $callOptions)->wait(); - } - - /** - * Creates a Key Event. - * - * The async variant is {@see AnalyticsAdminServiceClient::createKeyEventAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_key_event.php - * - * @param CreateKeyEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 KeyEvent - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createKeyEvent(CreateKeyEventRequest $request, array $callOptions = []): KeyEvent - { - return $this->startApiCall('CreateKeyEvent', $request, $callOptions)->wait(); - } - - /** - * Creates a measurement protocol secret. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createMeasurementProtocolSecretAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php - * - * @param CreateMeasurementProtocolSecretRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 MeasurementProtocolSecret - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest $request, array $callOptions = []): MeasurementProtocolSecret - { - return $this->startApiCall('CreateMeasurementProtocolSecret', $request, $callOptions)->wait(); - } - - /** - * Creates a Google Analytics property with the specified location and - * attributes. - * - * The async variant is {@see AnalyticsAdminServiceClient::createPropertyAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_property.php - * - * @param CreatePropertyRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Property - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createProperty(CreatePropertyRequest $request, array $callOptions = []): Property - { - return $this->startApiCall('CreateProperty', $request, $callOptions)->wait(); - } - - /** - * Creates a Reporting Data Annotation. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createReportingDataAnnotationAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_reporting_data_annotation.php - * - * @param CreateReportingDataAnnotationRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ReportingDataAnnotation - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createReportingDataAnnotation(CreateReportingDataAnnotationRequest $request, array $callOptions = []): ReportingDataAnnotation - { - return $this->startApiCall('CreateReportingDataAnnotation', $request, $callOptions)->wait(); - } - - /** - * Create a roll-up property and all roll-up property source links. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createRollupPropertyAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property.php - * - * @param CreateRollupPropertyRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CreateRollupPropertyResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createRollupProperty(CreateRollupPropertyRequest $request, array $callOptions = []): CreateRollupPropertyResponse - { - return $this->startApiCall('CreateRollupProperty', $request, $callOptions)->wait(); - } - - /** - * Creates a roll-up property source link. - * Only roll-up properties can have source links, so this method will throw an - * error if used on other types of properties. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createRollupPropertySourceLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_rollup_property_source_link.php - * - * @param CreateRollupPropertySourceLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 RollupPropertySourceLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createRollupPropertySourceLink(CreateRollupPropertySourceLinkRequest $request, array $callOptions = []): RollupPropertySourceLink - { - return $this->startApiCall('CreateRollupPropertySourceLink', $request, $callOptions)->wait(); - } - - /** - * Creates a SKAdNetworkConversionValueSchema. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createSKAdNetworkConversionValueSchemaAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_sk_ad_network_conversion_value_schema.php - * - * @param CreateSKAdNetworkConversionValueSchemaRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 SKAdNetworkConversionValueSchema - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createSKAdNetworkConversionValueSchema(CreateSKAdNetworkConversionValueSchemaRequest $request, array $callOptions = []): SKAdNetworkConversionValueSchema - { - return $this->startApiCall('CreateSKAdNetworkConversionValueSchema', $request, $callOptions)->wait(); - } - - /** - * Creates a SearchAds360Link. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createSearchAds360LinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_search_ads360_link.php - * - * @param CreateSearchAds360LinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 SearchAds360Link - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createSearchAds360Link(CreateSearchAds360LinkRequest $request, array $callOptions = []): SearchAds360Link - { - return $this->startApiCall('CreateSearchAds360Link', $request, $callOptions)->wait(); - } - - /** - * Creates a subproperty Event Filter. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createSubpropertyEventFilterAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty_event_filter.php - * - * @param CreateSubpropertyEventFilterRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 SubpropertyEventFilter - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createSubpropertyEventFilter(CreateSubpropertyEventFilterRequest $request, array $callOptions = []): SubpropertyEventFilter - { - return $this->startApiCall('CreateSubpropertyEventFilter', $request, $callOptions)->wait(); - } - - /** - * Deletes an access binding on an account or property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteAccessBindingAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_access_binding.php - * - * @param DeleteAccessBindingRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteAccessBinding(DeleteAccessBindingRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteAccessBinding', $request, $callOptions)->wait(); - } - - /** - * Marks target Account as soft-deleted (ie: "trashed") and returns it. - * - * This API does not have a method to restore soft-deleted accounts. - * However, they can be restored using the Trash Can UI. - * - * If the accounts are not restored before the expiration time, the account - * and all child resources (eg: Properties, GoogleAdsLinks, Streams, - * AccessBindings) will be permanently purged. - * https://support.google.com/analytics/answer/6154772 - * - * Returns an error if the target is not found. - * - * The async variant is {@see AnalyticsAdminServiceClient::deleteAccountAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_account.php - * - * @param DeleteAccountRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteAccount(DeleteAccountRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteAccount', $request, $callOptions)->wait(); - } - - /** - * Deletes an AdSenseLink. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteAdSenseLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_ad_sense_link.php - * - * @param DeleteAdSenseLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteAdSenseLink(DeleteAdSenseLinkRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteAdSenseLink', $request, $callOptions)->wait(); - } - - /** - * Deletes a BigQueryLink on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteBigQueryLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_big_query_link.php - * - * @param DeleteBigQueryLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteBigQueryLink(DeleteBigQueryLinkRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteBigQueryLink', $request, $callOptions)->wait(); - } - - /** - * Deletes a CalculatedMetric on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteCalculatedMetricAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_calculated_metric.php - * - * @param DeleteCalculatedMetricRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteCalculatedMetric(DeleteCalculatedMetricRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteCalculatedMetric', $request, $callOptions)->wait(); - } - - /** - * Deletes a ChannelGroup on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteChannelGroupAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_channel_group.php - * - * @param DeleteChannelGroupRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteChannelGroup(DeleteChannelGroupRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteChannelGroup', $request, $callOptions)->wait(); - } - - /** - * Deprecated: Use `DeleteKeyEvent` instead. - * Deletes a conversion event in a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteConversionEventAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_conversion_event.php - * - * @param DeleteConversionEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - * - * @deprecated This method will be removed in the next major version update. - */ - public function deleteConversionEvent(DeleteConversionEventRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteConversionEvent', $request, $callOptions)->wait(); - } - - /** - * Deletes a DataStream on a property. - * - * The async variant is {@see AnalyticsAdminServiceClient::deleteDataStreamAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_data_stream.php - * - * @param DeleteDataStreamRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteDataStream(DeleteDataStreamRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteDataStream', $request, $callOptions)->wait(); - } - - /** - * Deletes a DisplayVideo360AdvertiserLink on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteDisplayVideo360AdvertiserLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link.php - * - * @param DeleteDisplayVideo360AdvertiserLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteDisplayVideo360AdvertiserLink(DeleteDisplayVideo360AdvertiserLinkRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteDisplayVideo360AdvertiserLink', $request, $callOptions)->wait(); - } - - /** - * Deletes a DisplayVideo360AdvertiserLinkProposal on a property. - * This can only be used on cancelled proposals. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteDisplayVideo360AdvertiserLinkProposalAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_display_video360_advertiser_link_proposal.php - * - * @param DeleteDisplayVideo360AdvertiserLinkProposalRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteDisplayVideo360AdvertiserLinkProposal(DeleteDisplayVideo360AdvertiserLinkProposalRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteDisplayVideo360AdvertiserLinkProposal', $request, $callOptions)->wait(); - } - - /** - * Deletes an EventCreateRule. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteEventCreateRuleAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_event_create_rule.php - * - * @param DeleteEventCreateRuleRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteEventCreateRule(DeleteEventCreateRuleRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteEventCreateRule', $request, $callOptions)->wait(); - } - - /** - * Deletes an EventEditRule. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteEventEditRuleAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_event_edit_rule.php - * - * @param DeleteEventEditRuleRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteEventEditRule(DeleteEventEditRuleRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteEventEditRule', $request, $callOptions)->wait(); - } - - /** - * Deletes a ExpandedDataSet on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteExpandedDataSetAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_expanded_data_set.php - * - * @param DeleteExpandedDataSetRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteExpandedDataSet(DeleteExpandedDataSetRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteExpandedDataSet', $request, $callOptions)->wait(); - } - - /** - * Deletes a FirebaseLink on a property - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteFirebaseLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_firebase_link.php - * - * @param DeleteFirebaseLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteFirebaseLink(DeleteFirebaseLinkRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteFirebaseLink', $request, $callOptions)->wait(); - } - - /** - * Deletes a GoogleAdsLink on a property - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteGoogleAdsLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_google_ads_link.php - * - * @param DeleteGoogleAdsLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteGoogleAdsLink(DeleteGoogleAdsLinkRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteGoogleAdsLink', $request, $callOptions)->wait(); - } - - /** - * Deletes a Key Event. - * - * The async variant is {@see AnalyticsAdminServiceClient::deleteKeyEventAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_key_event.php - * - * @param DeleteKeyEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteKeyEvent(DeleteKeyEventRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteKeyEvent', $request, $callOptions)->wait(); - } - - /** - * Deletes target MeasurementProtocolSecret. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteMeasurementProtocolSecretAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php - * - * @param DeleteMeasurementProtocolSecretRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteMeasurementProtocolSecret', $request, $callOptions)->wait(); - } - - /** - * Marks target Property as soft-deleted (ie: "trashed") and returns it. - * - * This API does not have a method to restore soft-deleted properties. - * However, they can be restored using the Trash Can UI. - * - * If the properties are not restored before the expiration time, the Property - * and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) - * will be permanently purged. - * https://support.google.com/analytics/answer/6154772 - * - * Returns an error if the target is not found. - * - * The async variant is {@see AnalyticsAdminServiceClient::deletePropertyAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php - * - * @param DeletePropertyRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Property - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function deleteProperty(DeletePropertyRequest $request, array $callOptions = []): Property - { - return $this->startApiCall('DeleteProperty', $request, $callOptions)->wait(); - } - - /** - * Deletes a Reporting Data Annotation. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteReportingDataAnnotationAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_reporting_data_annotation.php - * - * @param DeleteReportingDataAnnotationRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteReportingDataAnnotation(DeleteReportingDataAnnotationRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteReportingDataAnnotation', $request, $callOptions)->wait(); - } - - /** - * Deletes a roll-up property source link. - * Only roll-up properties can have source links, so this method will throw an - * error if used on other types of properties. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteRollupPropertySourceLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_rollup_property_source_link.php - * - * @param DeleteRollupPropertySourceLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteRollupPropertySourceLink(DeleteRollupPropertySourceLinkRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteRollupPropertySourceLink', $request, $callOptions)->wait(); - } - - /** - * Deletes target SKAdNetworkConversionValueSchema. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteSKAdNetworkConversionValueSchemaAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_sk_ad_network_conversion_value_schema.php - * - * @param DeleteSKAdNetworkConversionValueSchemaRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteSKAdNetworkConversionValueSchema(DeleteSKAdNetworkConversionValueSchemaRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteSKAdNetworkConversionValueSchema', $request, $callOptions)->wait(); - } - - /** - * Deletes a SearchAds360Link on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteSearchAds360LinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_search_ads360_link.php - * - * @param DeleteSearchAds360LinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteSearchAds360Link(DeleteSearchAds360LinkRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteSearchAds360Link', $request, $callOptions)->wait(); - } - - /** - * Deletes a subproperty event filter. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteSubpropertyEventFilterAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/delete_subproperty_event_filter.php - * - * @param DeleteSubpropertyEventFilterRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteSubpropertyEventFilter(DeleteSubpropertyEventFilterRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteSubpropertyEventFilter', $request, $callOptions)->wait(); - } - - /** - * Gets information about an access binding. - * - * The async variant is {@see AnalyticsAdminServiceClient::getAccessBindingAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_access_binding.php - * - * @param GetAccessBindingRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 AccessBinding - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getAccessBinding(GetAccessBindingRequest $request, array $callOptions = []): AccessBinding - { - return $this->startApiCall('GetAccessBinding', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single Account. - * - * The async variant is {@see AnalyticsAdminServiceClient::getAccountAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_account.php - * - * @param GetAccountRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Account - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getAccount(GetAccountRequest $request, array $callOptions = []): Account - { - return $this->startApiCall('GetAccount', $request, $callOptions)->wait(); - } - - /** - * Looks up a single AdSenseLink. - * - * The async variant is {@see AnalyticsAdminServiceClient::getAdSenseLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_ad_sense_link.php - * - * @param GetAdSenseLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 AdSenseLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getAdSenseLink(GetAdSenseLinkRequest $request, array $callOptions = []): AdSenseLink - { - return $this->startApiCall('GetAdSenseLink', $request, $callOptions)->wait(); - } - - /** - * Lookup for a AttributionSettings singleton. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getAttributionSettingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_attribution_settings.php - * - * @param GetAttributionSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 AttributionSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getAttributionSettings(GetAttributionSettingsRequest $request, array $callOptions = []): AttributionSettings - { - return $this->startApiCall('GetAttributionSettings', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single Audience. - * Audiences created before 2020 may not be supported. - * Default audiences will not show filter definitions. - * - * The async variant is {@see AnalyticsAdminServiceClient::getAudienceAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_audience.php - * - * @param GetAudienceRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Audience - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getAudience(GetAudienceRequest $request, array $callOptions = []): Audience - { - return $this->startApiCall('GetAudience', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single BigQuery Link. - * - * The async variant is {@see AnalyticsAdminServiceClient::getBigQueryLinkAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_big_query_link.php - * - * @param GetBigQueryLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 BigQueryLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getBigQueryLink(GetBigQueryLinkRequest $request, array $callOptions = []): BigQueryLink - { - return $this->startApiCall('GetBigQueryLink', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single CalculatedMetric. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getCalculatedMetricAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_calculated_metric.php - * - * @param GetCalculatedMetricRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CalculatedMetric - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getCalculatedMetric(GetCalculatedMetricRequest $request, array $callOptions = []): CalculatedMetric - { - return $this->startApiCall('GetCalculatedMetric', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single ChannelGroup. - * - * The async variant is {@see AnalyticsAdminServiceClient::getChannelGroupAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_channel_group.php - * - * @param GetChannelGroupRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ChannelGroup - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getChannelGroup(GetChannelGroupRequest $request, array $callOptions = []): ChannelGroup - { - return $this->startApiCall('GetChannelGroup', $request, $callOptions)->wait(); - } - - /** - * Deprecated: Use `GetKeyEvent` instead. - * Retrieve a single conversion event. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getConversionEventAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_conversion_event.php - * - * @param GetConversionEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ConversionEvent - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - * - * @deprecated This method will be removed in the next major version update. - */ - public function getConversionEvent(GetConversionEventRequest $request, array $callOptions = []): ConversionEvent - { - return $this->startApiCall('GetConversionEvent', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single CustomDimension. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getCustomDimensionAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_custom_dimension.php - * - * @param GetCustomDimensionRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CustomDimension - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getCustomDimension(GetCustomDimensionRequest $request, array $callOptions = []): CustomDimension - { - return $this->startApiCall('GetCustomDimension', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single CustomMetric. - * - * The async variant is {@see AnalyticsAdminServiceClient::getCustomMetricAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_custom_metric.php - * - * @param GetCustomMetricRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CustomMetric - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getCustomMetric(GetCustomMetricRequest $request, array $callOptions = []): CustomMetric - { - return $this->startApiCall('GetCustomMetric', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single DataRedactionSettings. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getDataRedactionSettingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_data_redaction_settings.php - * - * @param GetDataRedactionSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DataRedactionSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getDataRedactionSettings(GetDataRedactionSettingsRequest $request, array $callOptions = []): DataRedactionSettings - { - return $this->startApiCall('GetDataRedactionSettings', $request, $callOptions)->wait(); - } - - /** - * Returns the singleton data retention settings for this property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getDataRetentionSettingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_data_retention_settings.php - * - * @param GetDataRetentionSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DataRetentionSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getDataRetentionSettings(GetDataRetentionSettingsRequest $request, array $callOptions = []): DataRetentionSettings - { - return $this->startApiCall('GetDataRetentionSettings', $request, $callOptions)->wait(); - } - - /** - * Get data sharing settings on an account. - * Data sharing settings are singletons. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getDataSharingSettingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_data_sharing_settings.php - * - * @param GetDataSharingSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DataSharingSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getDataSharingSettings(GetDataSharingSettingsRequest $request, array $callOptions = []): DataSharingSettings - { - return $this->startApiCall('GetDataSharingSettings', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single DataStream. - * - * The async variant is {@see AnalyticsAdminServiceClient::getDataStreamAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_data_stream.php - * - * @param GetDataStreamRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DataStream - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getDataStream(GetDataStreamRequest $request, array $callOptions = []): DataStream - { - return $this->startApiCall('GetDataStream', $request, $callOptions)->wait(); - } - - /** - * Look up a single DisplayVideo360AdvertiserLink - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getDisplayVideo360AdvertiserLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link.php - * - * @param GetDisplayVideo360AdvertiserLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DisplayVideo360AdvertiserLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getDisplayVideo360AdvertiserLink(GetDisplayVideo360AdvertiserLinkRequest $request, array $callOptions = []): DisplayVideo360AdvertiserLink - { - return $this->startApiCall('GetDisplayVideo360AdvertiserLink', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single DisplayVideo360AdvertiserLinkProposal. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getDisplayVideo360AdvertiserLinkProposalAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_display_video360_advertiser_link_proposal.php - * - * @param GetDisplayVideo360AdvertiserLinkProposalRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DisplayVideo360AdvertiserLinkProposal - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getDisplayVideo360AdvertiserLinkProposal(GetDisplayVideo360AdvertiserLinkProposalRequest $request, array $callOptions = []): DisplayVideo360AdvertiserLinkProposal - { - return $this->startApiCall('GetDisplayVideo360AdvertiserLinkProposal', $request, $callOptions)->wait(); - } - - /** - * Returns the enhanced measurement settings for this data stream. - * Note that the stream must enable enhanced measurement for these settings to - * take effect. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getEnhancedMeasurementSettingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_enhanced_measurement_settings.php - * - * @param GetEnhancedMeasurementSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 EnhancedMeasurementSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getEnhancedMeasurementSettings(GetEnhancedMeasurementSettingsRequest $request, array $callOptions = []): EnhancedMeasurementSettings - { - return $this->startApiCall('GetEnhancedMeasurementSettings', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single EventCreateRule. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getEventCreateRuleAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_event_create_rule.php - * - * @param GetEventCreateRuleRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 EventCreateRule - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getEventCreateRule(GetEventCreateRuleRequest $request, array $callOptions = []): EventCreateRule - { - return $this->startApiCall('GetEventCreateRule', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single EventEditRule. - * - * The async variant is {@see AnalyticsAdminServiceClient::getEventEditRuleAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_event_edit_rule.php - * - * @param GetEventEditRuleRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 EventEditRule - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getEventEditRule(GetEventEditRuleRequest $request, array $callOptions = []): EventEditRule - { - return $this->startApiCall('GetEventEditRule', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single ExpandedDataSet. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getExpandedDataSetAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_expanded_data_set.php - * - * @param GetExpandedDataSetRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ExpandedDataSet - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getExpandedDataSet(GetExpandedDataSetRequest $request, array $callOptions = []): ExpandedDataSet - { - return $this->startApiCall('GetExpandedDataSet', $request, $callOptions)->wait(); - } - - /** - * Returns the Site Tag for the specified web stream. - * Site Tags are immutable singletons. - * - * The async variant is {@see AnalyticsAdminServiceClient::getGlobalSiteTagAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_global_site_tag.php - * - * @param GetGlobalSiteTagRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 GlobalSiteTag - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getGlobalSiteTag(GetGlobalSiteTagRequest $request, array $callOptions = []): GlobalSiteTag - { - return $this->startApiCall('GetGlobalSiteTag', $request, $callOptions)->wait(); - } - - /** - * Lookup for Google Signals settings for a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getGoogleSignalsSettingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_google_signals_settings.php - * - * @param GetGoogleSignalsSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 GoogleSignalsSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getGoogleSignalsSettings(GetGoogleSignalsSettingsRequest $request, array $callOptions = []): GoogleSignalsSettings - { - return $this->startApiCall('GetGoogleSignalsSettings', $request, $callOptions)->wait(); - } - - /** - * Retrieve a single Key Event. - * - * The async variant is {@see AnalyticsAdminServiceClient::getKeyEventAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_key_event.php - * - * @param GetKeyEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 KeyEvent - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getKeyEvent(GetKeyEventRequest $request, array $callOptions = []): KeyEvent - { - return $this->startApiCall('GetKeyEvent', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single MeasurementProtocolSecret. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getMeasurementProtocolSecretAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php - * - * @param GetMeasurementProtocolSecretRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 MeasurementProtocolSecret - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest $request, array $callOptions = []): MeasurementProtocolSecret - { - return $this->startApiCall('GetMeasurementProtocolSecret', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single GA Property. - * - * The async variant is {@see AnalyticsAdminServiceClient::getPropertyAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_property.php - * - * @param GetPropertyRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Property - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getProperty(GetPropertyRequest $request, array $callOptions = []): Property - { - return $this->startApiCall('GetProperty', $request, $callOptions)->wait(); - } - - /** - * Lookup a single Reporting Data Annotation. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getReportingDataAnnotationAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_data_annotation.php - * - * @param GetReportingDataAnnotationRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ReportingDataAnnotation - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getReportingDataAnnotation(GetReportingDataAnnotationRequest $request, array $callOptions = []): ReportingDataAnnotation - { - return $this->startApiCall('GetReportingDataAnnotation', $request, $callOptions)->wait(); - } - - /** - * Returns the reporting identity settings for this property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getReportingIdentitySettingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_reporting_identity_settings.php - * - * @param GetReportingIdentitySettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ReportingIdentitySettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getReportingIdentitySettings(GetReportingIdentitySettingsRequest $request, array $callOptions = []): ReportingIdentitySettings - { - return $this->startApiCall('GetReportingIdentitySettings', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single roll-up property source Link. - * Only roll-up properties can have source links, so this method will throw an - * error if used on other types of properties. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getRollupPropertySourceLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_rollup_property_source_link.php - * - * @param GetRollupPropertySourceLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 RollupPropertySourceLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getRollupPropertySourceLink(GetRollupPropertySourceLinkRequest $request, array $callOptions = []): RollupPropertySourceLink - { - return $this->startApiCall('GetRollupPropertySourceLink', $request, $callOptions)->wait(); - } - - /** - * Looks up a single SKAdNetworkConversionValueSchema. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getSKAdNetworkConversionValueSchemaAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_sk_ad_network_conversion_value_schema.php - * - * @param GetSKAdNetworkConversionValueSchemaRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 SKAdNetworkConversionValueSchema - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getSKAdNetworkConversionValueSchema(GetSKAdNetworkConversionValueSchemaRequest $request, array $callOptions = []): SKAdNetworkConversionValueSchema - { - return $this->startApiCall('GetSKAdNetworkConversionValueSchema', $request, $callOptions)->wait(); - } - - /** - * Look up a single SearchAds360Link - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getSearchAds360LinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_search_ads360_link.php - * - * @param GetSearchAds360LinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 SearchAds360Link - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getSearchAds360Link(GetSearchAds360LinkRequest $request, array $callOptions = []): SearchAds360Link - { - return $this->startApiCall('GetSearchAds360Link', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single subproperty Event Filter. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getSubpropertyEventFilterAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_event_filter.php - * - * @param GetSubpropertyEventFilterRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 SubpropertyEventFilter - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getSubpropertyEventFilter(GetSubpropertyEventFilterRequest $request, array $callOptions = []): SubpropertyEventFilter - { - return $this->startApiCall('GetSubpropertyEventFilter', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single `SubpropertySyncConfig`. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getSubpropertySyncConfigAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_sync_config.php - * - * @param GetSubpropertySyncConfigRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 SubpropertySyncConfig - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getSubpropertySyncConfig(GetSubpropertySyncConfigRequest $request, array $callOptions = []): SubpropertySyncConfig - { - return $this->startApiCall('GetSubpropertySyncConfig', $request, $callOptions)->wait(); - } - - /** - * Looks up settings related to user-provided data for a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getUserProvidedDataSettingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/get_user_provided_data_settings.php - * - * @param GetUserProvidedDataSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 UserProvidedDataSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getUserProvidedDataSettings(GetUserProvidedDataSettingsRequest $request, array $callOptions = []): UserProvidedDataSettings - { - return $this->startApiCall('GetUserProvidedDataSettings', $request, $callOptions)->wait(); - } - - /** - * Lists all access bindings on an account or property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listAccessBindingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_access_bindings.php - * - * @param ListAccessBindingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listAccessBindings(ListAccessBindingsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListAccessBindings', $request, $callOptions); - } - - /** - * Returns summaries of all accounts accessible by the caller. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listAccountSummariesAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_account_summaries.php - * - * @param ListAccountSummariesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listAccountSummaries(ListAccountSummariesRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListAccountSummaries', $request, $callOptions); - } - - /** - * Returns all accounts accessible by the caller. - * - * Note that these accounts might not currently have GA properties. - * Soft-deleted (ie: "trashed") accounts are excluded by default. - * Returns an empty list if no relevant accounts are found. - * - * The async variant is {@see AnalyticsAdminServiceClient::listAccountsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_accounts.php - * - * @param ListAccountsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listAccounts(ListAccountsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListAccounts', $request, $callOptions); - } - - /** - * Lists AdSenseLinks on a property. - * - * The async variant is {@see AnalyticsAdminServiceClient::listAdSenseLinksAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_ad_sense_links.php - * - * @param ListAdSenseLinksRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listAdSenseLinks(ListAdSenseLinksRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListAdSenseLinks', $request, $callOptions); - } - - /** - * Lists Audiences on a property. - * Audiences created before 2020 may not be supported. - * Default audiences will not show filter definitions. - * - * The async variant is {@see AnalyticsAdminServiceClient::listAudiencesAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_audiences.php - * - * @param ListAudiencesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listAudiences(ListAudiencesRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListAudiences', $request, $callOptions); - } - - /** - * Lists BigQuery Links on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listBigQueryLinksAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_big_query_links.php - * - * @param ListBigQueryLinksRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listBigQueryLinks(ListBigQueryLinksRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListBigQueryLinks', $request, $callOptions); - } - - /** - * Lists CalculatedMetrics on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listCalculatedMetricsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_calculated_metrics.php - * - * @param ListCalculatedMetricsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listCalculatedMetrics(ListCalculatedMetricsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListCalculatedMetrics', $request, $callOptions); - } - - /** - * Lists ChannelGroups on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listChannelGroupsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_channel_groups.php - * - * @param ListChannelGroupsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listChannelGroups(ListChannelGroupsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListChannelGroups', $request, $callOptions); - } - - /** - * Deprecated: Use `ListKeyEvents` instead. - * Returns a list of conversion events in the specified parent property. - * - * Returns an empty list if no conversion events are found. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listConversionEventsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_conversion_events.php - * - * @param ListConversionEventsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - * - * @deprecated This method will be removed in the next major version update. - */ - public function listConversionEvents(ListConversionEventsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListConversionEvents', $request, $callOptions); - } - - /** - * Lists CustomDimensions on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listCustomDimensionsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_custom_dimensions.php - * - * @param ListCustomDimensionsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listCustomDimensions(ListCustomDimensionsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListCustomDimensions', $request, $callOptions); - } - - /** - * Lists CustomMetrics on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listCustomMetricsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_custom_metrics.php - * - * @param ListCustomMetricsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listCustomMetrics(ListCustomMetricsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListCustomMetrics', $request, $callOptions); - } - - /** - * Lists DataStreams on a property. - * - * The async variant is {@see AnalyticsAdminServiceClient::listDataStreamsAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_data_streams.php - * - * @param ListDataStreamsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listDataStreams(ListDataStreamsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListDataStreams', $request, $callOptions); - } - - /** - * Lists DisplayVideo360AdvertiserLinkProposals on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listDisplayVideo360AdvertiserLinkProposalsAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_link_proposals.php - * - * @param ListDisplayVideo360AdvertiserLinkProposalsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listDisplayVideo360AdvertiserLinkProposals(ListDisplayVideo360AdvertiserLinkProposalsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListDisplayVideo360AdvertiserLinkProposals', $request, $callOptions); - } - - /** - * Lists all DisplayVideo360AdvertiserLinks on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listDisplayVideo360AdvertiserLinksAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_display_video360_advertiser_links.php - * - * @param ListDisplayVideo360AdvertiserLinksRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listDisplayVideo360AdvertiserLinks(ListDisplayVideo360AdvertiserLinksRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListDisplayVideo360AdvertiserLinks', $request, $callOptions); - } - - /** - * Lists EventCreateRules on a web data stream. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listEventCreateRulesAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_event_create_rules.php - * - * @param ListEventCreateRulesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listEventCreateRules(ListEventCreateRulesRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListEventCreateRules', $request, $callOptions); - } - - /** - * Lists EventEditRules on a web data stream. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listEventEditRulesAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_event_edit_rules.php - * - * @param ListEventEditRulesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listEventEditRules(ListEventEditRulesRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListEventEditRules', $request, $callOptions); - } - - /** - * Lists ExpandedDataSets on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listExpandedDataSetsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_expanded_data_sets.php - * - * @param ListExpandedDataSetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listExpandedDataSets(ListExpandedDataSetsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListExpandedDataSets', $request, $callOptions); - } - - /** - * Lists FirebaseLinks on a property. - * Properties can have at most one FirebaseLink. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listFirebaseLinksAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_firebase_links.php - * - * @param ListFirebaseLinksRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listFirebaseLinks(ListFirebaseLinksRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListFirebaseLinks', $request, $callOptions); - } - - /** - * Lists GoogleAdsLinks on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listGoogleAdsLinksAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_google_ads_links.php - * - * @param ListGoogleAdsLinksRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listGoogleAdsLinks(ListGoogleAdsLinksRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListGoogleAdsLinks', $request, $callOptions); - } - - /** - * Returns a list of Key Events in the specified parent property. - * Returns an empty list if no Key Events are found. - * - * The async variant is {@see AnalyticsAdminServiceClient::listKeyEventsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_key_events.php - * - * @param ListKeyEventsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listKeyEvents(ListKeyEventsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListKeyEvents', $request, $callOptions); - } - - /** - * Returns child MeasurementProtocolSecrets under the specified parent - * Property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listMeasurementProtocolSecretsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php - * - * @param ListMeasurementProtocolSecretsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListMeasurementProtocolSecrets', $request, $callOptions); - } - - /** - * Returns child Properties under the specified parent Account. - * - * Properties will be excluded if the caller does not have access. - * Soft-deleted (ie: "trashed") properties are excluded by default. - * Returns an empty list if no relevant properties are found. - * - * The async variant is {@see AnalyticsAdminServiceClient::listPropertiesAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_properties.php - * - * @param ListPropertiesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listProperties(ListPropertiesRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListProperties', $request, $callOptions); - } - - /** - * List all Reporting Data Annotations on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listReportingDataAnnotationsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_reporting_data_annotations.php - * - * @param ListReportingDataAnnotationsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listReportingDataAnnotations(ListReportingDataAnnotationsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListReportingDataAnnotations', $request, $callOptions); - } - - /** - * Lists roll-up property source Links on a property. - * Only roll-up properties can have source links, so this method will throw an - * error if used on other types of properties. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listRollupPropertySourceLinksAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_rollup_property_source_links.php - * - * @param ListRollupPropertySourceLinksRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listRollupPropertySourceLinks(ListRollupPropertySourceLinksRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListRollupPropertySourceLinks', $request, $callOptions); - } - - /** - * Lists SKAdNetworkConversionValueSchema on a stream. - * Properties can have at most one SKAdNetworkConversionValueSchema. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listSKAdNetworkConversionValueSchemasAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_sk_ad_network_conversion_value_schemas.php - * - * @param ListSKAdNetworkConversionValueSchemasRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listSKAdNetworkConversionValueSchemas(ListSKAdNetworkConversionValueSchemasRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListSKAdNetworkConversionValueSchemas', $request, $callOptions); - } - - /** - * Lists all SearchAds360Links on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listSearchAds360LinksAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_search_ads360_links.php - * - * @param ListSearchAds360LinksRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listSearchAds360Links(ListSearchAds360LinksRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListSearchAds360Links', $request, $callOptions); - } - - /** - * List all subproperty Event Filters on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listSubpropertyEventFiltersAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_event_filters.php - * - * @param ListSubpropertyEventFiltersRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listSubpropertyEventFilters(ListSubpropertyEventFiltersRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListSubpropertyEventFilters', $request, $callOptions); - } - - /** - * List all `SubpropertySyncConfig` resources for a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listSubpropertySyncConfigsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_sync_configs.php - * - * @param ListSubpropertySyncConfigsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listSubpropertySyncConfigs(ListSubpropertySyncConfigsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListSubpropertySyncConfigs', $request, $callOptions); - } - - /** - * Requests a ticket for creating an account. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::provisionAccountTicketAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/provision_account_ticket.php - * - * @param ProvisionAccountTicketRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ProvisionAccountTicketResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function provisionAccountTicket(ProvisionAccountTicketRequest $request, array $callOptions = []): ProvisionAccountTicketResponse - { - return $this->startApiCall('ProvisionAccountTicket', $request, $callOptions)->wait(); - } - - /** - * Create a subproperty and a subproperty event filter that applies to the - * created subproperty. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::provisionSubpropertyAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/provision_subproperty.php - * - * @param ProvisionSubpropertyRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ProvisionSubpropertyResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function provisionSubproperty(ProvisionSubpropertyRequest $request, array $callOptions = []): ProvisionSubpropertyResponse - { - return $this->startApiCall('ProvisionSubproperty', $request, $callOptions)->wait(); - } - - /** - * Changes the processing order of event edit rules on the specified stream. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::reorderEventEditRulesAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/reorder_event_edit_rules.php - * - * @param ReorderEventEditRulesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function reorderEventEditRules(ReorderEventEditRulesRequest $request, array $callOptions = []): void - { - $this->startApiCall('ReorderEventEditRules', $request, $callOptions)->wait(); - } - - /** - * Returns a customized report of data access records. The report provides - * records of each time a user reads Google Analytics reporting data. Access - * records are retained for up to 2 years. - * - * Data Access Reports can be requested for a property. Reports may be - * requested for any property, but dimensions that aren't related to quota can - * only be requested on Google Analytics 360 properties. This method is only - * available to Administrators. - * - * These data access records include GA UI Reporting, GA UI Explorations, - * GA Data API, and other products like Firebase & Admob that can retrieve - * data from Google Analytics through a linkage. These records don't include - * property configuration changes like adding a stream or changing a - * property's time zone. For configuration change history, see - * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). - * - * To give your feedback on this API, complete the [Google Analytics Access - * Reports - * feedback](https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) - * form. - * - * The async variant is {@see AnalyticsAdminServiceClient::runAccessReportAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/run_access_report.php - * - * @param RunAccessReportRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 RunAccessReportResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function runAccessReport(RunAccessReportRequest $request, array $callOptions = []): RunAccessReportResponse - { - return $this->startApiCall('RunAccessReport', $request, $callOptions)->wait(); - } - - /** - * Searches through all changes to an account or its children given the - * specified set of filters. - * - * Only returns the subset of changes supported by the API. The UI may return - * additional changes. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::searchChangeHistoryEventsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php - * - * @param SearchChangeHistoryEventsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function searchChangeHistoryEvents(SearchChangeHistoryEventsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('SearchChangeHistoryEvents', $request, $callOptions); - } - - /** - * Submits a request for user deletion for a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::submitUserDeletionAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/submit_user_deletion.php - * - * @param SubmitUserDeletionRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 SubmitUserDeletionResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function submitUserDeletion(SubmitUserDeletionRequest $request, array $callOptions = []): SubmitUserDeletionResponse - { - return $this->startApiCall('SubmitUserDeletion', $request, $callOptions)->wait(); - } - - /** - * Updates an access binding on an account or property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateAccessBindingAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_access_binding.php - * - * @param UpdateAccessBindingRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 AccessBinding - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateAccessBinding(UpdateAccessBindingRequest $request, array $callOptions = []): AccessBinding - { - return $this->startApiCall('UpdateAccessBinding', $request, $callOptions)->wait(); - } - - /** - * Updates an account. - * - * The async variant is {@see AnalyticsAdminServiceClient::updateAccountAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_account.php - * - * @param UpdateAccountRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Account - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateAccount(UpdateAccountRequest $request, array $callOptions = []): Account - { - return $this->startApiCall('UpdateAccount', $request, $callOptions)->wait(); - } - - /** - * Updates attribution settings on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateAttributionSettingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_attribution_settings.php - * - * @param UpdateAttributionSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 AttributionSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateAttributionSettings(UpdateAttributionSettingsRequest $request, array $callOptions = []): AttributionSettings - { - return $this->startApiCall('UpdateAttributionSettings', $request, $callOptions)->wait(); - } - - /** - * Updates an Audience on a property. - * - * The async variant is {@see AnalyticsAdminServiceClient::updateAudienceAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_audience.php - * - * @param UpdateAudienceRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Audience - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateAudience(UpdateAudienceRequest $request, array $callOptions = []): Audience - { - return $this->startApiCall('UpdateAudience', $request, $callOptions)->wait(); - } - - /** - * Updates a BigQueryLink. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateBigQueryLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_big_query_link.php - * - * @param UpdateBigQueryLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 BigQueryLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateBigQueryLink(UpdateBigQueryLinkRequest $request, array $callOptions = []): BigQueryLink - { - return $this->startApiCall('UpdateBigQueryLink', $request, $callOptions)->wait(); - } - - /** - * Updates a CalculatedMetric on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateCalculatedMetricAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_calculated_metric.php - * - * @param UpdateCalculatedMetricRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CalculatedMetric - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateCalculatedMetric(UpdateCalculatedMetricRequest $request, array $callOptions = []): CalculatedMetric - { - return $this->startApiCall('UpdateCalculatedMetric', $request, $callOptions)->wait(); - } - - /** - * Updates a ChannelGroup. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateChannelGroupAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_channel_group.php - * - * @param UpdateChannelGroupRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ChannelGroup - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateChannelGroup(UpdateChannelGroupRequest $request, array $callOptions = []): ChannelGroup - { - return $this->startApiCall('UpdateChannelGroup', $request, $callOptions)->wait(); - } - - /** - * Deprecated: Use `UpdateKeyEvent` instead. - * Updates a conversion event with the specified attributes. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateConversionEventAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_conversion_event.php - * - * @param UpdateConversionEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ConversionEvent - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - * - * @deprecated This method will be removed in the next major version update. - */ - public function updateConversionEvent(UpdateConversionEventRequest $request, array $callOptions = []): ConversionEvent - { - return $this->startApiCall('UpdateConversionEvent', $request, $callOptions)->wait(); - } - - /** - * Updates a CustomDimension on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateCustomDimensionAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_custom_dimension.php - * - * @param UpdateCustomDimensionRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CustomDimension - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateCustomDimension(UpdateCustomDimensionRequest $request, array $callOptions = []): CustomDimension - { - return $this->startApiCall('UpdateCustomDimension', $request, $callOptions)->wait(); - } - - /** - * Updates a CustomMetric on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateCustomMetricAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_custom_metric.php - * - * @param UpdateCustomMetricRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CustomMetric - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateCustomMetric(UpdateCustomMetricRequest $request, array $callOptions = []): CustomMetric - { - return $this->startApiCall('UpdateCustomMetric', $request, $callOptions)->wait(); - } - - /** - * Updates a DataRedactionSettings on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateDataRedactionSettingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_data_redaction_settings.php - * - * @param UpdateDataRedactionSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DataRedactionSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateDataRedactionSettings(UpdateDataRedactionSettingsRequest $request, array $callOptions = []): DataRedactionSettings - { - return $this->startApiCall('UpdateDataRedactionSettings', $request, $callOptions)->wait(); - } - - /** - * Updates the singleton data retention settings for this property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateDataRetentionSettingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_data_retention_settings.php - * - * @param UpdateDataRetentionSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DataRetentionSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateDataRetentionSettings(UpdateDataRetentionSettingsRequest $request, array $callOptions = []): DataRetentionSettings - { - return $this->startApiCall('UpdateDataRetentionSettings', $request, $callOptions)->wait(); - } - - /** - * Updates a DataStream on a property. - * - * The async variant is {@see AnalyticsAdminServiceClient::updateDataStreamAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_data_stream.php - * - * @param UpdateDataStreamRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DataStream - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateDataStream(UpdateDataStreamRequest $request, array $callOptions = []): DataStream - { - return $this->startApiCall('UpdateDataStream', $request, $callOptions)->wait(); - } - - /** - * Updates a DisplayVideo360AdvertiserLink on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateDisplayVideo360AdvertiserLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_display_video360_advertiser_link.php - * - * @param UpdateDisplayVideo360AdvertiserLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DisplayVideo360AdvertiserLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateDisplayVideo360AdvertiserLink(UpdateDisplayVideo360AdvertiserLinkRequest $request, array $callOptions = []): DisplayVideo360AdvertiserLink - { - return $this->startApiCall('UpdateDisplayVideo360AdvertiserLink', $request, $callOptions)->wait(); - } - - /** - * Updates the enhanced measurement settings for this data stream. - * Note that the stream must enable enhanced measurement for these settings to - * take effect. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateEnhancedMeasurementSettingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_enhanced_measurement_settings.php - * - * @param UpdateEnhancedMeasurementSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 EnhancedMeasurementSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateEnhancedMeasurementSettings(UpdateEnhancedMeasurementSettingsRequest $request, array $callOptions = []): EnhancedMeasurementSettings - { - return $this->startApiCall('UpdateEnhancedMeasurementSettings', $request, $callOptions)->wait(); - } - - /** - * Updates an EventCreateRule. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateEventCreateRuleAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_event_create_rule.php - * - * @param UpdateEventCreateRuleRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 EventCreateRule - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateEventCreateRule(UpdateEventCreateRuleRequest $request, array $callOptions = []): EventCreateRule - { - return $this->startApiCall('UpdateEventCreateRule', $request, $callOptions)->wait(); - } - - /** - * Updates an EventEditRule. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateEventEditRuleAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_event_edit_rule.php - * - * @param UpdateEventEditRuleRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 EventEditRule - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateEventEditRule(UpdateEventEditRuleRequest $request, array $callOptions = []): EventEditRule - { - return $this->startApiCall('UpdateEventEditRule', $request, $callOptions)->wait(); - } - - /** - * Updates a ExpandedDataSet on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateExpandedDataSetAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_expanded_data_set.php - * - * @param UpdateExpandedDataSetRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ExpandedDataSet - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateExpandedDataSet(UpdateExpandedDataSetRequest $request, array $callOptions = []): ExpandedDataSet - { - return $this->startApiCall('UpdateExpandedDataSet', $request, $callOptions)->wait(); - } - - /** - * Updates a GoogleAdsLink on a property - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateGoogleAdsLinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_google_ads_link.php - * - * @param UpdateGoogleAdsLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 GoogleAdsLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateGoogleAdsLink(UpdateGoogleAdsLinkRequest $request, array $callOptions = []): GoogleAdsLink - { - return $this->startApiCall('UpdateGoogleAdsLink', $request, $callOptions)->wait(); - } - - /** - * Updates Google Signals settings for a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateGoogleSignalsSettingsAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_google_signals_settings.php - * - * @param UpdateGoogleSignalsSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 GoogleSignalsSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateGoogleSignalsSettings(UpdateGoogleSignalsSettingsRequest $request, array $callOptions = []): GoogleSignalsSettings - { - return $this->startApiCall('UpdateGoogleSignalsSettings', $request, $callOptions)->wait(); - } - - /** - * Updates a Key Event. - * - * The async variant is {@see AnalyticsAdminServiceClient::updateKeyEventAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_key_event.php - * - * @param UpdateKeyEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 KeyEvent - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateKeyEvent(UpdateKeyEventRequest $request, array $callOptions = []): KeyEvent - { - return $this->startApiCall('UpdateKeyEvent', $request, $callOptions)->wait(); - } - - /** - * Updates a measurement protocol secret. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateMeasurementProtocolSecretAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php - * - * @param UpdateMeasurementProtocolSecretRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 MeasurementProtocolSecret - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest $request, array $callOptions = []): MeasurementProtocolSecret - { - return $this->startApiCall('UpdateMeasurementProtocolSecret', $request, $callOptions)->wait(); - } - - /** - * Updates a property. - * - * The async variant is {@see AnalyticsAdminServiceClient::updatePropertyAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_property.php - * - * @param UpdatePropertyRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Property - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateProperty(UpdatePropertyRequest $request, array $callOptions = []): Property - { - return $this->startApiCall('UpdateProperty', $request, $callOptions)->wait(); - } - - /** - * Updates a Reporting Data Annotation. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateReportingDataAnnotationAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_reporting_data_annotation.php - * - * @param UpdateReportingDataAnnotationRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ReportingDataAnnotation - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateReportingDataAnnotation(UpdateReportingDataAnnotationRequest $request, array $callOptions = []): ReportingDataAnnotation - { - return $this->startApiCall('UpdateReportingDataAnnotation', $request, $callOptions)->wait(); - } - - /** - * Updates a SKAdNetworkConversionValueSchema. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateSKAdNetworkConversionValueSchemaAsync()} - * . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_sk_ad_network_conversion_value_schema.php - * - * @param UpdateSKAdNetworkConversionValueSchemaRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 SKAdNetworkConversionValueSchema - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateSKAdNetworkConversionValueSchema(UpdateSKAdNetworkConversionValueSchemaRequest $request, array $callOptions = []): SKAdNetworkConversionValueSchema - { - return $this->startApiCall('UpdateSKAdNetworkConversionValueSchema', $request, $callOptions)->wait(); - } - - /** - * Updates a SearchAds360Link on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateSearchAds360LinkAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_search_ads360_link.php - * - * @param UpdateSearchAds360LinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 SearchAds360Link - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateSearchAds360Link(UpdateSearchAds360LinkRequest $request, array $callOptions = []): SearchAds360Link - { - return $this->startApiCall('UpdateSearchAds360Link', $request, $callOptions)->wait(); - } - - /** - * Updates a subproperty Event Filter. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateSubpropertyEventFilterAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_event_filter.php - * - * @param UpdateSubpropertyEventFilterRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 SubpropertyEventFilter - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateSubpropertyEventFilter(UpdateSubpropertyEventFilterRequest $request, array $callOptions = []): SubpropertyEventFilter - { - return $this->startApiCall('UpdateSubpropertyEventFilter', $request, $callOptions)->wait(); - } - - /** - * Updates a `SubpropertySyncConfig`. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateSubpropertySyncConfigAsync()} . - * - * @example samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_sync_config.php - * - * @param UpdateSubpropertySyncConfigRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 SubpropertySyncConfig - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateSubpropertySyncConfig(UpdateSubpropertySyncConfigRequest $request, array $callOptions = []): SubpropertySyncConfig - { - return $this->startApiCall('UpdateSubpropertySyncConfig', $request, $callOptions)->wait(); - } -} diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/gapic_metadata.json b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/gapic_metadata.json deleted file mode 100644 index 44c634c25141..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/gapic_metadata.json +++ /dev/null @@ -1,793 +0,0 @@ -{ - "schema": "1.0", - "comment": "This file maps proto services\/RPCs to the corresponding library clients\/methods", - "language": "php", - "protoPackage": "google.analytics.admin.v1alpha", - "libraryPackage": "Google\\Analytics\\Admin\\V1alpha", - "services": { - "AnalyticsAdminService": { - "clients": { - "grpc": { - "libraryClient": "AnalyticsAdminServiceGapicClient", - "rpcs": { - "AcknowledgeUserDataCollection": { - "methods": [ - "acknowledgeUserDataCollection" - ] - }, - "ApproveDisplayVideo360AdvertiserLinkProposal": { - "methods": [ - "approveDisplayVideo360AdvertiserLinkProposal" - ] - }, - "ArchiveAudience": { - "methods": [ - "archiveAudience" - ] - }, - "ArchiveCustomDimension": { - "methods": [ - "archiveCustomDimension" - ] - }, - "ArchiveCustomMetric": { - "methods": [ - "archiveCustomMetric" - ] - }, - "BatchCreateAccessBindings": { - "methods": [ - "batchCreateAccessBindings" - ] - }, - "BatchDeleteAccessBindings": { - "methods": [ - "batchDeleteAccessBindings" - ] - }, - "BatchGetAccessBindings": { - "methods": [ - "batchGetAccessBindings" - ] - }, - "BatchUpdateAccessBindings": { - "methods": [ - "batchUpdateAccessBindings" - ] - }, - "CancelDisplayVideo360AdvertiserLinkProposal": { - "methods": [ - "cancelDisplayVideo360AdvertiserLinkProposal" - ] - }, - "CreateAccessBinding": { - "methods": [ - "createAccessBinding" - ] - }, - "CreateAdSenseLink": { - "methods": [ - "createAdSenseLink" - ] - }, - "CreateAudience": { - "methods": [ - "createAudience" - ] - }, - "CreateBigQueryLink": { - "methods": [ - "createBigQueryLink" - ] - }, - "CreateCalculatedMetric": { - "methods": [ - "createCalculatedMetric" - ] - }, - "CreateChannelGroup": { - "methods": [ - "createChannelGroup" - ] - }, - "CreateConversionEvent": { - "methods": [ - "createConversionEvent" - ] - }, - "CreateCustomDimension": { - "methods": [ - "createCustomDimension" - ] - }, - "CreateCustomMetric": { - "methods": [ - "createCustomMetric" - ] - }, - "CreateDataStream": { - "methods": [ - "createDataStream" - ] - }, - "CreateDisplayVideo360AdvertiserLink": { - "methods": [ - "createDisplayVideo360AdvertiserLink" - ] - }, - "CreateDisplayVideo360AdvertiserLinkProposal": { - "methods": [ - "createDisplayVideo360AdvertiserLinkProposal" - ] - }, - "CreateEventCreateRule": { - "methods": [ - "createEventCreateRule" - ] - }, - "CreateEventEditRule": { - "methods": [ - "createEventEditRule" - ] - }, - "CreateExpandedDataSet": { - "methods": [ - "createExpandedDataSet" - ] - }, - "CreateFirebaseLink": { - "methods": [ - "createFirebaseLink" - ] - }, - "CreateGoogleAdsLink": { - "methods": [ - "createGoogleAdsLink" - ] - }, - "CreateKeyEvent": { - "methods": [ - "createKeyEvent" - ] - }, - "CreateMeasurementProtocolSecret": { - "methods": [ - "createMeasurementProtocolSecret" - ] - }, - "CreateProperty": { - "methods": [ - "createProperty" - ] - }, - "CreateReportingDataAnnotation": { - "methods": [ - "createReportingDataAnnotation" - ] - }, - "CreateRollupProperty": { - "methods": [ - "createRollupProperty" - ] - }, - "CreateRollupPropertySourceLink": { - "methods": [ - "createRollupPropertySourceLink" - ] - }, - "CreateSKAdNetworkConversionValueSchema": { - "methods": [ - "createSKAdNetworkConversionValueSchema" - ] - }, - "CreateSearchAds360Link": { - "methods": [ - "createSearchAds360Link" - ] - }, - "CreateSubpropertyEventFilter": { - "methods": [ - "createSubpropertyEventFilter" - ] - }, - "DeleteAccessBinding": { - "methods": [ - "deleteAccessBinding" - ] - }, - "DeleteAccount": { - "methods": [ - "deleteAccount" - ] - }, - "DeleteAdSenseLink": { - "methods": [ - "deleteAdSenseLink" - ] - }, - "DeleteBigQueryLink": { - "methods": [ - "deleteBigQueryLink" - ] - }, - "DeleteCalculatedMetric": { - "methods": [ - "deleteCalculatedMetric" - ] - }, - "DeleteChannelGroup": { - "methods": [ - "deleteChannelGroup" - ] - }, - "DeleteConversionEvent": { - "methods": [ - "deleteConversionEvent" - ] - }, - "DeleteDataStream": { - "methods": [ - "deleteDataStream" - ] - }, - "DeleteDisplayVideo360AdvertiserLink": { - "methods": [ - "deleteDisplayVideo360AdvertiserLink" - ] - }, - "DeleteDisplayVideo360AdvertiserLinkProposal": { - "methods": [ - "deleteDisplayVideo360AdvertiserLinkProposal" - ] - }, - "DeleteEventCreateRule": { - "methods": [ - "deleteEventCreateRule" - ] - }, - "DeleteEventEditRule": { - "methods": [ - "deleteEventEditRule" - ] - }, - "DeleteExpandedDataSet": { - "methods": [ - "deleteExpandedDataSet" - ] - }, - "DeleteFirebaseLink": { - "methods": [ - "deleteFirebaseLink" - ] - }, - "DeleteGoogleAdsLink": { - "methods": [ - "deleteGoogleAdsLink" - ] - }, - "DeleteKeyEvent": { - "methods": [ - "deleteKeyEvent" - ] - }, - "DeleteMeasurementProtocolSecret": { - "methods": [ - "deleteMeasurementProtocolSecret" - ] - }, - "DeleteProperty": { - "methods": [ - "deleteProperty" - ] - }, - "DeleteReportingDataAnnotation": { - "methods": [ - "deleteReportingDataAnnotation" - ] - }, - "DeleteRollupPropertySourceLink": { - "methods": [ - "deleteRollupPropertySourceLink" - ] - }, - "DeleteSKAdNetworkConversionValueSchema": { - "methods": [ - "deleteSKAdNetworkConversionValueSchema" - ] - }, - "DeleteSearchAds360Link": { - "methods": [ - "deleteSearchAds360Link" - ] - }, - "DeleteSubpropertyEventFilter": { - "methods": [ - "deleteSubpropertyEventFilter" - ] - }, - "GetAccessBinding": { - "methods": [ - "getAccessBinding" - ] - }, - "GetAccount": { - "methods": [ - "getAccount" - ] - }, - "GetAdSenseLink": { - "methods": [ - "getAdSenseLink" - ] - }, - "GetAttributionSettings": { - "methods": [ - "getAttributionSettings" - ] - }, - "GetAudience": { - "methods": [ - "getAudience" - ] - }, - "GetBigQueryLink": { - "methods": [ - "getBigQueryLink" - ] - }, - "GetCalculatedMetric": { - "methods": [ - "getCalculatedMetric" - ] - }, - "GetChannelGroup": { - "methods": [ - "getChannelGroup" - ] - }, - "GetConversionEvent": { - "methods": [ - "getConversionEvent" - ] - }, - "GetCustomDimension": { - "methods": [ - "getCustomDimension" - ] - }, - "GetCustomMetric": { - "methods": [ - "getCustomMetric" - ] - }, - "GetDataRedactionSettings": { - "methods": [ - "getDataRedactionSettings" - ] - }, - "GetDataRetentionSettings": { - "methods": [ - "getDataRetentionSettings" - ] - }, - "GetDataSharingSettings": { - "methods": [ - "getDataSharingSettings" - ] - }, - "GetDataStream": { - "methods": [ - "getDataStream" - ] - }, - "GetDisplayVideo360AdvertiserLink": { - "methods": [ - "getDisplayVideo360AdvertiserLink" - ] - }, - "GetDisplayVideo360AdvertiserLinkProposal": { - "methods": [ - "getDisplayVideo360AdvertiserLinkProposal" - ] - }, - "GetEnhancedMeasurementSettings": { - "methods": [ - "getEnhancedMeasurementSettings" - ] - }, - "GetEventCreateRule": { - "methods": [ - "getEventCreateRule" - ] - }, - "GetEventEditRule": { - "methods": [ - "getEventEditRule" - ] - }, - "GetExpandedDataSet": { - "methods": [ - "getExpandedDataSet" - ] - }, - "GetGlobalSiteTag": { - "methods": [ - "getGlobalSiteTag" - ] - }, - "GetGoogleSignalsSettings": { - "methods": [ - "getGoogleSignalsSettings" - ] - }, - "GetKeyEvent": { - "methods": [ - "getKeyEvent" - ] - }, - "GetMeasurementProtocolSecret": { - "methods": [ - "getMeasurementProtocolSecret" - ] - }, - "GetProperty": { - "methods": [ - "getProperty" - ] - }, - "GetReportingDataAnnotation": { - "methods": [ - "getReportingDataAnnotation" - ] - }, - "GetReportingIdentitySettings": { - "methods": [ - "getReportingIdentitySettings" - ] - }, - "GetRollupPropertySourceLink": { - "methods": [ - "getRollupPropertySourceLink" - ] - }, - "GetSKAdNetworkConversionValueSchema": { - "methods": [ - "getSKAdNetworkConversionValueSchema" - ] - }, - "GetSearchAds360Link": { - "methods": [ - "getSearchAds360Link" - ] - }, - "GetSubpropertyEventFilter": { - "methods": [ - "getSubpropertyEventFilter" - ] - }, - "GetSubpropertySyncConfig": { - "methods": [ - "getSubpropertySyncConfig" - ] - }, - "GetUserProvidedDataSettings": { - "methods": [ - "getUserProvidedDataSettings" - ] - }, - "ListAccessBindings": { - "methods": [ - "listAccessBindings" - ] - }, - "ListAccountSummaries": { - "methods": [ - "listAccountSummaries" - ] - }, - "ListAccounts": { - "methods": [ - "listAccounts" - ] - }, - "ListAdSenseLinks": { - "methods": [ - "listAdSenseLinks" - ] - }, - "ListAudiences": { - "methods": [ - "listAudiences" - ] - }, - "ListBigQueryLinks": { - "methods": [ - "listBigQueryLinks" - ] - }, - "ListCalculatedMetrics": { - "methods": [ - "listCalculatedMetrics" - ] - }, - "ListChannelGroups": { - "methods": [ - "listChannelGroups" - ] - }, - "ListConversionEvents": { - "methods": [ - "listConversionEvents" - ] - }, - "ListCustomDimensions": { - "methods": [ - "listCustomDimensions" - ] - }, - "ListCustomMetrics": { - "methods": [ - "listCustomMetrics" - ] - }, - "ListDataStreams": { - "methods": [ - "listDataStreams" - ] - }, - "ListDisplayVideo360AdvertiserLinkProposals": { - "methods": [ - "listDisplayVideo360AdvertiserLinkProposals" - ] - }, - "ListDisplayVideo360AdvertiserLinks": { - "methods": [ - "listDisplayVideo360AdvertiserLinks" - ] - }, - "ListEventCreateRules": { - "methods": [ - "listEventCreateRules" - ] - }, - "ListEventEditRules": { - "methods": [ - "listEventEditRules" - ] - }, - "ListExpandedDataSets": { - "methods": [ - "listExpandedDataSets" - ] - }, - "ListFirebaseLinks": { - "methods": [ - "listFirebaseLinks" - ] - }, - "ListGoogleAdsLinks": { - "methods": [ - "listGoogleAdsLinks" - ] - }, - "ListKeyEvents": { - "methods": [ - "listKeyEvents" - ] - }, - "ListMeasurementProtocolSecrets": { - "methods": [ - "listMeasurementProtocolSecrets" - ] - }, - "ListProperties": { - "methods": [ - "listProperties" - ] - }, - "ListReportingDataAnnotations": { - "methods": [ - "listReportingDataAnnotations" - ] - }, - "ListRollupPropertySourceLinks": { - "methods": [ - "listRollupPropertySourceLinks" - ] - }, - "ListSKAdNetworkConversionValueSchemas": { - "methods": [ - "listSKAdNetworkConversionValueSchemas" - ] - }, - "ListSearchAds360Links": { - "methods": [ - "listSearchAds360Links" - ] - }, - "ListSubpropertyEventFilters": { - "methods": [ - "listSubpropertyEventFilters" - ] - }, - "ListSubpropertySyncConfigs": { - "methods": [ - "listSubpropertySyncConfigs" - ] - }, - "ProvisionAccountTicket": { - "methods": [ - "provisionAccountTicket" - ] - }, - "ProvisionSubproperty": { - "methods": [ - "provisionSubproperty" - ] - }, - "ReorderEventEditRules": { - "methods": [ - "reorderEventEditRules" - ] - }, - "RunAccessReport": { - "methods": [ - "runAccessReport" - ] - }, - "SearchChangeHistoryEvents": { - "methods": [ - "searchChangeHistoryEvents" - ] - }, - "SubmitUserDeletion": { - "methods": [ - "submitUserDeletion" - ] - }, - "UpdateAccessBinding": { - "methods": [ - "updateAccessBinding" - ] - }, - "UpdateAccount": { - "methods": [ - "updateAccount" - ] - }, - "UpdateAttributionSettings": { - "methods": [ - "updateAttributionSettings" - ] - }, - "UpdateAudience": { - "methods": [ - "updateAudience" - ] - }, - "UpdateBigQueryLink": { - "methods": [ - "updateBigQueryLink" - ] - }, - "UpdateCalculatedMetric": { - "methods": [ - "updateCalculatedMetric" - ] - }, - "UpdateChannelGroup": { - "methods": [ - "updateChannelGroup" - ] - }, - "UpdateConversionEvent": { - "methods": [ - "updateConversionEvent" - ] - }, - "UpdateCustomDimension": { - "methods": [ - "updateCustomDimension" - ] - }, - "UpdateCustomMetric": { - "methods": [ - "updateCustomMetric" - ] - }, - "UpdateDataRedactionSettings": { - "methods": [ - "updateDataRedactionSettings" - ] - }, - "UpdateDataRetentionSettings": { - "methods": [ - "updateDataRetentionSettings" - ] - }, - "UpdateDataStream": { - "methods": [ - "updateDataStream" - ] - }, - "UpdateDisplayVideo360AdvertiserLink": { - "methods": [ - "updateDisplayVideo360AdvertiserLink" - ] - }, - "UpdateEnhancedMeasurementSettings": { - "methods": [ - "updateEnhancedMeasurementSettings" - ] - }, - "UpdateEventCreateRule": { - "methods": [ - "updateEventCreateRule" - ] - }, - "UpdateEventEditRule": { - "methods": [ - "updateEventEditRule" - ] - }, - "UpdateExpandedDataSet": { - "methods": [ - "updateExpandedDataSet" - ] - }, - "UpdateGoogleAdsLink": { - "methods": [ - "updateGoogleAdsLink" - ] - }, - "UpdateGoogleSignalsSettings": { - "methods": [ - "updateGoogleSignalsSettings" - ] - }, - "UpdateKeyEvent": { - "methods": [ - "updateKeyEvent" - ] - }, - "UpdateMeasurementProtocolSecret": { - "methods": [ - "updateMeasurementProtocolSecret" - ] - }, - "UpdateProperty": { - "methods": [ - "updateProperty" - ] - }, - "UpdateReportingDataAnnotation": { - "methods": [ - "updateReportingDataAnnotation" - ] - }, - "UpdateSKAdNetworkConversionValueSchema": { - "methods": [ - "updateSKAdNetworkConversionValueSchema" - ] - }, - "UpdateSearchAds360Link": { - "methods": [ - "updateSearchAds360Link" - ] - }, - "UpdateSubpropertyEventFilter": { - "methods": [ - "updateSubpropertyEventFilter" - ] - }, - "UpdateSubpropertySyncConfig": { - "methods": [ - "updateSubpropertySyncConfig" - ] - } - } - } - } - } - } -} \ No newline at end of file diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_client_config.json b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_client_config.json deleted file mode 100644 index 59467eed40b8..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_client_config.json +++ /dev/null @@ -1,820 +0,0 @@ -{ - "interfaces": { - "google.analytics.admin.v1alpha.AnalyticsAdminService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "UNKNOWN" - ], - "no_retry_1_codes": [] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 1000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 60000, - "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": { - "AcknowledgeUserDataCollection": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ApproveDisplayVideo360AdvertiserLinkProposal": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ArchiveAudience": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ArchiveCustomDimension": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ArchiveCustomMetric": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "BatchCreateAccessBindings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "BatchDeleteAccessBindings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "BatchGetAccessBindings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "BatchUpdateAccessBindings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CancelDisplayVideo360AdvertiserLinkProposal": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateAccessBinding": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateAdSenseLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateAudience": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateBigQueryLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateCalculatedMetric": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateChannelGroup": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateConversionEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateCustomDimension": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateCustomMetric": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateDataStream": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateDisplayVideo360AdvertiserLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateDisplayVideo360AdvertiserLinkProposal": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateEventCreateRule": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateEventEditRule": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateExpandedDataSet": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateFirebaseLink": { - "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" - }, - "CreateGoogleAdsLink": { - "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" - }, - "CreateKeyEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateMeasurementProtocolSecret": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "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" - }, - "CreateReportingDataAnnotation": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateRollupProperty": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateRollupPropertySourceLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateSKAdNetworkConversionValueSchema": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateSearchAds360Link": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateSubpropertyEventFilter": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteAccessBinding": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteAccount": { - "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" - }, - "DeleteAdSenseLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteBigQueryLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteCalculatedMetric": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteChannelGroup": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteConversionEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteDataStream": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteDisplayVideo360AdvertiserLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteDisplayVideo360AdvertiserLinkProposal": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteEventCreateRule": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteEventEditRule": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteExpandedDataSet": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteFirebaseLink": { - "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" - }, - "DeleteGoogleAdsLink": { - "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" - }, - "DeleteKeyEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteMeasurementProtocolSecret": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "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" - }, - "DeleteReportingDataAnnotation": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteRollupPropertySourceLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteSKAdNetworkConversionValueSchema": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteSearchAds360Link": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteSubpropertyEventFilter": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetAccessBinding": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetAccount": { - "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" - }, - "GetAdSenseLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetAttributionSettings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetAudience": { - "timeout_millis": 60000, - "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" - }, - "GetCalculatedMetric": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetChannelGroup": { - "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", - "retry_params_name": "retry_policy_1_params" - }, - "GetCustomDimension": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetCustomMetric": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetDataRedactionSettings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetDataRetentionSettings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetDataSharingSettings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetDataStream": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetDisplayVideo360AdvertiserLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetDisplayVideo360AdvertiserLinkProposal": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetEnhancedMeasurementSettings": { - "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" - }, - "GetEventCreateRule": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetEventEditRule": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetExpandedDataSet": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetGlobalSiteTag": { - "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" - }, - "GetGoogleSignalsSettings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetKeyEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetMeasurementProtocolSecret": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "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" - }, - "GetReportingDataAnnotation": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetReportingIdentitySettings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetRollupPropertySourceLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetSKAdNetworkConversionValueSchema": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetSearchAds360Link": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetSubpropertyEventFilter": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetSubpropertySyncConfig": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetUserProvidedDataSettings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListAccessBindings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListAccountSummaries": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "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" - }, - "ListAdSenseLinks": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListAudiences": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListBigQueryLinks": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListCalculatedMetrics": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListChannelGroups": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListConversionEvents": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListCustomDimensions": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListCustomMetrics": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListDataStreams": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListDisplayVideo360AdvertiserLinkProposals": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListDisplayVideo360AdvertiserLinks": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListEventCreateRules": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListEventEditRules": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListExpandedDataSets": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListFirebaseLinks": { - "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" - }, - "ListGoogleAdsLinks": { - "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" - }, - "ListKeyEvents": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListMeasurementProtocolSecrets": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "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" - }, - "ListReportingDataAnnotations": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListRollupPropertySourceLinks": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListSKAdNetworkConversionValueSchemas": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListSearchAds360Links": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListSubpropertyEventFilters": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListSubpropertySyncConfigs": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ProvisionAccountTicket": { - "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" - }, - "ProvisionSubproperty": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ReorderEventEditRules": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "RunAccessReport": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "SearchChangeHistoryEvents": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "SubmitUserDeletion": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateAccessBinding": { - "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", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateAudience": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateBigQueryLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateCalculatedMetric": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateChannelGroup": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateConversionEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateCustomDimension": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateCustomMetric": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateDataRedactionSettings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateDataRetentionSettings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateDataStream": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateDisplayVideo360AdvertiserLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateEnhancedMeasurementSettings": { - "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" - }, - "UpdateEventCreateRule": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateEventEditRule": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateExpandedDataSet": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateGoogleAdsLink": { - "timeout_millis": 60000, - "retry_codes_name": "no_retry_1_codes", - "retry_params_name": "no_retry_1_params" - }, - "UpdateGoogleSignalsSettings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateKeyEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateMeasurementProtocolSecret": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "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" - }, - "UpdateReportingDataAnnotation": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateSKAdNetworkConversionValueSchema": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateSearchAds360Link": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateSubpropertyEventFilter": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateSubpropertySyncConfig": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_descriptor_config.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_descriptor_config.php deleted file mode 100644 index 4eaf04ed527b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_descriptor_config.php +++ /dev/null @@ -1,2133 +0,0 @@ - [ - 'google.analytics.admin.v1alpha.AnalyticsAdminService' => [ - 'AcknowledgeUserDataCollection' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\AcknowledgeUserDataCollectionResponse', - 'headerParams' => [ - [ - 'keyName' => 'property', - 'fieldAccessors' => [ - 'getProperty', - ], - ], - ], - ], - 'ApproveDisplayVideo360AdvertiserLinkProposal' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ApproveDisplayVideo360AdvertiserLinkProposalResponse', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'ArchiveAudience' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'ArchiveCustomDimension' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'ArchiveCustomMetric' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'BatchCreateAccessBindings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\BatchCreateAccessBindingsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'BatchDeleteAccessBindings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'BatchGetAccessBindings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\BatchGetAccessBindingsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'BatchUpdateAccessBindings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\BatchUpdateAccessBindingsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CancelDisplayVideo360AdvertiserLinkProposal' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'CreateAccessBinding' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\AccessBinding', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateAdSenseLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\AdSenseLink', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateAudience' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\Audience', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateBigQueryLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\BigQueryLink', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateCalculatedMetric' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\CalculatedMetric', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateChannelGroup' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ChannelGroup', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateConversionEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ConversionEvent', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateCustomDimension' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\CustomDimension', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateCustomMetric' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\CustomMetric', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateDataStream' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\DataStream', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateDisplayVideo360AdvertiserLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateDisplayVideo360AdvertiserLinkProposal' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateEventCreateRule' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\EventCreateRule', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateEventEditRule' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\EventEditRule', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateExpandedDataSet' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ExpandedDataSet', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateFirebaseLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\FirebaseLink', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateGoogleAdsLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\GoogleAdsLink', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateKeyEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\KeyEvent', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateMeasurementProtocolSecret' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateProperty' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\Property', - ], - 'CreateReportingDataAnnotation' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ReportingDataAnnotation', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateRollupProperty' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\CreateRollupPropertyResponse', - ], - 'CreateRollupPropertySourceLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\RollupPropertySourceLink', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateSKAdNetworkConversionValueSchema' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateSearchAds360Link' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\SearchAds360Link', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateSubpropertyEventFilter' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\SubpropertyEventFilter', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'DeleteAccessBinding' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteAccount' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteAdSenseLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteBigQueryLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteCalculatedMetric' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteChannelGroup' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteConversionEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteDataStream' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteDisplayVideo360AdvertiserLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteDisplayVideo360AdvertiserLinkProposal' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteEventCreateRule' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteEventEditRule' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteExpandedDataSet' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteFirebaseLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteGoogleAdsLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteKeyEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteMeasurementProtocolSecret' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteProperty' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\Property', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteReportingDataAnnotation' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteRollupPropertySourceLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteSKAdNetworkConversionValueSchema' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteSearchAds360Link' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteSubpropertyEventFilter' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetAccessBinding' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\AccessBinding', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetAccount' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\Account', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetAdSenseLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\AdSenseLink', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetAttributionSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\AttributionSettings', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetAudience' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\Audience', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetBigQueryLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\BigQueryLink', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetCalculatedMetric' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\CalculatedMetric', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetChannelGroup' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ChannelGroup', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetConversionEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ConversionEvent', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetCustomDimension' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\CustomDimension', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetCustomMetric' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\CustomMetric', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetDataRedactionSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\DataRedactionSettings', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetDataRetentionSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\DataRetentionSettings', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetDataSharingSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\DataSharingSettings', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetDataStream' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\DataStream', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetDisplayVideo360AdvertiserLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetDisplayVideo360AdvertiserLinkProposal' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetEnhancedMeasurementSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetEventCreateRule' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\EventCreateRule', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetEventEditRule' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\EventEditRule', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetExpandedDataSet' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ExpandedDataSet', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetGlobalSiteTag' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\GlobalSiteTag', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetGoogleSignalsSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\GoogleSignalsSettings', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetKeyEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\KeyEvent', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetMeasurementProtocolSecret' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetProperty' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\Property', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetReportingDataAnnotation' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ReportingDataAnnotation', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetReportingIdentitySettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ReportingIdentitySettings', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetRollupPropertySourceLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\RollupPropertySourceLink', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetSKAdNetworkConversionValueSchema' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetSearchAds360Link' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\SearchAds360Link', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetSubpropertyEventFilter' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\SubpropertyEventFilter', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetSubpropertySyncConfig' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\SubpropertySyncConfig', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetUserProvidedDataSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\UserProvidedDataSettings', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'ListAccessBindings' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getAccessBindings', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListAccessBindingsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListAccountSummaries' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getAccountSummaries', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListAccountSummariesResponse', - ], - 'ListAccounts' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getAccounts', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListAccountsResponse', - ], - 'ListAdSenseLinks' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getAdsenseLinks', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListAdSenseLinksResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListAudiences' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getAudiences', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListAudiencesResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListBigQueryLinks' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getBigqueryLinks', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListBigQueryLinksResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListCalculatedMetrics' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getCalculatedMetrics', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListCalculatedMetricsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListChannelGroups' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getChannelGroups', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListChannelGroupsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListConversionEvents' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getConversionEvents', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListConversionEventsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListCustomDimensions' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getCustomDimensions', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListCustomDimensionsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListCustomMetrics' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getCustomMetrics', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListCustomMetricsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListDataStreams' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getDataStreams', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListDataStreamsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListDisplayVideo360AdvertiserLinkProposals' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getDisplayVideo360AdvertiserLinkProposals', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinkProposalsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListDisplayVideo360AdvertiserLinks' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getDisplayVideo360AdvertiserLinks', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListDisplayVideo360AdvertiserLinksResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListEventCreateRules' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getEventCreateRules', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListEventCreateRulesResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListEventEditRules' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getEventEditRules', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListEventEditRulesResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListExpandedDataSets' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getExpandedDataSets', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListExpandedDataSetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListFirebaseLinks' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getFirebaseLinks', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListFirebaseLinksResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListGoogleAdsLinks' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getGoogleAdsLinks', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListGoogleAdsLinksResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListKeyEvents' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getKeyEvents', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListKeyEventsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListMeasurementProtocolSecrets' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getMeasurementProtocolSecrets', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListMeasurementProtocolSecretsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListProperties' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getProperties', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListPropertiesResponse', - ], - 'ListReportingDataAnnotations' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getReportingDataAnnotations', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListReportingDataAnnotationsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListRollupPropertySourceLinks' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getRollupPropertySourceLinks', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListRollupPropertySourceLinksResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListSKAdNetworkConversionValueSchemas' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getSkadnetworkConversionValueSchemas', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListSKAdNetworkConversionValueSchemasResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListSearchAds360Links' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getSearchAds360Links', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListSearchAds360LinksResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListSubpropertyEventFilters' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getSubpropertyEventFilters', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListSubpropertyEventFiltersResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListSubpropertySyncConfigs' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getSubpropertySyncConfigs', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ListSubpropertySyncConfigsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ProvisionAccountTicket' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ProvisionAccountTicketResponse', - ], - 'ProvisionSubproperty' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ProvisionSubpropertyResponse', - ], - 'ReorderEventEditRules' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'RunAccessReport' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\RunAccessReportResponse', - 'headerParams' => [ - [ - 'keyName' => 'entity', - 'fieldAccessors' => [ - 'getEntity', - ], - ], - ], - ], - 'SearchChangeHistoryEvents' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getChangeHistoryEvents', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\SearchChangeHistoryEventsResponse', - 'headerParams' => [ - [ - 'keyName' => 'account', - 'fieldAccessors' => [ - 'getAccount', - ], - ], - ], - ], - 'SubmitUserDeletion' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\SubmitUserDeletionResponse', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'UpdateAccessBinding' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\AccessBinding', - 'headerParams' => [ - [ - 'keyName' => 'access_binding.name', - 'fieldAccessors' => [ - 'getAccessBinding', - 'getName', - ], - ], - ], - ], - 'UpdateAccount' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\Account', - 'headerParams' => [ - [ - 'keyName' => 'account.name', - 'fieldAccessors' => [ - 'getAccount', - 'getName', - ], - ], - ], - ], - 'UpdateAttributionSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\AttributionSettings', - 'headerParams' => [ - [ - 'keyName' => 'attribution_settings.name', - 'fieldAccessors' => [ - 'getAttributionSettings', - 'getName', - ], - ], - ], - ], - 'UpdateAudience' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\Audience', - 'headerParams' => [ - [ - 'keyName' => 'audience.name', - 'fieldAccessors' => [ - 'getAudience', - 'getName', - ], - ], - ], - ], - 'UpdateBigQueryLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\BigQueryLink', - 'headerParams' => [ - [ - 'keyName' => 'bigquery_link.name', - 'fieldAccessors' => [ - 'getBigqueryLink', - 'getName', - ], - ], - ], - ], - 'UpdateCalculatedMetric' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\CalculatedMetric', - 'headerParams' => [ - [ - 'keyName' => 'calculated_metric.name', - 'fieldAccessors' => [ - 'getCalculatedMetric', - 'getName', - ], - ], - ], - ], - 'UpdateChannelGroup' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ChannelGroup', - 'headerParams' => [ - [ - 'keyName' => 'channel_group.name', - 'fieldAccessors' => [ - 'getChannelGroup', - 'getName', - ], - ], - ], - ], - 'UpdateConversionEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ConversionEvent', - 'headerParams' => [ - [ - 'keyName' => 'conversion_event.name', - 'fieldAccessors' => [ - 'getConversionEvent', - 'getName', - ], - ], - ], - ], - 'UpdateCustomDimension' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\CustomDimension', - 'headerParams' => [ - [ - 'keyName' => 'custom_dimension.name', - 'fieldAccessors' => [ - 'getCustomDimension', - 'getName', - ], - ], - ], - ], - 'UpdateCustomMetric' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\CustomMetric', - 'headerParams' => [ - [ - 'keyName' => 'custom_metric.name', - 'fieldAccessors' => [ - 'getCustomMetric', - 'getName', - ], - ], - ], - ], - 'UpdateDataRedactionSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\DataRedactionSettings', - 'headerParams' => [ - [ - 'keyName' => 'data_redaction_settings.name', - 'fieldAccessors' => [ - 'getDataRedactionSettings', - 'getName', - ], - ], - ], - ], - 'UpdateDataRetentionSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\DataRetentionSettings', - 'headerParams' => [ - [ - 'keyName' => 'data_retention_settings.name', - 'fieldAccessors' => [ - 'getDataRetentionSettings', - 'getName', - ], - ], - ], - ], - 'UpdateDataStream' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\DataStream', - 'headerParams' => [ - [ - 'keyName' => 'data_stream.name', - 'fieldAccessors' => [ - 'getDataStream', - 'getName', - ], - ], - ], - ], - 'UpdateDisplayVideo360AdvertiserLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink', - 'headerParams' => [ - [ - 'keyName' => 'display_video_360_advertiser_link.name', - 'fieldAccessors' => [ - 'getDisplayVideo360AdvertiserLink', - 'getName', - ], - ], - ], - ], - 'UpdateEnhancedMeasurementSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\EnhancedMeasurementSettings', - 'headerParams' => [ - [ - 'keyName' => 'enhanced_measurement_settings.name', - 'fieldAccessors' => [ - 'getEnhancedMeasurementSettings', - 'getName', - ], - ], - ], - ], - 'UpdateEventCreateRule' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\EventCreateRule', - 'headerParams' => [ - [ - 'keyName' => 'event_create_rule.name', - 'fieldAccessors' => [ - 'getEventCreateRule', - 'getName', - ], - ], - ], - ], - 'UpdateEventEditRule' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\EventEditRule', - 'headerParams' => [ - [ - 'keyName' => 'event_edit_rule.name', - 'fieldAccessors' => [ - 'getEventEditRule', - 'getName', - ], - ], - ], - ], - 'UpdateExpandedDataSet' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ExpandedDataSet', - 'headerParams' => [ - [ - 'keyName' => 'expanded_data_set.name', - 'fieldAccessors' => [ - 'getExpandedDataSet', - 'getName', - ], - ], - ], - ], - 'UpdateGoogleAdsLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\GoogleAdsLink', - 'headerParams' => [ - [ - 'keyName' => 'google_ads_link.name', - 'fieldAccessors' => [ - 'getGoogleAdsLink', - 'getName', - ], - ], - ], - ], - 'UpdateGoogleSignalsSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\GoogleSignalsSettings', - 'headerParams' => [ - [ - 'keyName' => 'google_signals_settings.name', - 'fieldAccessors' => [ - 'getGoogleSignalsSettings', - 'getName', - ], - ], - ], - ], - 'UpdateKeyEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\KeyEvent', - 'headerParams' => [ - [ - 'keyName' => 'key_event.name', - 'fieldAccessors' => [ - 'getKeyEvent', - 'getName', - ], - ], - ], - ], - 'UpdateMeasurementProtocolSecret' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret', - 'headerParams' => [ - [ - 'keyName' => 'measurement_protocol_secret.name', - 'fieldAccessors' => [ - 'getMeasurementProtocolSecret', - 'getName', - ], - ], - ], - ], - 'UpdateProperty' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\Property', - 'headerParams' => [ - [ - 'keyName' => 'property.name', - 'fieldAccessors' => [ - 'getProperty', - 'getName', - ], - ], - ], - ], - 'UpdateReportingDataAnnotation' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\ReportingDataAnnotation', - 'headerParams' => [ - [ - 'keyName' => 'reporting_data_annotation.name', - 'fieldAccessors' => [ - 'getReportingDataAnnotation', - 'getName', - ], - ], - ], - ], - 'UpdateSKAdNetworkConversionValueSchema' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\SKAdNetworkConversionValueSchema', - 'headerParams' => [ - [ - 'keyName' => 'skadnetwork_conversion_value_schema.name', - 'fieldAccessors' => [ - 'getSkadnetworkConversionValueSchema', - 'getName', - ], - ], - ], - ], - 'UpdateSearchAds360Link' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\SearchAds360Link', - 'headerParams' => [ - [ - 'keyName' => 'search_ads_360_link.name', - 'fieldAccessors' => [ - 'getSearchAds360Link', - 'getName', - ], - ], - ], - ], - 'UpdateSubpropertyEventFilter' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\SubpropertyEventFilter', - 'headerParams' => [ - [ - 'keyName' => 'subproperty_event_filter.name', - 'fieldAccessors' => [ - 'getSubpropertyEventFilter', - 'getName', - ], - ], - ], - ], - 'UpdateSubpropertySyncConfig' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1alpha\SubpropertySyncConfig', - 'headerParams' => [ - [ - 'keyName' => 'subproperty_sync_config.name', - 'fieldAccessors' => [ - 'getSubpropertySyncConfig', - 'getName', - ], - ], - ], - ], - 'templateMap' => [ - 'accessBinding' => 'accounts/{account}/accessBindings/{access_binding}', - 'account' => 'accounts/{account}', - 'accountAccessBinding' => 'accounts/{account}/accessBindings/{access_binding}', - 'adSenseLink' => 'properties/{property}/adSenseLinks/{adsense_link}', - 'attributionSettings' => 'properties/{property}/attributionSettings', - 'audience' => 'properties/{property}/audiences/{audience}', - 'bigQueryLink' => 'properties/{property}/bigQueryLinks/{bigquery_link}', - 'calculatedMetric' => 'properties/{property}/calculatedMetrics/{calculated_metric}', - 'channelGroup' => 'properties/{property}/channelGroups/{channel_group}', - 'conversionEvent' => 'properties/{property}/conversionEvents/{conversion_event}', - 'customDimension' => 'properties/{property}/customDimensions/{custom_dimension}', - 'customMetric' => 'properties/{property}/customMetrics/{custom_metric}', - 'dataRedactionSettings' => 'properties/{property}/dataStreams/{data_stream}/dataRedactionSettings', - 'dataRetentionSettings' => 'properties/{property}/dataRetentionSettings', - 'dataSharingSettings' => 'accounts/{account}/dataSharingSettings', - 'dataStream' => 'properties/{property}/dataStreams/{data_stream}', - 'displayVideo360AdvertiserLink' => 'properties/{property}/displayVideo360AdvertiserLinks/{display_video_360_advertiser_link}', - 'displayVideo360AdvertiserLinkProposal' => 'properties/{property}/displayVideo360AdvertiserLinkProposals/{display_video_360_advertiser_link_proposal}', - 'enhancedMeasurementSettings' => 'properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings', - 'eventCreateRule' => 'properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}', - 'eventEditRule' => 'properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule}', - 'expandedDataSet' => 'properties/{property}/expandedDataSets/{expanded_data_set}', - 'firebaseLink' => 'properties/{property}/firebaseLinks/{firebase_link}', - 'globalSiteTag' => 'properties/{property}/dataStreams/{data_stream}/globalSiteTag', - 'googleAdsLink' => 'properties/{property}/googleAdsLinks/{google_ads_link}', - 'googleSignalsSettings' => 'properties/{property}/googleSignalsSettings', - 'keyEvent' => 'properties/{property}/keyEvents/{key_event}', - 'measurementProtocolSecret' => 'properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}', - 'organization' => 'organizations/{organization}', - 'property' => 'properties/{property}', - 'propertyAccessBinding' => 'properties/{property}/accessBindings/{access_binding}', - 'reportingDataAnnotation' => 'properties/{property}/reportingDataAnnotations/{reporting_data_annotation}', - 'reportingIdentitySettings' => 'properties/{property}/reportingIdentitySettings', - 'rollupPropertySourceLink' => 'properties/{property}/rollupPropertySourceLinks/{rollup_property_source_link}', - 'sKAdNetworkConversionValueSchema' => 'properties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}', - 'searchAds360Link' => 'properties/{property}/searchAds360Links/{search_ads_360_link}', - 'subpropertyEventFilter' => 'properties/{property}/subpropertyEventFilters/{sub_property_event_filter}', - 'subpropertySyncConfig' => 'properties/{property}/subpropertySyncConfigs/{subproperty_sync_config}', - 'userProvidedDataSettings' => 'properties/{property}/userProvidedDataSettings', - ], - ], - ], -]; diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_rest_client_config.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_rest_client_config.php deleted file mode 100644 index 03b35af80d36..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/src/V1alpha/resources/analytics_admin_service_rest_client_config.php +++ /dev/null @@ -1,1929 +0,0 @@ - [ - 'google.analytics.admin.v1alpha.AnalyticsAdminService' => [ - 'AcknowledgeUserDataCollection' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{property=properties/*}:acknowledgeUserDataCollection', - 'body' => '*', - 'placeholders' => [ - 'property' => [ - 'getters' => [ - 'getProperty', - ], - ], - ], - ], - 'ApproveDisplayVideo360AdvertiserLinkProposal' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ArchiveAudience' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{name=properties/*/audiences/*}:archive', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ArchiveCustomDimension' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{name=properties/*/customDimensions/*}:archive', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ArchiveCustomMetric' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{name=properties/*/customMetrics/*}:archive', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'BatchCreateAccessBindings' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=accounts/*}/accessBindings:batchCreate', - 'body' => '*', - 'additionalBindings' => [ - [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/accessBindings:batchCreate', - 'body' => '*', - ], - ], - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'BatchDeleteAccessBindings' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=accounts/*}/accessBindings:batchDelete', - 'body' => '*', - 'additionalBindings' => [ - [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/accessBindings:batchDelete', - 'body' => '*', - ], - ], - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'BatchGetAccessBindings' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=accounts/*}/accessBindings:batchGet', - 'additionalBindings' => [ - [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/accessBindings:batchGet', - ], - ], - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'BatchUpdateAccessBindings' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=accounts/*}/accessBindings:batchUpdate', - 'body' => '*', - 'additionalBindings' => [ - [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/accessBindings:batchUpdate', - 'body' => '*', - ], - ], - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CancelDisplayVideo360AdvertiserLinkProposal' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'CreateAccessBinding' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=accounts/*}/accessBindings', - 'body' => 'access_binding', - 'additionalBindings' => [ - [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/accessBindings', - 'body' => 'access_binding', - ], - ], - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateAdSenseLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/adSenseLinks', - 'body' => 'adsense_link', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateAudience' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/audiences', - 'body' => 'audience', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateBigQueryLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/bigQueryLinks', - 'body' => 'bigquery_link', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateCalculatedMetric' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/calculatedMetrics', - 'body' => 'calculated_metric', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - 'queryParams' => [ - 'calculated_metric_id', - ], - ], - 'CreateChannelGroup' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/channelGroups', - 'body' => 'channel_group', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateConversionEvent' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/conversionEvents', - 'body' => 'conversion_event', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateCustomDimension' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/customDimensions', - 'body' => 'custom_dimension', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateCustomMetric' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/customMetrics', - 'body' => 'custom_metric', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateDataStream' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/dataStreams', - 'body' => 'data_stream', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateDisplayVideo360AdvertiserLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks', - 'body' => 'display_video_360_advertiser_link', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateDisplayVideo360AdvertiserLinkProposal' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals', - 'body' => 'display_video_360_advertiser_link_proposal', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateEventCreateRule' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules', - 'body' => 'event_create_rule', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateEventEditRule' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules', - 'body' => 'event_edit_rule', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateExpandedDataSet' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/expandedDataSets', - 'body' => 'expanded_data_set', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateFirebaseLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/firebaseLinks', - 'body' => 'firebase_link', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateGoogleAdsLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/googleAdsLinks', - 'body' => 'google_ads_link', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateKeyEvent' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/keyEvents', - 'body' => 'key_event', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateMeasurementProtocolSecret' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets', - 'body' => 'measurement_protocol_secret', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateProperty' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/properties', - 'body' => 'property', - ], - 'CreateReportingDataAnnotation' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/reportingDataAnnotations', - 'body' => 'reporting_data_annotation', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateRollupProperty' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/properties:createRollupProperty', - 'body' => '*', - ], - 'CreateRollupPropertySourceLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/rollupPropertySourceLinks', - 'body' => 'rollup_property_source_link', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateSKAdNetworkConversionValueSchema' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema', - 'body' => 'skadnetwork_conversion_value_schema', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateSearchAds360Link' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/searchAds360Links', - 'body' => 'search_ads_360_link', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateSubpropertyEventFilter' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/subpropertyEventFilters', - 'body' => 'subproperty_event_filter', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'DeleteAccessBinding' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=accounts/*/accessBindings/*}', - 'additionalBindings' => [ - [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/accessBindings/*}', - ], - ], - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteAccount' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=accounts/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteAdSenseLink' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/adSenseLinks/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteBigQueryLink' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/bigQueryLinks/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteCalculatedMetric' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/calculatedMetrics/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteChannelGroup' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/channelGroups/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteConversionEvent' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/conversionEvents/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteDataStream' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteDisplayVideo360AdvertiserLink' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteDisplayVideo360AdvertiserLinkProposal' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteEventCreateRule' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteEventEditRule' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/eventEditRules/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteExpandedDataSet' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/expandedDataSets/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteFirebaseLink' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/firebaseLinks/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteGoogleAdsLink' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/googleAdsLinks/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteKeyEvent' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/keyEvents/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteMeasurementProtocolSecret' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteProperty' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteReportingDataAnnotation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/reportingDataAnnotations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteRollupPropertySourceLink' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteSKAdNetworkConversionValueSchema' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteSearchAds360Link' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/searchAds360Links/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteSubpropertyEventFilter' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1alpha/{name=properties/*/subpropertyEventFilters/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetAccessBinding' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=accounts/*/accessBindings/*}', - 'additionalBindings' => [ - [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/accessBindings/*}', - ], - ], - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetAccount' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=accounts/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetAdSenseLink' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/adSenseLinks/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetAttributionSettings' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/attributionSettings}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetAudience' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/audiences/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetBigQueryLink' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/bigQueryLinks/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetCalculatedMetric' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/calculatedMetrics/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetChannelGroup' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/channelGroups/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetConversionEvent' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/conversionEvents/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetCustomDimension' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/customDimensions/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetCustomMetric' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/customMetrics/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetDataRedactionSettings' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/dataRedactionSettings}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetDataRetentionSettings' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/dataRetentionSettings}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetDataSharingSettings' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=accounts/*/dataSharingSettings}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetDataStream' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetDisplayVideo360AdvertiserLink' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetDisplayVideo360AdvertiserLinkProposal' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetEnhancedMeasurementSettings' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/enhancedMeasurementSettings}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetEventCreateRule' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetEventEditRule' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/eventEditRules/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetExpandedDataSet' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/expandedDataSets/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetGlobalSiteTag' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/globalSiteTag}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetGoogleSignalsSettings' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/googleSignalsSettings}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetKeyEvent' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/keyEvents/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetMeasurementProtocolSecret' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetProperty' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetReportingDataAnnotation' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/reportingDataAnnotations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetReportingIdentitySettings' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/reportingIdentitySettings}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetRollupPropertySourceLink' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetSKAdNetworkConversionValueSchema' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetSearchAds360Link' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/searchAds360Links/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetSubpropertyEventFilter' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/subpropertyEventFilters/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetSubpropertySyncConfig' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/subpropertySyncConfigs/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetUserProvidedDataSettings' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{name=properties/*/userProvidedDataSettings}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListAccessBindings' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=accounts/*}/accessBindings', - 'additionalBindings' => [ - [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/accessBindings', - ], - ], - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListAccountSummaries' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/accountSummaries', - ], - 'ListAccounts' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/accounts', - ], - 'ListAdSenseLinks' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/adSenseLinks', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListAudiences' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/audiences', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListBigQueryLinks' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/bigQueryLinks', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListCalculatedMetrics' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/calculatedMetrics', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListChannelGroups' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/channelGroups', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListConversionEvents' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/conversionEvents', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListCustomDimensions' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/customDimensions', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListCustomMetrics' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/customMetrics', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListDataStreams' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/dataStreams', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListDisplayVideo360AdvertiserLinkProposals' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListDisplayVideo360AdvertiserLinks' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListEventCreateRules' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListEventEditRules' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListExpandedDataSets' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/expandedDataSets', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListFirebaseLinks' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/firebaseLinks', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListGoogleAdsLinks' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/googleAdsLinks', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListKeyEvents' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/keyEvents', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListMeasurementProtocolSecrets' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListProperties' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/properties', - 'queryParams' => [ - 'filter', - ], - ], - 'ListReportingDataAnnotations' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/reportingDataAnnotations', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListRollupPropertySourceLinks' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/rollupPropertySourceLinks', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListSKAdNetworkConversionValueSchemas' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListSearchAds360Links' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/searchAds360Links', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListSubpropertyEventFilters' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/subpropertyEventFilters', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListSubpropertySyncConfigs' => [ - 'method' => 'get', - 'uriTemplate' => '/v1alpha/{parent=properties/*}/subpropertySyncConfigs', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ProvisionAccountTicket' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/accounts:provisionAccountTicket', - 'body' => '*', - ], - 'ProvisionSubproperty' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/properties:provisionSubproperty', - 'body' => '*', - ], - 'ReorderEventEditRules' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules:reorder', - 'body' => '*', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'RunAccessReport' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{entity=properties/*}:runAccessReport', - 'body' => '*', - 'additionalBindings' => [ - [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{entity=accounts/*}:runAccessReport', - 'body' => '*', - ], - ], - 'placeholders' => [ - 'entity' => [ - 'getters' => [ - 'getEntity', - ], - ], - ], - ], - 'SearchChangeHistoryEvents' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{account=accounts/*}:searchChangeHistoryEvents', - 'body' => '*', - 'placeholders' => [ - 'account' => [ - 'getters' => [ - 'getAccount', - ], - ], - ], - ], - 'SubmitUserDeletion' => [ - 'method' => 'post', - 'uriTemplate' => '/v1alpha/{name=properties/*}:submitUserDeletion', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'UpdateAccessBinding' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{access_binding.name=accounts/*/accessBindings/*}', - 'body' => 'access_binding', - 'additionalBindings' => [ - [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{access_binding.name=properties/*/accessBindings/*}', - 'body' => 'access_binding', - ], - ], - 'placeholders' => [ - 'access_binding.name' => [ - 'getters' => [ - 'getAccessBinding', - 'getName', - ], - ], - ], - ], - 'UpdateAccount' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{account.name=accounts/*}', - 'body' => 'account', - 'placeholders' => [ - 'account.name' => [ - 'getters' => [ - 'getAccount', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateAttributionSettings' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{attribution_settings.name=properties/*/attributionSettings}', - 'body' => 'attribution_settings', - 'placeholders' => [ - 'attribution_settings.name' => [ - 'getters' => [ - 'getAttributionSettings', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateAudience' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{audience.name=properties/*/audiences/*}', - 'body' => 'audience', - 'placeholders' => [ - 'audience.name' => [ - 'getters' => [ - 'getAudience', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateBigQueryLink' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{bigquery_link.name=properties/*/bigQueryLinks/*}', - 'body' => 'bigquery_link', - 'placeholders' => [ - 'bigquery_link.name' => [ - 'getters' => [ - 'getBigqueryLink', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateCalculatedMetric' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{calculated_metric.name=properties/*/calculatedMetrics/*}', - 'body' => 'calculated_metric', - 'placeholders' => [ - 'calculated_metric.name' => [ - 'getters' => [ - 'getCalculatedMetric', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateChannelGroup' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{channel_group.name=properties/*/channelGroups/*}', - 'body' => 'channel_group', - 'placeholders' => [ - 'channel_group.name' => [ - 'getters' => [ - 'getChannelGroup', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateConversionEvent' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{conversion_event.name=properties/*/conversionEvents/*}', - 'body' => 'conversion_event', - 'placeholders' => [ - 'conversion_event.name' => [ - 'getters' => [ - 'getConversionEvent', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateCustomDimension' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{custom_dimension.name=properties/*/customDimensions/*}', - 'body' => 'custom_dimension', - 'placeholders' => [ - 'custom_dimension.name' => [ - 'getters' => [ - 'getCustomDimension', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateCustomMetric' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{custom_metric.name=properties/*/customMetrics/*}', - 'body' => 'custom_metric', - 'placeholders' => [ - 'custom_metric.name' => [ - 'getters' => [ - 'getCustomMetric', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateDataRedactionSettings' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{data_redaction_settings.name=properties/*/dataStreams/*/dataRedactionSettings}', - 'body' => 'data_redaction_settings', - 'placeholders' => [ - 'data_redaction_settings.name' => [ - 'getters' => [ - 'getDataRedactionSettings', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateDataRetentionSettings' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{data_retention_settings.name=properties/*/dataRetentionSettings}', - 'body' => 'data_retention_settings', - 'placeholders' => [ - 'data_retention_settings.name' => [ - 'getters' => [ - 'getDataRetentionSettings', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateDataStream' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{data_stream.name=properties/*/dataStreams/*}', - 'body' => 'data_stream', - 'placeholders' => [ - 'data_stream.name' => [ - 'getters' => [ - 'getDataStream', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateDisplayVideo360AdvertiserLink' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{display_video_360_advertiser_link.name=properties/*/displayVideo360AdvertiserLinks/*}', - 'body' => 'display_video_360_advertiser_link', - 'placeholders' => [ - 'display_video_360_advertiser_link.name' => [ - 'getters' => [ - 'getDisplayVideo360AdvertiserLink', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateEnhancedMeasurementSettings' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{enhanced_measurement_settings.name=properties/*/dataStreams/*/enhancedMeasurementSettings}', - 'body' => 'enhanced_measurement_settings', - 'placeholders' => [ - 'enhanced_measurement_settings.name' => [ - 'getters' => [ - 'getEnhancedMeasurementSettings', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateEventCreateRule' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{event_create_rule.name=properties/*/dataStreams/*/eventCreateRules/*}', - 'body' => 'event_create_rule', - 'placeholders' => [ - 'event_create_rule.name' => [ - 'getters' => [ - 'getEventCreateRule', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateEventEditRule' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{event_edit_rule.name=properties/*/dataStreams/*/eventEditRules/*}', - 'body' => 'event_edit_rule', - 'placeholders' => [ - 'event_edit_rule.name' => [ - 'getters' => [ - 'getEventEditRule', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateExpandedDataSet' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{expanded_data_set.name=properties/*/expandedDataSets/*}', - 'body' => 'expanded_data_set', - 'placeholders' => [ - 'expanded_data_set.name' => [ - 'getters' => [ - 'getExpandedDataSet', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateGoogleAdsLink' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{google_ads_link.name=properties/*/googleAdsLinks/*}', - 'body' => 'google_ads_link', - 'placeholders' => [ - 'google_ads_link.name' => [ - 'getters' => [ - 'getGoogleAdsLink', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateGoogleSignalsSettings' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{google_signals_settings.name=properties/*/googleSignalsSettings}', - 'body' => 'google_signals_settings', - 'placeholders' => [ - 'google_signals_settings.name' => [ - 'getters' => [ - 'getGoogleSignalsSettings', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateKeyEvent' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{key_event.name=properties/*/keyEvents/*}', - 'body' => 'key_event', - 'placeholders' => [ - 'key_event.name' => [ - 'getters' => [ - 'getKeyEvent', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateMeasurementProtocolSecret' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', - 'body' => 'measurement_protocol_secret', - 'placeholders' => [ - 'measurement_protocol_secret.name' => [ - 'getters' => [ - 'getMeasurementProtocolSecret', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateProperty' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{property.name=properties/*}', - 'body' => 'property', - 'placeholders' => [ - 'property.name' => [ - 'getters' => [ - 'getProperty', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateReportingDataAnnotation' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{reporting_data_annotation.name=properties/*/reportingDataAnnotations/*}', - 'body' => 'reporting_data_annotation', - 'placeholders' => [ - 'reporting_data_annotation.name' => [ - 'getters' => [ - 'getReportingDataAnnotation', - 'getName', - ], - ], - ], - ], - 'UpdateSKAdNetworkConversionValueSchema' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{skadnetwork_conversion_value_schema.name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}', - 'body' => 'skadnetwork_conversion_value_schema', - 'placeholders' => [ - 'skadnetwork_conversion_value_schema.name' => [ - 'getters' => [ - 'getSkadnetworkConversionValueSchema', - 'getName', - ], - ], - ], - 'queryParams' => [ - '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', - ], - ], - 'UpdateSubpropertyEventFilter' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{subproperty_event_filter.name=properties/*/subpropertyEventFilters/*}', - 'body' => 'subproperty_event_filter', - 'placeholders' => [ - 'subproperty_event_filter.name' => [ - 'getters' => [ - 'getSubpropertyEventFilter', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateSubpropertySyncConfig' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1alpha/{subproperty_sync_config.name=properties/*/subpropertySyncConfigs/*}', - 'body' => 'subproperty_sync_config', - 'placeholders' => [ - 'subproperty_sync_config.name' => [ - 'getters' => [ - 'getSubpropertySyncConfig', - 'getName', - ], - ], - ], - ], - ], - ], - 'numericEnums' => true, -]; diff --git a/owl-bot-staging/AnalyticsAdmin/v1alpha/tests/Unit/V1alpha/Client/AnalyticsAdminServiceClientTest.php b/owl-bot-staging/AnalyticsAdmin/v1alpha/tests/Unit/V1alpha/Client/AnalyticsAdminServiceClientTest.php deleted file mode 100644 index cea26eaaf433..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1alpha/tests/Unit/V1alpha/Client/AnalyticsAdminServiceClientTest.php +++ /dev/null @@ -1,11424 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AnalyticsAdminServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AnalyticsAdminServiceClient($options); - } - - /** @test */ - public function acknowledgeUserDataCollectionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new AcknowledgeUserDataCollectionResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedProperty = $gapicClient->propertyName('[PROPERTY]'); - $acknowledgement = 'acknowledgement1769490938'; - $request = (new AcknowledgeUserDataCollectionRequest()) - ->setProperty($formattedProperty) - ->setAcknowledgement($acknowledgement); - $response = $gapicClient->acknowledgeUserDataCollection($request); - $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/AcknowledgeUserDataCollection', $actualFuncCall); - $actualValue = $actualRequestObject->getProperty(); - $this->assertProtobufEquals($formattedProperty, $actualValue); - $actualValue = $actualRequestObject->getAcknowledgement(); - $this->assertProtobufEquals($acknowledgement, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function acknowledgeUserDataCollectionExceptionTest() - { - $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 - $formattedProperty = $gapicClient->propertyName('[PROPERTY]'); - $acknowledgement = 'acknowledgement1769490938'; - $request = (new AcknowledgeUserDataCollectionRequest()) - ->setProperty($formattedProperty) - ->setAcknowledgement($acknowledgement); - try { - $gapicClient->acknowledgeUserDataCollection($request); - // 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 approveDisplayVideo360AdvertiserLinkProposalTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ApproveDisplayVideo360AdvertiserLinkProposalResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); - $request = (new ApproveDisplayVideo360AdvertiserLinkProposalRequest()) - ->setName($formattedName); - $response = $gapicClient->approveDisplayVideo360AdvertiserLinkProposal($request); - $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/ApproveDisplayVideo360AdvertiserLinkProposal', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function approveDisplayVideo360AdvertiserLinkProposalExceptionTest() - { - $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->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); - $request = (new ApproveDisplayVideo360AdvertiserLinkProposalRequest()) - ->setName($formattedName); - try { - $gapicClient->approveDisplayVideo360AdvertiserLinkProposal($request); - // 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 archiveAudienceTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ArchiveAudienceRequest()) - ->setName($formattedName); - $gapicClient->archiveAudience($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/ArchiveAudience', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function archiveAudienceExceptionTest() - { - $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->propertyName('[PROPERTY]'); - $request = (new ArchiveAudienceRequest()) - ->setName($formattedName); - try { - $gapicClient->archiveAudience($request); - // 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 archiveCustomDimensionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); - $request = (new ArchiveCustomDimensionRequest()) - ->setName($formattedName); - $gapicClient->archiveCustomDimension($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/ArchiveCustomDimension', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function archiveCustomDimensionExceptionTest() - { - $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->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); - $request = (new ArchiveCustomDimensionRequest()) - ->setName($formattedName); - try { - $gapicClient->archiveCustomDimension($request); - // 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 archiveCustomMetricTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); - $request = (new ArchiveCustomMetricRequest()) - ->setName($formattedName); - $gapicClient->archiveCustomMetric($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/ArchiveCustomMetric', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function archiveCustomMetricExceptionTest() - { - $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->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); - $request = (new ArchiveCustomMetricRequest()) - ->setName($formattedName); - try { - $gapicClient->archiveCustomMetric($request); - // 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 batchCreateAccessBindingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new BatchCreateAccessBindingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->accountName('[ACCOUNT]'); - $requests = []; - $request = (new BatchCreateAccessBindingsRequest()) - ->setParent($formattedParent) - ->setRequests($requests); - $response = $gapicClient->batchCreateAccessBindings($request); - $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/BatchCreateAccessBindings', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getRequests(); - $this->assertProtobufEquals($requests, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function batchCreateAccessBindingsExceptionTest() - { - $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->accountName('[ACCOUNT]'); - $requests = []; - $request = (new BatchCreateAccessBindingsRequest()) - ->setParent($formattedParent) - ->setRequests($requests); - try { - $gapicClient->batchCreateAccessBindings($request); - // 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 batchDeleteAccessBindingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->accountName('[ACCOUNT]'); - $requests = []; - $request = (new BatchDeleteAccessBindingsRequest()) - ->setParent($formattedParent) - ->setRequests($requests); - $gapicClient->batchDeleteAccessBindings($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/BatchDeleteAccessBindings', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getRequests(); - $this->assertProtobufEquals($requests, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function batchDeleteAccessBindingsExceptionTest() - { - $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->accountName('[ACCOUNT]'); - $requests = []; - $request = (new BatchDeleteAccessBindingsRequest()) - ->setParent($formattedParent) - ->setRequests($requests); - try { - $gapicClient->batchDeleteAccessBindings($request); - // 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 batchGetAccessBindingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new BatchGetAccessBindingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->accountName('[ACCOUNT]'); - $formattedNames = [ - $gapicClient->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'), - ]; - $request = (new BatchGetAccessBindingsRequest()) - ->setParent($formattedParent) - ->setNames($formattedNames); - $response = $gapicClient->batchGetAccessBindings($request); - $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/BatchGetAccessBindings', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getNames(); - $this->assertProtobufEquals($formattedNames, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function batchGetAccessBindingsExceptionTest() - { - $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->accountName('[ACCOUNT]'); - $formattedNames = [ - $gapicClient->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'), - ]; - $request = (new BatchGetAccessBindingsRequest()) - ->setParent($formattedParent) - ->setNames($formattedNames); - try { - $gapicClient->batchGetAccessBindings($request); - // 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 batchUpdateAccessBindingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new BatchUpdateAccessBindingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->accountName('[ACCOUNT]'); - $requests = []; - $request = (new BatchUpdateAccessBindingsRequest()) - ->setParent($formattedParent) - ->setRequests($requests); - $response = $gapicClient->batchUpdateAccessBindings($request); - $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/BatchUpdateAccessBindings', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getRequests(); - $this->assertProtobufEquals($requests, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function batchUpdateAccessBindingsExceptionTest() - { - $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->accountName('[ACCOUNT]'); - $requests = []; - $request = (new BatchUpdateAccessBindingsRequest()) - ->setParent($formattedParent) - ->setRequests($requests); - try { - $gapicClient->batchUpdateAccessBindings($request); - // 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 cancelDisplayVideo360AdvertiserLinkProposalTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $advertiserId = 'advertiserId-127926097'; - $advertiserDisplayName = 'advertiserDisplayName-674771332'; - $validationEmail = 'validationEmail2105669718'; - $expectedResponse = new DisplayVideo360AdvertiserLinkProposal(); - $expectedResponse->setName($name2); - $expectedResponse->setAdvertiserId($advertiserId); - $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName); - $expectedResponse->setValidationEmail($validationEmail); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); - $request = (new CancelDisplayVideo360AdvertiserLinkProposalRequest()) - ->setName($formattedName); - $response = $gapicClient->cancelDisplayVideo360AdvertiserLinkProposal($request); - $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/CancelDisplayVideo360AdvertiserLinkProposal', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function cancelDisplayVideo360AdvertiserLinkProposalExceptionTest() - { - $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->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); - $request = (new CancelDisplayVideo360AdvertiserLinkProposalRequest()) - ->setName($formattedName); - try { - $gapicClient->cancelDisplayVideo360AdvertiserLinkProposal($request); - // 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 createAccessBindingTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $user = 'user3599307'; - $name = 'name3373707'; - $expectedResponse = new AccessBinding(); - $expectedResponse->setUser($user); - $expectedResponse->setName($name); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->accountName('[ACCOUNT]'); - $accessBinding = new AccessBinding(); - $request = (new CreateAccessBindingRequest()) - ->setParent($formattedParent) - ->setAccessBinding($accessBinding); - $response = $gapicClient->createAccessBinding($request); - $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/CreateAccessBinding', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getAccessBinding(); - $this->assertProtobufEquals($accessBinding, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createAccessBindingExceptionTest() - { - $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->accountName('[ACCOUNT]'); - $accessBinding = new AccessBinding(); - $request = (new CreateAccessBindingRequest()) - ->setParent($formattedParent) - ->setAccessBinding($accessBinding); - try { - $gapicClient->createAccessBinding($request); - // 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 createAdSenseLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $adClientCode = 'adClientCode-1866307643'; - $expectedResponse = new AdSenseLink(); - $expectedResponse->setName($name); - $expectedResponse->setAdClientCode($adClientCode); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $adsenseLink = new AdSenseLink(); - $request = (new CreateAdSenseLinkRequest()) - ->setParent($formattedParent) - ->setAdsenseLink($adsenseLink); - $response = $gapicClient->createAdSenseLink($request); - $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/CreateAdSenseLink', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getAdsenseLink(); - $this->assertProtobufEquals($adsenseLink, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createAdSenseLinkExceptionTest() - { - $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]'); - $adsenseLink = new AdSenseLink(); - $request = (new CreateAdSenseLinkRequest()) - ->setParent($formattedParent) - ->setAdsenseLink($adsenseLink); - try { - $gapicClient->createAdSenseLink($request); - // 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 createAudienceTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $membershipDurationDays = 1702404985; - $adsPersonalizationEnabled = false; - $expectedResponse = new Audience(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $expectedResponse->setMembershipDurationDays($membershipDurationDays); - $expectedResponse->setAdsPersonalizationEnabled($adsPersonalizationEnabled); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $audience = new Audience(); - $audienceDisplayName = 'audienceDisplayName1537141193'; - $audience->setDisplayName($audienceDisplayName); - $audienceDescription = 'audienceDescription-1901553832'; - $audience->setDescription($audienceDescription); - $audienceMembershipDurationDays = 1530655195; - $audience->setMembershipDurationDays($audienceMembershipDurationDays); - $audienceFilterClauses = []; - $audience->setFilterClauses($audienceFilterClauses); - $request = (new CreateAudienceRequest()) - ->setParent($formattedParent) - ->setAudience($audience); - $response = $gapicClient->createAudience($request); - $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/CreateAudience', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getAudience(); - $this->assertProtobufEquals($audience, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createAudienceExceptionTest() - { - $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]'); - $audience = new Audience(); - $audienceDisplayName = 'audienceDisplayName1537141193'; - $audience->setDisplayName($audienceDisplayName); - $audienceDescription = 'audienceDescription-1901553832'; - $audience->setDescription($audienceDescription); - $audienceMembershipDurationDays = 1530655195; - $audience->setMembershipDurationDays($audienceMembershipDurationDays); - $audienceFilterClauses = []; - $audience->setFilterClauses($audienceFilterClauses); - $request = (new CreateAudienceRequest()) - ->setParent($formattedParent) - ->setAudience($audience); - try { - $gapicClient->createAudience($request); - // 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 createBigQueryLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $project = 'project-309310695'; - $dailyExportEnabled = true; - $streamingExportEnabled = false; - $freshDailyExportEnabled = false; - $includeAdvertisingId = false; - $datasetLocation = 'datasetLocation1011262364'; - $expectedResponse = new BigQueryLink(); - $expectedResponse->setName($name); - $expectedResponse->setProject($project); - $expectedResponse->setDailyExportEnabled($dailyExportEnabled); - $expectedResponse->setStreamingExportEnabled($streamingExportEnabled); - $expectedResponse->setFreshDailyExportEnabled($freshDailyExportEnabled); - $expectedResponse->setIncludeAdvertisingId($includeAdvertisingId); - $expectedResponse->setDatasetLocation($datasetLocation); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $bigqueryLink = new BigQueryLink(); - $bigqueryLinkDatasetLocation = 'bigqueryLinkDatasetLocation714488843'; - $bigqueryLink->setDatasetLocation($bigqueryLinkDatasetLocation); - $request = (new CreateBigQueryLinkRequest()) - ->setParent($formattedParent) - ->setBigqueryLink($bigqueryLink); - $response = $gapicClient->createBigQueryLink($request); - $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/CreateBigQueryLink', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getBigqueryLink(); - $this->assertProtobufEquals($bigqueryLink, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createBigQueryLinkExceptionTest() - { - $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]'); - $bigqueryLink = new BigQueryLink(); - $bigqueryLinkDatasetLocation = 'bigqueryLinkDatasetLocation714488843'; - $bigqueryLink->setDatasetLocation($bigqueryLinkDatasetLocation); - $request = (new CreateBigQueryLinkRequest()) - ->setParent($formattedParent) - ->setBigqueryLink($bigqueryLink); - try { - $gapicClient->createBigQueryLink($request); - // 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 createCalculatedMetricTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $description = 'description-1724546052'; - $displayName = 'displayName1615086568'; - $calculatedMetricId2 = 'calculatedMetricId2-706401732'; - $formula = 'formula-677424794'; - $invalidMetricReference = true; - $expectedResponse = new CalculatedMetric(); - $expectedResponse->setName($name); - $expectedResponse->setDescription($description); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setCalculatedMetricId($calculatedMetricId2); - $expectedResponse->setFormula($formula); - $expectedResponse->setInvalidMetricReference($invalidMetricReference); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $calculatedMetricId = 'calculatedMetricId8203465'; - $calculatedMetric = new CalculatedMetric(); - $calculatedMetricDisplayName = 'calculatedMetricDisplayName-1927551873'; - $calculatedMetric->setDisplayName($calculatedMetricDisplayName); - $calculatedMetricMetricUnit = MetricUnit::METRIC_UNIT_UNSPECIFIED; - $calculatedMetric->setMetricUnit($calculatedMetricMetricUnit); - $calculatedMetricFormula = 'calculatedMetricFormula752695416'; - $calculatedMetric->setFormula($calculatedMetricFormula); - $request = (new CreateCalculatedMetricRequest()) - ->setParent($formattedParent) - ->setCalculatedMetricId($calculatedMetricId) - ->setCalculatedMetric($calculatedMetric); - $response = $gapicClient->createCalculatedMetric($request); - $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/CreateCalculatedMetric', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getCalculatedMetricId(); - $this->assertProtobufEquals($calculatedMetricId, $actualValue); - $actualValue = $actualRequestObject->getCalculatedMetric(); - $this->assertProtobufEquals($calculatedMetric, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createCalculatedMetricExceptionTest() - { - $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]'); - $calculatedMetricId = 'calculatedMetricId8203465'; - $calculatedMetric = new CalculatedMetric(); - $calculatedMetricDisplayName = 'calculatedMetricDisplayName-1927551873'; - $calculatedMetric->setDisplayName($calculatedMetricDisplayName); - $calculatedMetricMetricUnit = MetricUnit::METRIC_UNIT_UNSPECIFIED; - $calculatedMetric->setMetricUnit($calculatedMetricMetricUnit); - $calculatedMetricFormula = 'calculatedMetricFormula752695416'; - $calculatedMetric->setFormula($calculatedMetricFormula); - $request = (new CreateCalculatedMetricRequest()) - ->setParent($formattedParent) - ->setCalculatedMetricId($calculatedMetricId) - ->setCalculatedMetric($calculatedMetric); - try { - $gapicClient->createCalculatedMetric($request); - // 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 createChannelGroupTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $systemDefined = false; - $primary = true; - $expectedResponse = new ChannelGroup(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $expectedResponse->setSystemDefined($systemDefined); - $expectedResponse->setPrimary($primary); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $channelGroup = new ChannelGroup(); - $channelGroupDisplayName = 'channelGroupDisplayName1156787601'; - $channelGroup->setDisplayName($channelGroupDisplayName); - $channelGroupGroupingRule = []; - $channelGroup->setGroupingRule($channelGroupGroupingRule); - $request = (new CreateChannelGroupRequest()) - ->setParent($formattedParent) - ->setChannelGroup($channelGroup); - $response = $gapicClient->createChannelGroup($request); - $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/CreateChannelGroup', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getChannelGroup(); - $this->assertProtobufEquals($channelGroup, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createChannelGroupExceptionTest() - { - $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]'); - $channelGroup = new ChannelGroup(); - $channelGroupDisplayName = 'channelGroupDisplayName1156787601'; - $channelGroup->setDisplayName($channelGroupDisplayName); - $channelGroupGroupingRule = []; - $channelGroup->setGroupingRule($channelGroupGroupingRule); - $request = (new CreateChannelGroupRequest()) - ->setParent($formattedParent) - ->setChannelGroup($channelGroup); - try { - $gapicClient->createChannelGroup($request); - // 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 createConversionEventTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $eventName = 'eventName984174864'; - $deletable = true; - $custom = false; - $expectedResponse = new ConversionEvent(); - $expectedResponse->setName($name); - $expectedResponse->setEventName($eventName); - $expectedResponse->setDeletable($deletable); - $expectedResponse->setCustom($custom); - $transport->addResponse($expectedResponse); - // Mock request - $conversionEvent = new ConversionEvent(); - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new CreateConversionEventRequest()) - ->setConversionEvent($conversionEvent) - ->setParent($formattedParent); - $response = $gapicClient->createConversionEvent($request); - $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/CreateConversionEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getConversionEvent(); - $this->assertProtobufEquals($conversionEvent, $actualValue); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createConversionEventExceptionTest() - { - $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 - $conversionEvent = new ConversionEvent(); - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new CreateConversionEventRequest()) - ->setConversionEvent($conversionEvent) - ->setParent($formattedParent); - try { - $gapicClient->createConversionEvent($request); - // 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 createCustomDimensionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $parameterName = 'parameterName1133142369'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $disallowAdsPersonalization = false; - $expectedResponse = new CustomDimension(); - $expectedResponse->setName($name); - $expectedResponse->setParameterName($parameterName); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $expectedResponse->setDisallowAdsPersonalization($disallowAdsPersonalization); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $customDimension = new CustomDimension(); - $customDimensionParameterName = 'customDimensionParameterName-405505313'; - $customDimension->setParameterName($customDimensionParameterName); - $customDimensionDisplayName = 'customDimensionDisplayName2102948408'; - $customDimension->setDisplayName($customDimensionDisplayName); - $customDimensionScope = DimensionScope::DIMENSION_SCOPE_UNSPECIFIED; - $customDimension->setScope($customDimensionScope); - $request = (new CreateCustomDimensionRequest()) - ->setParent($formattedParent) - ->setCustomDimension($customDimension); - $response = $gapicClient->createCustomDimension($request); - $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/CreateCustomDimension', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getCustomDimension(); - $this->assertProtobufEquals($customDimension, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createCustomDimensionExceptionTest() - { - $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]'); - $customDimension = new CustomDimension(); - $customDimensionParameterName = 'customDimensionParameterName-405505313'; - $customDimension->setParameterName($customDimensionParameterName); - $customDimensionDisplayName = 'customDimensionDisplayName2102948408'; - $customDimension->setDisplayName($customDimensionDisplayName); - $customDimensionScope = DimensionScope::DIMENSION_SCOPE_UNSPECIFIED; - $customDimension->setScope($customDimensionScope); - $request = (new CreateCustomDimensionRequest()) - ->setParent($formattedParent) - ->setCustomDimension($customDimension); - try { - $gapicClient->createCustomDimension($request); - // 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 createCustomMetricTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $parameterName = 'parameterName1133142369'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $expectedResponse = new CustomMetric(); - $expectedResponse->setName($name); - $expectedResponse->setParameterName($parameterName); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $customMetric = new CustomMetric(); - $customMetricParameterName = 'customMetricParameterName1627167443'; - $customMetric->setParameterName($customMetricParameterName); - $customMetricDisplayName = 'customMetricDisplayName-835715284'; - $customMetric->setDisplayName($customMetricDisplayName); - $customMetricMeasurementUnit = MeasurementUnit::MEASUREMENT_UNIT_UNSPECIFIED; - $customMetric->setMeasurementUnit($customMetricMeasurementUnit); - $customMetricScope = MetricScope::METRIC_SCOPE_UNSPECIFIED; - $customMetric->setScope($customMetricScope); - $request = (new CreateCustomMetricRequest()) - ->setParent($formattedParent) - ->setCustomMetric($customMetric); - $response = $gapicClient->createCustomMetric($request); - $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/CreateCustomMetric', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getCustomMetric(); - $this->assertProtobufEquals($customMetric, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createCustomMetricExceptionTest() - { - $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]'); - $customMetric = new CustomMetric(); - $customMetricParameterName = 'customMetricParameterName1627167443'; - $customMetric->setParameterName($customMetricParameterName); - $customMetricDisplayName = 'customMetricDisplayName-835715284'; - $customMetric->setDisplayName($customMetricDisplayName); - $customMetricMeasurementUnit = MeasurementUnit::MEASUREMENT_UNIT_UNSPECIFIED; - $customMetric->setMeasurementUnit($customMetricMeasurementUnit); - $customMetricScope = MetricScope::METRIC_SCOPE_UNSPECIFIED; - $customMetric->setScope($customMetricScope); - $request = (new CreateCustomMetricRequest()) - ->setParent($formattedParent) - ->setCustomMetric($customMetric); - try { - $gapicClient->createCustomMetric($request); - // 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 createDataStreamTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $expectedResponse = new DataStream(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $dataStream = new DataStream(); - $dataStreamType = DataStreamType::DATA_STREAM_TYPE_UNSPECIFIED; - $dataStream->setType($dataStreamType); - $request = (new CreateDataStreamRequest()) - ->setParent($formattedParent) - ->setDataStream($dataStream); - $response = $gapicClient->createDataStream($request); - $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/CreateDataStream', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getDataStream(); - $this->assertProtobufEquals($dataStream, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createDataStreamExceptionTest() - { - $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]'); - $dataStream = new DataStream(); - $dataStreamType = DataStreamType::DATA_STREAM_TYPE_UNSPECIFIED; - $dataStream->setType($dataStreamType); - $request = (new CreateDataStreamRequest()) - ->setParent($formattedParent) - ->setDataStream($dataStream); - try { - $gapicClient->createDataStream($request); - // 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 createDisplayVideo360AdvertiserLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $advertiserId = 'advertiserId-127926097'; - $advertiserDisplayName = 'advertiserDisplayName-674771332'; - $expectedResponse = new DisplayVideo360AdvertiserLink(); - $expectedResponse->setName($name); - $expectedResponse->setAdvertiserId($advertiserId); - $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $displayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink(); - $request = (new CreateDisplayVideo360AdvertiserLinkRequest()) - ->setParent($formattedParent) - ->setDisplayVideo360AdvertiserLink($displayVideo360AdvertiserLink); - $response = $gapicClient->createDisplayVideo360AdvertiserLink($request); - $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/CreateDisplayVideo360AdvertiserLink', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getDisplayVideo360AdvertiserLink(); - $this->assertProtobufEquals($displayVideo360AdvertiserLink, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createDisplayVideo360AdvertiserLinkExceptionTest() - { - $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]'); - $displayVideo360AdvertiserLink = new DisplayVideo360AdvertiserLink(); - $request = (new CreateDisplayVideo360AdvertiserLinkRequest()) - ->setParent($formattedParent) - ->setDisplayVideo360AdvertiserLink($displayVideo360AdvertiserLink); - try { - $gapicClient->createDisplayVideo360AdvertiserLink($request); - // 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 createDisplayVideo360AdvertiserLinkProposalTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $advertiserId = 'advertiserId-127926097'; - $advertiserDisplayName = 'advertiserDisplayName-674771332'; - $validationEmail = 'validationEmail2105669718'; - $expectedResponse = new DisplayVideo360AdvertiserLinkProposal(); - $expectedResponse->setName($name); - $expectedResponse->setAdvertiserId($advertiserId); - $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName); - $expectedResponse->setValidationEmail($validationEmail); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $displayVideo360AdvertiserLinkProposal = new DisplayVideo360AdvertiserLinkProposal(); - $request = (new CreateDisplayVideo360AdvertiserLinkProposalRequest()) - ->setParent($formattedParent) - ->setDisplayVideo360AdvertiserLinkProposal($displayVideo360AdvertiserLinkProposal); - $response = $gapicClient->createDisplayVideo360AdvertiserLinkProposal($request); - $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/CreateDisplayVideo360AdvertiserLinkProposal', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getDisplayVideo360AdvertiserLinkProposal(); - $this->assertProtobufEquals($displayVideo360AdvertiserLinkProposal, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createDisplayVideo360AdvertiserLinkProposalExceptionTest() - { - $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]'); - $displayVideo360AdvertiserLinkProposal = new DisplayVideo360AdvertiserLinkProposal(); - $request = (new CreateDisplayVideo360AdvertiserLinkProposalRequest()) - ->setParent($formattedParent) - ->setDisplayVideo360AdvertiserLinkProposal($displayVideo360AdvertiserLinkProposal); - try { - $gapicClient->createDisplayVideo360AdvertiserLinkProposal($request); - // 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 createEventCreateRuleTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $destinationEvent = 'destinationEvent-1300408535'; - $sourceCopyParameters = true; - $expectedResponse = new EventCreateRule(); - $expectedResponse->setName($name); - $expectedResponse->setDestinationEvent($destinationEvent); - $expectedResponse->setSourceCopyParameters($sourceCopyParameters); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $eventCreateRule = new EventCreateRule(); - $eventCreateRuleDestinationEvent = 'eventCreateRuleDestinationEvent598875038'; - $eventCreateRule->setDestinationEvent($eventCreateRuleDestinationEvent); - $eventCreateRuleEventConditions = []; - $eventCreateRule->setEventConditions($eventCreateRuleEventConditions); - $request = (new CreateEventCreateRuleRequest()) - ->setParent($formattedParent) - ->setEventCreateRule($eventCreateRule); - $response = $gapicClient->createEventCreateRule($request); - $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/CreateEventCreateRule', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getEventCreateRule(); - $this->assertProtobufEquals($eventCreateRule, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createEventCreateRuleExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $eventCreateRule = new EventCreateRule(); - $eventCreateRuleDestinationEvent = 'eventCreateRuleDestinationEvent598875038'; - $eventCreateRule->setDestinationEvent($eventCreateRuleDestinationEvent); - $eventCreateRuleEventConditions = []; - $eventCreateRule->setEventConditions($eventCreateRuleEventConditions); - $request = (new CreateEventCreateRuleRequest()) - ->setParent($formattedParent) - ->setEventCreateRule($eventCreateRule); - try { - $gapicClient->createEventCreateRule($request); - // 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 createEventEditRuleTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $processingOrder = 334545118; - $expectedResponse = new EventEditRule(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setProcessingOrder($processingOrder); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $eventEditRule = new EventEditRule(); - $eventEditRuleDisplayName = 'eventEditRuleDisplayName160444781'; - $eventEditRule->setDisplayName($eventEditRuleDisplayName); - $eventEditRuleEventConditions = []; - $eventEditRule->setEventConditions($eventEditRuleEventConditions); - $eventEditRuleParameterMutations = []; - $eventEditRule->setParameterMutations($eventEditRuleParameterMutations); - $request = (new CreateEventEditRuleRequest()) - ->setParent($formattedParent) - ->setEventEditRule($eventEditRule); - $response = $gapicClient->createEventEditRule($request); - $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/CreateEventEditRule', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getEventEditRule(); - $this->assertProtobufEquals($eventEditRule, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createEventEditRuleExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $eventEditRule = new EventEditRule(); - $eventEditRuleDisplayName = 'eventEditRuleDisplayName160444781'; - $eventEditRule->setDisplayName($eventEditRuleDisplayName); - $eventEditRuleEventConditions = []; - $eventEditRule->setEventConditions($eventEditRuleEventConditions); - $eventEditRuleParameterMutations = []; - $eventEditRule->setParameterMutations($eventEditRuleParameterMutations); - $request = (new CreateEventEditRuleRequest()) - ->setParent($formattedParent) - ->setEventEditRule($eventEditRule); - try { - $gapicClient->createEventEditRule($request); - // 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 createExpandedDataSetTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $expectedResponse = new ExpandedDataSet(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $expandedDataSet = new ExpandedDataSet(); - $expandedDataSetDisplayName = 'expandedDataSetDisplayName629188494'; - $expandedDataSet->setDisplayName($expandedDataSetDisplayName); - $request = (new CreateExpandedDataSetRequest()) - ->setParent($formattedParent) - ->setExpandedDataSet($expandedDataSet); - $response = $gapicClient->createExpandedDataSet($request); - $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/CreateExpandedDataSet', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getExpandedDataSet(); - $this->assertProtobufEquals($expandedDataSet, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createExpandedDataSetExceptionTest() - { - $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]'); - $expandedDataSet = new ExpandedDataSet(); - $expandedDataSetDisplayName = 'expandedDataSetDisplayName629188494'; - $expandedDataSet->setDisplayName($expandedDataSetDisplayName); - $request = (new CreateExpandedDataSetRequest()) - ->setParent($formattedParent) - ->setExpandedDataSet($expandedDataSet); - try { - $gapicClient->createExpandedDataSet($request); - // 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 createFirebaseLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $project = 'project-309310695'; - $expectedResponse = new FirebaseLink(); - $expectedResponse->setName($name); - $expectedResponse->setProject($project); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $firebaseLink = new FirebaseLink(); - $request = (new CreateFirebaseLinkRequest()) - ->setParent($formattedParent) - ->setFirebaseLink($firebaseLink); - $response = $gapicClient->createFirebaseLink($request); - $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/CreateFirebaseLink', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getFirebaseLink(); - $this->assertProtobufEquals($firebaseLink, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createFirebaseLinkExceptionTest() - { - $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]'); - $firebaseLink = new FirebaseLink(); - $request = (new CreateFirebaseLinkRequest()) - ->setParent($formattedParent) - ->setFirebaseLink($firebaseLink); - try { - $gapicClient->createFirebaseLink($request); - // 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 createGoogleAdsLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $customerId = 'customerId-1772061412'; - $canManageClients = false; - $creatorEmailAddress = 'creatorEmailAddress-1491810434'; - $expectedResponse = new GoogleAdsLink(); - $expectedResponse->setName($name); - $expectedResponse->setCustomerId($customerId); - $expectedResponse->setCanManageClients($canManageClients); - $expectedResponse->setCreatorEmailAddress($creatorEmailAddress); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $googleAdsLink = new GoogleAdsLink(); - $request = (new CreateGoogleAdsLinkRequest()) - ->setParent($formattedParent) - ->setGoogleAdsLink($googleAdsLink); - $response = $gapicClient->createGoogleAdsLink($request); - $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/CreateGoogleAdsLink', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getGoogleAdsLink(); - $this->assertProtobufEquals($googleAdsLink, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createGoogleAdsLinkExceptionTest() - { - $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]'); - $googleAdsLink = new GoogleAdsLink(); - $request = (new CreateGoogleAdsLinkRequest()) - ->setParent($formattedParent) - ->setGoogleAdsLink($googleAdsLink); - try { - $gapicClient->createGoogleAdsLink($request); - // 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 createKeyEventTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $eventName = 'eventName984174864'; - $deletable = true; - $custom = false; - $expectedResponse = new KeyEvent(); - $expectedResponse->setName($name); - $expectedResponse->setEventName($eventName); - $expectedResponse->setDeletable($deletable); - $expectedResponse->setCustom($custom); - $transport->addResponse($expectedResponse); - // Mock request - $keyEvent = new KeyEvent(); - $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; - $keyEvent->setCountingMethod($keyEventCountingMethod); - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new CreateKeyEventRequest()) - ->setKeyEvent($keyEvent) - ->setParent($formattedParent); - $response = $gapicClient->createKeyEvent($request); - $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/CreateKeyEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getKeyEvent(); - $this->assertProtobufEquals($keyEvent, $actualValue); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createKeyEventExceptionTest() - { - $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 - $keyEvent = new KeyEvent(); - $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; - $keyEvent->setCountingMethod($keyEventCountingMethod); - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new CreateKeyEventRequest()) - ->setKeyEvent($keyEvent) - ->setParent($formattedParent); - try { - $gapicClient->createKeyEvent($request); - // 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 createMeasurementProtocolSecretTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $secretValue = 'secretValue1322942242'; - $expectedResponse = new MeasurementProtocolSecret(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setSecretValue($secretValue); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $measurementProtocolSecret = new MeasurementProtocolSecret(); - $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; - $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); - $request = (new CreateMeasurementProtocolSecretRequest()) - ->setParent($formattedParent) - ->setMeasurementProtocolSecret($measurementProtocolSecret); - $response = $gapicClient->createMeasurementProtocolSecret($request); - $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/CreateMeasurementProtocolSecret', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getMeasurementProtocolSecret(); - $this->assertProtobufEquals($measurementProtocolSecret, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createMeasurementProtocolSecretExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $measurementProtocolSecret = new MeasurementProtocolSecret(); - $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; - $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); - $request = (new CreateMeasurementProtocolSecretRequest()) - ->setParent($formattedParent) - ->setMeasurementProtocolSecret($measurementProtocolSecret); - try { - $gapicClient->createMeasurementProtocolSecret($request); - // 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 createPropertyTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $parent = 'parent-995424086'; - $displayName = 'displayName1615086568'; - $timeZone = 'timeZone36848094'; - $currencyCode = 'currencyCode1108728155'; - $account = 'account-1177318867'; - $expectedResponse = new Property(); - $expectedResponse->setName($name); - $expectedResponse->setParent($parent); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setTimeZone($timeZone); - $expectedResponse->setCurrencyCode($currencyCode); - $expectedResponse->setAccount($account); - $transport->addResponse($expectedResponse); - // Mock request - $property = new Property(); - $propertyDisplayName = 'propertyDisplayName-1254483624'; - $property->setDisplayName($propertyDisplayName); - $propertyTimeZone = 'propertyTimeZone-1600366322'; - $property->setTimeZone($propertyTimeZone); - $request = (new CreatePropertyRequest()) - ->setProperty($property); - $response = $gapicClient->createProperty($request); - $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/CreateProperty', $actualFuncCall); - $actualValue = $actualRequestObject->getProperty(); - $this->assertProtobufEquals($property, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createPropertyExceptionTest() - { - $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 = new Property(); - $propertyDisplayName = 'propertyDisplayName-1254483624'; - $property->setDisplayName($propertyDisplayName); - $propertyTimeZone = 'propertyTimeZone-1600366322'; - $property->setTimeZone($propertyTimeZone); - $request = (new CreatePropertyRequest()) - ->setProperty($property); - try { - $gapicClient->createProperty($request); - // 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 createReportingDataAnnotationTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $title = 'title110371416'; - $description = 'description-1724546052'; - $systemGenerated = false; - $expectedResponse = new ReportingDataAnnotation(); - $expectedResponse->setName($name); - $expectedResponse->setTitle($title); - $expectedResponse->setDescription($description); - $expectedResponse->setSystemGenerated($systemGenerated); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $reportingDataAnnotation = new ReportingDataAnnotation(); - $reportingDataAnnotationName = 'reportingDataAnnotationName-286898318'; - $reportingDataAnnotation->setName($reportingDataAnnotationName); - $reportingDataAnnotationTitle = 'reportingDataAnnotationTitle-298126767'; - $reportingDataAnnotation->setTitle($reportingDataAnnotationTitle); - $reportingDataAnnotationColor = Color::COLOR_UNSPECIFIED; - $reportingDataAnnotation->setColor($reportingDataAnnotationColor); - $request = (new CreateReportingDataAnnotationRequest()) - ->setParent($formattedParent) - ->setReportingDataAnnotation($reportingDataAnnotation); - $response = $gapicClient->createReportingDataAnnotation($request); - $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/CreateReportingDataAnnotation', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getReportingDataAnnotation(); - $this->assertProtobufEquals($reportingDataAnnotation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createReportingDataAnnotationExceptionTest() - { - $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]'); - $reportingDataAnnotation = new ReportingDataAnnotation(); - $reportingDataAnnotationName = 'reportingDataAnnotationName-286898318'; - $reportingDataAnnotation->setName($reportingDataAnnotationName); - $reportingDataAnnotationTitle = 'reportingDataAnnotationTitle-298126767'; - $reportingDataAnnotation->setTitle($reportingDataAnnotationTitle); - $reportingDataAnnotationColor = Color::COLOR_UNSPECIFIED; - $reportingDataAnnotation->setColor($reportingDataAnnotationColor); - $request = (new CreateReportingDataAnnotationRequest()) - ->setParent($formattedParent) - ->setReportingDataAnnotation($reportingDataAnnotation); - try { - $gapicClient->createReportingDataAnnotation($request); - // 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 createRollupPropertyTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new CreateRollupPropertyResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $rollupProperty = new Property(); - $rollupPropertyDisplayName = 'rollupPropertyDisplayName1210744416'; - $rollupProperty->setDisplayName($rollupPropertyDisplayName); - $rollupPropertyTimeZone = 'rollupPropertyTimeZone1768247558'; - $rollupProperty->setTimeZone($rollupPropertyTimeZone); - $request = (new CreateRollupPropertyRequest()) - ->setRollupProperty($rollupProperty); - $response = $gapicClient->createRollupProperty($request); - $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/CreateRollupProperty', $actualFuncCall); - $actualValue = $actualRequestObject->getRollupProperty(); - $this->assertProtobufEquals($rollupProperty, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createRollupPropertyExceptionTest() - { - $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 - $rollupProperty = new Property(); - $rollupPropertyDisplayName = 'rollupPropertyDisplayName1210744416'; - $rollupProperty->setDisplayName($rollupPropertyDisplayName); - $rollupPropertyTimeZone = 'rollupPropertyTimeZone1768247558'; - $rollupProperty->setTimeZone($rollupPropertyTimeZone); - $request = (new CreateRollupPropertyRequest()) - ->setRollupProperty($rollupProperty); - try { - $gapicClient->createRollupProperty($request); - // 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 createRollupPropertySourceLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $sourceProperty = 'sourceProperty2069271929'; - $expectedResponse = new RollupPropertySourceLink(); - $expectedResponse->setName($name); - $expectedResponse->setSourceProperty($sourceProperty); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $rollupPropertySourceLink = new RollupPropertySourceLink(); - $request = (new CreateRollupPropertySourceLinkRequest()) - ->setParent($formattedParent) - ->setRollupPropertySourceLink($rollupPropertySourceLink); - $response = $gapicClient->createRollupPropertySourceLink($request); - $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/CreateRollupPropertySourceLink', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getRollupPropertySourceLink(); - $this->assertProtobufEquals($rollupPropertySourceLink, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createRollupPropertySourceLinkExceptionTest() - { - $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]'); - $rollupPropertySourceLink = new RollupPropertySourceLink(); - $request = (new CreateRollupPropertySourceLinkRequest()) - ->setParent($formattedParent) - ->setRollupPropertySourceLink($rollupPropertySourceLink); - try { - $gapicClient->createRollupPropertySourceLink($request); - // 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 createSKAdNetworkConversionValueSchemaTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $applyConversionValues = true; - $expectedResponse = new SKAdNetworkConversionValueSchema(); - $expectedResponse->setName($name); - $expectedResponse->setApplyConversionValues($applyConversionValues); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(); - $skadnetworkConversionValueSchemaPostbackWindowOne = new PostbackWindow(); - $skadnetworkConversionValueSchema->setPostbackWindowOne($skadnetworkConversionValueSchemaPostbackWindowOne); - $request = (new CreateSKAdNetworkConversionValueSchemaRequest()) - ->setParent($formattedParent) - ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema); - $response = $gapicClient->createSKAdNetworkConversionValueSchema($request); - $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/CreateSKAdNetworkConversionValueSchema', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getSkadnetworkConversionValueSchema(); - $this->assertProtobufEquals($skadnetworkConversionValueSchema, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createSKAdNetworkConversionValueSchemaExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(); - $skadnetworkConversionValueSchemaPostbackWindowOne = new PostbackWindow(); - $skadnetworkConversionValueSchema->setPostbackWindowOne($skadnetworkConversionValueSchemaPostbackWindowOne); - $request = (new CreateSKAdNetworkConversionValueSchemaRequest()) - ->setParent($formattedParent) - ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema); - try { - $gapicClient->createSKAdNetworkConversionValueSchema($request); - // 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 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(); - $request = (new CreateSearchAds360LinkRequest()) - ->setParent($formattedParent) - ->setSearchAds360Link($searchAds360Link); - $response = $gapicClient->createSearchAds360Link($request); - $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(); - $request = (new CreateSearchAds360LinkRequest()) - ->setParent($formattedParent) - ->setSearchAds360Link($searchAds360Link); - try { - $gapicClient->createSearchAds360Link($request); - // 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 createSubpropertyEventFilterTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $applyToProperty = 'applyToProperty-1639692344'; - $expectedResponse = new SubpropertyEventFilter(); - $expectedResponse->setName($name); - $expectedResponse->setApplyToProperty($applyToProperty); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $subpropertyEventFilter = new SubpropertyEventFilter(); - $subpropertyEventFilterFilterClauses = []; - $subpropertyEventFilter->setFilterClauses($subpropertyEventFilterFilterClauses); - $request = (new CreateSubpropertyEventFilterRequest()) - ->setParent($formattedParent) - ->setSubpropertyEventFilter($subpropertyEventFilter); - $response = $gapicClient->createSubpropertyEventFilter($request); - $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/CreateSubpropertyEventFilter', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getSubpropertyEventFilter(); - $this->assertProtobufEquals($subpropertyEventFilter, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createSubpropertyEventFilterExceptionTest() - { - $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]'); - $subpropertyEventFilter = new SubpropertyEventFilter(); - $subpropertyEventFilterFilterClauses = []; - $subpropertyEventFilter->setFilterClauses($subpropertyEventFilterFilterClauses); - $request = (new CreateSubpropertyEventFilterRequest()) - ->setParent($formattedParent) - ->setSubpropertyEventFilter($subpropertyEventFilter); - try { - $gapicClient->createSubpropertyEventFilter($request); - // 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 deleteAccessBindingTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); - $request = (new DeleteAccessBindingRequest()) - ->setName($formattedName); - $gapicClient->deleteAccessBinding($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteAccessBinding', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteAccessBindingExceptionTest() - { - $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->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); - $request = (new DeleteAccessBindingRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteAccessBinding($request); - // 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 deleteAccountTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->accountName('[ACCOUNT]'); - $request = (new DeleteAccountRequest()) - ->setName($formattedName); - $gapicClient->deleteAccount($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteAccount', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteAccountExceptionTest() - { - $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->accountName('[ACCOUNT]'); - $request = (new DeleteAccountRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteAccount($request); - // 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 deleteAdSenseLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->adSenseLinkName('[PROPERTY]', '[ADSENSE_LINK]'); - $request = (new DeleteAdSenseLinkRequest()) - ->setName($formattedName); - $gapicClient->deleteAdSenseLink($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteAdSenseLink', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteAdSenseLinkExceptionTest() - { - $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->adSenseLinkName('[PROPERTY]', '[ADSENSE_LINK]'); - $request = (new DeleteAdSenseLinkRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteAdSenseLink($request); - // 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 deleteBigQueryLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->bigQueryLinkName('[PROPERTY]', '[BIGQUERY_LINK]'); - $request = (new DeleteBigQueryLinkRequest()) - ->setName($formattedName); - $gapicClient->deleteBigQueryLink($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteBigQueryLink', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteBigQueryLinkExceptionTest() - { - $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]'); - $request = (new DeleteBigQueryLinkRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteBigQueryLink($request); - // 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 deleteCalculatedMetricTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->calculatedMetricName('[PROPERTY]', '[CALCULATED_METRIC]'); - $request = (new DeleteCalculatedMetricRequest()) - ->setName($formattedName); - $gapicClient->deleteCalculatedMetric($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteCalculatedMetric', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteCalculatedMetricExceptionTest() - { - $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->calculatedMetricName('[PROPERTY]', '[CALCULATED_METRIC]'); - $request = (new DeleteCalculatedMetricRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteCalculatedMetric($request); - // 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 deleteChannelGroupTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->channelGroupName('[PROPERTY]', '[CHANNEL_GROUP]'); - $request = (new DeleteChannelGroupRequest()) - ->setName($formattedName); - $gapicClient->deleteChannelGroup($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteChannelGroup', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteChannelGroupExceptionTest() - { - $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->channelGroupName('[PROPERTY]', '[CHANNEL_GROUP]'); - $request = (new DeleteChannelGroupRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteChannelGroup($request); - // 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 deleteConversionEventTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); - $request = (new DeleteConversionEventRequest()) - ->setName($formattedName); - $gapicClient->deleteConversionEvent($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteConversionEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteConversionEventExceptionTest() - { - $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->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); - $request = (new DeleteConversionEventRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteConversionEvent($request); - // 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 deleteDataStreamTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new DeleteDataStreamRequest()) - ->setName($formattedName); - $gapicClient->deleteDataStream($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDataStream', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteDataStreamExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new DeleteDataStreamRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteDataStream($request); - // 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 deleteDisplayVideo360AdvertiserLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->displayVideo360AdvertiserLinkName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK]'); - $request = (new DeleteDisplayVideo360AdvertiserLinkRequest()) - ->setName($formattedName); - $gapicClient->deleteDisplayVideo360AdvertiserLink($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDisplayVideo360AdvertiserLink', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteDisplayVideo360AdvertiserLinkExceptionTest() - { - $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->displayVideo360AdvertiserLinkName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK]'); - $request = (new DeleteDisplayVideo360AdvertiserLinkRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteDisplayVideo360AdvertiserLink($request); - // 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 deleteDisplayVideo360AdvertiserLinkProposalTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); - $request = (new DeleteDisplayVideo360AdvertiserLinkProposalRequest()) - ->setName($formattedName); - $gapicClient->deleteDisplayVideo360AdvertiserLinkProposal($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteDisplayVideo360AdvertiserLinkProposal', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteDisplayVideo360AdvertiserLinkProposalExceptionTest() - { - $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->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); - $request = (new DeleteDisplayVideo360AdvertiserLinkProposalRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteDisplayVideo360AdvertiserLinkProposal($request); - // 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 deleteEventCreateRuleTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->eventCreateRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_CREATE_RULE]'); - $request = (new DeleteEventCreateRuleRequest()) - ->setName($formattedName); - $gapicClient->deleteEventCreateRule($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteEventCreateRule', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteEventCreateRuleExceptionTest() - { - $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->eventCreateRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_CREATE_RULE]'); - $request = (new DeleteEventCreateRuleRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteEventCreateRule($request); - // 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 deleteEventEditRuleTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->eventEditRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_EDIT_RULE]'); - $request = (new DeleteEventEditRuleRequest()) - ->setName($formattedName); - $gapicClient->deleteEventEditRule($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteEventEditRule', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteEventEditRuleExceptionTest() - { - $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->eventEditRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_EDIT_RULE]'); - $request = (new DeleteEventEditRuleRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteEventEditRule($request); - // 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 deleteExpandedDataSetTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->expandedDataSetName('[PROPERTY]', '[EXPANDED_DATA_SET]'); - $request = (new DeleteExpandedDataSetRequest()) - ->setName($formattedName); - $gapicClient->deleteExpandedDataSet($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteExpandedDataSet', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteExpandedDataSetExceptionTest() - { - $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->expandedDataSetName('[PROPERTY]', '[EXPANDED_DATA_SET]'); - $request = (new DeleteExpandedDataSetRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteExpandedDataSet($request); - // 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 deleteFirebaseLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->firebaseLinkName('[PROPERTY]', '[FIREBASE_LINK]'); - $request = (new DeleteFirebaseLinkRequest()) - ->setName($formattedName); - $gapicClient->deleteFirebaseLink($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteFirebaseLink', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteFirebaseLinkExceptionTest() - { - $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->firebaseLinkName('[PROPERTY]', '[FIREBASE_LINK]'); - $request = (new DeleteFirebaseLinkRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteFirebaseLink($request); - // 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 deleteGoogleAdsLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->googleAdsLinkName('[PROPERTY]', '[GOOGLE_ADS_LINK]'); - $request = (new DeleteGoogleAdsLinkRequest()) - ->setName($formattedName); - $gapicClient->deleteGoogleAdsLink($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteGoogleAdsLink', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteGoogleAdsLinkExceptionTest() - { - $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->googleAdsLinkName('[PROPERTY]', '[GOOGLE_ADS_LINK]'); - $request = (new DeleteGoogleAdsLinkRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteGoogleAdsLink($request); - // 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 deleteKeyEventTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->keyEventName('[PROPERTY]', '[KEY_EVENT]'); - $request = (new DeleteKeyEventRequest()) - ->setName($formattedName); - $gapicClient->deleteKeyEvent($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteKeyEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteKeyEventExceptionTest() - { - $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->keyEventName('[PROPERTY]', '[KEY_EVENT]'); - $request = (new DeleteKeyEventRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteKeyEvent($request); - // 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 deleteMeasurementProtocolSecretTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); - $request = (new DeleteMeasurementProtocolSecretRequest()) - ->setName($formattedName); - $gapicClient->deleteMeasurementProtocolSecret($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteMeasurementProtocolSecret', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteMeasurementProtocolSecretExceptionTest() - { - $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->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); - $request = (new DeleteMeasurementProtocolSecretRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteMeasurementProtocolSecret($request); - // 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 deletePropertyTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $parent = 'parent-995424086'; - $displayName = 'displayName1615086568'; - $timeZone = 'timeZone36848094'; - $currencyCode = 'currencyCode1108728155'; - $account = 'account-1177318867'; - $expectedResponse = new Property(); - $expectedResponse->setName($name2); - $expectedResponse->setParent($parent); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setTimeZone($timeZone); - $expectedResponse->setCurrencyCode($currencyCode); - $expectedResponse->setAccount($account); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->propertyName('[PROPERTY]'); - $request = (new DeletePropertyRequest()) - ->setName($formattedName); - $response = $gapicClient->deleteProperty($request); - $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/DeleteProperty', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deletePropertyExceptionTest() - { - $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->propertyName('[PROPERTY]'); - $request = (new DeletePropertyRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteProperty($request); - // 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 deleteReportingDataAnnotationTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->reportingDataAnnotationName('[PROPERTY]', '[REPORTING_DATA_ANNOTATION]'); - $request = (new DeleteReportingDataAnnotationRequest()) - ->setName($formattedName); - $gapicClient->deleteReportingDataAnnotation($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteReportingDataAnnotation', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteReportingDataAnnotationExceptionTest() - { - $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->reportingDataAnnotationName('[PROPERTY]', '[REPORTING_DATA_ANNOTATION]'); - $request = (new DeleteReportingDataAnnotationRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteReportingDataAnnotation($request); - // 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 deleteRollupPropertySourceLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->rollupPropertySourceLinkName('[PROPERTY]', '[ROLLUP_PROPERTY_SOURCE_LINK]'); - $request = (new DeleteRollupPropertySourceLinkRequest()) - ->setName($formattedName); - $gapicClient->deleteRollupPropertySourceLink($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteRollupPropertySourceLink', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteRollupPropertySourceLinkExceptionTest() - { - $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->rollupPropertySourceLinkName('[PROPERTY]', '[ROLLUP_PROPERTY_SOURCE_LINK]'); - $request = (new DeleteRollupPropertySourceLinkRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteRollupPropertySourceLink($request); - // 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 deleteSKAdNetworkConversionValueSchemaTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->sKAdNetworkConversionValueSchemaName('[PROPERTY]', '[DATA_STREAM]', '[SKADNETWORK_CONVERSION_VALUE_SCHEMA]'); - $request = (new DeleteSKAdNetworkConversionValueSchemaRequest()) - ->setName($formattedName); - $gapicClient->deleteSKAdNetworkConversionValueSchema($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteSKAdNetworkConversionValueSchema', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteSKAdNetworkConversionValueSchemaExceptionTest() - { - $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->sKAdNetworkConversionValueSchemaName('[PROPERTY]', '[DATA_STREAM]', '[SKADNETWORK_CONVERSION_VALUE_SCHEMA]'); - $request = (new DeleteSKAdNetworkConversionValueSchemaRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteSKAdNetworkConversionValueSchema($request); - // 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 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]'); - $request = (new DeleteSearchAds360LinkRequest()) - ->setName($formattedName); - $gapicClient->deleteSearchAds360Link($request); - $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]'); - $request = (new DeleteSearchAds360LinkRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteSearchAds360Link($request); - // 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 deleteSubpropertyEventFilterTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->subpropertyEventFilterName('[PROPERTY]', '[SUB_PROPERTY_EVENT_FILTER]'); - $request = (new DeleteSubpropertyEventFilterRequest()) - ->setName($formattedName); - $gapicClient->deleteSubpropertyEventFilter($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteSubpropertyEventFilter', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteSubpropertyEventFilterExceptionTest() - { - $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->subpropertyEventFilterName('[PROPERTY]', '[SUB_PROPERTY_EVENT_FILTER]'); - $request = (new DeleteSubpropertyEventFilterRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteSubpropertyEventFilter($request); - // 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 getAccessBindingTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $user = 'user3599307'; - $name2 = 'name2-1052831874'; - $expectedResponse = new AccessBinding(); - $expectedResponse->setUser($user); - $expectedResponse->setName($name2); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); - $request = (new GetAccessBindingRequest()) - ->setName($formattedName); - $response = $gapicClient->getAccessBinding($request); - $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/GetAccessBinding', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getAccessBindingExceptionTest() - { - $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->accessBindingName('[ACCOUNT]', '[ACCESS_BINDING]'); - $request = (new GetAccessBindingRequest()) - ->setName($formattedName); - try { - $gapicClient->getAccessBinding($request); - // 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() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $displayName = 'displayName1615086568'; - $regionCode = 'regionCode-1566082984'; - $deleted = false; - $gmpOrganization = 'gmpOrganization-1643573496'; - $expectedResponse = new Account(); - $expectedResponse->setName($name2); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setRegionCode($regionCode); - $expectedResponse->setDeleted($deleted); - $expectedResponse->setGmpOrganization($gmpOrganization); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->accountName('[ACCOUNT]'); - $request = (new GetAccountRequest()) - ->setName($formattedName); - $response = $gapicClient->getAccount($request); - $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/GetAccount', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getAccountExceptionTest() - { - $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->accountName('[ACCOUNT]'); - $request = (new GetAccountRequest()) - ->setName($formattedName); - try { - $gapicClient->getAccount($request); - // 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 getAdSenseLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $adClientCode = 'adClientCode-1866307643'; - $expectedResponse = new AdSenseLink(); - $expectedResponse->setName($name2); - $expectedResponse->setAdClientCode($adClientCode); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->adSenseLinkName('[PROPERTY]', '[ADSENSE_LINK]'); - $request = (new GetAdSenseLinkRequest()) - ->setName($formattedName); - $response = $gapicClient->getAdSenseLink($request); - $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/GetAdSenseLink', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getAdSenseLinkExceptionTest() - { - $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->adSenseLinkName('[PROPERTY]', '[ADSENSE_LINK]'); - $request = (new GetAdSenseLinkRequest()) - ->setName($formattedName); - try { - $gapicClient->getAdSenseLink($request); - // 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 getAttributionSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $expectedResponse = new AttributionSettings(); - $expectedResponse->setName($name2); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->attributionSettingsName('[PROPERTY]'); - $request = (new GetAttributionSettingsRequest()) - ->setName($formattedName); - $response = $gapicClient->getAttributionSettings($request); - $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/GetAttributionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getAttributionSettingsExceptionTest() - { - $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->attributionSettingsName('[PROPERTY]'); - $request = (new GetAttributionSettingsRequest()) - ->setName($formattedName); - try { - $gapicClient->getAttributionSettings($request); - // 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 getAudienceTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $membershipDurationDays = 1702404985; - $adsPersonalizationEnabled = false; - $expectedResponse = new Audience(); - $expectedResponse->setName($name2); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $expectedResponse->setMembershipDurationDays($membershipDurationDays); - $expectedResponse->setAdsPersonalizationEnabled($adsPersonalizationEnabled); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->audienceName('[PROPERTY]', '[AUDIENCE]'); - $request = (new GetAudienceRequest()) - ->setName($formattedName); - $response = $gapicClient->getAudience($request); - $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/GetAudience', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getAudienceExceptionTest() - { - $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->audienceName('[PROPERTY]', '[AUDIENCE]'); - $request = (new GetAudienceRequest()) - ->setName($formattedName); - try { - $gapicClient->getAudience($request); - // 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 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; - $freshDailyExportEnabled = false; - $includeAdvertisingId = false; - $datasetLocation = 'datasetLocation1011262364'; - $expectedResponse = new BigQueryLink(); - $expectedResponse->setName($name2); - $expectedResponse->setProject($project); - $expectedResponse->setDailyExportEnabled($dailyExportEnabled); - $expectedResponse->setStreamingExportEnabled($streamingExportEnabled); - $expectedResponse->setFreshDailyExportEnabled($freshDailyExportEnabled); - $expectedResponse->setIncludeAdvertisingId($includeAdvertisingId); - $expectedResponse->setDatasetLocation($datasetLocation); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->bigQueryLinkName('[PROPERTY]', '[BIGQUERY_LINK]'); - $request = (new GetBigQueryLinkRequest()) - ->setName($formattedName); - $response = $gapicClient->getBigQueryLink($request); - $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]'); - $request = (new GetBigQueryLinkRequest()) - ->setName($formattedName); - try { - $gapicClient->getBigQueryLink($request); - // 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 getCalculatedMetricTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $description = 'description-1724546052'; - $displayName = 'displayName1615086568'; - $calculatedMetricId = 'calculatedMetricId8203465'; - $formula = 'formula-677424794'; - $invalidMetricReference = true; - $expectedResponse = new CalculatedMetric(); - $expectedResponse->setName($name2); - $expectedResponse->setDescription($description); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setCalculatedMetricId($calculatedMetricId); - $expectedResponse->setFormula($formula); - $expectedResponse->setInvalidMetricReference($invalidMetricReference); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->calculatedMetricName('[PROPERTY]', '[CALCULATED_METRIC]'); - $request = (new GetCalculatedMetricRequest()) - ->setName($formattedName); - $response = $gapicClient->getCalculatedMetric($request); - $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/GetCalculatedMetric', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getCalculatedMetricExceptionTest() - { - $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->calculatedMetricName('[PROPERTY]', '[CALCULATED_METRIC]'); - $request = (new GetCalculatedMetricRequest()) - ->setName($formattedName); - try { - $gapicClient->getCalculatedMetric($request); - // 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 getChannelGroupTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $systemDefined = false; - $primary = true; - $expectedResponse = new ChannelGroup(); - $expectedResponse->setName($name2); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $expectedResponse->setSystemDefined($systemDefined); - $expectedResponse->setPrimary($primary); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->channelGroupName('[PROPERTY]', '[CHANNEL_GROUP]'); - $request = (new GetChannelGroupRequest()) - ->setName($formattedName); - $response = $gapicClient->getChannelGroup($request); - $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/GetChannelGroup', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getChannelGroupExceptionTest() - { - $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->channelGroupName('[PROPERTY]', '[CHANNEL_GROUP]'); - $request = (new GetChannelGroupRequest()) - ->setName($formattedName); - try { - $gapicClient->getChannelGroup($request); - // 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() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $eventName = 'eventName984174864'; - $deletable = true; - $custom = false; - $expectedResponse = new ConversionEvent(); - $expectedResponse->setName($name2); - $expectedResponse->setEventName($eventName); - $expectedResponse->setDeletable($deletable); - $expectedResponse->setCustom($custom); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); - $request = (new GetConversionEventRequest()) - ->setName($formattedName); - $response = $gapicClient->getConversionEvent($request); - $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/GetConversionEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getConversionEventExceptionTest() - { - $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->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); - $request = (new GetConversionEventRequest()) - ->setName($formattedName); - try { - $gapicClient->getConversionEvent($request); - // 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 getCustomDimensionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $parameterName = 'parameterName1133142369'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $disallowAdsPersonalization = false; - $expectedResponse = new CustomDimension(); - $expectedResponse->setName($name2); - $expectedResponse->setParameterName($parameterName); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $expectedResponse->setDisallowAdsPersonalization($disallowAdsPersonalization); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); - $request = (new GetCustomDimensionRequest()) - ->setName($formattedName); - $response = $gapicClient->getCustomDimension($request); - $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/GetCustomDimension', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getCustomDimensionExceptionTest() - { - $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->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); - $request = (new GetCustomDimensionRequest()) - ->setName($formattedName); - try { - $gapicClient->getCustomDimension($request); - // 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 getCustomMetricTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $parameterName = 'parameterName1133142369'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $expectedResponse = new CustomMetric(); - $expectedResponse->setName($name2); - $expectedResponse->setParameterName($parameterName); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); - $request = (new GetCustomMetricRequest()) - ->setName($formattedName); - $response = $gapicClient->getCustomMetric($request); - $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/GetCustomMetric', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getCustomMetricExceptionTest() - { - $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->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); - $request = (new GetCustomMetricRequest()) - ->setName($formattedName); - try { - $gapicClient->getCustomMetric($request); - // 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 getDataRedactionSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $emailRedactionEnabled = true; - $queryParameterRedactionEnabled = true; - $expectedResponse = new DataRedactionSettings(); - $expectedResponse->setName($name2); - $expectedResponse->setEmailRedactionEnabled($emailRedactionEnabled); - $expectedResponse->setQueryParameterRedactionEnabled($queryParameterRedactionEnabled); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->dataRedactionSettingsName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new GetDataRedactionSettingsRequest()) - ->setName($formattedName); - $response = $gapicClient->getDataRedactionSettings($request); - $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/GetDataRedactionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getDataRedactionSettingsExceptionTest() - { - $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->dataRedactionSettingsName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new GetDataRedactionSettingsRequest()) - ->setName($formattedName); - try { - $gapicClient->getDataRedactionSettings($request); - // 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 getDataRetentionSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $resetUserDataOnNewActivity = false; - $expectedResponse = new DataRetentionSettings(); - $expectedResponse->setName($name2); - $expectedResponse->setResetUserDataOnNewActivity($resetUserDataOnNewActivity); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->dataRetentionSettingsName('[PROPERTY]'); - $request = (new GetDataRetentionSettingsRequest()) - ->setName($formattedName); - $response = $gapicClient->getDataRetentionSettings($request); - $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/GetDataRetentionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getDataRetentionSettingsExceptionTest() - { - $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->dataRetentionSettingsName('[PROPERTY]'); - $request = (new GetDataRetentionSettingsRequest()) - ->setName($formattedName); - try { - $gapicClient->getDataRetentionSettings($request); - // 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 getDataSharingSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $sharingWithGoogleSupportEnabled = false; - $sharingWithGoogleAssignedSalesEnabled = false; - $sharingWithGoogleAnySalesEnabled = false; - $sharingWithGoogleProductsEnabled = true; - $sharingWithOthersEnabled = false; - $expectedResponse = new DataSharingSettings(); - $expectedResponse->setName($name2); - $expectedResponse->setSharingWithGoogleSupportEnabled($sharingWithGoogleSupportEnabled); - $expectedResponse->setSharingWithGoogleAssignedSalesEnabled($sharingWithGoogleAssignedSalesEnabled); - $expectedResponse->setSharingWithGoogleAnySalesEnabled($sharingWithGoogleAnySalesEnabled); - $expectedResponse->setSharingWithGoogleProductsEnabled($sharingWithGoogleProductsEnabled); - $expectedResponse->setSharingWithOthersEnabled($sharingWithOthersEnabled); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->dataSharingSettingsName('[ACCOUNT]'); - $request = (new GetDataSharingSettingsRequest()) - ->setName($formattedName); - $response = $gapicClient->getDataSharingSettings($request); - $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/GetDataSharingSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getDataSharingSettingsExceptionTest() - { - $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->dataSharingSettingsName('[ACCOUNT]'); - $request = (new GetDataSharingSettingsRequest()) - ->setName($formattedName); - try { - $gapicClient->getDataSharingSettings($request); - // 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 getDataStreamTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $displayName = 'displayName1615086568'; - $expectedResponse = new DataStream(); - $expectedResponse->setName($name2); - $expectedResponse->setDisplayName($displayName); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new GetDataStreamRequest()) - ->setName($formattedName); - $response = $gapicClient->getDataStream($request); - $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/GetDataStream', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getDataStreamExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new GetDataStreamRequest()) - ->setName($formattedName); - try { - $gapicClient->getDataStream($request); - // 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 getDisplayVideo360AdvertiserLinkTest() - { - $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 DisplayVideo360AdvertiserLink(); - $expectedResponse->setName($name2); - $expectedResponse->setAdvertiserId($advertiserId); - $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->displayVideo360AdvertiserLinkName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK]'); - $request = (new GetDisplayVideo360AdvertiserLinkRequest()) - ->setName($formattedName); - $response = $gapicClient->getDisplayVideo360AdvertiserLink($request); - $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/GetDisplayVideo360AdvertiserLink', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getDisplayVideo360AdvertiserLinkExceptionTest() - { - $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->displayVideo360AdvertiserLinkName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK]'); - $request = (new GetDisplayVideo360AdvertiserLinkRequest()) - ->setName($formattedName); - try { - $gapicClient->getDisplayVideo360AdvertiserLink($request); - // 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 getDisplayVideo360AdvertiserLinkProposalTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $advertiserId = 'advertiserId-127926097'; - $advertiserDisplayName = 'advertiserDisplayName-674771332'; - $validationEmail = 'validationEmail2105669718'; - $expectedResponse = new DisplayVideo360AdvertiserLinkProposal(); - $expectedResponse->setName($name2); - $expectedResponse->setAdvertiserId($advertiserId); - $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName); - $expectedResponse->setValidationEmail($validationEmail); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); - $request = (new GetDisplayVideo360AdvertiserLinkProposalRequest()) - ->setName($formattedName); - $response = $gapicClient->getDisplayVideo360AdvertiserLinkProposal($request); - $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/GetDisplayVideo360AdvertiserLinkProposal', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getDisplayVideo360AdvertiserLinkProposalExceptionTest() - { - $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->displayVideo360AdvertiserLinkProposalName('[PROPERTY]', '[DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL]'); - $request = (new GetDisplayVideo360AdvertiserLinkProposalRequest()) - ->setName($formattedName); - try { - $gapicClient->getDisplayVideo360AdvertiserLinkProposal($request); - // 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 getEnhancedMeasurementSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $streamEnabled = true; - $scrollsEnabled = true; - $outboundClicksEnabled = true; - $siteSearchEnabled = true; - $videoEngagementEnabled = false; - $fileDownloadsEnabled = true; - $pageChangesEnabled = false; - $formInteractionsEnabled = true; - $searchQueryParameter = 'searchQueryParameter638048347'; - $uriQueryParameter = 'uriQueryParameter964636703'; - $expectedResponse = new EnhancedMeasurementSettings(); - $expectedResponse->setName($name2); - $expectedResponse->setStreamEnabled($streamEnabled); - $expectedResponse->setScrollsEnabled($scrollsEnabled); - $expectedResponse->setOutboundClicksEnabled($outboundClicksEnabled); - $expectedResponse->setSiteSearchEnabled($siteSearchEnabled); - $expectedResponse->setVideoEngagementEnabled($videoEngagementEnabled); - $expectedResponse->setFileDownloadsEnabled($fileDownloadsEnabled); - $expectedResponse->setPageChangesEnabled($pageChangesEnabled); - $expectedResponse->setFormInteractionsEnabled($formInteractionsEnabled); - $expectedResponse->setSearchQueryParameter($searchQueryParameter); - $expectedResponse->setUriQueryParameter($uriQueryParameter); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->enhancedMeasurementSettingsName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new GetEnhancedMeasurementSettingsRequest()) - ->setName($formattedName); - $response = $gapicClient->getEnhancedMeasurementSettings($request); - $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/GetEnhancedMeasurementSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getEnhancedMeasurementSettingsExceptionTest() - { - $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->enhancedMeasurementSettingsName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new GetEnhancedMeasurementSettingsRequest()) - ->setName($formattedName); - try { - $gapicClient->getEnhancedMeasurementSettings($request); - // 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 getEventCreateRuleTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $destinationEvent = 'destinationEvent-1300408535'; - $sourceCopyParameters = true; - $expectedResponse = new EventCreateRule(); - $expectedResponse->setName($name2); - $expectedResponse->setDestinationEvent($destinationEvent); - $expectedResponse->setSourceCopyParameters($sourceCopyParameters); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->eventCreateRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_CREATE_RULE]'); - $request = (new GetEventCreateRuleRequest()) - ->setName($formattedName); - $response = $gapicClient->getEventCreateRule($request); - $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/GetEventCreateRule', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getEventCreateRuleExceptionTest() - { - $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->eventCreateRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_CREATE_RULE]'); - $request = (new GetEventCreateRuleRequest()) - ->setName($formattedName); - try { - $gapicClient->getEventCreateRule($request); - // 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 getEventEditRuleTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $displayName = 'displayName1615086568'; - $processingOrder = 334545118; - $expectedResponse = new EventEditRule(); - $expectedResponse->setName($name2); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setProcessingOrder($processingOrder); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->eventEditRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_EDIT_RULE]'); - $request = (new GetEventEditRuleRequest()) - ->setName($formattedName); - $response = $gapicClient->getEventEditRule($request); - $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/GetEventEditRule', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getEventEditRuleExceptionTest() - { - $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->eventEditRuleName('[PROPERTY]', '[DATA_STREAM]', '[EVENT_EDIT_RULE]'); - $request = (new GetEventEditRuleRequest()) - ->setName($formattedName); - try { - $gapicClient->getEventEditRule($request); - // 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 getExpandedDataSetTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $expectedResponse = new ExpandedDataSet(); - $expectedResponse->setName($name2); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->expandedDataSetName('[PROPERTY]', '[EXPANDED_DATA_SET]'); - $request = (new GetExpandedDataSetRequest()) - ->setName($formattedName); - $response = $gapicClient->getExpandedDataSet($request); - $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/GetExpandedDataSet', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getExpandedDataSetExceptionTest() - { - $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->expandedDataSetName('[PROPERTY]', '[EXPANDED_DATA_SET]'); - $request = (new GetExpandedDataSetRequest()) - ->setName($formattedName); - try { - $gapicClient->getExpandedDataSet($request); - // 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 getGlobalSiteTagTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $snippet = 'snippet-2061635299'; - $expectedResponse = new GlobalSiteTag(); - $expectedResponse->setName($name2); - $expectedResponse->setSnippet($snippet); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->globalSiteTagName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new GetGlobalSiteTagRequest()) - ->setName($formattedName); - $response = $gapicClient->getGlobalSiteTag($request); - $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/GetGlobalSiteTag', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getGlobalSiteTagExceptionTest() - { - $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->globalSiteTagName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new GetGlobalSiteTagRequest()) - ->setName($formattedName); - try { - $gapicClient->getGlobalSiteTag($request); - // 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 getGoogleSignalsSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $expectedResponse = new GoogleSignalsSettings(); - $expectedResponse->setName($name2); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->googleSignalsSettingsName('[PROPERTY]'); - $request = (new GetGoogleSignalsSettingsRequest()) - ->setName($formattedName); - $response = $gapicClient->getGoogleSignalsSettings($request); - $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/GetGoogleSignalsSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getGoogleSignalsSettingsExceptionTest() - { - $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->googleSignalsSettingsName('[PROPERTY]'); - $request = (new GetGoogleSignalsSettingsRequest()) - ->setName($formattedName); - try { - $gapicClient->getGoogleSignalsSettings($request); - // 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 getKeyEventTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $eventName = 'eventName984174864'; - $deletable = true; - $custom = false; - $expectedResponse = new KeyEvent(); - $expectedResponse->setName($name2); - $expectedResponse->setEventName($eventName); - $expectedResponse->setDeletable($deletable); - $expectedResponse->setCustom($custom); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->keyEventName('[PROPERTY]', '[KEY_EVENT]'); - $request = (new GetKeyEventRequest()) - ->setName($formattedName); - $response = $gapicClient->getKeyEvent($request); - $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/GetKeyEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getKeyEventExceptionTest() - { - $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->keyEventName('[PROPERTY]', '[KEY_EVENT]'); - $request = (new GetKeyEventRequest()) - ->setName($formattedName); - try { - $gapicClient->getKeyEvent($request); - // 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 getMeasurementProtocolSecretTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $displayName = 'displayName1615086568'; - $secretValue = 'secretValue1322942242'; - $expectedResponse = new MeasurementProtocolSecret(); - $expectedResponse->setName($name2); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setSecretValue($secretValue); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); - $request = (new GetMeasurementProtocolSecretRequest()) - ->setName($formattedName); - $response = $gapicClient->getMeasurementProtocolSecret($request); - $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/GetMeasurementProtocolSecret', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getMeasurementProtocolSecretExceptionTest() - { - $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->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); - $request = (new GetMeasurementProtocolSecretRequest()) - ->setName($formattedName); - try { - $gapicClient->getMeasurementProtocolSecret($request); - // 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 getPropertyTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $parent = 'parent-995424086'; - $displayName = 'displayName1615086568'; - $timeZone = 'timeZone36848094'; - $currencyCode = 'currencyCode1108728155'; - $account = 'account-1177318867'; - $expectedResponse = new Property(); - $expectedResponse->setName($name2); - $expectedResponse->setParent($parent); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setTimeZone($timeZone); - $expectedResponse->setCurrencyCode($currencyCode); - $expectedResponse->setAccount($account); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->propertyName('[PROPERTY]'); - $request = (new GetPropertyRequest()) - ->setName($formattedName); - $response = $gapicClient->getProperty($request); - $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/GetProperty', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getPropertyExceptionTest() - { - $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->propertyName('[PROPERTY]'); - $request = (new GetPropertyRequest()) - ->setName($formattedName); - try { - $gapicClient->getProperty($request); - // 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 getReportingDataAnnotationTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $title = 'title110371416'; - $description = 'description-1724546052'; - $systemGenerated = false; - $expectedResponse = new ReportingDataAnnotation(); - $expectedResponse->setName($name2); - $expectedResponse->setTitle($title); - $expectedResponse->setDescription($description); - $expectedResponse->setSystemGenerated($systemGenerated); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->reportingDataAnnotationName('[PROPERTY]', '[REPORTING_DATA_ANNOTATION]'); - $request = (new GetReportingDataAnnotationRequest()) - ->setName($formattedName); - $response = $gapicClient->getReportingDataAnnotation($request); - $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/GetReportingDataAnnotation', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getReportingDataAnnotationExceptionTest() - { - $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->reportingDataAnnotationName('[PROPERTY]', '[REPORTING_DATA_ANNOTATION]'); - $request = (new GetReportingDataAnnotationRequest()) - ->setName($formattedName); - try { - $gapicClient->getReportingDataAnnotation($request); - // 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 getReportingIdentitySettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $expectedResponse = new ReportingIdentitySettings(); - $expectedResponse->setName($name2); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->reportingIdentitySettingsName('[PROPERTY]'); - $request = (new GetReportingIdentitySettingsRequest()) - ->setName($formattedName); - $response = $gapicClient->getReportingIdentitySettings($request); - $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/GetReportingIdentitySettings', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getReportingIdentitySettingsExceptionTest() - { - $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->reportingIdentitySettingsName('[PROPERTY]'); - $request = (new GetReportingIdentitySettingsRequest()) - ->setName($formattedName); - try { - $gapicClient->getReportingIdentitySettings($request); - // 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 getRollupPropertySourceLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $sourceProperty = 'sourceProperty2069271929'; - $expectedResponse = new RollupPropertySourceLink(); - $expectedResponse->setName($name2); - $expectedResponse->setSourceProperty($sourceProperty); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->rollupPropertySourceLinkName('[PROPERTY]', '[ROLLUP_PROPERTY_SOURCE_LINK]'); - $request = (new GetRollupPropertySourceLinkRequest()) - ->setName($formattedName); - $response = $gapicClient->getRollupPropertySourceLink($request); - $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/GetRollupPropertySourceLink', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getRollupPropertySourceLinkExceptionTest() - { - $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->rollupPropertySourceLinkName('[PROPERTY]', '[ROLLUP_PROPERTY_SOURCE_LINK]'); - $request = (new GetRollupPropertySourceLinkRequest()) - ->setName($formattedName); - try { - $gapicClient->getRollupPropertySourceLink($request); - // 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 getSKAdNetworkConversionValueSchemaTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $applyConversionValues = true; - $expectedResponse = new SKAdNetworkConversionValueSchema(); - $expectedResponse->setName($name2); - $expectedResponse->setApplyConversionValues($applyConversionValues); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->sKAdNetworkConversionValueSchemaName('[PROPERTY]', '[DATA_STREAM]', '[SKADNETWORK_CONVERSION_VALUE_SCHEMA]'); - $request = (new GetSKAdNetworkConversionValueSchemaRequest()) - ->setName($formattedName); - $response = $gapicClient->getSKAdNetworkConversionValueSchema($request); - $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/GetSKAdNetworkConversionValueSchema', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getSKAdNetworkConversionValueSchemaExceptionTest() - { - $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->sKAdNetworkConversionValueSchemaName('[PROPERTY]', '[DATA_STREAM]', '[SKADNETWORK_CONVERSION_VALUE_SCHEMA]'); - $request = (new GetSKAdNetworkConversionValueSchemaRequest()) - ->setName($formattedName); - try { - $gapicClient->getSKAdNetworkConversionValueSchema($request); - // 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 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]'); - $request = (new GetSearchAds360LinkRequest()) - ->setName($formattedName); - $response = $gapicClient->getSearchAds360Link($request); - $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]'); - $request = (new GetSearchAds360LinkRequest()) - ->setName($formattedName); - try { - $gapicClient->getSearchAds360Link($request); - // 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 getSubpropertyEventFilterTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $applyToProperty = 'applyToProperty-1639692344'; - $expectedResponse = new SubpropertyEventFilter(); - $expectedResponse->setName($name2); - $expectedResponse->setApplyToProperty($applyToProperty); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->subpropertyEventFilterName('[PROPERTY]', '[SUB_PROPERTY_EVENT_FILTER]'); - $request = (new GetSubpropertyEventFilterRequest()) - ->setName($formattedName); - $response = $gapicClient->getSubpropertyEventFilter($request); - $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/GetSubpropertyEventFilter', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getSubpropertyEventFilterExceptionTest() - { - $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->subpropertyEventFilterName('[PROPERTY]', '[SUB_PROPERTY_EVENT_FILTER]'); - $request = (new GetSubpropertyEventFilterRequest()) - ->setName($formattedName); - try { - $gapicClient->getSubpropertyEventFilter($request); - // 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 getSubpropertySyncConfigTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $applyToProperty = 'applyToProperty-1639692344'; - $expectedResponse = new SubpropertySyncConfig(); - $expectedResponse->setName($name2); - $expectedResponse->setApplyToProperty($applyToProperty); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->subpropertySyncConfigName('[PROPERTY]', '[SUBPROPERTY_SYNC_CONFIG]'); - $request = (new GetSubpropertySyncConfigRequest()) - ->setName($formattedName); - $response = $gapicClient->getSubpropertySyncConfig($request); - $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/GetSubpropertySyncConfig', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getSubpropertySyncConfigExceptionTest() - { - $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->subpropertySyncConfigName('[PROPERTY]', '[SUBPROPERTY_SYNC_CONFIG]'); - $request = (new GetSubpropertySyncConfigRequest()) - ->setName($formattedName); - try { - $gapicClient->getSubpropertySyncConfig($request); - // 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 getUserProvidedDataSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $userProvidedDataCollectionEnabled = false; - $automaticallyDetectedDataCollectionEnabled = true; - $expectedResponse = new UserProvidedDataSettings(); - $expectedResponse->setName($name2); - $expectedResponse->setUserProvidedDataCollectionEnabled($userProvidedDataCollectionEnabled); - $expectedResponse->setAutomaticallyDetectedDataCollectionEnabled($automaticallyDetectedDataCollectionEnabled); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->userProvidedDataSettingsName('[PROPERTY]'); - $request = (new GetUserProvidedDataSettingsRequest()) - ->setName($formattedName); - $response = $gapicClient->getUserProvidedDataSettings($request); - $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/GetUserProvidedDataSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getUserProvidedDataSettingsExceptionTest() - { - $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->userProvidedDataSettingsName('[PROPERTY]'); - $request = (new GetUserProvidedDataSettingsRequest()) - ->setName($formattedName); - try { - $gapicClient->getUserProvidedDataSettings($request); - // 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 listAccessBindingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $accessBindingsElement = new AccessBinding(); - $accessBindings = [ - $accessBindingsElement, - ]; - $expectedResponse = new ListAccessBindingsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setAccessBindings($accessBindings); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->accountName('[ACCOUNT]'); - $request = (new ListAccessBindingsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listAccessBindings($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getAccessBindings()[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/ListAccessBindings', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAccessBindingsExceptionTest() - { - $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->accountName('[ACCOUNT]'); - $request = (new ListAccessBindingsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listAccessBindings($request); - // 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 listAccountSummariesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $accountSummariesElement = new AccountSummary(); - $accountSummaries = [ - $accountSummariesElement, - ]; - $expectedResponse = new ListAccountSummariesResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setAccountSummaries($accountSummaries); - $transport->addResponse($expectedResponse); - $request = new ListAccountSummariesRequest(); - $response = $gapicClient->listAccountSummaries($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getAccountSummaries()[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/ListAccountSummaries', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAccountSummariesExceptionTest() - { - $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); - $request = new ListAccountSummariesRequest(); - try { - $gapicClient->listAccountSummaries($request); - // 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 listAccountsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $accountsElement = new Account(); - $accounts = [ - $accountsElement, - ]; - $expectedResponse = new ListAccountsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setAccounts($accounts); - $transport->addResponse($expectedResponse); - $request = new ListAccountsRequest(); - $response = $gapicClient->listAccounts($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getAccounts()[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/ListAccounts', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAccountsExceptionTest() - { - $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); - $request = new ListAccountsRequest(); - try { - $gapicClient->listAccounts($request); - // 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 listAdSenseLinksTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $adsenseLinksElement = new AdSenseLink(); - $adsenseLinks = [ - $adsenseLinksElement, - ]; - $expectedResponse = new ListAdSenseLinksResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setAdsenseLinks($adsenseLinks); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListAdSenseLinksRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listAdSenseLinks($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getAdsenseLinks()[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/ListAdSenseLinks', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAdSenseLinksExceptionTest() - { - $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]'); - $request = (new ListAdSenseLinksRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listAdSenseLinks($request); - // 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 listAudiencesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $audiencesElement = new Audience(); - $audiences = [ - $audiencesElement, - ]; - $expectedResponse = new ListAudiencesResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setAudiences($audiences); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListAudiencesRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listAudiences($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getAudiences()[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/ListAudiences', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAudiencesExceptionTest() - { - $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]'); - $request = (new ListAudiencesRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listAudiences($request); - // 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 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]'); - $request = (new ListBigQueryLinksRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listBigQueryLinks($request); - $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]'); - $request = (new ListBigQueryLinksRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listBigQueryLinks($request); - // 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 listCalculatedMetricsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $calculatedMetricsElement = new CalculatedMetric(); - $calculatedMetrics = [ - $calculatedMetricsElement, - ]; - $expectedResponse = new ListCalculatedMetricsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setCalculatedMetrics($calculatedMetrics); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListCalculatedMetricsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listCalculatedMetrics($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getCalculatedMetrics()[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/ListCalculatedMetrics', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listCalculatedMetricsExceptionTest() - { - $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]'); - $request = (new ListCalculatedMetricsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listCalculatedMetrics($request); - // 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 listChannelGroupsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $channelGroupsElement = new ChannelGroup(); - $channelGroups = [ - $channelGroupsElement, - ]; - $expectedResponse = new ListChannelGroupsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setChannelGroups($channelGroups); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListChannelGroupsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listChannelGroups($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getChannelGroups()[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/ListChannelGroups', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listChannelGroupsExceptionTest() - { - $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]'); - $request = (new ListChannelGroupsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listChannelGroups($request); - // 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() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $conversionEventsElement = new ConversionEvent(); - $conversionEvents = [ - $conversionEventsElement, - ]; - $expectedResponse = new ListConversionEventsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setConversionEvents($conversionEvents); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListConversionEventsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listConversionEvents($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getConversionEvents()[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/ListConversionEvents', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listConversionEventsExceptionTest() - { - $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]'); - $request = (new ListConversionEventsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listConversionEvents($request); - // 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 listCustomDimensionsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $customDimensionsElement = new CustomDimension(); - $customDimensions = [ - $customDimensionsElement, - ]; - $expectedResponse = new ListCustomDimensionsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setCustomDimensions($customDimensions); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListCustomDimensionsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listCustomDimensions($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getCustomDimensions()[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/ListCustomDimensions', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listCustomDimensionsExceptionTest() - { - $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]'); - $request = (new ListCustomDimensionsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listCustomDimensions($request); - // 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 listCustomMetricsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $customMetricsElement = new CustomMetric(); - $customMetrics = [ - $customMetricsElement, - ]; - $expectedResponse = new ListCustomMetricsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setCustomMetrics($customMetrics); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListCustomMetricsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listCustomMetrics($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getCustomMetrics()[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/ListCustomMetrics', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listCustomMetricsExceptionTest() - { - $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]'); - $request = (new ListCustomMetricsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listCustomMetrics($request); - // 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 listDataStreamsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $dataStreamsElement = new DataStream(); - $dataStreams = [ - $dataStreamsElement, - ]; - $expectedResponse = new ListDataStreamsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setDataStreams($dataStreams); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListDataStreamsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listDataStreams($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getDataStreams()[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/ListDataStreams', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listDataStreamsExceptionTest() - { - $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]'); - $request = (new ListDataStreamsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listDataStreams($request); - // 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 listDisplayVideo360AdvertiserLinkProposalsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $displayVideo360AdvertiserLinkProposalsElement = new DisplayVideo360AdvertiserLinkProposal(); - $displayVideo360AdvertiserLinkProposals = [ - $displayVideo360AdvertiserLinkProposalsElement, - ]; - $expectedResponse = new ListDisplayVideo360AdvertiserLinkProposalsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setDisplayVideo360AdvertiserLinkProposals($displayVideo360AdvertiserLinkProposals); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListDisplayVideo360AdvertiserLinkProposalsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listDisplayVideo360AdvertiserLinkProposals($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getDisplayVideo360AdvertiserLinkProposals()[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/ListDisplayVideo360AdvertiserLinkProposals', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listDisplayVideo360AdvertiserLinkProposalsExceptionTest() - { - $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]'); - $request = (new ListDisplayVideo360AdvertiserLinkProposalsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listDisplayVideo360AdvertiserLinkProposals($request); - // 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 listDisplayVideo360AdvertiserLinksTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $displayVideo360AdvertiserLinksElement = new DisplayVideo360AdvertiserLink(); - $displayVideo360AdvertiserLinks = [ - $displayVideo360AdvertiserLinksElement, - ]; - $expectedResponse = new ListDisplayVideo360AdvertiserLinksResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setDisplayVideo360AdvertiserLinks($displayVideo360AdvertiserLinks); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListDisplayVideo360AdvertiserLinksRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listDisplayVideo360AdvertiserLinks($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getDisplayVideo360AdvertiserLinks()[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/ListDisplayVideo360AdvertiserLinks', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listDisplayVideo360AdvertiserLinksExceptionTest() - { - $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]'); - $request = (new ListDisplayVideo360AdvertiserLinksRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listDisplayVideo360AdvertiserLinks($request); - // 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 listEventCreateRulesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $eventCreateRulesElement = new EventCreateRule(); - $eventCreateRules = [ - $eventCreateRulesElement, - ]; - $expectedResponse = new ListEventCreateRulesResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setEventCreateRules($eventCreateRules); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new ListEventCreateRulesRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listEventCreateRules($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getEventCreateRules()[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/ListEventCreateRules', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listEventCreateRulesExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new ListEventCreateRulesRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listEventCreateRules($request); - // 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 listEventEditRulesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $eventEditRulesElement = new EventEditRule(); - $eventEditRules = [ - $eventEditRulesElement, - ]; - $expectedResponse = new ListEventEditRulesResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setEventEditRules($eventEditRules); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new ListEventEditRulesRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listEventEditRules($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getEventEditRules()[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/ListEventEditRules', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listEventEditRulesExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new ListEventEditRulesRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listEventEditRules($request); - // 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 listExpandedDataSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $expandedDataSetsElement = new ExpandedDataSet(); - $expandedDataSets = [ - $expandedDataSetsElement, - ]; - $expectedResponse = new ListExpandedDataSetsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setExpandedDataSets($expandedDataSets); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListExpandedDataSetsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listExpandedDataSets($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getExpandedDataSets()[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/ListExpandedDataSets', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listExpandedDataSetsExceptionTest() - { - $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]'); - $request = (new ListExpandedDataSetsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listExpandedDataSets($request); - // 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 listFirebaseLinksTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $firebaseLinksElement = new FirebaseLink(); - $firebaseLinks = [ - $firebaseLinksElement, - ]; - $expectedResponse = new ListFirebaseLinksResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setFirebaseLinks($firebaseLinks); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListFirebaseLinksRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listFirebaseLinks($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getFirebaseLinks()[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/ListFirebaseLinks', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listFirebaseLinksExceptionTest() - { - $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]'); - $request = (new ListFirebaseLinksRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listFirebaseLinks($request); - // 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 listGoogleAdsLinksTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $googleAdsLinksElement = new GoogleAdsLink(); - $googleAdsLinks = [ - $googleAdsLinksElement, - ]; - $expectedResponse = new ListGoogleAdsLinksResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setGoogleAdsLinks($googleAdsLinks); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListGoogleAdsLinksRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listGoogleAdsLinks($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getGoogleAdsLinks()[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/ListGoogleAdsLinks', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listGoogleAdsLinksExceptionTest() - { - $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]'); - $request = (new ListGoogleAdsLinksRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listGoogleAdsLinks($request); - // 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 listKeyEventsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $keyEventsElement = new KeyEvent(); - $keyEvents = [ - $keyEventsElement, - ]; - $expectedResponse = new ListKeyEventsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setKeyEvents($keyEvents); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListKeyEventsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listKeyEvents($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getKeyEvents()[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/ListKeyEvents', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listKeyEventsExceptionTest() - { - $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]'); - $request = (new ListKeyEventsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listKeyEvents($request); - // 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 listMeasurementProtocolSecretsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $measurementProtocolSecretsElement = new MeasurementProtocolSecret(); - $measurementProtocolSecrets = [ - $measurementProtocolSecretsElement, - ]; - $expectedResponse = new ListMeasurementProtocolSecretsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setMeasurementProtocolSecrets($measurementProtocolSecrets); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new ListMeasurementProtocolSecretsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listMeasurementProtocolSecrets($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getMeasurementProtocolSecrets()[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/ListMeasurementProtocolSecrets', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listMeasurementProtocolSecretsExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new ListMeasurementProtocolSecretsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listMeasurementProtocolSecrets($request); - // 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 listPropertiesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $propertiesElement = new Property(); - $properties = [ - $propertiesElement, - ]; - $expectedResponse = new ListPropertiesResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setProperties($properties); - $transport->addResponse($expectedResponse); - // Mock request - $filter = 'filter-1274492040'; - $request = (new ListPropertiesRequest()) - ->setFilter($filter); - $response = $gapicClient->listProperties($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getProperties()[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/ListProperties', $actualFuncCall); - $actualValue = $actualRequestObject->getFilter(); - $this->assertProtobufEquals($filter, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listPropertiesExceptionTest() - { - $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 - $filter = 'filter-1274492040'; - $request = (new ListPropertiesRequest()) - ->setFilter($filter); - try { - $gapicClient->listProperties($request); - // 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 listReportingDataAnnotationsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $reportingDataAnnotationsElement = new ReportingDataAnnotation(); - $reportingDataAnnotations = [ - $reportingDataAnnotationsElement, - ]; - $expectedResponse = new ListReportingDataAnnotationsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setReportingDataAnnotations($reportingDataAnnotations); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListReportingDataAnnotationsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listReportingDataAnnotations($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getReportingDataAnnotations()[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/ListReportingDataAnnotations', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listReportingDataAnnotationsExceptionTest() - { - $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]'); - $request = (new ListReportingDataAnnotationsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listReportingDataAnnotations($request); - // 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 listRollupPropertySourceLinksTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $rollupPropertySourceLinksElement = new RollupPropertySourceLink(); - $rollupPropertySourceLinks = [ - $rollupPropertySourceLinksElement, - ]; - $expectedResponse = new ListRollupPropertySourceLinksResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setRollupPropertySourceLinks($rollupPropertySourceLinks); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListRollupPropertySourceLinksRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listRollupPropertySourceLinks($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getRollupPropertySourceLinks()[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/ListRollupPropertySourceLinks', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listRollupPropertySourceLinksExceptionTest() - { - $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]'); - $request = (new ListRollupPropertySourceLinksRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listRollupPropertySourceLinks($request); - // 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 listSKAdNetworkConversionValueSchemasTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $skadnetworkConversionValueSchemasElement = new SKAdNetworkConversionValueSchema(); - $skadnetworkConversionValueSchemas = [ - $skadnetworkConversionValueSchemasElement, - ]; - $expectedResponse = new ListSKAdNetworkConversionValueSchemasResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setSkadnetworkConversionValueSchemas($skadnetworkConversionValueSchemas); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new ListSKAdNetworkConversionValueSchemasRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listSKAdNetworkConversionValueSchemas($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getSkadnetworkConversionValueSchemas()[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/ListSKAdNetworkConversionValueSchemas', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listSKAdNetworkConversionValueSchemasExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new ListSKAdNetworkConversionValueSchemasRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listSKAdNetworkConversionValueSchemas($request); - // 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 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]'); - $request = (new ListSearchAds360LinksRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listSearchAds360Links($request); - $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]'); - $request = (new ListSearchAds360LinksRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listSearchAds360Links($request); - // 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 listSubpropertyEventFiltersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $subpropertyEventFiltersElement = new SubpropertyEventFilter(); - $subpropertyEventFilters = [ - $subpropertyEventFiltersElement, - ]; - $expectedResponse = new ListSubpropertyEventFiltersResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setSubpropertyEventFilters($subpropertyEventFilters); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListSubpropertyEventFiltersRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listSubpropertyEventFilters($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getSubpropertyEventFilters()[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/ListSubpropertyEventFilters', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listSubpropertyEventFiltersExceptionTest() - { - $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]'); - $request = (new ListSubpropertyEventFiltersRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listSubpropertyEventFilters($request); - // 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 listSubpropertySyncConfigsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $subpropertySyncConfigsElement = new SubpropertySyncConfig(); - $subpropertySyncConfigs = [ - $subpropertySyncConfigsElement, - ]; - $expectedResponse = new ListSubpropertySyncConfigsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setSubpropertySyncConfigs($subpropertySyncConfigs); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListSubpropertySyncConfigsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listSubpropertySyncConfigs($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getSubpropertySyncConfigs()[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/ListSubpropertySyncConfigs', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listSubpropertySyncConfigsExceptionTest() - { - $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]'); - $request = (new ListSubpropertySyncConfigsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listSubpropertySyncConfigs($request); - // 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 provisionAccountTicketTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $accountTicketId = 'accountTicketId-442102884'; - $expectedResponse = new ProvisionAccountTicketResponse(); - $expectedResponse->setAccountTicketId($accountTicketId); - $transport->addResponse($expectedResponse); - $request = new ProvisionAccountTicketRequest(); - $response = $gapicClient->provisionAccountTicket($request); - $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/ProvisionAccountTicket', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function provisionAccountTicketExceptionTest() - { - $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); - $request = new ProvisionAccountTicketRequest(); - try { - $gapicClient->provisionAccountTicket($request); - // 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 provisionSubpropertyTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ProvisionSubpropertyResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $subproperty = new Property(); - $subpropertyDisplayName = 'subpropertyDisplayName-1859570920'; - $subproperty->setDisplayName($subpropertyDisplayName); - $subpropertyTimeZone = 'subpropertyTimeZone-1143367858'; - $subproperty->setTimeZone($subpropertyTimeZone); - $request = (new ProvisionSubpropertyRequest()) - ->setSubproperty($subproperty); - $response = $gapicClient->provisionSubproperty($request); - $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/ProvisionSubproperty', $actualFuncCall); - $actualValue = $actualRequestObject->getSubproperty(); - $this->assertProtobufEquals($subproperty, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function provisionSubpropertyExceptionTest() - { - $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 - $subproperty = new Property(); - $subpropertyDisplayName = 'subpropertyDisplayName-1859570920'; - $subproperty->setDisplayName($subpropertyDisplayName); - $subpropertyTimeZone = 'subpropertyTimeZone-1143367858'; - $subproperty->setTimeZone($subpropertyTimeZone); - $request = (new ProvisionSubpropertyRequest()) - ->setSubproperty($subproperty); - try { - $gapicClient->provisionSubproperty($request); - // 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 reorderEventEditRulesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $eventEditRules = []; - $request = (new ReorderEventEditRulesRequest()) - ->setParent($formattedParent) - ->setEventEditRules($eventEditRules); - $gapicClient->reorderEventEditRules($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/ReorderEventEditRules', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getEventEditRules(); - $this->assertProtobufEquals($eventEditRules, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function reorderEventEditRulesExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $eventEditRules = []; - $request = (new ReorderEventEditRulesRequest()) - ->setParent($formattedParent) - ->setEventEditRules($eventEditRules); - try { - $gapicClient->reorderEventEditRules($request); - // 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 runAccessReportTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $rowCount = 1340416618; - $expectedResponse = new RunAccessReportResponse(); - $expectedResponse->setRowCount($rowCount); - $transport->addResponse($expectedResponse); - $request = new RunAccessReportRequest(); - $response = $gapicClient->runAccessReport($request); - $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/RunAccessReport', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function runAccessReportExceptionTest() - { - $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); - $request = new RunAccessReportRequest(); - try { - $gapicClient->runAccessReport($request); - // 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 searchChangeHistoryEventsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $changeHistoryEventsElement = new ChangeHistoryEvent(); - $changeHistoryEvents = [ - $changeHistoryEventsElement, - ]; - $expectedResponse = new SearchChangeHistoryEventsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setChangeHistoryEvents($changeHistoryEvents); - $transport->addResponse($expectedResponse); - // Mock request - $formattedAccount = $gapicClient->accountName('[ACCOUNT]'); - $request = (new SearchChangeHistoryEventsRequest()) - ->setAccount($formattedAccount); - $response = $gapicClient->searchChangeHistoryEvents($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getChangeHistoryEvents()[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/SearchChangeHistoryEvents', $actualFuncCall); - $actualValue = $actualRequestObject->getAccount(); - $this->assertProtobufEquals($formattedAccount, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function searchChangeHistoryEventsExceptionTest() - { - $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 - $formattedAccount = $gapicClient->accountName('[ACCOUNT]'); - $request = (new SearchChangeHistoryEventsRequest()) - ->setAccount($formattedAccount); - try { - $gapicClient->searchChangeHistoryEvents($request); - // 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 submitUserDeletionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SubmitUserDeletionResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->propertyName('[PROPERTY]'); - $request = (new SubmitUserDeletionRequest()) - ->setName($formattedName); - $response = $gapicClient->submitUserDeletion($request); - $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/SubmitUserDeletion', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function submitUserDeletionExceptionTest() - { - $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->propertyName('[PROPERTY]'); - $request = (new SubmitUserDeletionRequest()) - ->setName($formattedName); - try { - $gapicClient->submitUserDeletion($request); - // 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 updateAccessBindingTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $user = 'user3599307'; - $name = 'name3373707'; - $expectedResponse = new AccessBinding(); - $expectedResponse->setUser($user); - $expectedResponse->setName($name); - $transport->addResponse($expectedResponse); - // Mock request - $accessBinding = new AccessBinding(); - $request = (new UpdateAccessBindingRequest()) - ->setAccessBinding($accessBinding); - $response = $gapicClient->updateAccessBinding($request); - $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/UpdateAccessBinding', $actualFuncCall); - $actualValue = $actualRequestObject->getAccessBinding(); - $this->assertProtobufEquals($accessBinding, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateAccessBindingExceptionTest() - { - $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 - $accessBinding = new AccessBinding(); - $request = (new UpdateAccessBindingRequest()) - ->setAccessBinding($accessBinding); - try { - $gapicClient->updateAccessBinding($request); - // 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() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $regionCode = 'regionCode-1566082984'; - $deleted = false; - $gmpOrganization = 'gmpOrganization-1643573496'; - $expectedResponse = new Account(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setRegionCode($regionCode); - $expectedResponse->setDeleted($deleted); - $expectedResponse->setGmpOrganization($gmpOrganization); - $transport->addResponse($expectedResponse); - // Mock request - $account = new Account(); - $accountDisplayName = 'accountDisplayName-616446464'; - $account->setDisplayName($accountDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateAccountRequest()) - ->setAccount($account) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateAccount($request); - $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/UpdateAccount', $actualFuncCall); - $actualValue = $actualRequestObject->getAccount(); - $this->assertProtobufEquals($account, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateAccountExceptionTest() - { - $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 - $account = new Account(); - $accountDisplayName = 'accountDisplayName-616446464'; - $account->setDisplayName($accountDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateAccountRequest()) - ->setAccount($account) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateAccount($request); - // 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 updateAttributionSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $expectedResponse = new AttributionSettings(); - $expectedResponse->setName($name); - $transport->addResponse($expectedResponse); - // Mock request - $attributionSettings = new AttributionSettings(); - $attributionSettingsAcquisitionConversionEventLookbackWindow = AcquisitionConversionEventLookbackWindow::ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; - $attributionSettings->setAcquisitionConversionEventLookbackWindow($attributionSettingsAcquisitionConversionEventLookbackWindow); - $attributionSettingsOtherConversionEventLookbackWindow = OtherConversionEventLookbackWindow::OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; - $attributionSettings->setOtherConversionEventLookbackWindow($attributionSettingsOtherConversionEventLookbackWindow); - $attributionSettingsReportingAttributionModel = ReportingAttributionModel::REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED; - $attributionSettings->setReportingAttributionModel($attributionSettingsReportingAttributionModel); - $attributionSettingsAdsWebConversionDataExportScope = AdsWebConversionDataExportScope::ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED; - $attributionSettings->setAdsWebConversionDataExportScope($attributionSettingsAdsWebConversionDataExportScope); - $updateMask = new FieldMask(); - $request = (new UpdateAttributionSettingsRequest()) - ->setAttributionSettings($attributionSettings) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateAttributionSettings($request); - $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/UpdateAttributionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getAttributionSettings(); - $this->assertProtobufEquals($attributionSettings, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateAttributionSettingsExceptionTest() - { - $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 - $attributionSettings = new AttributionSettings(); - $attributionSettingsAcquisitionConversionEventLookbackWindow = AcquisitionConversionEventLookbackWindow::ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; - $attributionSettings->setAcquisitionConversionEventLookbackWindow($attributionSettingsAcquisitionConversionEventLookbackWindow); - $attributionSettingsOtherConversionEventLookbackWindow = OtherConversionEventLookbackWindow::OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED; - $attributionSettings->setOtherConversionEventLookbackWindow($attributionSettingsOtherConversionEventLookbackWindow); - $attributionSettingsReportingAttributionModel = ReportingAttributionModel::REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED; - $attributionSettings->setReportingAttributionModel($attributionSettingsReportingAttributionModel); - $attributionSettingsAdsWebConversionDataExportScope = AdsWebConversionDataExportScope::ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED; - $attributionSettings->setAdsWebConversionDataExportScope($attributionSettingsAdsWebConversionDataExportScope); - $updateMask = new FieldMask(); - $request = (new UpdateAttributionSettingsRequest()) - ->setAttributionSettings($attributionSettings) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateAttributionSettings($request); - // 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 updateAudienceTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $membershipDurationDays = 1702404985; - $adsPersonalizationEnabled = false; - $expectedResponse = new Audience(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $expectedResponse->setMembershipDurationDays($membershipDurationDays); - $expectedResponse->setAdsPersonalizationEnabled($adsPersonalizationEnabled); - $transport->addResponse($expectedResponse); - // Mock request - $audience = new Audience(); - $audienceDisplayName = 'audienceDisplayName1537141193'; - $audience->setDisplayName($audienceDisplayName); - $audienceDescription = 'audienceDescription-1901553832'; - $audience->setDescription($audienceDescription); - $audienceMembershipDurationDays = 1530655195; - $audience->setMembershipDurationDays($audienceMembershipDurationDays); - $audienceFilterClauses = []; - $audience->setFilterClauses($audienceFilterClauses); - $updateMask = new FieldMask(); - $request = (new UpdateAudienceRequest()) - ->setAudience($audience) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateAudience($request); - $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/UpdateAudience', $actualFuncCall); - $actualValue = $actualRequestObject->getAudience(); - $this->assertProtobufEquals($audience, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateAudienceExceptionTest() - { - $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 - $audience = new Audience(); - $audienceDisplayName = 'audienceDisplayName1537141193'; - $audience->setDisplayName($audienceDisplayName); - $audienceDescription = 'audienceDescription-1901553832'; - $audience->setDescription($audienceDescription); - $audienceMembershipDurationDays = 1530655195; - $audience->setMembershipDurationDays($audienceMembershipDurationDays); - $audienceFilterClauses = []; - $audience->setFilterClauses($audienceFilterClauses); - $updateMask = new FieldMask(); - $request = (new UpdateAudienceRequest()) - ->setAudience($audience) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateAudience($request); - // 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 updateBigQueryLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $project = 'project-309310695'; - $dailyExportEnabled = true; - $streamingExportEnabled = false; - $freshDailyExportEnabled = false; - $includeAdvertisingId = false; - $datasetLocation = 'datasetLocation1011262364'; - $expectedResponse = new BigQueryLink(); - $expectedResponse->setName($name); - $expectedResponse->setProject($project); - $expectedResponse->setDailyExportEnabled($dailyExportEnabled); - $expectedResponse->setStreamingExportEnabled($streamingExportEnabled); - $expectedResponse->setFreshDailyExportEnabled($freshDailyExportEnabled); - $expectedResponse->setIncludeAdvertisingId($includeAdvertisingId); - $expectedResponse->setDatasetLocation($datasetLocation); - $transport->addResponse($expectedResponse); - // Mock request - $bigqueryLink = new BigQueryLink(); - $bigqueryLinkDatasetLocation = 'bigqueryLinkDatasetLocation714488843'; - $bigqueryLink->setDatasetLocation($bigqueryLinkDatasetLocation); - $updateMask = new FieldMask(); - $request = (new UpdateBigQueryLinkRequest()) - ->setBigqueryLink($bigqueryLink) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateBigQueryLink($request); - $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/UpdateBigQueryLink', $actualFuncCall); - $actualValue = $actualRequestObject->getBigqueryLink(); - $this->assertProtobufEquals($bigqueryLink, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateBigQueryLinkExceptionTest() - { - $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 - $bigqueryLink = new BigQueryLink(); - $bigqueryLinkDatasetLocation = 'bigqueryLinkDatasetLocation714488843'; - $bigqueryLink->setDatasetLocation($bigqueryLinkDatasetLocation); - $updateMask = new FieldMask(); - $request = (new UpdateBigQueryLinkRequest()) - ->setBigqueryLink($bigqueryLink) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateBigQueryLink($request); - // 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 updateCalculatedMetricTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $description = 'description-1724546052'; - $displayName = 'displayName1615086568'; - $calculatedMetricId = 'calculatedMetricId8203465'; - $formula = 'formula-677424794'; - $invalidMetricReference = true; - $expectedResponse = new CalculatedMetric(); - $expectedResponse->setName($name); - $expectedResponse->setDescription($description); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setCalculatedMetricId($calculatedMetricId); - $expectedResponse->setFormula($formula); - $expectedResponse->setInvalidMetricReference($invalidMetricReference); - $transport->addResponse($expectedResponse); - // Mock request - $calculatedMetric = new CalculatedMetric(); - $calculatedMetricDisplayName = 'calculatedMetricDisplayName-1927551873'; - $calculatedMetric->setDisplayName($calculatedMetricDisplayName); - $calculatedMetricMetricUnit = MetricUnit::METRIC_UNIT_UNSPECIFIED; - $calculatedMetric->setMetricUnit($calculatedMetricMetricUnit); - $calculatedMetricFormula = 'calculatedMetricFormula752695416'; - $calculatedMetric->setFormula($calculatedMetricFormula); - $updateMask = new FieldMask(); - $request = (new UpdateCalculatedMetricRequest()) - ->setCalculatedMetric($calculatedMetric) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateCalculatedMetric($request); - $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/UpdateCalculatedMetric', $actualFuncCall); - $actualValue = $actualRequestObject->getCalculatedMetric(); - $this->assertProtobufEquals($calculatedMetric, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateCalculatedMetricExceptionTest() - { - $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 - $calculatedMetric = new CalculatedMetric(); - $calculatedMetricDisplayName = 'calculatedMetricDisplayName-1927551873'; - $calculatedMetric->setDisplayName($calculatedMetricDisplayName); - $calculatedMetricMetricUnit = MetricUnit::METRIC_UNIT_UNSPECIFIED; - $calculatedMetric->setMetricUnit($calculatedMetricMetricUnit); - $calculatedMetricFormula = 'calculatedMetricFormula752695416'; - $calculatedMetric->setFormula($calculatedMetricFormula); - $updateMask = new FieldMask(); - $request = (new UpdateCalculatedMetricRequest()) - ->setCalculatedMetric($calculatedMetric) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateCalculatedMetric($request); - // 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 updateChannelGroupTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $systemDefined = false; - $primary = true; - $expectedResponse = new ChannelGroup(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $expectedResponse->setSystemDefined($systemDefined); - $expectedResponse->setPrimary($primary); - $transport->addResponse($expectedResponse); - // Mock request - $channelGroup = new ChannelGroup(); - $channelGroupDisplayName = 'channelGroupDisplayName1156787601'; - $channelGroup->setDisplayName($channelGroupDisplayName); - $channelGroupGroupingRule = []; - $channelGroup->setGroupingRule($channelGroupGroupingRule); - $updateMask = new FieldMask(); - $request = (new UpdateChannelGroupRequest()) - ->setChannelGroup($channelGroup) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateChannelGroup($request); - $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/UpdateChannelGroup', $actualFuncCall); - $actualValue = $actualRequestObject->getChannelGroup(); - $this->assertProtobufEquals($channelGroup, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateChannelGroupExceptionTest() - { - $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 - $channelGroup = new ChannelGroup(); - $channelGroupDisplayName = 'channelGroupDisplayName1156787601'; - $channelGroup->setDisplayName($channelGroupDisplayName); - $channelGroupGroupingRule = []; - $channelGroup->setGroupingRule($channelGroupGroupingRule); - $updateMask = new FieldMask(); - $request = (new UpdateChannelGroupRequest()) - ->setChannelGroup($channelGroup) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateChannelGroup($request); - // 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 updateConversionEventTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $eventName = 'eventName984174864'; - $deletable = true; - $custom = false; - $expectedResponse = new ConversionEvent(); - $expectedResponse->setName($name); - $expectedResponse->setEventName($eventName); - $expectedResponse->setDeletable($deletable); - $expectedResponse->setCustom($custom); - $transport->addResponse($expectedResponse); - // Mock request - $conversionEvent = new ConversionEvent(); - $updateMask = new FieldMask(); - $request = (new UpdateConversionEventRequest()) - ->setConversionEvent($conversionEvent) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateConversionEvent($request); - $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/UpdateConversionEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getConversionEvent(); - $this->assertProtobufEquals($conversionEvent, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateConversionEventExceptionTest() - { - $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 - $conversionEvent = new ConversionEvent(); - $updateMask = new FieldMask(); - $request = (new UpdateConversionEventRequest()) - ->setConversionEvent($conversionEvent) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateConversionEvent($request); - // 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 updateCustomDimensionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $parameterName = 'parameterName1133142369'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $disallowAdsPersonalization = false; - $expectedResponse = new CustomDimension(); - $expectedResponse->setName($name); - $expectedResponse->setParameterName($parameterName); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $expectedResponse->setDisallowAdsPersonalization($disallowAdsPersonalization); - $transport->addResponse($expectedResponse); - // Mock request - $updateMask = new FieldMask(); - $request = (new UpdateCustomDimensionRequest()) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateCustomDimension($request); - $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/UpdateCustomDimension', $actualFuncCall); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateCustomDimensionExceptionTest() - { - $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(); - $request = (new UpdateCustomDimensionRequest()) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateCustomDimension($request); - // 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 updateCustomMetricTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $parameterName = 'parameterName1133142369'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $expectedResponse = new CustomMetric(); - $expectedResponse->setName($name); - $expectedResponse->setParameterName($parameterName); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $transport->addResponse($expectedResponse); - // Mock request - $updateMask = new FieldMask(); - $request = (new UpdateCustomMetricRequest()) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateCustomMetric($request); - $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/UpdateCustomMetric', $actualFuncCall); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateCustomMetricExceptionTest() - { - $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(); - $request = (new UpdateCustomMetricRequest()) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateCustomMetric($request); - // 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 updateDataRedactionSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $emailRedactionEnabled = true; - $queryParameterRedactionEnabled = true; - $expectedResponse = new DataRedactionSettings(); - $expectedResponse->setName($name); - $expectedResponse->setEmailRedactionEnabled($emailRedactionEnabled); - $expectedResponse->setQueryParameterRedactionEnabled($queryParameterRedactionEnabled); - $transport->addResponse($expectedResponse); - // Mock request - $dataRedactionSettings = new DataRedactionSettings(); - $updateMask = new FieldMask(); - $request = (new UpdateDataRedactionSettingsRequest()) - ->setDataRedactionSettings($dataRedactionSettings) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateDataRedactionSettings($request); - $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/UpdateDataRedactionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getDataRedactionSettings(); - $this->assertProtobufEquals($dataRedactionSettings, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateDataRedactionSettingsExceptionTest() - { - $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 - $dataRedactionSettings = new DataRedactionSettings(); - $updateMask = new FieldMask(); - $request = (new UpdateDataRedactionSettingsRequest()) - ->setDataRedactionSettings($dataRedactionSettings) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateDataRedactionSettings($request); - // 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 updateDataRetentionSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $resetUserDataOnNewActivity = false; - $expectedResponse = new DataRetentionSettings(); - $expectedResponse->setName($name); - $expectedResponse->setResetUserDataOnNewActivity($resetUserDataOnNewActivity); - $transport->addResponse($expectedResponse); - // Mock request - $dataRetentionSettings = new DataRetentionSettings(); - $dataRetentionSettingsEventDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; - $dataRetentionSettings->setEventDataRetention($dataRetentionSettingsEventDataRetention); - $dataRetentionSettingsUserDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; - $dataRetentionSettings->setUserDataRetention($dataRetentionSettingsUserDataRetention); - $updateMask = new FieldMask(); - $request = (new UpdateDataRetentionSettingsRequest()) - ->setDataRetentionSettings($dataRetentionSettings) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateDataRetentionSettings($request); - $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/UpdateDataRetentionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getDataRetentionSettings(); - $this->assertProtobufEquals($dataRetentionSettings, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateDataRetentionSettingsExceptionTest() - { - $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 - $dataRetentionSettings = new DataRetentionSettings(); - $dataRetentionSettingsEventDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; - $dataRetentionSettings->setEventDataRetention($dataRetentionSettingsEventDataRetention); - $dataRetentionSettingsUserDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; - $dataRetentionSettings->setUserDataRetention($dataRetentionSettingsUserDataRetention); - $updateMask = new FieldMask(); - $request = (new UpdateDataRetentionSettingsRequest()) - ->setDataRetentionSettings($dataRetentionSettings) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateDataRetentionSettings($request); - // 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 updateDataStreamTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $expectedResponse = new DataStream(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $transport->addResponse($expectedResponse); - // Mock request - $updateMask = new FieldMask(); - $request = (new UpdateDataStreamRequest()) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateDataStream($request); - $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/UpdateDataStream', $actualFuncCall); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateDataStreamExceptionTest() - { - $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(); - $request = (new UpdateDataStreamRequest()) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateDataStream($request); - // 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 updateDisplayVideo360AdvertiserLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $advertiserId = 'advertiserId-127926097'; - $advertiserDisplayName = 'advertiserDisplayName-674771332'; - $expectedResponse = new DisplayVideo360AdvertiserLink(); - $expectedResponse->setName($name); - $expectedResponse->setAdvertiserId($advertiserId); - $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName); - $transport->addResponse($expectedResponse); - // Mock request - $updateMask = new FieldMask(); - $request = (new UpdateDisplayVideo360AdvertiserLinkRequest()) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateDisplayVideo360AdvertiserLink($request); - $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/UpdateDisplayVideo360AdvertiserLink', $actualFuncCall); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateDisplayVideo360AdvertiserLinkExceptionTest() - { - $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(); - $request = (new UpdateDisplayVideo360AdvertiserLinkRequest()) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateDisplayVideo360AdvertiserLink($request); - // 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 updateEnhancedMeasurementSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $streamEnabled = true; - $scrollsEnabled = true; - $outboundClicksEnabled = true; - $siteSearchEnabled = true; - $videoEngagementEnabled = false; - $fileDownloadsEnabled = true; - $pageChangesEnabled = false; - $formInteractionsEnabled = true; - $searchQueryParameter = 'searchQueryParameter638048347'; - $uriQueryParameter = 'uriQueryParameter964636703'; - $expectedResponse = new EnhancedMeasurementSettings(); - $expectedResponse->setName($name); - $expectedResponse->setStreamEnabled($streamEnabled); - $expectedResponse->setScrollsEnabled($scrollsEnabled); - $expectedResponse->setOutboundClicksEnabled($outboundClicksEnabled); - $expectedResponse->setSiteSearchEnabled($siteSearchEnabled); - $expectedResponse->setVideoEngagementEnabled($videoEngagementEnabled); - $expectedResponse->setFileDownloadsEnabled($fileDownloadsEnabled); - $expectedResponse->setPageChangesEnabled($pageChangesEnabled); - $expectedResponse->setFormInteractionsEnabled($formInteractionsEnabled); - $expectedResponse->setSearchQueryParameter($searchQueryParameter); - $expectedResponse->setUriQueryParameter($uriQueryParameter); - $transport->addResponse($expectedResponse); - // Mock request - $enhancedMeasurementSettings = new EnhancedMeasurementSettings(); - $enhancedMeasurementSettingsSearchQueryParameter = 'enhancedMeasurementSettingsSearchQueryParameter1139945938'; - $enhancedMeasurementSettings->setSearchQueryParameter($enhancedMeasurementSettingsSearchQueryParameter); - $updateMask = new FieldMask(); - $request = (new UpdateEnhancedMeasurementSettingsRequest()) - ->setEnhancedMeasurementSettings($enhancedMeasurementSettings) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateEnhancedMeasurementSettings($request); - $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/UpdateEnhancedMeasurementSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getEnhancedMeasurementSettings(); - $this->assertProtobufEquals($enhancedMeasurementSettings, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateEnhancedMeasurementSettingsExceptionTest() - { - $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 - $enhancedMeasurementSettings = new EnhancedMeasurementSettings(); - $enhancedMeasurementSettingsSearchQueryParameter = 'enhancedMeasurementSettingsSearchQueryParameter1139945938'; - $enhancedMeasurementSettings->setSearchQueryParameter($enhancedMeasurementSettingsSearchQueryParameter); - $updateMask = new FieldMask(); - $request = (new UpdateEnhancedMeasurementSettingsRequest()) - ->setEnhancedMeasurementSettings($enhancedMeasurementSettings) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateEnhancedMeasurementSettings($request); - // 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 updateEventCreateRuleTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $destinationEvent = 'destinationEvent-1300408535'; - $sourceCopyParameters = true; - $expectedResponse = new EventCreateRule(); - $expectedResponse->setName($name); - $expectedResponse->setDestinationEvent($destinationEvent); - $expectedResponse->setSourceCopyParameters($sourceCopyParameters); - $transport->addResponse($expectedResponse); - // Mock request - $eventCreateRule = new EventCreateRule(); - $eventCreateRuleDestinationEvent = 'eventCreateRuleDestinationEvent598875038'; - $eventCreateRule->setDestinationEvent($eventCreateRuleDestinationEvent); - $eventCreateRuleEventConditions = []; - $eventCreateRule->setEventConditions($eventCreateRuleEventConditions); - $updateMask = new FieldMask(); - $request = (new UpdateEventCreateRuleRequest()) - ->setEventCreateRule($eventCreateRule) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateEventCreateRule($request); - $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/UpdateEventCreateRule', $actualFuncCall); - $actualValue = $actualRequestObject->getEventCreateRule(); - $this->assertProtobufEquals($eventCreateRule, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateEventCreateRuleExceptionTest() - { - $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 - $eventCreateRule = new EventCreateRule(); - $eventCreateRuleDestinationEvent = 'eventCreateRuleDestinationEvent598875038'; - $eventCreateRule->setDestinationEvent($eventCreateRuleDestinationEvent); - $eventCreateRuleEventConditions = []; - $eventCreateRule->setEventConditions($eventCreateRuleEventConditions); - $updateMask = new FieldMask(); - $request = (new UpdateEventCreateRuleRequest()) - ->setEventCreateRule($eventCreateRule) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateEventCreateRule($request); - // 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 updateEventEditRuleTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $processingOrder = 334545118; - $expectedResponse = new EventEditRule(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setProcessingOrder($processingOrder); - $transport->addResponse($expectedResponse); - // Mock request - $eventEditRule = new EventEditRule(); - $eventEditRuleDisplayName = 'eventEditRuleDisplayName160444781'; - $eventEditRule->setDisplayName($eventEditRuleDisplayName); - $eventEditRuleEventConditions = []; - $eventEditRule->setEventConditions($eventEditRuleEventConditions); - $eventEditRuleParameterMutations = []; - $eventEditRule->setParameterMutations($eventEditRuleParameterMutations); - $updateMask = new FieldMask(); - $request = (new UpdateEventEditRuleRequest()) - ->setEventEditRule($eventEditRule) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateEventEditRule($request); - $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/UpdateEventEditRule', $actualFuncCall); - $actualValue = $actualRequestObject->getEventEditRule(); - $this->assertProtobufEquals($eventEditRule, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateEventEditRuleExceptionTest() - { - $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 - $eventEditRule = new EventEditRule(); - $eventEditRuleDisplayName = 'eventEditRuleDisplayName160444781'; - $eventEditRule->setDisplayName($eventEditRuleDisplayName); - $eventEditRuleEventConditions = []; - $eventEditRule->setEventConditions($eventEditRuleEventConditions); - $eventEditRuleParameterMutations = []; - $eventEditRule->setParameterMutations($eventEditRuleParameterMutations); - $updateMask = new FieldMask(); - $request = (new UpdateEventEditRuleRequest()) - ->setEventEditRule($eventEditRule) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateEventEditRule($request); - // 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 updateExpandedDataSetTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $expectedResponse = new ExpandedDataSet(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $transport->addResponse($expectedResponse); - // Mock request - $expandedDataSet = new ExpandedDataSet(); - $expandedDataSetDisplayName = 'expandedDataSetDisplayName629188494'; - $expandedDataSet->setDisplayName($expandedDataSetDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateExpandedDataSetRequest()) - ->setExpandedDataSet($expandedDataSet) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateExpandedDataSet($request); - $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/UpdateExpandedDataSet', $actualFuncCall); - $actualValue = $actualRequestObject->getExpandedDataSet(); - $this->assertProtobufEquals($expandedDataSet, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateExpandedDataSetExceptionTest() - { - $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 - $expandedDataSet = new ExpandedDataSet(); - $expandedDataSetDisplayName = 'expandedDataSetDisplayName629188494'; - $expandedDataSet->setDisplayName($expandedDataSetDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateExpandedDataSetRequest()) - ->setExpandedDataSet($expandedDataSet) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateExpandedDataSet($request); - // 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 updateGoogleAdsLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $customerId = 'customerId-1772061412'; - $canManageClients = false; - $creatorEmailAddress = 'creatorEmailAddress-1491810434'; - $expectedResponse = new GoogleAdsLink(); - $expectedResponse->setName($name); - $expectedResponse->setCustomerId($customerId); - $expectedResponse->setCanManageClients($canManageClients); - $expectedResponse->setCreatorEmailAddress($creatorEmailAddress); - $transport->addResponse($expectedResponse); - // Mock request - $updateMask = new FieldMask(); - $request = (new UpdateGoogleAdsLinkRequest()) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateGoogleAdsLink($request); - $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/UpdateGoogleAdsLink', $actualFuncCall); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateGoogleAdsLinkExceptionTest() - { - $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(); - $request = (new UpdateGoogleAdsLinkRequest()) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateGoogleAdsLink($request); - // 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 updateGoogleSignalsSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $expectedResponse = new GoogleSignalsSettings(); - $expectedResponse->setName($name); - $transport->addResponse($expectedResponse); - // Mock request - $googleSignalsSettings = new GoogleSignalsSettings(); - $updateMask = new FieldMask(); - $request = (new UpdateGoogleSignalsSettingsRequest()) - ->setGoogleSignalsSettings($googleSignalsSettings) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateGoogleSignalsSettings($request); - $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/UpdateGoogleSignalsSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getGoogleSignalsSettings(); - $this->assertProtobufEquals($googleSignalsSettings, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateGoogleSignalsSettingsExceptionTest() - { - $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 - $googleSignalsSettings = new GoogleSignalsSettings(); - $updateMask = new FieldMask(); - $request = (new UpdateGoogleSignalsSettingsRequest()) - ->setGoogleSignalsSettings($googleSignalsSettings) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateGoogleSignalsSettings($request); - // 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 updateKeyEventTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $eventName = 'eventName984174864'; - $deletable = true; - $custom = false; - $expectedResponse = new KeyEvent(); - $expectedResponse->setName($name); - $expectedResponse->setEventName($eventName); - $expectedResponse->setDeletable($deletable); - $expectedResponse->setCustom($custom); - $transport->addResponse($expectedResponse); - // Mock request - $keyEvent = new KeyEvent(); - $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; - $keyEvent->setCountingMethod($keyEventCountingMethod); - $updateMask = new FieldMask(); - $request = (new UpdateKeyEventRequest()) - ->setKeyEvent($keyEvent) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateKeyEvent($request); - $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/UpdateKeyEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getKeyEvent(); - $this->assertProtobufEquals($keyEvent, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateKeyEventExceptionTest() - { - $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 - $keyEvent = new KeyEvent(); - $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; - $keyEvent->setCountingMethod($keyEventCountingMethod); - $updateMask = new FieldMask(); - $request = (new UpdateKeyEventRequest()) - ->setKeyEvent($keyEvent) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateKeyEvent($request); - // 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 updateMeasurementProtocolSecretTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $secretValue = 'secretValue1322942242'; - $expectedResponse = new MeasurementProtocolSecret(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setSecretValue($secretValue); - $transport->addResponse($expectedResponse); - // Mock request - $measurementProtocolSecret = new MeasurementProtocolSecret(); - $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; - $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateMeasurementProtocolSecretRequest()) - ->setMeasurementProtocolSecret($measurementProtocolSecret) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateMeasurementProtocolSecret($request); - $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/UpdateMeasurementProtocolSecret', $actualFuncCall); - $actualValue = $actualRequestObject->getMeasurementProtocolSecret(); - $this->assertProtobufEquals($measurementProtocolSecret, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateMeasurementProtocolSecretExceptionTest() - { - $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 - $measurementProtocolSecret = new MeasurementProtocolSecret(); - $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; - $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateMeasurementProtocolSecretRequest()) - ->setMeasurementProtocolSecret($measurementProtocolSecret) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateMeasurementProtocolSecret($request); - // 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 updatePropertyTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $parent = 'parent-995424086'; - $displayName = 'displayName1615086568'; - $timeZone = 'timeZone36848094'; - $currencyCode = 'currencyCode1108728155'; - $account = 'account-1177318867'; - $expectedResponse = new Property(); - $expectedResponse->setName($name); - $expectedResponse->setParent($parent); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setTimeZone($timeZone); - $expectedResponse->setCurrencyCode($currencyCode); - $expectedResponse->setAccount($account); - $transport->addResponse($expectedResponse); - // Mock request - $property = new Property(); - $propertyDisplayName = 'propertyDisplayName-1254483624'; - $property->setDisplayName($propertyDisplayName); - $propertyTimeZone = 'propertyTimeZone-1600366322'; - $property->setTimeZone($propertyTimeZone); - $updateMask = new FieldMask(); - $request = (new UpdatePropertyRequest()) - ->setProperty($property) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateProperty($request); - $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/UpdateProperty', $actualFuncCall); - $actualValue = $actualRequestObject->getProperty(); - $this->assertProtobufEquals($property, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updatePropertyExceptionTest() - { - $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 = new Property(); - $propertyDisplayName = 'propertyDisplayName-1254483624'; - $property->setDisplayName($propertyDisplayName); - $propertyTimeZone = 'propertyTimeZone-1600366322'; - $property->setTimeZone($propertyTimeZone); - $updateMask = new FieldMask(); - $request = (new UpdatePropertyRequest()) - ->setProperty($property) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateProperty($request); - // 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 updateReportingDataAnnotationTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $title = 'title110371416'; - $description = 'description-1724546052'; - $systemGenerated = false; - $expectedResponse = new ReportingDataAnnotation(); - $expectedResponse->setName($name); - $expectedResponse->setTitle($title); - $expectedResponse->setDescription($description); - $expectedResponse->setSystemGenerated($systemGenerated); - $transport->addResponse($expectedResponse); - // Mock request - $reportingDataAnnotation = new ReportingDataAnnotation(); - $reportingDataAnnotationName = 'reportingDataAnnotationName-286898318'; - $reportingDataAnnotation->setName($reportingDataAnnotationName); - $reportingDataAnnotationTitle = 'reportingDataAnnotationTitle-298126767'; - $reportingDataAnnotation->setTitle($reportingDataAnnotationTitle); - $reportingDataAnnotationColor = Color::COLOR_UNSPECIFIED; - $reportingDataAnnotation->setColor($reportingDataAnnotationColor); - $request = (new UpdateReportingDataAnnotationRequest()) - ->setReportingDataAnnotation($reportingDataAnnotation); - $response = $gapicClient->updateReportingDataAnnotation($request); - $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/UpdateReportingDataAnnotation', $actualFuncCall); - $actualValue = $actualRequestObject->getReportingDataAnnotation(); - $this->assertProtobufEquals($reportingDataAnnotation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateReportingDataAnnotationExceptionTest() - { - $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 - $reportingDataAnnotation = new ReportingDataAnnotation(); - $reportingDataAnnotationName = 'reportingDataAnnotationName-286898318'; - $reportingDataAnnotation->setName($reportingDataAnnotationName); - $reportingDataAnnotationTitle = 'reportingDataAnnotationTitle-298126767'; - $reportingDataAnnotation->setTitle($reportingDataAnnotationTitle); - $reportingDataAnnotationColor = Color::COLOR_UNSPECIFIED; - $reportingDataAnnotation->setColor($reportingDataAnnotationColor); - $request = (new UpdateReportingDataAnnotationRequest()) - ->setReportingDataAnnotation($reportingDataAnnotation); - try { - $gapicClient->updateReportingDataAnnotation($request); - // 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 updateSKAdNetworkConversionValueSchemaTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $applyConversionValues = true; - $expectedResponse = new SKAdNetworkConversionValueSchema(); - $expectedResponse->setName($name); - $expectedResponse->setApplyConversionValues($applyConversionValues); - $transport->addResponse($expectedResponse); - // Mock request - $skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(); - $skadnetworkConversionValueSchemaPostbackWindowOne = new PostbackWindow(); - $skadnetworkConversionValueSchema->setPostbackWindowOne($skadnetworkConversionValueSchemaPostbackWindowOne); - $updateMask = new FieldMask(); - $request = (new UpdateSKAdNetworkConversionValueSchemaRequest()) - ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateSKAdNetworkConversionValueSchema($request); - $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/UpdateSKAdNetworkConversionValueSchema', $actualFuncCall); - $actualValue = $actualRequestObject->getSkadnetworkConversionValueSchema(); - $this->assertProtobufEquals($skadnetworkConversionValueSchema, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateSKAdNetworkConversionValueSchemaExceptionTest() - { - $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 - $skadnetworkConversionValueSchema = new SKAdNetworkConversionValueSchema(); - $skadnetworkConversionValueSchemaPostbackWindowOne = new PostbackWindow(); - $skadnetworkConversionValueSchema->setPostbackWindowOne($skadnetworkConversionValueSchemaPostbackWindowOne); - $updateMask = new FieldMask(); - $request = (new UpdateSKAdNetworkConversionValueSchemaRequest()) - ->setSkadnetworkConversionValueSchema($skadnetworkConversionValueSchema) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateSKAdNetworkConversionValueSchema($request); - // 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 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(); - $request = (new UpdateSearchAds360LinkRequest()) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateSearchAds360Link($request); - $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(); - $request = (new UpdateSearchAds360LinkRequest()) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateSearchAds360Link($request); - // 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 updateSubpropertyEventFilterTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $applyToProperty = 'applyToProperty-1639692344'; - $expectedResponse = new SubpropertyEventFilter(); - $expectedResponse->setName($name); - $expectedResponse->setApplyToProperty($applyToProperty); - $transport->addResponse($expectedResponse); - // Mock request - $subpropertyEventFilter = new SubpropertyEventFilter(); - $subpropertyEventFilterFilterClauses = []; - $subpropertyEventFilter->setFilterClauses($subpropertyEventFilterFilterClauses); - $updateMask = new FieldMask(); - $request = (new UpdateSubpropertyEventFilterRequest()) - ->setSubpropertyEventFilter($subpropertyEventFilter) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateSubpropertyEventFilter($request); - $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/UpdateSubpropertyEventFilter', $actualFuncCall); - $actualValue = $actualRequestObject->getSubpropertyEventFilter(); - $this->assertProtobufEquals($subpropertyEventFilter, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateSubpropertyEventFilterExceptionTest() - { - $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 - $subpropertyEventFilter = new SubpropertyEventFilter(); - $subpropertyEventFilterFilterClauses = []; - $subpropertyEventFilter->setFilterClauses($subpropertyEventFilterFilterClauses); - $updateMask = new FieldMask(); - $request = (new UpdateSubpropertyEventFilterRequest()) - ->setSubpropertyEventFilter($subpropertyEventFilter) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateSubpropertyEventFilter($request); - // 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 updateSubpropertySyncConfigTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $applyToProperty = 'applyToProperty-1639692344'; - $expectedResponse = new SubpropertySyncConfig(); - $expectedResponse->setName($name); - $expectedResponse->setApplyToProperty($applyToProperty); - $transport->addResponse($expectedResponse); - // Mock request - $subpropertySyncConfig = new SubpropertySyncConfig(); - $subpropertySyncConfigCustomDimensionAndMetricSyncMode = SynchronizationMode::SYNCHRONIZATION_MODE_UNSPECIFIED; - $subpropertySyncConfig->setCustomDimensionAndMetricSyncMode($subpropertySyncConfigCustomDimensionAndMetricSyncMode); - $request = (new UpdateSubpropertySyncConfigRequest()) - ->setSubpropertySyncConfig($subpropertySyncConfig); - $response = $gapicClient->updateSubpropertySyncConfig($request); - $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/UpdateSubpropertySyncConfig', $actualFuncCall); - $actualValue = $actualRequestObject->getSubpropertySyncConfig(); - $this->assertProtobufEquals($subpropertySyncConfig, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateSubpropertySyncConfigExceptionTest() - { - $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 - $subpropertySyncConfig = new SubpropertySyncConfig(); - $subpropertySyncConfigCustomDimensionAndMetricSyncMode = SynchronizationMode::SYNCHRONIZATION_MODE_UNSPECIFIED; - $subpropertySyncConfig->setCustomDimensionAndMetricSyncMode($subpropertySyncConfigCustomDimensionAndMetricSyncMode); - $request = (new UpdateSubpropertySyncConfigRequest()) - ->setSubpropertySyncConfig($subpropertySyncConfig); - try { - $gapicClient->updateSubpropertySyncConfig($request); - // 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 acknowledgeUserDataCollectionAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new AcknowledgeUserDataCollectionResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedProperty = $gapicClient->propertyName('[PROPERTY]'); - $acknowledgement = 'acknowledgement1769490938'; - $request = (new AcknowledgeUserDataCollectionRequest()) - ->setProperty($formattedProperty) - ->setAcknowledgement($acknowledgement); - $response = $gapicClient->acknowledgeUserDataCollectionAsync($request)->wait(); - $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/AcknowledgeUserDataCollection', $actualFuncCall); - $actualValue = $actualRequestObject->getProperty(); - $this->assertProtobufEquals($formattedProperty, $actualValue); - $actualValue = $actualRequestObject->getAcknowledgement(); - $this->assertProtobufEquals($acknowledgement, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AccessReport.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AccessReport.php deleted file mode 100644 index 4f44cfe56965..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AccessReport.php +++ /dev/null @@ -1,24 +0,0 @@ -internalAddGeneratedFile( - "\x0A\x94\x1A\x0A1google/analytics/admin/v1beta/access_report.proto\x12\x1Dgoogle.analytics.admin.v1beta\")\x0A\x0FAccessDimension\x12\x16\x0A\x0Edimension_name\x18\x01 \x01(\x09\"#\x0A\x0CAccessMetric\x12\x13\x0A\x0Bmetric_name\x18\x01 \x01(\x09\"7\x0A\x0FAccessDateRange\x12\x12\x0A\x0Astart_date\x18\x01 \x01(\x09\x12\x10\x0A\x08end_date\x18\x02 \x01(\x09\"\xE0\x02\x0A\x16AccessFilterExpression\x12N\x0A\x09and_group\x18\x01 \x01(\x0B29.google.analytics.admin.v1beta.AccessFilterExpressionListH\x00\x12M\x0A\x08or_group\x18\x02 \x01(\x0B29.google.analytics.admin.v1beta.AccessFilterExpressionListH\x00\x12O\x0A\x0Enot_expression\x18\x03 \x01(\x0B25.google.analytics.admin.v1beta.AccessFilterExpressionH\x00\x12D\x0A\x0Daccess_filter\x18\x04 \x01(\x0B2+.google.analytics.admin.v1beta.AccessFilterH\x00B\x10\x0A\x0Eone_expression\"h\x0A\x1AAccessFilterExpressionList\x12J\x0A\x0Bexpressions\x18\x01 \x03(\x0B25.google.analytics.admin.v1beta.AccessFilterExpression\"\xE5\x02\x0A\x0CAccessFilter\x12J\x0A\x0Dstring_filter\x18\x02 \x01(\x0B21.google.analytics.admin.v1beta.AccessStringFilterH\x00\x12K\x0A\x0Ein_list_filter\x18\x03 \x01(\x0B21.google.analytics.admin.v1beta.AccessInListFilterH\x00\x12L\x0A\x0Enumeric_filter\x18\x04 \x01(\x0B22.google.analytics.admin.v1beta.AccessNumericFilterH\x00\x12L\x0A\x0Ebetween_filter\x18\x05 \x01(\x0B22.google.analytics.admin.v1beta.AccessBetweenFilterH\x00\x12\x12\x0A\x0Afield_name\x18\x01 \x01(\x09B\x0C\x0A\x0Aone_filter\"\x94\x02\x0A\x12AccessStringFilter\x12O\x0A\x0Amatch_type\x18\x01 \x01(\x0E2;.google.analytics.admin.v1beta.AccessStringFilter.MatchType\x12\x0D\x0A\x05value\x18\x02 \x01(\x09\x12\x16\x0A\x0Ecase_sensitive\x18\x03 \x01(\x08\"\x85\x01\x0A\x09MatchType\x12\x1A\x0A\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EXACT\x10\x01\x12\x0F\x0A\x0BBEGINS_WITH\x10\x02\x12\x0D\x0A\x09ENDS_WITH\x10\x03\x12\x0C\x0A\x08CONTAINS\x10\x04\x12\x0F\x0A\x0BFULL_REGEXP\x10\x05\x12\x12\x0A\x0EPARTIAL_REGEXP\x10\x06\"<\x0A\x12AccessInListFilter\x12\x0E\x0A\x06values\x18\x01 \x03(\x09\x12\x16\x0A\x0Ecase_sensitive\x18\x02 \x01(\x08\"\xAA\x02\x0A\x13AccessNumericFilter\x12O\x0A\x09operation\x18\x01 \x01(\x0E2<.google.analytics.admin.v1beta.AccessNumericFilter.Operation\x12:\x0A\x05value\x18\x02 \x01(\x0B2+.google.analytics.admin.v1beta.NumericValue\"\x85\x01\x0A\x09Operation\x12\x19\x0A\x15OPERATION_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EQUAL\x10\x01\x12\x0D\x0A\x09LESS_THAN\x10\x02\x12\x16\x0A\x12LESS_THAN_OR_EQUAL\x10\x03\x12\x10\x0A\x0CGREATER_THAN\x10\x04\x12\x19\x0A\x15GREATER_THAN_OR_EQUAL\x10\x05\"\x95\x01\x0A\x13AccessBetweenFilter\x12?\x0A\x0Afrom_value\x18\x01 \x01(\x0B2+.google.analytics.admin.v1beta.NumericValue\x12=\x0A\x08to_value\x18\x02 \x01(\x0B2+.google.analytics.admin.v1beta.NumericValue\"J\x0A\x0CNumericValue\x12\x15\x0A\x0Bint64_value\x18\x01 \x01(\x03H\x00\x12\x16\x0A\x0Cdouble_value\x18\x02 \x01(\x01H\x00B\x0B\x0A\x09one_value\"\xEA\x03\x0A\x0DAccessOrderBy\x12L\x0A\x06metric\x18\x01 \x01(\x0B2:.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByH\x00\x12R\x0A\x09dimension\x18\x02 \x01(\x0B2=.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByH\x00\x12\x0C\x0A\x04desc\x18\x03 \x01(\x08\x1A\$\x0A\x0DMetricOrderBy\x12\x13\x0A\x0Bmetric_name\x18\x01 \x01(\x09\x1A\xF2\x01\x0A\x10DimensionOrderBy\x12\x16\x0A\x0Edimension_name\x18\x01 \x01(\x09\x12[\x0A\x0Aorder_type\x18\x02 \x01(\x0E2G.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType\"i\x0A\x09OrderType\x12\x1A\x0A\x16ORDER_TYPE_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CALPHANUMERIC\x10\x01\x12!\x0A\x1DCASE_INSENSITIVE_ALPHANUMERIC\x10\x02\x12\x0B\x0A\x07NUMERIC\x10\x03B\x0E\x0A\x0Cone_order_by\"/\x0A\x15AccessDimensionHeader\x12\x16\x0A\x0Edimension_name\x18\x01 \x01(\x09\")\x0A\x12AccessMetricHeader\x12\x13\x0A\x0Bmetric_name\x18\x01 \x01(\x09\"\xA3\x01\x0A\x09AccessRow\x12M\x0A\x10dimension_values\x18\x01 \x03(\x0B23.google.analytics.admin.v1beta.AccessDimensionValue\x12G\x0A\x0Dmetric_values\x18\x02 \x03(\x0B20.google.analytics.admin.v1beta.AccessMetricValue\"%\x0A\x14AccessDimensionValue\x12\x0D\x0A\x05value\x18\x01 \x01(\x09\"\"\x0A\x11AccessMetricValue\x12\x0D\x0A\x05value\x18\x01 \x01(\x09\"\xA6\x03\x0A\x0BAccessQuota\x12H\x0A\x0Etokens_per_day\x18\x01 \x01(\x0B20.google.analytics.admin.v1beta.AccessQuotaStatus\x12I\x0A\x0Ftokens_per_hour\x18\x02 \x01(\x0B20.google.analytics.admin.v1beta.AccessQuotaStatus\x12M\x0A\x13concurrent_requests\x18\x03 \x01(\x0B20.google.analytics.admin.v1beta.AccessQuotaStatus\x12\\\x0A\"server_errors_per_project_per_hour\x18\x04 \x01(\x0B20.google.analytics.admin.v1beta.AccessQuotaStatus\x12U\x0A\x1Btokens_per_project_per_hour\x18\x05 \x01(\x0B20.google.analytics.admin.v1beta.AccessQuotaStatus\"8\x0A\x11AccessQuotaStatus\x12\x10\x0A\x08consumed\x18\x01 \x01(\x05\x12\x11\x0A\x09remaining\x18\x02 \x01(\x05Bw\x0A!com.google.analytics.admin.v1betaB\x11AccessReportProtoP\x01Z=cloud.google.com/go/analytics/admin/apiv1beta/adminpb;adminpbb\x06proto3" - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AnalyticsAdmin.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AnalyticsAdmin.php deleted file mode 100644 index 1665cc2ce1cb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/AnalyticsAdmin.php +++ /dev/null @@ -1,33 +0,0 @@ -internalAddGeneratedFile( - "\x0A\xC6\xA7\x01\x0A3google/analytics/admin/v1beta/analytics_admin.proto\x12\x1Dgoogle.analytics.admin.v1beta\x1A-google/analytics/admin/v1beta/resources.proto\x1A\x1Cgoogle/api/annotations.proto\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xDA\x04\x0A\x16RunAccessReportRequest\x12\x0E\x0A\x06entity\x18\x01 \x01(\x09\x12B\x0A\x0Adimensions\x18\x02 \x03(\x0B2..google.analytics.admin.v1beta.AccessDimension\x12<\x0A\x07metrics\x18\x03 \x03(\x0B2+.google.analytics.admin.v1beta.AccessMetric\x12C\x0A\x0Bdate_ranges\x18\x04 \x03(\x0B2..google.analytics.admin.v1beta.AccessDateRange\x12O\x0A\x10dimension_filter\x18\x05 \x01(\x0B25.google.analytics.admin.v1beta.AccessFilterExpression\x12L\x0A\x0Dmetric_filter\x18\x06 \x01(\x0B25.google.analytics.admin.v1beta.AccessFilterExpression\x12\x0E\x0A\x06offset\x18\x07 \x01(\x03\x12\x0D\x0A\x05limit\x18\x08 \x01(\x03\x12\x11\x0A\x09time_zone\x18\x09 \x01(\x09\x12?\x0A\x09order_bys\x18\x0A \x03(\x0B2,.google.analytics.admin.v1beta.AccessOrderBy\x12\x1B\x0A\x13return_entity_quota\x18\x0B \x01(\x08\x12\x1E\x0A\x11include_all_users\x18\x0C \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dexpand_groups\x18\x0D \x01(\x08B\x03\xE0A\x01\"\xBB\x02\x0A\x17RunAccessReportResponse\x12O\x0A\x11dimension_headers\x18\x01 \x03(\x0B24.google.analytics.admin.v1beta.AccessDimensionHeader\x12I\x0A\x0Emetric_headers\x18\x02 \x03(\x0B21.google.analytics.admin.v1beta.AccessMetricHeader\x126\x0A\x04rows\x18\x03 \x03(\x0B2(.google.analytics.admin.v1beta.AccessRow\x12\x11\x0A\x09row_count\x18\x04 \x01(\x05\x129\x0A\x05quota\x18\x05 \x01(\x0B2*.google.analytics.admin.v1beta.AccessQuota\"P\x0A\x11GetAccountRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\"R\x0A\x13ListAccountsRequest\x12\x11\x0A\x09page_size\x18\x01 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x14\x0A\x0Cshow_deleted\x18\x03 \x01(\x08\"i\x0A\x14ListAccountsResponse\x128\x0A\x08accounts\x18\x01 \x03(\x0B2&.google.analytics.admin.v1beta.Account\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"S\x0A\x14DeleteAccountRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\"\x8A\x01\x0A\x14UpdateAccountRequest\x12<\x0A\x07account\x18\x01 \x01(\x0B2&.google.analytics.admin.v1beta.AccountB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"n\x0A\x1DProvisionAccountTicketRequest\x127\x0A\x07account\x18\x01 \x01(\x0B2&.google.analytics.admin.v1beta.Account\x12\x14\x0A\x0Credirect_uri\x18\x02 \x01(\x09\";\x0A\x1EProvisionAccountTicketResponse\x12\x19\x0A\x11account_ticket_id\x18\x01 \x01(\x09\"R\x0A\x12GetPropertyRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\"i\x0A\x15ListPropertiesRequest\x12\x13\x0A\x06filter\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x14\x0A\x0Cshow_deleted\x18\x04 \x01(\x08\"n\x0A\x16ListPropertiesResponse\x12;\x0A\x0Aproperties\x18\x01 \x03(\x0B2'.google.analytics.admin.v1beta.Property\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x8D\x01\x0A\x15UpdatePropertyRequest\x12>\x0A\x08property\x18\x01 \x01(\x0B2'.google.analytics.admin.v1beta.PropertyB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"W\x0A\x15CreatePropertyRequest\x12>\x0A\x08property\x18\x01 \x01(\x0B2'.google.analytics.admin.v1beta.PropertyB\x03\xE0A\x02\"U\x0A\x15DeletePropertyRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\"\xA8\x01\x0A\x19CreateFirebaseLinkRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/FirebaseLink\x12G\x0A\x0Dfirebase_link\x18\x02 \x01(\x0B2+.google.analytics.admin.v1beta.FirebaseLinkB\x03\xE0A\x02\"]\x0A\x19DeleteFirebaseLinkRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/FirebaseLink\"\x85\x01\x0A\x18ListFirebaseLinksRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/FirebaseLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"y\x0A\x19ListFirebaseLinksResponse\x12C\x0A\x0Efirebase_links\x18\x01 \x03(\x0B2+.google.analytics.admin.v1beta.FirebaseLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xAD\x01\x0A\x1ACreateGoogleAdsLinkRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/GoogleAdsLink\x12J\x0A\x0Fgoogle_ads_link\x18\x02 \x01(\x0B2,.google.analytics.admin.v1beta.GoogleAdsLinkB\x03\xE0A\x02\"\x99\x01\x0A\x1AUpdateGoogleAdsLinkRequest\x12E\x0A\x0Fgoogle_ads_link\x18\x01 \x01(\x0B2,.google.analytics.admin.v1beta.GoogleAdsLink\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"_\x0A\x1ADeleteGoogleAdsLinkRequest\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x0A+analyticsadmin.googleapis.com/GoogleAdsLink\"\x87\x01\x0A\x19ListGoogleAdsLinksRequest\x12C\x0A\x06parent\x18\x01 \x01(\x09B3\xE0A\x02\xFAA-\x12+analyticsadmin.googleapis.com/GoogleAdsLink\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"}\x0A\x1AListGoogleAdsLinksResponse\x12F\x0A\x10google_ads_links\x18\x01 \x03(\x0B2,.google.analytics.admin.v1beta.GoogleAdsLink\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"h\x0A\x1DGetDataSharingSettingsRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1analyticsadmin.googleapis.com/DataSharingSettings\"D\x0A\x1BListAccountSummariesRequest\x12\x11\x0A\x09page_size\x18\x01 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\"\x81\x01\x0A\x1CListAccountSummariesResponse\x12H\x0A\x11account_summaries\x18\x01 \x03(\x0B2-.google.analytics.admin.v1beta.AccountSummary\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x86\x01\x0A\$AcknowledgeUserDataCollectionRequest\x12@\x0A\x08property\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12\x1C\x0A\x0Facknowledgement\x18\x02 \x01(\x09B\x03\xE0A\x02\"'\x0A%AcknowledgeUserDataCollectionResponse\"\x81\x04\x0A SearchChangeHistoryEventsRequest\x12>\x0A\x07account\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%analyticsadmin.googleapis.com/Account\x12@\x0A\x08property\x18\x02 \x01(\x09B.\xE0A\x01\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12T\x0A\x0Dresource_type\x18\x03 \x03(\x0E28.google.analytics.admin.v1beta.ChangeHistoryResourceTypeB\x03\xE0A\x01\x12>\x0A\x06action\x18\x04 \x03(\x0E2).google.analytics.admin.v1beta.ActionTypeB\x03\xE0A\x01\x12\x18\x0A\x0Bactor_email\x18\x05 \x03(\x09B\x03\xE0A\x01\x12=\x0A\x14earliest_change_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12;\x0A\x12latest_change_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x08 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x09 \x01(\x09B\x03\xE0A\x01\"\x8E\x01\x0A!SearchChangeHistoryEventsResponse\x12P\x0A\x15change_history_events\x18\x01 \x03(\x0B21.google.analytics.admin.v1beta.ChangeHistoryEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"t\x0A#GetMeasurementProtocolSecretRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\"\xDD\x01\x0A&CreateMeasurementProtocolSecretRequest\x12O\x0A\x06parent\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x127analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12b\x0A\x1Bmeasurement_protocol_secret\x18\x02 \x01(\x0B28.google.analytics.admin.v1beta.MeasurementProtocolSecretB\x03\xE0A\x02\"w\x0A&DeleteMeasurementProtocolSecretRequest\x12M\x0A\x04name\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\"\xC2\x01\x0A&UpdateMeasurementProtocolSecretRequest\x12b\x0A\x1Bmeasurement_protocol_secret\x18\x01 \x01(\x0B28.google.analytics.admin.v1beta.MeasurementProtocolSecretB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x9F\x01\x0A%ListMeasurementProtocolSecretsRequest\x12O\x0A\x06parent\x18\x01 \x01(\x09B?\xE0A\x02\xFAA9\x127analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\xA1\x01\x0A&ListMeasurementProtocolSecretsResponse\x12^\x0A\x1Cmeasurement_protocol_secrets\x18\x01 \x03(\x0B28.google.analytics.admin.v1beta.MeasurementProtocolSecret\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB4\x01\x0A\x1CCreateConversionEventRequest\x12M\x0A\x10conversion_event\x18\x01 \x01(\x0B2..google.analytics.admin.v1beta.ConversionEventB\x03\xE0A\x02\x12E\x0A\x06parent\x18\x02 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ConversionEvent\"\xA3\x01\x0A\x1CUpdateConversionEventRequest\x12M\x0A\x10conversion_event\x18\x01 \x01(\x0B2..google.analytics.admin.v1beta.ConversionEventB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"`\x0A\x19GetConversionEventRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ConversionEvent\"c\x0A\x1CDeleteConversionEventRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/ConversionEvent\"\x8B\x01\x0A\x1BListConversionEventsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/ConversionEvent\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x82\x01\x0A\x1CListConversionEventsResponse\x12I\x0A\x11conversion_events\x18\x01 \x03(\x0B2..google.analytics.admin.v1beta.ConversionEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x98\x01\x0A\x15CreateKeyEventRequest\x12?\x0A\x09key_event\x18\x01 \x01(\x0B2'.google.analytics.admin.v1beta.KeyEventB\x03\xE0A\x02\x12>\x0A\x06parent\x18\x02 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/KeyEvent\"\x8E\x01\x0A\x15UpdateKeyEventRequest\x12?\x0A\x09key_event\x18\x01 \x01(\x0B2'.google.analytics.admin.v1beta.KeyEventB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"R\x0A\x12GetKeyEventRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/KeyEvent\"U\x0A\x15DeleteKeyEventRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&analyticsadmin.googleapis.com/KeyEvent\"}\x0A\x14ListKeyEventsRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&analyticsadmin.googleapis.com/KeyEvent\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"m\x0A\x15ListKeyEventsResponse\x12;\x0A\x0Akey_events\x18\x01 \x03(\x0B2'.google.analytics.admin.v1beta.KeyEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB4\x01\x0A\x1CCreateCustomDimensionRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/CustomDimension\x12M\x0A\x10custom_dimension\x18\x02 \x01(\x0B2..google.analytics.admin.v1beta.CustomDimensionB\x03\xE0A\x02\"\x9E\x01\x0A\x1CUpdateCustomDimensionRequest\x12H\x0A\x10custom_dimension\x18\x01 \x01(\x0B2..google.analytics.admin.v1beta.CustomDimension\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x8B\x01\x0A\x1BListCustomDimensionsRequest\x12E\x0A\x06parent\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x12-analyticsadmin.googleapis.com/CustomDimension\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x82\x01\x0A\x1CListCustomDimensionsResponse\x12I\x0A\x11custom_dimensions\x18\x01 \x03(\x0B2..google.analytics.admin.v1beta.CustomDimension\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"d\x0A\x1DArchiveCustomDimensionRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/CustomDimension\"`\x0A\x19GetCustomDimensionRequest\x12C\x0A\x04name\x18\x01 \x01(\x09B5\xE0A\x02\xFAA/\x0A-analyticsadmin.googleapis.com/CustomDimension\"\xA8\x01\x0A\x19CreateCustomMetricRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/CustomMetric\x12G\x0A\x0Dcustom_metric\x18\x02 \x01(\x0B2+.google.analytics.admin.v1beta.CustomMetricB\x03\xE0A\x02\"\x95\x01\x0A\x19UpdateCustomMetricRequest\x12B\x0A\x0Dcustom_metric\x18\x01 \x01(\x0B2+.google.analytics.admin.v1beta.CustomMetric\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x85\x01\x0A\x18ListCustomMetricsRequest\x12B\x0A\x06parent\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x12*analyticsadmin.googleapis.com/CustomMetric\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"y\x0A\x19ListCustomMetricsResponse\x12C\x0A\x0Ecustom_metrics\x18\x01 \x03(\x0B2+.google.analytics.admin.v1beta.CustomMetric\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"^\x0A\x1AArchiveCustomMetricRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/CustomMetric\"Z\x0A\x16GetCustomMetricRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*analyticsadmin.googleapis.com/CustomMetric\"l\x0A\x1FGetDataRetentionSettingsRequest\x12I\x0A\x04name\x18\x01 \x01(\x09B;\xE0A\x02\xFAA5\x0A3analyticsadmin.googleapis.com/DataRetentionSettings\"\xB6\x01\x0A\"UpdateDataRetentionSettingsRequest\x12Z\x0A\x17data_retention_settings\x18\x01 \x01(\x0B24.google.analytics.admin.v1beta.DataRetentionSettingsB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xA0\x01\x0A\x17CreateDataStreamRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(analyticsadmin.googleapis.com/DataStream\x12C\x0A\x0Bdata_stream\x18\x02 \x01(\x0B2).google.analytics.admin.v1beta.DataStreamB\x03\xE0A\x02\"Y\x0A\x17DeleteDataStreamRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(analyticsadmin.googleapis.com/DataStream\"\x8F\x01\x0A\x17UpdateDataStreamRequest\x12>\x0A\x0Bdata_stream\x18\x01 \x01(\x0B2).google.analytics.admin.v1beta.DataStream\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x81\x01\x0A\x16ListDataStreamsRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(analyticsadmin.googleapis.com/DataStream\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"s\x0A\x17ListDataStreamsResponse\x12?\x0A\x0Cdata_streams\x18\x01 \x03(\x0B2).google.analytics.admin.v1beta.DataStream\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"V\x0A\x14GetDataStreamRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(analyticsadmin.googleapis.com/DataStream2\xEFW\x0A\x15AnalyticsAdminService\x12\x90\x01\x0A\x0AGetAccount\x120.google.analytics.admin.v1beta.GetAccountRequest\x1A&.google.analytics.admin.v1beta.Account\"(\xDAA\x04name\x82\xD3\xE4\x93\x02\x1B\x12\x19/v1beta/{name=accounts/*}\x12\x91\x01\x0A\x0CListAccounts\x122.google.analytics.admin.v1beta.ListAccountsRequest\x1A3.google.analytics.admin.v1beta.ListAccountsResponse\"\x18\x82\xD3\xE4\x93\x02\x12\x12\x10/v1beta/accounts\x12\x86\x01\x0A\x0DDeleteAccount\x123.google.analytics.admin.v1beta.DeleteAccountRequest\x1A\x16.google.protobuf.Empty\"(\xDAA\x04name\x82\xD3\xE4\x93\x02\x1B*\x19/v1beta/{name=accounts/*}\x12\xB6\x01\x0A\x0DUpdateAccount\x123.google.analytics.admin.v1beta.UpdateAccountRequest\x1A&.google.analytics.admin.v1beta.Account\"H\xDAA\x13account,update_mask\x82\xD3\xE4\x93\x02,2!/v1beta/{account.name=accounts/*}:\x07account\x12\xC9\x01\x0A\x16ProvisionAccountTicket\x12<.google.analytics.admin.v1beta.ProvisionAccountTicketRequest\x1A=.google.analytics.admin.v1beta.ProvisionAccountTicketResponse\"2\x82\xD3\xE4\x93\x02,\"'/v1beta/accounts:provisionAccountTicket:\x01*\x12\xB1\x01\x0A\x14ListAccountSummaries\x12:.google.analytics.admin.v1beta.ListAccountSummariesRequest\x1A;.google.analytics.admin.v1beta.ListAccountSummariesResponse\" \x82\xD3\xE4\x93\x02\x1A\x12\x18/v1beta/accountSummaries\x12\x95\x01\x0A\x0BGetProperty\x121.google.analytics.admin.v1beta.GetPropertyRequest\x1A'.google.analytics.admin.v1beta.Property\"*\xDAA\x04name\x82\xD3\xE4\x93\x02\x1D\x12\x1B/v1beta/{name=properties/*}\x12\x99\x01\x0A\x0EListProperties\x124.google.analytics.admin.v1beta.ListPropertiesRequest\x1A5.google.analytics.admin.v1beta.ListPropertiesResponse\"\x1A\x82\xD3\xE4\x93\x02\x14\x12\x12/v1beta/properties\x12\xA0\x01\x0A\x0ECreateProperty\x124.google.analytics.admin.v1beta.CreatePropertyRequest\x1A'.google.analytics.admin.v1beta.Property\"/\xDAA\x08property\x82\xD3\xE4\x93\x02\x1E\"\x12/v1beta/properties:\x08property\x12\x9B\x01\x0A\x0EDeleteProperty\x124.google.analytics.admin.v1beta.DeletePropertyRequest\x1A'.google.analytics.admin.v1beta.Property\"*\xDAA\x04name\x82\xD3\xE4\x93\x02\x1D*\x1B/v1beta/{name=properties/*}\x12\xBE\x01\x0A\x0EUpdateProperty\x124.google.analytics.admin.v1beta.UpdatePropertyRequest\x1A'.google.analytics.admin.v1beta.Property\"M\xDAA\x14property,update_mask\x82\xD3\xE4\x93\x0202\$/v1beta/{property.name=properties/*}:\x08property\x12\xD6\x01\x0A\x12CreateFirebaseLink\x128.google.analytics.admin.v1beta.CreateFirebaseLinkRequest\x1A+.google.analytics.admin.v1beta.FirebaseLink\"Y\xDAA\x14parent,firebase_link\x82\xD3\xE4\x93\x02<\"+/v1beta/{parent=properties/*}/firebaseLinks:\x0Dfirebase_link\x12\xA2\x01\x0A\x12DeleteFirebaseLink\x128.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest\x1A\x16.google.protobuf.Empty\":\xDAA\x04name\x82\xD3\xE4\x93\x02-*+/v1beta/{name=properties/*/firebaseLinks/*}\x12\xC4\x01\x0A\x11ListFirebaseLinks\x127.google.analytics.admin.v1beta.ListFirebaseLinksRequest\x1A8.google.analytics.admin.v1beta.ListFirebaseLinksResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1beta/{parent=properties/*}/firebaseLinks\x12\xDE\x01\x0A\x13CreateGoogleAdsLink\x129.google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest\x1A,.google.analytics.admin.v1beta.GoogleAdsLink\"^\xDAA\x16parent,google_ads_link\x82\xD3\xE4\x93\x02?\",/v1beta/{parent=properties/*}/googleAdsLinks:\x0Fgoogle_ads_link\x12\xF3\x01\x0A\x13UpdateGoogleAdsLink\x129.google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest\x1A,.google.analytics.admin.v1beta.GoogleAdsLink\"s\xDAA\x1Bgoogle_ads_link,update_mask\x82\xD3\xE4\x93\x02O221/v1beta/{key_event.name=properties/*/keyEvents/*}:\x09key_event\x12\xA1\x01\x0A\x0BGetKeyEvent\x121.google.analytics.admin.v1beta.GetKeyEventRequest\x1A'.google.analytics.admin.v1beta.KeyEvent\"6\xDAA\x04name\x82\xD3\xE4\x93\x02)\x12'/v1beta/{name=properties/*/keyEvents/*}\x12\x96\x01\x0A\x0EDeleteKeyEvent\x124.google.analytics.admin.v1beta.DeleteKeyEventRequest\x1A\x16.google.protobuf.Empty\"6\xDAA\x04name\x82\xD3\xE4\x93\x02)*'/v1beta/{name=properties/*/keyEvents/*}\x12\xB4\x01\x0A\x0DListKeyEvents\x123.google.analytics.admin.v1beta.ListKeyEventsRequest\x1A4.google.analytics.admin.v1beta.ListKeyEventsResponse\"8\xDAA\x06parent\x82\xD3\xE4\x93\x02)\x12'/v1beta/{parent=properties/*}/keyEvents\x12\xE8\x01\x0A\x15CreateCustomDimension\x12;.google.analytics.admin.v1beta.CreateCustomDimensionRequest\x1A..google.analytics.admin.v1beta.CustomDimension\"b\xDAA\x17parent,custom_dimension\x82\xD3\xE4\x93\x02B\"./v1beta/{parent=properties/*}/customDimensions:\x10custom_dimension\x12\xFE\x01\x0A\x15UpdateCustomDimension\x12;.google.analytics.admin.v1beta.UpdateCustomDimensionRequest\x1A..google.analytics.admin.v1beta.CustomDimension\"x\xDAA\x1Ccustom_dimension,update_mask\x82\xD3\xE4\x93\x02S2?/v1beta/{custom_dimension.name=properties/*/customDimensions/*}:\x10custom_dimension\x12\xD0\x01\x0A\x14ListCustomDimensions\x12:.google.analytics.admin.v1beta.ListCustomDimensionsRequest\x1A;.google.analytics.admin.v1beta.ListCustomDimensionsResponse\"?\xDAA\x06parent\x82\xD3\xE4\x93\x020\x12./v1beta/{parent=properties/*}/customDimensions\x12\xB8\x01\x0A\x16ArchiveCustomDimension\x12<.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest\x1A\x16.google.protobuf.Empty\"H\xDAA\x04name\x82\xD3\xE4\x93\x02;\"6/v1beta/{name=properties/*/customDimensions/*}:archive:\x01*\x12\xBD\x01\x0A\x12GetCustomDimension\x128.google.analytics.admin.v1beta.GetCustomDimensionRequest\x1A..google.analytics.admin.v1beta.CustomDimension\"=\xDAA\x04name\x82\xD3\xE4\x93\x020\x12./v1beta/{name=properties/*/customDimensions/*}\x12\xD6\x01\x0A\x12CreateCustomMetric\x128.google.analytics.admin.v1beta.CreateCustomMetricRequest\x1A+.google.analytics.admin.v1beta.CustomMetric\"Y\xDAA\x14parent,custom_metric\x82\xD3\xE4\x93\x02<\"+/v1beta/{parent=properties/*}/customMetrics:\x0Dcustom_metric\x12\xE9\x01\x0A\x12UpdateCustomMetric\x128.google.analytics.admin.v1beta.UpdateCustomMetricRequest\x1A+.google.analytics.admin.v1beta.CustomMetric\"l\xDAA\x19custom_metric,update_mask\x82\xD3\xE4\x93\x02J29/v1beta/{custom_metric.name=properties/*/customMetrics/*}:\x0Dcustom_metric\x12\xC4\x01\x0A\x11ListCustomMetrics\x127.google.analytics.admin.v1beta.ListCustomMetricsRequest\x1A8.google.analytics.admin.v1beta.ListCustomMetricsResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1beta/{parent=properties/*}/customMetrics\x12\xAF\x01\x0A\x13ArchiveCustomMetric\x129.google.analytics.admin.v1beta.ArchiveCustomMetricRequest\x1A\x16.google.protobuf.Empty\"E\xDAA\x04name\x82\xD3\xE4\x93\x028\"3/v1beta/{name=properties/*/customMetrics/*}:archive:\x01*\x12\xB1\x01\x0A\x0FGetCustomMetric\x125.google.analytics.admin.v1beta.GetCustomMetricRequest\x1A+.google.analytics.admin.v1beta.CustomMetric\":\xDAA\x04name\x82\xD3\xE4\x93\x02-\x12+/v1beta/{name=properties/*/customMetrics/*}\x12\xD2\x01\x0A\x18GetDataRetentionSettings\x12>.google.analytics.admin.v1beta.GetDataRetentionSettingsRequest\x1A4.google.analytics.admin.v1beta.DataRetentionSettings\"@\xDAA\x04name\x82\xD3\xE4\x93\x023\x121/v1beta/{name=properties/*/dataRetentionSettings}\x12\xA9\x02\x0A\x1BUpdateDataRetentionSettings\x12A.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest\x1A4.google.analytics.admin.v1beta.DataRetentionSettings\"\x90\x01\xDAA#data_retention_settings,update_mask\x82\xD3\xE4\x93\x02d2I/v1beta/{data_retention_settings.name=properties/*/dataRetentionSettings}:\x17data_retention_settings\x12\xCA\x01\x0A\x10CreateDataStream\x126.google.analytics.admin.v1beta.CreateDataStreamRequest\x1A).google.analytics.admin.v1beta.DataStream\"S\xDAA\x12parent,data_stream\x82\xD3\xE4\x93\x028\")/v1beta/{parent=properties/*}/dataStreams:\x0Bdata_stream\x12\x9C\x01\x0A\x10DeleteDataStream\x126.google.analytics.admin.v1beta.DeleteDataStreamRequest\x1A\x16.google.protobuf.Empty\"8\xDAA\x04name\x82\xD3\xE4\x93\x02+*)/v1beta/{name=properties/*/dataStreams/*}\x12\xDB\x01\x0A\x10UpdateDataStream\x126.google.analytics.admin.v1beta.UpdateDataStreamRequest\x1A).google.analytics.admin.v1beta.DataStream\"d\xDAA\x17data_stream,update_mask\x82\xD3\xE4\x93\x02D25/v1beta/{data_stream.name=properties/*/dataStreams/*}:\x0Bdata_stream\x12\xBC\x01\x0A\x0FListDataStreams\x125.google.analytics.admin.v1beta.ListDataStreamsRequest\x1A6.google.analytics.admin.v1beta.ListDataStreamsResponse\":\xDAA\x06parent\x82\xD3\xE4\x93\x02+\x12)/v1beta/{parent=properties/*}/dataStreams\x12\xA9\x01\x0A\x0DGetDataStream\x123.google.analytics.admin.v1beta.GetDataStreamRequest\x1A).google.analytics.admin.v1beta.DataStream\"8\xDAA\x04name\x82\xD3\xE4\x93\x02+\x12)/v1beta/{name=properties/*/dataStreams/*}\x12\xEC\x01\x0A\x0FRunAccessReport\x125.google.analytics.admin.v1beta.RunAccessReportRequest\x1A6.google.analytics.admin.v1beta.RunAccessReportResponse\"j\x82\xD3\xE4\x93\x02d\"-/v1beta/{entity=properties/*}:runAccessReport:\x01*Z0\"+/v1beta/{entity=accounts/*}:runAccessReport:\x01*\x1A\x84\x01\xCAA\x1Danalyticsadmin.googleapis.com\xD2Aahttps://www.googleapis.com/auth/analytics.edit,https://www.googleapis.com/auth/analytics.readonlyBy\x0A!com.google.analytics.admin.v1betaB\x13AnalyticsAdminProtoP\x01Z=cloud.google.com/go/analytics/admin/apiv1beta/adminpb;adminpbb\x06proto3" - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/Resources.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/Resources.php deleted file mode 100644 index a5114c6e3c3b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/GPBMetadata/Google/Analytics/Admin/V1Beta/Resources.php +++ /dev/null @@ -1,28 +0,0 @@ -internalAddGeneratedFile( - "\x0A\xDFM\x0A-google/analytics/admin/v1beta/resources.proto\x12\x1Dgoogle.analytics.admin.v1beta\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x1Egoogle/protobuf/wrappers.proto\"\xE4\x02\x0A\x07Account\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bregion_code\x18\x05 \x01(\x09\x12\x14\x0A\x07deleted\x18\x06 \x01(\x08B\x03\xE0A\x03\x12T\x0A\x10gmp_organization\x18\x07 \x01(\x09B:\xE0A\x03\xFAA4\x0A2marketingplatformadmin.googleapis.com/Organization:>\xEAA;\x0A%analyticsadmin.googleapis.com/Account\x12\x12accounts/{account}\"\xB6\x05\x0A\x08Property\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12G\x0A\x0Dproperty_type\x18\x0E \x01(\x0E2+.google.analytics.admin.v1beta.PropertyTypeB\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x13\x0A\x06parent\x18\x02 \x01(\x09B\x03\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x05 \x01(\x09B\x03\xE0A\x02\x12J\x0A\x11industry_category\x18\x06 \x01(\x0E2/.google.analytics.admin.v1beta.IndustryCategory\x12\x16\x0A\x09time_zone\x18\x07 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x0Dcurrency_code\x18\x08 \x01(\x09\x12G\x0A\x0Dservice_level\x18\x0A \x01(\x0E2+.google.analytics.admin.v1beta.ServiceLevelB\x03\xE0A\x03\x124\x0A\x0Bdelete_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bexpire_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12>\x0A\x07account\x18\x0D \x01(\x09B-\xE0A\x05\xFAA'\x0A%analyticsadmin.googleapis.com/Account:B\xEAA?\x0A&analyticsadmin.googleapis.com/Property\x12\x15properties/{property}\"\xF0\x07\x0A\x0ADataStream\x12R\x0A\x0Fweb_stream_data\x18\x06 \x01(\x0B27.google.analytics.admin.v1beta.DataStream.WebStreamDataH\x00\x12a\x0A\x17android_app_stream_data\x18\x07 \x01(\x0B2>.google.analytics.admin.v1beta.DataStream.AndroidAppStreamDataH\x00\x12Y\x0A\x13ios_app_stream_data\x18\x08 \x01(\x0B2:.google.analytics.admin.v1beta.DataStream.IosAppStreamDataH\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12N\x0A\x04type\x18\x02 \x01(\x0E28.google.analytics.admin.v1beta.DataStream.DataStreamTypeB\x06\xE0A\x05\xE0A\x02\x12\x14\x0A\x0Cdisplay_name\x18\x03 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x1A_\x0A\x0DWebStreamData\x12\x1B\x0A\x0Emeasurement_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Ffirebase_app_id\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x13\x0A\x0Bdefault_uri\x18\x03 \x01(\x09\x1AO\x0A\x14AndroidAppStreamData\x12\x1C\x0A\x0Ffirebase_app_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cpackage_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x1AK\x0A\x10IosAppStreamData\x12\x1C\x0A\x0Ffirebase_app_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x09bundle_id\x18\x02 \x01(\x09B\x06\xE0A\x05\xE0A\x02\"}\x0A\x0EDataStreamType\x12 \x0A\x1CDATA_STREAM_TYPE_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FWEB_DATA_STREAM\x10\x01\x12\x1B\x0A\x17ANDROID_APP_DATA_STREAM\x10\x02\x12\x17\x0A\x13IOS_APP_DATA_STREAM\x10\x03:^\xEAA[\x0A(analyticsadmin.googleapis.com/DataStream\x12/properties/{property}/dataStreams/{data_stream}B\x0D\x0A\x0Bstream_data\"\xD3\x01\x0A\x0CFirebaseLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x07project\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03:d\xEAAa\x0A*analyticsadmin.googleapis.com/FirebaseLink\x123properties/{property}/firebaseLinks/{firebase_link}\"\x98\x03\x0A\x0DGoogleAdsLink\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x18\x0A\x0Bcustomer_id\x18\x03 \x01(\x09B\x03\xE0A\x05\x12\x1F\x0A\x12can_manage_clients\x18\x04 \x01(\x08B\x03\xE0A\x03\x12?\x0A\x1Bads_personalization_enabled\x18\x05 \x01(\x0B2\x1A.google.protobuf.BoolValue\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\"\x0A\x15creator_email_address\x18\x09 \x01(\x09B\x03\xE0A\x03:h\xEAAe\x0A+analyticsadmin.googleapis.com/GoogleAdsLink\x126properties/{property}/googleAdsLinks/{google_ads_link}\"\xEB\x02\x0A\x13DataSharingSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12+\x0A#sharing_with_google_support_enabled\x18\x02 \x01(\x08\x122\x0A*sharing_with_google_assigned_sales_enabled\x18\x03 \x01(\x08\x12-\x0A%sharing_with_google_any_sales_enabled\x18\x04 \x01(\x08\x12,\x0A\$sharing_with_google_products_enabled\x18\x05 \x01(\x08\x12#\x0A\x1Bsharing_with_others_enabled\x18\x06 \x01(\x08:^\xEAA[\x0A1analyticsadmin.googleapis.com/DataSharingSettings\x12&accounts/{account}/dataSharingSettings\"\x94\x02\x0A\x0EAccountSummary\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12;\x0A\x07account\x18\x02 \x01(\x09B*\xFAA'\x0A%analyticsadmin.googleapis.com/Account\x12\x14\x0A\x0Cdisplay_name\x18\x03 \x01(\x09\x12J\x0A\x12property_summaries\x18\x04 \x03(\x0B2..google.analytics.admin.v1beta.PropertySummary:U\xEAAR\x0A,analyticsadmin.googleapis.com/AccountSummary\x12\"accountSummaries/{account_summary}\"\xBA\x01\x0A\x0FPropertySummary\x12=\x0A\x08property\x18\x01 \x01(\x09B+\xFAA(\x0A&analyticsadmin.googleapis.com/Property\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12B\x0A\x0Dproperty_type\x18\x03 \x01(\x0E2+.google.analytics.admin.v1beta.PropertyType\x12\x0E\x0A\x06parent\x18\x04 \x01(\x09\"\x8E\x02\x0A\x19MeasurementProtocolSecret\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x19\x0A\x0Csecret_value\x18\x03 \x01(\x09B\x03\xE0A\x03:\xA7\x01\xEAA\xA3\x01\x0A7analyticsadmin.googleapis.com/MeasurementProtocolSecret\x12hproperties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}\"\x88\x02\x0A\x12ChangeHistoryEvent\x12\x0A\x0A\x02id\x18\x01 \x01(\x09\x12/\x0A\x0Bchange_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12<\x0A\x0Aactor_type\x18\x03 \x01(\x0E2(.google.analytics.admin.v1beta.ActorType\x12\x18\x0A\x10user_actor_email\x18\x04 \x01(\x09\x12\x18\x0A\x10changes_filtered\x18\x05 \x01(\x08\x12C\x0A\x07changes\x18\x06 \x03(\x0B22.google.analytics.admin.v1beta.ChangeHistoryChange\"\xAA\x07\x0A\x13ChangeHistoryChange\x12\x10\x0A\x08resource\x18\x01 \x01(\x09\x129\x0A\x06action\x18\x02 \x01(\x0E2).google.analytics.admin.v1beta.ActionType\x12h\x0A\x16resource_before_change\x18\x03 \x01(\x0B2H.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource\x12g\x0A\x15resource_after_change\x18\x04 \x01(\x0B2H.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource\x1A\xF2\x04\x0A\x15ChangeHistoryResource\x129\x0A\x07account\x18\x01 \x01(\x0B2&.google.analytics.admin.v1beta.AccountH\x00\x12;\x0A\x08property\x18\x02 \x01(\x0B2'.google.analytics.admin.v1beta.PropertyH\x00\x12D\x0A\x0Dfirebase_link\x18\x06 \x01(\x0B2+.google.analytics.admin.v1beta.FirebaseLinkH\x00\x12G\x0A\x0Fgoogle_ads_link\x18\x07 \x01(\x0B2,.google.analytics.admin.v1beta.GoogleAdsLinkH\x00\x12J\x0A\x10conversion_event\x18\x0B \x01(\x0B2..google.analytics.admin.v1beta.ConversionEventH\x00\x12_\x0A\x1Bmeasurement_protocol_secret\x18\x0C \x01(\x0B28.google.analytics.admin.v1beta.MeasurementProtocolSecretH\x00\x12W\x0A\x17data_retention_settings\x18\x0F \x01(\x0B24.google.analytics.admin.v1beta.DataRetentionSettingsH\x00\x12@\x0A\x0Bdata_stream\x18\x12 \x01(\x0B2).google.analytics.admin.v1beta.DataStreamH\x00B\x0A\x0A\x08resource\"\xDE\x05\x0A\x0FConversionEvent\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x17\x0A\x0Aevent_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x16\x0A\x09deletable\x18\x04 \x01(\x08B\x03\xE0A\x03\x12\x13\x0A\x06custom\x18\x05 \x01(\x08B\x03\xE0A\x03\x12e\x0A\x0Fcounting_method\x18\x06 \x01(\x0E2G.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethodB\x03\xE0A\x01\x12q\x0A\x18default_conversion_value\x18\x07 \x01(\x0B2E.google.analytics.admin.v1beta.ConversionEvent.DefaultConversionValueB\x03\xE0A\x01H\x00\x88\x01\x01\x1Ad\x0A\x16DefaultConversionValue\x12\x12\x0A\x05value\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x1A\x0A\x0Dcurrency_code\x18\x02 \x01(\x09H\x01\x88\x01\x01B\x08\x0A\x06_valueB\x10\x0A\x0E_currency_code\"p\x0A\x18ConversionCountingMethod\x12*\x0A&CONVERSION_COUNTING_METHOD_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EONCE_PER_EVENT\x10\x01\x12\x14\x0A\x10ONCE_PER_SESSION\x10\x02:m\xEAAj\x0A-analyticsadmin.googleapis.com/ConversionEvent\x129properties/{property}/conversionEvents/{conversion_event}B\x1B\x0A\x19_default_conversion_value\"\xD5\x04\x0A\x08KeyEvent\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x17\x0A\x0Aevent_name\x18\x02 \x01(\x09B\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x16\x0A\x09deletable\x18\x04 \x01(\x08B\x03\xE0A\x03\x12\x13\x0A\x06custom\x18\x05 \x01(\x08B\x03\xE0A\x03\x12T\x0A\x0Fcounting_method\x18\x06 \x01(\x0E26.google.analytics.admin.v1beta.KeyEvent.CountingMethodB\x03\xE0A\x02\x12P\x0A\x0Ddefault_value\x18\x07 \x01(\x0B24.google.analytics.admin.v1beta.KeyEvent.DefaultValueB\x03\xE0A\x01\x1AF\x0A\x0CDefaultValue\x12\x1A\x0A\x0Dnumeric_value\x18\x01 \x01(\x01B\x03\xE0A\x02\x12\x1A\x0A\x0Dcurrency_code\x18\x02 \x01(\x09B\x03\xE0A\x02\"[\x0A\x0ECountingMethod\x12\x1F\x0A\x1BCOUNTING_METHOD_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EONCE_PER_EVENT\x10\x01\x12\x14\x0A\x10ONCE_PER_SESSION\x10\x02:m\xEAAj\x0A&analyticsadmin.googleapis.com/KeyEvent\x12+properties/{property}/keyEvents/{key_event}*\x09keyEvents2\x08keyEvent\"\xBB\x03\x0A\x0FCustomDimension\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1E\x0A\x0Eparameter_name\x18\x02 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01\x12T\x0A\x05scope\x18\x05 \x01(\x0E2=.google.analytics.admin.v1beta.CustomDimension.DimensionScopeB\x06\xE0A\x02\xE0A\x05\x12)\x0A\x1Cdisallow_ads_personalization\x18\x06 \x01(\x08B\x03\xE0A\x01\"P\x0A\x0EDimensionScope\x12\x1F\x0A\x1BDIMENSION_SCOPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EVENT\x10\x01\x12\x08\x0A\x04USER\x10\x02\x12\x08\x0A\x04ITEM\x10\x03:m\xEAAj\x0A-analyticsadmin.googleapis.com/CustomDimension\x129properties/{property}/customDimensions/{custom_dimension}\"\xC2\x06\x0A\x0CCustomMetric\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1E\x0A\x0Eparameter_name\x18\x02 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01\x12Z\x0A\x10measurement_unit\x18\x05 \x01(\x0E2;.google.analytics.admin.v1beta.CustomMetric.MeasurementUnitB\x03\xE0A\x02\x12N\x0A\x05scope\x18\x06 \x01(\x0E27.google.analytics.admin.v1beta.CustomMetric.MetricScopeB\x06\xE0A\x02\xE0A\x05\x12e\x0A\x16restricted_metric_type\x18\x08 \x03(\x0E2@.google.analytics.admin.v1beta.CustomMetric.RestrictedMetricTypeB\x03\xE0A\x01\"\xB7\x01\x0A\x0FMeasurementUnit\x12 \x0A\x1CMEASUREMENT_UNIT_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08STANDARD\x10\x01\x12\x0C\x0A\x08CURRENCY\x10\x02\x12\x08\x0A\x04FEET\x10\x03\x12\x0A\x0A\x06METERS\x10\x04\x12\x0E\x0A\x0AKILOMETERS\x10\x05\x12\x09\x0A\x05MILES\x10\x06\x12\x10\x0A\x0CMILLISECONDS\x10\x07\x12\x0B\x0A\x07SECONDS\x10\x08\x12\x0B\x0A\x07MINUTES\x10\x09\x12\x09\x0A\x05HOURS\x10\x0A\"6\x0A\x0BMetricScope\x12\x1C\x0A\x18METRIC_SCOPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05EVENT\x10\x01\"_\x0A\x14RestrictedMetricType\x12&\x0A\"RESTRICTED_METRIC_TYPE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09COST_DATA\x10\x01\x12\x10\x0A\x0CREVENUE_DATA\x10\x02:d\xEAAa\x0A*analyticsadmin.googleapis.com/CustomMetric\x123properties/{property}/customMetrics/{custom_metric}\"\xB0\x04\x0A\x15DataRetentionSettings\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12i\x0A\x14event_data_retention\x18\x02 \x01(\x0E2F.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDurationB\x03\xE0A\x02\x12h\x0A\x13user_data_retention\x18\x04 \x01(\x0E2F.google.analytics.admin.v1beta.DataRetentionSettings.RetentionDurationB\x03\xE0A\x02\x12'\x0A\x1Freset_user_data_on_new_activity\x18\x03 \x01(\x08\"\x9E\x01\x0A\x11RetentionDuration\x12\"\x0A\x1ERETENTION_DURATION_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0ATWO_MONTHS\x10\x01\x12\x13\x0A\x0FFOURTEEN_MONTHS\x10\x03\x12\x15\x0A\x11TWENTY_SIX_MONTHS\x10\x04\x12\x17\x0A\x13THIRTY_EIGHT_MONTHS\x10\x05\x12\x10\x0A\x0CFIFTY_MONTHS\x10\x06:e\xEAAb\x0A3analyticsadmin.googleapis.com/DataRetentionSettings\x12+properties/{property}/dataRetentionSettings*\xAA\x04\x0A\x10IndustryCategory\x12!\x0A\x1DINDUSTRY_CATEGORY_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AAUTOMOTIVE\x10\x01\x12#\x0A\x1FBUSINESS_AND_INDUSTRIAL_MARKETS\x10\x02\x12\x0B\x0A\x07FINANCE\x10\x03\x12\x0E\x0A\x0AHEALTHCARE\x10\x04\x12\x0E\x0A\x0ATECHNOLOGY\x10\x05\x12\x0A\x0A\x06TRAVEL\x10\x06\x12\x09\x0A\x05OTHER\x10\x07\x12\x1A\x0A\x16ARTS_AND_ENTERTAINMENT\x10\x08\x12\x16\x0A\x12BEAUTY_AND_FITNESS\x10\x09\x12\x18\x0A\x14BOOKS_AND_LITERATURE\x10\x0A\x12\x12\x0A\x0EFOOD_AND_DRINK\x10\x0B\x12\x09\x0A\x05GAMES\x10\x0C\x12\x17\x0A\x13HOBBIES_AND_LEISURE\x10\x0D\x12\x13\x0A\x0FHOME_AND_GARDEN\x10\x0E\x12\x18\x0A\x14INTERNET_AND_TELECOM\x10\x0F\x12\x16\x0A\x12LAW_AND_GOVERNMENT\x10\x10\x12\x08\x0A\x04NEWS\x10\x11\x12\x16\x0A\x12ONLINE_COMMUNITIES\x10\x12\x12\x16\x0A\x12PEOPLE_AND_SOCIETY\x10\x13\x12\x14\x0A\x10PETS_AND_ANIMALS\x10\x14\x12\x0F\x0A\x0BREAL_ESTATE\x10\x15\x12\x0D\x0A\x09REFERENCE\x10\x16\x12\x0B\x0A\x07SCIENCE\x10\x17\x12\x0A\x0A\x06SPORTS\x10\x18\x12\x16\x0A\x12JOBS_AND_EDUCATION\x10\x19\x12\x0C\x0A\x08SHOPPING\x10\x1A*f\x0A\x0CServiceLevel\x12\x1D\x0A\x19SERVICE_LEVEL_UNSPECIFIED\x10\x00\x12\x1D\x0A\x19GOOGLE_ANALYTICS_STANDARD\x10\x01\x12\x18\x0A\x14GOOGLE_ANALYTICS_360\x10\x02*J\x0A\x09ActorType\x12\x1A\x0A\x16ACTOR_TYPE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04USER\x10\x01\x12\x0A\x0A\x06SYSTEM\x10\x02\x12\x0B\x0A\x07SUPPORT\x10\x03*P\x0A\x0AActionType\x12\x1B\x0A\x17ACTION_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07CREATED\x10\x01\x12\x0B\x0A\x07UPDATED\x10\x02\x12\x0B\x0A\x07DELETED\x10\x03*\xA8\x03\x0A\x19ChangeHistoryResourceType\x12,\x0A(CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07ACCOUNT\x10\x01\x12\x0C\x0A\x08PROPERTY\x10\x02\x12\x11\x0A\x0DFIREBASE_LINK\x10\x06\x12\x13\x0A\x0FGOOGLE_ADS_LINK\x10\x07\x12\x1B\x0A\x17GOOGLE_SIGNALS_SETTINGS\x10\x08\x12\x14\x0A\x10CONVERSION_EVENT\x10\x09\x12\x1F\x0A\x1BMEASUREMENT_PROTOCOL_SECRET\x10\x0A\x12\x14\x0A\x10CUSTOM_DIMENSION\x10\x0B\x12\x11\x0A\x0DCUSTOM_METRIC\x10\x0C\x12\x1B\x0A\x17DATA_RETENTION_SETTINGS\x10\x0D\x12%\x0A!DISPLAY_VIDEO_360_ADVERTISER_LINK\x10\x0E\x12.\x0A*DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL\x10\x0F\x12\x0F\x0A\x0BDATA_STREAM\x10\x12\x12\x18\x0A\x14ATTRIBUTION_SETTINGS\x10\x14*\x82\x01\x0A\x0CPropertyType\x12\x1D\x0A\x19PROPERTY_TYPE_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16PROPERTY_TYPE_ORDINARY\x10\x01\x12\x1D\x0A\x19PROPERTY_TYPE_SUBPROPERTY\x10\x02\x12\x18\x0A\x14PROPERTY_TYPE_ROLLUP\x10\x03B\xC9\x01\x0A!com.google.analytics.admin.v1betaB\x0EResourcesProtoP\x01Z=cloud.google.com/go/analytics/admin/apiv1beta/adminpb;adminpb\xEAAR\x0A2marketingplatformadmin.googleapis.com/Organization\x12\x1Corganizations/{organization}b\x06proto3" - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessBetweenFilter.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessBetweenFilter.php deleted file mode 100644 index e893c6f50b43..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessBetweenFilter.php +++ /dev/null @@ -1,121 +0,0 @@ -google.analytics.admin.v1beta.AccessBetweenFilter - */ -class AccessBetweenFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Begins with this number. - * - * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue from_value = 1; - */ - protected $from_value = null; - /** - * Ends with this number. - * - * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue to_value = 2; - */ - protected $to_value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\NumericValue $from_value - * Begins with this number. - * @type \Google\Analytics\Admin\V1beta\NumericValue $to_value - * Ends with this number. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * Begins with this number. - * - * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue from_value = 1; - * @return \Google\Analytics\Admin\V1beta\NumericValue|null - */ - public function getFromValue() - { - return $this->from_value; - } - - public function hasFromValue() - { - return isset($this->from_value); - } - - public function clearFromValue() - { - unset($this->from_value); - } - - /** - * Begins with this number. - * - * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue from_value = 1; - * @param \Google\Analytics\Admin\V1beta\NumericValue $var - * @return $this - */ - public function setFromValue($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\NumericValue::class); - $this->from_value = $var; - - return $this; - } - - /** - * Ends with this number. - * - * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue to_value = 2; - * @return \Google\Analytics\Admin\V1beta\NumericValue|null - */ - public function getToValue() - { - return $this->to_value; - } - - public function hasToValue() - { - return isset($this->to_value); - } - - public function clearToValue() - { - unset($this->to_value); - } - - /** - * Ends with this number. - * - * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue to_value = 2; - * @param \Google\Analytics\Admin\V1beta\NumericValue $var - * @return $this - */ - public function setToValue($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\NumericValue::class); - $this->to_value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDateRange.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDateRange.php deleted file mode 100644 index b0ddfabc6a85..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDateRange.php +++ /dev/null @@ -1,125 +0,0 @@ -google.analytics.admin.v1beta.AccessDateRange - */ -class AccessDateRange extends \Google\Protobuf\Internal\Message -{ - /** - * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot - * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also - * accepted, and in that case, the date is inferred based on the current time - * in the request's time zone. - * - * Generated from protobuf field string start_date = 1; - */ - protected $start_date = ''; - /** - * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot - * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is - * also accepted, and in that case, the date is inferred based on the current - * time in the request's time zone. - * - * Generated from protobuf field string end_date = 2; - */ - protected $end_date = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $start_date - * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot - * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also - * accepted, and in that case, the date is inferred based on the current time - * in the request's time zone. - * @type string $end_date - * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot - * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is - * also accepted, and in that case, the date is inferred based on the current - * time in the request's time zone. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot - * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also - * accepted, and in that case, the date is inferred based on the current time - * in the request's time zone. - * - * Generated from protobuf field string start_date = 1; - * @return string - */ - public function getStartDate() - { - return $this->start_date; - } - - /** - * The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot - * be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also - * accepted, and in that case, the date is inferred based on the current time - * in the request's time zone. - * - * Generated from protobuf field string start_date = 1; - * @param string $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkString($var, True); - $this->start_date = $var; - - return $this; - } - - /** - * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot - * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is - * also accepted, and in that case, the date is inferred based on the current - * time in the request's time zone. - * - * Generated from protobuf field string end_date = 2; - * @return string - */ - public function getEndDate() - { - return $this->end_date; - } - - /** - * The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot - * be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is - * also accepted, and in that case, the date is inferred based on the current - * time in the request's time zone. - * - * Generated from protobuf field string end_date = 2; - * @param string $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkString($var, True); - $this->end_date = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimension.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimension.php deleted file mode 100644 index 364b27647296..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimension.php +++ /dev/null @@ -1,81 +0,0 @@ -google.analytics.admin.v1beta.AccessDimension - */ -class AccessDimension extends \Google\Protobuf\Internal\Message -{ - /** - * The API name of the dimension. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of dimensions supported in this API. - * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. - * - * Generated from protobuf field string dimension_name = 1; - */ - protected $dimension_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $dimension_name - * The API name of the dimension. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of dimensions supported in this API. - * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The API name of the dimension. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of dimensions supported in this API. - * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. - * - * Generated from protobuf field string dimension_name = 1; - * @return string - */ - public function getDimensionName() - { - return $this->dimension_name; - } - - /** - * The API name of the dimension. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of dimensions supported in this API. - * Dimensions are referenced by name in `dimensionFilter` and `orderBys`. - * - * Generated from protobuf field string dimension_name = 1; - * @param string $var - * @return $this - */ - public function setDimensionName($var) - { - GPBUtil::checkString($var, True); - $this->dimension_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionHeader.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionHeader.php deleted file mode 100644 index e348dd0af54a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionHeader.php +++ /dev/null @@ -1,70 +0,0 @@ -google.analytics.admin.v1beta.AccessDimensionHeader - */ -class AccessDimensionHeader extends \Google\Protobuf\Internal\Message -{ - /** - * The dimension's name; for example 'userEmail'. - * - * Generated from protobuf field string dimension_name = 1; - */ - protected $dimension_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $dimension_name - * The dimension's name; for example 'userEmail'. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The dimension's name; for example 'userEmail'. - * - * Generated from protobuf field string dimension_name = 1; - * @return string - */ - public function getDimensionName() - { - return $this->dimension_name; - } - - /** - * The dimension's name; for example 'userEmail'. - * - * Generated from protobuf field string dimension_name = 1; - * @param string $var - * @return $this - */ - public function setDimensionName($var) - { - GPBUtil::checkString($var, True); - $this->dimension_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionValue.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionValue.php deleted file mode 100644 index 38f54bc20e05..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessDimensionValue.php +++ /dev/null @@ -1,71 +0,0 @@ -google.analytics.admin.v1beta.AccessDimensionValue - */ -class AccessDimensionValue extends \Google\Protobuf\Internal\Message -{ - /** - * The dimension value. For example, this value may be 'France' for the - * 'country' dimension. - * - * Generated from protobuf field string value = 1; - */ - protected $value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * The dimension value. For example, this value may be 'France' for the - * 'country' dimension. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The dimension value. For example, this value may be 'France' for the - * 'country' dimension. - * - * Generated from protobuf field string value = 1; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * The dimension value. For example, this value may be 'France' for the - * 'country' dimension. - * - * Generated from protobuf field string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilter.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilter.php deleted file mode 100644 index 4a14564223ba..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilter.php +++ /dev/null @@ -1,208 +0,0 @@ -google.analytics.admin.v1beta.AccessFilter - */ -class AccessFilter extends \Google\Protobuf\Internal\Message -{ - /** - * The dimension name or metric name. - * - * Generated from protobuf field string field_name = 1; - */ - protected $field_name = ''; - protected $one_filter; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\AccessStringFilter $string_filter - * Strings related filter. - * @type \Google\Analytics\Admin\V1beta\AccessInListFilter $in_list_filter - * A filter for in list values. - * @type \Google\Analytics\Admin\V1beta\AccessNumericFilter $numeric_filter - * A filter for numeric or date values. - * @type \Google\Analytics\Admin\V1beta\AccessBetweenFilter $between_filter - * A filter for two values. - * @type string $field_name - * The dimension name or metric name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * Strings related filter. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessStringFilter string_filter = 2; - * @return \Google\Analytics\Admin\V1beta\AccessStringFilter|null - */ - public function getStringFilter() - { - return $this->readOneof(2); - } - - public function hasStringFilter() - { - return $this->hasOneof(2); - } - - /** - * Strings related filter. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessStringFilter string_filter = 2; - * @param \Google\Analytics\Admin\V1beta\AccessStringFilter $var - * @return $this - */ - public function setStringFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessStringFilter::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * A filter for in list values. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3; - * @return \Google\Analytics\Admin\V1beta\AccessInListFilter|null - */ - public function getInListFilter() - { - return $this->readOneof(3); - } - - public function hasInListFilter() - { - return $this->hasOneof(3); - } - - /** - * A filter for in list values. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3; - * @param \Google\Analytics\Admin\V1beta\AccessInListFilter $var - * @return $this - */ - public function setInListFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessInListFilter::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * A filter for numeric or date values. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4; - * @return \Google\Analytics\Admin\V1beta\AccessNumericFilter|null - */ - public function getNumericFilter() - { - return $this->readOneof(4); - } - - public function hasNumericFilter() - { - return $this->hasOneof(4); - } - - /** - * A filter for numeric or date values. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4; - * @param \Google\Analytics\Admin\V1beta\AccessNumericFilter $var - * @return $this - */ - public function setNumericFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessNumericFilter::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * A filter for two values. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5; - * @return \Google\Analytics\Admin\V1beta\AccessBetweenFilter|null - */ - public function getBetweenFilter() - { - return $this->readOneof(5); - } - - public function hasBetweenFilter() - { - return $this->hasOneof(5); - } - - /** - * A filter for two values. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5; - * @param \Google\Analytics\Admin\V1beta\AccessBetweenFilter $var - * @return $this - */ - public function setBetweenFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessBetweenFilter::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * The dimension name or metric name. - * - * Generated from protobuf field string field_name = 1; - * @return string - */ - public function getFieldName() - { - return $this->field_name; - } - - /** - * The dimension name or metric name. - * - * Generated from protobuf field string field_name = 1; - * @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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpression.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpression.php deleted file mode 100644 index cb1381f94acf..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpression.php +++ /dev/null @@ -1,178 +0,0 @@ -google.analytics.admin.v1beta.AccessFilterExpression - */ -class AccessFilterExpression extends \Google\Protobuf\Internal\Message -{ - protected $one_expression; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\AccessFilterExpressionList $and_group - * Each of the FilterExpressions in the and_group has an AND relationship. - * @type \Google\Analytics\Admin\V1beta\AccessFilterExpressionList $or_group - * Each of the FilterExpressions in the or_group has an OR relationship. - * @type \Google\Analytics\Admin\V1beta\AccessFilterExpression $not_expression - * The FilterExpression is NOT of not_expression. - * @type \Google\Analytics\Admin\V1beta\AccessFilter $access_filter - * A primitive filter. In the same FilterExpression, all of the filter's - * field names need to be either all dimensions or all metrics. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * Each of the FilterExpressions in the and_group has an AND relationship. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1; - * @return \Google\Analytics\Admin\V1beta\AccessFilterExpressionList|null - */ - public function getAndGroup() - { - return $this->readOneof(1); - } - - public function hasAndGroup() - { - return $this->hasOneof(1); - } - - /** - * Each of the FilterExpressions in the and_group has an AND relationship. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1; - * @param \Google\Analytics\Admin\V1beta\AccessFilterExpressionList $var - * @return $this - */ - public function setAndGroup($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessFilterExpressionList::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Each of the FilterExpressions in the or_group has an OR relationship. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2; - * @return \Google\Analytics\Admin\V1beta\AccessFilterExpressionList|null - */ - public function getOrGroup() - { - return $this->readOneof(2); - } - - public function hasOrGroup() - { - return $this->hasOneof(2); - } - - /** - * Each of the FilterExpressions in the or_group has an OR relationship. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2; - * @param \Google\Analytics\Admin\V1beta\AccessFilterExpressionList $var - * @return $this - */ - public function setOrGroup($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessFilterExpressionList::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * The FilterExpression is NOT of not_expression. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; - * @return \Google\Analytics\Admin\V1beta\AccessFilterExpression|null - */ - public function getNotExpression() - { - return $this->readOneof(3); - } - - public function hasNotExpression() - { - return $this->hasOneof(3); - } - - /** - * The FilterExpression is NOT of not_expression. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; - * @param \Google\Analytics\Admin\V1beta\AccessFilterExpression $var - * @return $this - */ - public function setNotExpression($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessFilterExpression::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * A primitive filter. In the same FilterExpression, all of the filter's - * field names need to be either all dimensions or all metrics. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilter access_filter = 4; - * @return \Google\Analytics\Admin\V1beta\AccessFilter|null - */ - public function getAccessFilter() - { - return $this->readOneof(4); - } - - public function hasAccessFilter() - { - return $this->hasOneof(4); - } - - /** - * A primitive filter. In the same FilterExpression, all of the filter's - * field names need to be either all dimensions or all metrics. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilter access_filter = 4; - * @param \Google\Analytics\Admin\V1beta\AccessFilter $var - * @return $this - */ - public function setAccessFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessFilter::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * @return string - */ - public function getOneExpression() - { - return $this->whichOneof("one_expression"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpressionList.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpressionList.php deleted file mode 100644 index 02b7440e056c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessFilterExpressionList.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1beta.AccessFilterExpressionList - */ -class AccessFilterExpressionList extends \Google\Protobuf\Internal\Message -{ - /** - * A list of filter expressions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessFilterExpression expressions = 1; - */ - private $expressions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\AccessFilterExpression[] $expressions - * A list of filter expressions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * A list of filter expressions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessFilterExpression expressions = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessFilterExpression> - */ - public function getExpressions() - { - return $this->expressions; - } - - /** - * A list of filter expressions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessFilterExpression expressions = 1; - * @param \Google\Analytics\Admin\V1beta\AccessFilterExpression[] $var - * @return $this - */ - public function setExpressions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessFilterExpression::class); - $this->expressions = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessInListFilter.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessInListFilter.php deleted file mode 100644 index e1ac33f55dfe..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessInListFilter.php +++ /dev/null @@ -1,101 +0,0 @@ -google.analytics.admin.v1beta.AccessInListFilter - */ -class AccessInListFilter extends \Google\Protobuf\Internal\Message -{ - /** - * The list of string values. Must be non-empty. - * - * Generated from protobuf field repeated string values = 1; - */ - private $values; - /** - * If true, the string value is case sensitive. - * - * Generated from protobuf field bool case_sensitive = 2; - */ - protected $case_sensitive = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string[] $values - * The list of string values. Must be non-empty. - * @type bool $case_sensitive - * If true, the string value is case sensitive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The list of string values. Must be non-empty. - * - * Generated from protobuf field repeated string values = 1; - * @return RepeatedField - */ - public function getValues() - { - return $this->values; - } - - /** - * The list of string values. Must be non-empty. - * - * Generated from protobuf field repeated string values = 1; - * @param string[] $var - * @return $this - */ - public function setValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->values = $arr; - - return $this; - } - - /** - * If true, the string value is case sensitive. - * - * Generated from protobuf field bool case_sensitive = 2; - * @return bool - */ - public function getCaseSensitive() - { - return $this->case_sensitive; - } - - /** - * If true, the string value is case sensitive. - * - * Generated from protobuf field bool case_sensitive = 2; - * @param bool $var - * @return $this - */ - public function setCaseSensitive($var) - { - GPBUtil::checkBool($var); - $this->case_sensitive = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetric.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetric.php deleted file mode 100644 index bbdcff87a533..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetric.php +++ /dev/null @@ -1,80 +0,0 @@ -google.analytics.admin.v1beta.AccessMetric - */ -class AccessMetric extends \Google\Protobuf\Internal\Message -{ - /** - * The API name of the metric. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of metrics supported in this API. - * Metrics are referenced by name in `metricFilter` & `orderBys`. - * - * Generated from protobuf field string metric_name = 1; - */ - protected $metric_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $metric_name - * The API name of the metric. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of metrics supported in this API. - * Metrics are referenced by name in `metricFilter` & `orderBys`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The API name of the metric. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of metrics supported in this API. - * Metrics are referenced by name in `metricFilter` & `orderBys`. - * - * Generated from protobuf field string metric_name = 1; - * @return string - */ - public function getMetricName() - { - return $this->metric_name; - } - - /** - * The API name of the metric. See [Data Access - * Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - * for the list of metrics supported in this API. - * Metrics are referenced by name in `metricFilter` & `orderBys`. - * - * Generated from protobuf field string metric_name = 1; - * @param string $var - * @return $this - */ - public function setMetricName($var) - { - GPBUtil::checkString($var, True); - $this->metric_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricHeader.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricHeader.php deleted file mode 100644 index 7389352c8145..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricHeader.php +++ /dev/null @@ -1,70 +0,0 @@ -google.analytics.admin.v1beta.AccessMetricHeader - */ -class AccessMetricHeader extends \Google\Protobuf\Internal\Message -{ - /** - * The metric's name; for example 'accessCount'. - * - * Generated from protobuf field string metric_name = 1; - */ - protected $metric_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $metric_name - * The metric's name; for example 'accessCount'. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The metric's name; for example 'accessCount'. - * - * Generated from protobuf field string metric_name = 1; - * @return string - */ - public function getMetricName() - { - return $this->metric_name; - } - - /** - * The metric's name; for example 'accessCount'. - * - * Generated from protobuf field string metric_name = 1; - * @param string $var - * @return $this - */ - public function setMetricName($var) - { - GPBUtil::checkString($var, True); - $this->metric_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricValue.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricValue.php deleted file mode 100644 index f441e3f9258e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessMetricValue.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1beta.AccessMetricValue - */ -class AccessMetricValue extends \Google\Protobuf\Internal\Message -{ - /** - * The measurement value. For example, this value may be '13'. - * - * Generated from protobuf field string value = 1; - */ - protected $value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * The measurement value. For example, this value may be '13'. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The measurement value. For example, this value may be '13'. - * - * Generated from protobuf field string value = 1; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * The measurement value. For example, this value may be '13'. - * - * Generated from protobuf field string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter.php deleted file mode 100644 index 91248b403a48..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter.php +++ /dev/null @@ -1,111 +0,0 @@ -google.analytics.admin.v1beta.AccessNumericFilter - */ -class AccessNumericFilter extends \Google\Protobuf\Internal\Message -{ - /** - * The operation type for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessNumericFilter.Operation operation = 1; - */ - protected $operation = 0; - /** - * A numeric value or a date value. - * - * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue value = 2; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $operation - * The operation type for this filter. - * @type \Google\Analytics\Admin\V1beta\NumericValue $value - * A numeric value or a date value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The operation type for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessNumericFilter.Operation operation = 1; - * @return int - */ - public function getOperation() - { - return $this->operation; - } - - /** - * The operation type for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessNumericFilter.Operation operation = 1; - * @param int $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\AccessNumericFilter\Operation::class); - $this->operation = $var; - - return $this; - } - - /** - * A numeric value or a date value. - * - * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue value = 2; - * @return \Google\Analytics\Admin\V1beta\NumericValue|null - */ - public function getValue() - { - return $this->value; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * A numeric value or a date value. - * - * Generated from protobuf field .google.analytics.admin.v1beta.NumericValue value = 2; - * @param \Google\Analytics\Admin\V1beta\NumericValue $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\NumericValue::class); - $this->value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter/Operation.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter/Operation.php deleted file mode 100644 index a11600aec4f0..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessNumericFilter/Operation.php +++ /dev/null @@ -1,82 +0,0 @@ -google.analytics.admin.v1beta.AccessNumericFilter.Operation - */ -class Operation -{ - /** - * Unspecified. - * - * Generated from protobuf enum OPERATION_UNSPECIFIED = 0; - */ - const OPERATION_UNSPECIFIED = 0; - /** - * Equal - * - * Generated from protobuf enum EQUAL = 1; - */ - const EQUAL = 1; - /** - * Less than - * - * 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) - { - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy.php deleted file mode 100644 index 01fdcdfa13c9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy.php +++ /dev/null @@ -1,148 +0,0 @@ -google.analytics.admin.v1beta.AccessOrderBy - */ -class AccessOrderBy extends \Google\Protobuf\Internal\Message -{ - /** - * If true, sorts by descending order. If false or unspecified, sorts in - * ascending order. - * - * Generated from protobuf field bool desc = 3; - */ - protected $desc = false; - protected $one_order_by; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\AccessOrderBy\MetricOrderBy $metric - * Sorts results by a metric's values. - * @type \Google\Analytics\Admin\V1beta\AccessOrderBy\DimensionOrderBy $dimension - * Sorts results by a dimension's values. - * @type bool $desc - * If true, sorts by descending order. If false or unspecified, sorts in - * ascending order. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * Sorts results by a metric's values. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1; - * @return \Google\Analytics\Admin\V1beta\AccessOrderBy\MetricOrderBy|null - */ - public function getMetric() - { - return $this->readOneof(1); - } - - public function hasMetric() - { - return $this->hasOneof(1); - } - - /** - * Sorts results by a metric's values. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1; - * @param \Google\Analytics\Admin\V1beta\AccessOrderBy\MetricOrderBy $var - * @return $this - */ - public function setMetric($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessOrderBy\MetricOrderBy::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Sorts results by a dimension's values. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; - * @return \Google\Analytics\Admin\V1beta\AccessOrderBy\DimensionOrderBy|null - */ - public function getDimension() - { - return $this->readOneof(2); - } - - public function hasDimension() - { - return $this->hasOneof(2); - } - - /** - * Sorts results by a dimension's values. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; - * @param \Google\Analytics\Admin\V1beta\AccessOrderBy\DimensionOrderBy $var - * @return $this - */ - public function setDimension($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessOrderBy\DimensionOrderBy::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * If true, sorts by descending order. If false or unspecified, sorts in - * ascending order. - * - * Generated from protobuf field bool desc = 3; - * @return bool - */ - public function getDesc() - { - return $this->desc; - } - - /** - * If true, sorts by descending order. If false or unspecified, sorts in - * ascending order. - * - * Generated from protobuf field bool desc = 3; - * @param bool $var - * @return $this - */ - public function setDesc($var) - { - GPBUtil::checkBool($var); - $this->desc = $var; - - return $this; - } - - /** - * @return string - */ - public function getOneOrderBy() - { - return $this->whichOneof("one_order_by"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy.php deleted file mode 100644 index 80dbe9b07aa3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy.php +++ /dev/null @@ -1,101 +0,0 @@ -google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy - */ -class DimensionOrderBy extends \Google\Protobuf\Internal\Message -{ - /** - * A dimension name in the request to order by. - * - * Generated from protobuf field string dimension_name = 1; - */ - protected $dimension_name = ''; - /** - * Controls the rule for dimension value ordering. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - */ - protected $order_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $dimension_name - * A dimension name in the request to order by. - * @type int $order_type - * Controls the rule for dimension value ordering. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * A dimension name in the request to order by. - * - * Generated from protobuf field string dimension_name = 1; - * @return string - */ - public function getDimensionName() - { - return $this->dimension_name; - } - - /** - * A dimension name in the request to order by. - * - * Generated from protobuf field string dimension_name = 1; - * @param string $var - * @return $this - */ - public function setDimensionName($var) - { - GPBUtil::checkString($var, True); - $this->dimension_name = $var; - - return $this; - } - - /** - * Controls the rule for dimension value ordering. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - * @return int - */ - public function getOrderType() - { - return $this->order_type; - } - - /** - * Controls the rule for dimension value ordering. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; - * @param int $var - * @return $this - */ - public function setOrderType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\AccessOrderBy\DimensionOrderBy\OrderType::class); - $this->order_type = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy/OrderType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy/OrderType.php deleted file mode 100644 index 07970e3cacc7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/DimensionOrderBy/OrderType.php +++ /dev/null @@ -1,73 +0,0 @@ -google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType - */ -class OrderType -{ - /** - * Unspecified. - * - * Generated from protobuf enum ORDER_TYPE_UNSPECIFIED = 0; - */ - const ORDER_TYPE_UNSPECIFIED = 0; - /** - * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" < - * "b" < "z". - * - * Generated from protobuf enum ALPHANUMERIC = 1; - */ - const ALPHANUMERIC = 1; - /** - * Case insensitive alphanumeric sort by lower case Unicode code point. - * For example, "2" < "A" < "b" < "X" < "z". - * - * Generated from protobuf enum CASE_INSENSITIVE_ALPHANUMERIC = 2; - */ - const CASE_INSENSITIVE_ALPHANUMERIC = 2; - /** - * Dimension values are converted to numbers before sorting. For example - * in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" < - * "25". Non-numeric dimension values all have equal ordering value below - * all numeric values. - * - * Generated from protobuf enum NUMERIC = 3; - */ - const NUMERIC = 3; - - private static $valueToName = [ - self::ORDER_TYPE_UNSPECIFIED => 'ORDER_TYPE_UNSPECIFIED', - self::ALPHANUMERIC => 'ALPHANUMERIC', - self::CASE_INSENSITIVE_ALPHANUMERIC => 'CASE_INSENSITIVE_ALPHANUMERIC', - self::NUMERIC => 'NUMERIC', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/MetricOrderBy.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/MetricOrderBy.php deleted file mode 100644 index 8a8124a4783c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessOrderBy/MetricOrderBy.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy - */ -class MetricOrderBy extends \Google\Protobuf\Internal\Message -{ - /** - * A metric name in the request to order by. - * - * Generated from protobuf field string metric_name = 1; - */ - protected $metric_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $metric_name - * A metric name in the request to order by. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * A metric name in the request to order by. - * - * Generated from protobuf field string metric_name = 1; - * @return string - */ - public function getMetricName() - { - return $this->metric_name; - } - - /** - * A metric name in the request to order by. - * - * Generated from protobuf field string metric_name = 1; - * @param string $var - * @return $this - */ - public function setMetricName($var) - { - GPBUtil::checkString($var, True); - $this->metric_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuota.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuota.php deleted file mode 100644 index 50f61f441f4c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuota.php +++ /dev/null @@ -1,283 +0,0 @@ -google.analytics.admin.v1beta.AccessQuota - */ -class AccessQuota extends \Google\Protobuf\Internal\Message -{ - /** - * Properties can use 250,000 tokens per day. Most requests consume fewer than - * 10 tokens. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_day = 1; - */ - protected $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 all of the hourly, - * daily, and per project hourly quotas. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_hour = 2; - */ - protected $tokens_per_hour = null; - /** - * Properties can use up to 50 concurrent requests. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; - */ - protected $concurrent_requests = null; - /** - * Properties and cloud project pairs can have up to 50 server errors per - * hour. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; - */ - protected $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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; - */ - protected $tokens_per_project_per_hour = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\AccessQuotaStatus $tokens_per_day - * Properties can use 250,000 tokens per day. Most requests consume fewer than - * 10 tokens. - * @type \Google\Analytics\Admin\V1beta\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 all of the hourly, - * daily, and per project hourly quotas. - * @type \Google\Analytics\Admin\V1beta\AccessQuotaStatus $concurrent_requests - * Properties can use up to 50 concurrent requests. - * @type \Google\Analytics\Admin\V1beta\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\V1beta\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) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * Properties can use 250,000 tokens per day. Most requests consume fewer than - * 10 tokens. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_day = 1; - * @return \Google\Analytics\Admin\V1beta\AccessQuotaStatus|null - */ - public function getTokensPerDay() - { - return $this->tokens_per_day; - } - - public function hasTokensPerDay() - { - return isset($this->tokens_per_day); - } - - public function clearTokensPerDay() - { - unset($this->tokens_per_day); - } - - /** - * Properties can use 250,000 tokens per day. Most requests consume fewer than - * 10 tokens. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_day = 1; - * @param \Google\Analytics\Admin\V1beta\AccessQuotaStatus $var - * @return $this - */ - public function setTokensPerDay($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessQuotaStatus::class); - $this->tokens_per_day = $var; - - return $this; - } - - /** - * Properties can use 50,000 tokens 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.v1beta.AccessQuotaStatus tokens_per_hour = 2; - * @return \Google\Analytics\Admin\V1beta\AccessQuotaStatus|null - */ - public function getTokensPerHour() - { - return $this->tokens_per_hour; - } - - public function hasTokensPerHour() - { - return isset($this->tokens_per_hour); - } - - public function clearTokensPerHour() - { - unset($this->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 all of the hourly, - * daily, and per project hourly quotas. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_hour = 2; - * @param \Google\Analytics\Admin\V1beta\AccessQuotaStatus $var - * @return $this - */ - public function setTokensPerHour($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessQuotaStatus::class); - $this->tokens_per_hour = $var; - - return $this; - } - - /** - * Properties can use up to 50 concurrent requests. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; - * @return \Google\Analytics\Admin\V1beta\AccessQuotaStatus|null - */ - public function getConcurrentRequests() - { - return $this->concurrent_requests; - } - - public function hasConcurrentRequests() - { - return isset($this->concurrent_requests); - } - - public function clearConcurrentRequests() - { - unset($this->concurrent_requests); - } - - /** - * Properties can use up to 50 concurrent requests. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; - * @param \Google\Analytics\Admin\V1beta\AccessQuotaStatus $var - * @return $this - */ - public function setConcurrentRequests($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessQuotaStatus::class); - $this->concurrent_requests = $var; - - return $this; - } - - /** - * Properties and cloud project pairs can have up to 50 server errors per - * hour. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * @return \Google\Analytics\Admin\V1beta\AccessQuotaStatus|null - */ - public function getServerErrorsPerProjectPerHour() - { - return $this->server_errors_per_project_per_hour; - } - - public function hasServerErrorsPerProjectPerHour() - { - return isset($this->server_errors_per_project_per_hour); - } - - public function clearServerErrorsPerProjectPerHour() - { - unset($this->server_errors_per_project_per_hour); - } - - /** - * Properties and cloud project pairs can have up to 50 server errors per - * hour. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; - * @param \Google\Analytics\Admin\V1beta\AccessQuotaStatus $var - * @return $this - */ - public function setServerErrorsPerProjectPerHour($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessQuotaStatus::class); - $this->server_errors_per_project_per_hour = $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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; - * @return \Google\Analytics\Admin\V1beta\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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; - * @param \Google\Analytics\Admin\V1beta\AccessQuotaStatus $var - * @return $this - */ - public function setTokensPerProjectPerHour($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessQuotaStatus::class); - $this->tokens_per_project_per_hour = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuotaStatus.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuotaStatus.php deleted file mode 100644 index 7c4078cefe60..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessQuotaStatus.php +++ /dev/null @@ -1,101 +0,0 @@ -google.analytics.admin.v1beta.AccessQuotaStatus - */ -class AccessQuotaStatus extends \Google\Protobuf\Internal\Message -{ - /** - * Quota consumed by this request. - * - * Generated from protobuf field int32 consumed = 1; - */ - protected $consumed = 0; - /** - * Quota remaining after this request. - * - * Generated from protobuf field int32 remaining = 2; - */ - protected $remaining = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $consumed - * Quota consumed by this request. - * @type int $remaining - * Quota remaining after this request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * Quota consumed by this request. - * - * Generated from protobuf field int32 consumed = 1; - * @return int - */ - public function getConsumed() - { - return $this->consumed; - } - - /** - * Quota consumed by this request. - * - * Generated from protobuf field int32 consumed = 1; - * @param int $var - * @return $this - */ - public function setConsumed($var) - { - GPBUtil::checkInt32($var); - $this->consumed = $var; - - return $this; - } - - /** - * Quota remaining after this request. - * - * Generated from protobuf field int32 remaining = 2; - * @return int - */ - public function getRemaining() - { - return $this->remaining; - } - - /** - * Quota remaining after this request. - * - * Generated from protobuf field int32 remaining = 2; - * @param int $var - * @return $this - */ - public function setRemaining($var) - { - GPBUtil::checkInt32($var); - $this->remaining = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessRow.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessRow.php deleted file mode 100644 index 557d3be1295e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessRow.php +++ /dev/null @@ -1,109 +0,0 @@ -google.analytics.admin.v1beta.AccessRow - */ -class AccessRow extends \Google\Protobuf\Internal\Message -{ - /** - * List of dimension values. These values are in the same order as specified - * in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; - */ - private $dimension_values; - /** - * List of metric values. These values are in the same order as specified - * in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetricValue metric_values = 2; - */ - private $metric_values; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\AccessDimensionValue[] $dimension_values - * List of dimension values. These values are in the same order as specified - * in the request. - * @type \Google\Analytics\Admin\V1beta\AccessMetricValue[] $metric_values - * List of metric values. These values are in the same order as specified - * in the request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * List of dimension values. These values are in the same order as specified - * in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessDimensionValue> - */ - public function getDimensionValues() - { - return $this->dimension_values; - } - - /** - * List of dimension values. These values are in the same order as specified - * in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; - * @param \Google\Analytics\Admin\V1beta\AccessDimensionValue[] $var - * @return $this - */ - public function setDimensionValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessDimensionValue::class); - $this->dimension_values = $arr; - - return $this; - } - - /** - * List of metric values. These values are in the same order as specified - * in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetricValue metric_values = 2; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessMetricValue> - */ - public function getMetricValues() - { - return $this->metric_values; - } - - /** - * List of metric values. These values are in the same order as specified - * in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetricValue metric_values = 2; - * @param \Google\Analytics\Admin\V1beta\AccessMetricValue[] $var - * @return $this - */ - public function setMetricValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessMetricValue::class); - $this->metric_values = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter.php deleted file mode 100644 index b7139d0338e1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter.php +++ /dev/null @@ -1,135 +0,0 @@ -google.analytics.admin.v1beta.AccessStringFilter - */ -class AccessStringFilter extends \Google\Protobuf\Internal\Message -{ - /** - * The match type for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessStringFilter.MatchType match_type = 1; - */ - protected $match_type = 0; - /** - * The string value used for the matching. - * - * Generated from protobuf field string value = 2; - */ - protected $value = ''; - /** - * If true, the string value is case sensitive. - * - * Generated from protobuf field bool case_sensitive = 3; - */ - protected $case_sensitive = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $match_type - * The match type for this filter. - * @type string $value - * The string value used for the matching. - * @type bool $case_sensitive - * If true, the string value is case sensitive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * The match type for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessStringFilter.MatchType match_type = 1; - * @return int - */ - public function getMatchType() - { - return $this->match_type; - } - - /** - * The match type for this filter. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessStringFilter.MatchType match_type = 1; - * @param int $var - * @return $this - */ - public function setMatchType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\AccessStringFilter\MatchType::class); - $this->match_type = $var; - - return $this; - } - - /** - * The string value used for the matching. - * - * Generated from protobuf field string value = 2; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * The string value used for the matching. - * - * Generated from protobuf field string value = 2; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - - /** - * If true, the string value is case sensitive. - * - * Generated from protobuf field bool case_sensitive = 3; - * @return bool - */ - public function getCaseSensitive() - { - return $this->case_sensitive; - } - - /** - * If true, the string value is case sensitive. - * - * Generated from protobuf field bool case_sensitive = 3; - * @param bool $var - * @return $this - */ - public function setCaseSensitive($var) - { - GPBUtil::checkBool($var); - $this->case_sensitive = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter/MatchType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter/MatchType.php deleted file mode 100644 index f641f6c1572c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccessStringFilter/MatchType.php +++ /dev/null @@ -1,89 +0,0 @@ -google.analytics.admin.v1beta.AccessStringFilter.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; - /** - * Begins with the string value. - * - * Generated from protobuf enum BEGINS_WITH = 2; - */ - const BEGINS_WITH = 2; - /** - * Ends with the string value. - * - * Generated from protobuf enum ENDS_WITH = 3; - */ - const ENDS_WITH = 3; - /** - * Contains the string value. - * - * Generated from protobuf enum CONTAINS = 4; - */ - const CONTAINS = 4; - /** - * Full match for the regular expression with the string value. - * - * Generated from protobuf enum FULL_REGEXP = 5; - */ - const FULL_REGEXP = 5; - /** - * Partial match for the regular expression 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', - self::EXACT => 'EXACT', - self::BEGINS_WITH => 'BEGINS_WITH', - self::ENDS_WITH => 'ENDS_WITH', - self::CONTAINS => 'CONTAINS', - self::FULL_REGEXP => 'FULL_REGEXP', - self::PARTIAL_REGEXP => 'PARTIAL_REGEXP', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Account.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Account.php deleted file mode 100644 index 3c5f10465afb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Account.php +++ /dev/null @@ -1,311 +0,0 @@ -google.analytics.admin.v1beta.Account - */ -class Account extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of this account. - * Format: accounts/{account} - * Example: "accounts/100" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Output only. Time when this account was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Time when account payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Required. Human-readable display name for this account. - * - * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Country of business. Must be a Unicode CLDR region code. - * - * Generated from protobuf field string region_code = 5; - */ - protected $region_code = ''; - /** - * Output only. Indicates whether this Account is soft-deleted or not. Deleted - * accounts are excluded from List results unless specifically requested. - * - * Generated from protobuf field bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $deleted = false; - /** - * Output only. The URI for a Google Marketing Platform organization resource. - * Only set when this account is connected to a GMP organization. - * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} - * - * Generated from protobuf field string gmp_organization = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $gmp_organization = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of this account. - * Format: accounts/{account} - * Example: "accounts/100" - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when this account was originally created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Time when account payload fields were last updated. - * @type string $display_name - * Required. Human-readable display name for this account. - * @type string $region_code - * Country of business. Must be a Unicode CLDR region code. - * @type bool $deleted - * Output only. Indicates whether this Account is soft-deleted or not. Deleted - * accounts are excluded from List results unless specifically requested. - * @type string $gmp_organization - * Output only. The URI for a Google Marketing Platform organization resource. - * Only set when this account is connected to a GMP organization. - * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of this account. - * Format: accounts/{account} - * Example: "accounts/100" - * - * 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 account. - * Format: accounts/{account} - * Example: "accounts/100" - * - * 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; - } - - /** - * Output only. Time when this account was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.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 this account was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.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; - } - - /** - * Output only. Time when account payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Time when account payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Required. Human-readable display name for this account. - * - * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. Human-readable display name for this account. - * - * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Country of business. Must be a Unicode CLDR region code. - * - * Generated from protobuf field string region_code = 5; - * @return string - */ - public function getRegionCode() - { - return $this->region_code; - } - - /** - * Country of business. Must be a Unicode CLDR region code. - * - * Generated from protobuf field string region_code = 5; - * @param string $var - * @return $this - */ - public function setRegionCode($var) - { - GPBUtil::checkString($var, True); - $this->region_code = $var; - - return $this; - } - - /** - * Output only. Indicates whether this Account is soft-deleted or not. Deleted - * accounts are excluded from List results unless specifically requested. - * - * Generated from protobuf field bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getDeleted() - { - return $this->deleted; - } - - /** - * Output only. Indicates whether this Account is soft-deleted or not. Deleted - * accounts are excluded from List results unless specifically requested. - * - * Generated from protobuf field bool deleted = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setDeleted($var) - { - GPBUtil::checkBool($var); - $this->deleted = $var; - - return $this; - } - - /** - * Output only. The URI for a Google Marketing Platform organization resource. - * Only set when this account is connected to a GMP organization. - * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} - * - * Generated from protobuf field string gmp_organization = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getGmpOrganization() - { - return $this->gmp_organization; - } - - /** - * Output only. The URI for a Google Marketing Platform organization resource. - * Only set when this account is connected to a GMP organization. - * Format: marketingplatformadmin.googleapis.com/organizations/{org_id} - * - * Generated from protobuf field string gmp_organization = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setGmpOrganization($var) - { - GPBUtil::checkString($var, True); - $this->gmp_organization = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccountSummary.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccountSummary.php deleted file mode 100644 index f509f7934feb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AccountSummary.php +++ /dev/null @@ -1,186 +0,0 @@ -google.analytics.admin.v1beta.AccountSummary - */ -class AccountSummary extends \Google\Protobuf\Internal\Message -{ - /** - * Resource name for this account summary. - * Format: accountSummaries/{account_id} - * Example: "accountSummaries/1000" - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - /** - * Resource name of account referred to by this account summary - * Format: accounts/{account_id} - * Example: "accounts/1000" - * - * Generated from protobuf field string account = 2 [(.google.api.resource_reference) = { - */ - protected $account = ''; - /** - * Display name for the account referred to in this account summary. - * - * Generated from protobuf field string display_name = 3; - */ - protected $display_name = ''; - /** - * List of summaries for child accounts of this account. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; - */ - private $property_summaries; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Resource name for this account summary. - * Format: accountSummaries/{account_id} - * Example: "accountSummaries/1000" - * @type string $account - * Resource name of account referred to by this account summary - * Format: accounts/{account_id} - * Example: "accounts/1000" - * @type string $display_name - * Display name for the account referred to in this account summary. - * @type \Google\Analytics\Admin\V1beta\PropertySummary[] $property_summaries - * List of summaries for child accounts of this account. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Resource name for this account summary. - * Format: accountSummaries/{account_id} - * Example: "accountSummaries/1000" - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Resource name for this account summary. - * Format: accountSummaries/{account_id} - * Example: "accountSummaries/1000" - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Resource name of account referred to by this account summary - * Format: accounts/{account_id} - * Example: "accounts/1000" - * - * Generated from protobuf field string account = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getAccount() - { - return $this->account; - } - - /** - * Resource name of account referred to by this account summary - * Format: accounts/{account_id} - * Example: "accounts/1000" - * - * Generated from protobuf field string account = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAccount($var) - { - GPBUtil::checkString($var, True); - $this->account = $var; - - return $this; - } - - /** - * Display name for the account referred to in this account summary. - * - * Generated from protobuf field string display_name = 3; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Display name for the account referred to in this account summary. - * - * Generated from protobuf field string display_name = 3; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * List of summaries for child accounts of this account. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\PropertySummary> - */ - public function getPropertySummaries() - { - return $this->property_summaries; - } - - /** - * List of summaries for child accounts of this account. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.PropertySummary property_summaries = 4; - * @param \Google\Analytics\Admin\V1beta\PropertySummary[] $var - * @return $this - */ - public function setPropertySummaries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\PropertySummary::class); - $this->property_summaries = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionRequest.php deleted file mode 100644 index 984543b06560..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionRequest.php +++ /dev/null @@ -1,125 +0,0 @@ -google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest - */ -class AcknowledgeUserDataCollectionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The property for which to acknowledge user data collection. - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $property = ''; - /** - * 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, - * including the association of such data with the visitation information - * Google Analytics collects from my site and/or app property." - * - * Generated from protobuf field string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $acknowledgement = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @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. - * 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, - * including the association of such data with the visitation information - * Google Analytics collects from my site and/or app property." - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The property for which to acknowledge user data collection. - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getProperty() - { - return $this->property; - } - - /** - * Required. The property for which to acknowledge user data collection. - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkString($var, True); - $this->property = $var; - - return $this; - } - - /** - * 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, - * including the association of such data with the visitation information - * Google Analytics collects from my site and/or app property." - * - * Generated from protobuf field string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getAcknowledgement() - { - return $this->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 - * from my end users for the collection and processing of their data, - * including the association of such data with the visitation information - * Google Analytics collects from my site and/or app property." - * - * Generated from protobuf field string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setAcknowledgement($var) - { - GPBUtil::checkString($var, True); - $this->acknowledgement = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionResponse.php deleted file mode 100644 index 22f7f4e0e71f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/AcknowledgeUserDataCollectionResponse.php +++ /dev/null @@ -1,33 +0,0 @@ -google.analytics.admin.v1beta.AcknowledgeUserDataCollectionResponse - */ -class AcknowledgeUserDataCollectionResponse 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\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActionType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActionType.php deleted file mode 100644 index 5001ae077d5e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActionType.php +++ /dev/null @@ -1,68 +0,0 @@ -google.analytics.admin.v1beta.ActionType - */ -class ActionType -{ - /** - * Action type unknown or not specified. - * - * Generated from protobuf enum ACTION_TYPE_UNSPECIFIED = 0; - */ - const ACTION_TYPE_UNSPECIFIED = 0; - /** - * Resource was created in this change. - * - * Generated from protobuf enum CREATED = 1; - */ - const CREATED = 1; - /** - * Resource was updated in this change. - * - * Generated from protobuf enum UPDATED = 2; - */ - const UPDATED = 2; - /** - * Resource was deleted in this change. - * - * Generated from protobuf enum DELETED = 3; - */ - const DELETED = 3; - - private static $valueToName = [ - self::ACTION_TYPE_UNSPECIFIED => 'ACTION_TYPE_UNSPECIFIED', - self::CREATED => 'CREATED', - self::UPDATED => 'UPDATED', - self::DELETED => 'DELETED', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActorType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActorType.php deleted file mode 100644 index 0e897307b8c9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ActorType.php +++ /dev/null @@ -1,69 +0,0 @@ -google.analytics.admin.v1beta.ActorType - */ -class ActorType -{ - /** - * Unknown or unspecified actor type. - * - * Generated from protobuf enum ACTOR_TYPE_UNSPECIFIED = 0; - */ - const ACTOR_TYPE_UNSPECIFIED = 0; - /** - * Changes made by the user specified in actor_email. - * - * Generated from protobuf enum USER = 1; - */ - const USER = 1; - /** - * Changes made by the Google Analytics system. - * - * Generated from protobuf enum SYSTEM = 2; - */ - const SYSTEM = 2; - /** - * Changes made by Google Analytics support team staff. - * - * Generated from protobuf enum SUPPORT = 3; - */ - const SUPPORT = 3; - - private static $valueToName = [ - self::ACTOR_TYPE_UNSPECIFIED => 'ACTOR_TYPE_UNSPECIFIED', - self::USER => 'USER', - self::SYSTEM => 'SYSTEM', - self::SUPPORT => 'SUPPORT', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomDimensionRequest.php deleted file mode 100644 index a4d1488ffeee..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomDimensionRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1beta.ArchiveCustomDimensionRequest - */ -class ArchiveCustomDimensionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the CustomDimension to archive. - * Example format: properties/1234/customDimensions/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the CustomDimension to archive. - * Example format: properties/1234/customDimensions/5678 - * Please see {@see AnalyticsAdminServiceClient::customDimensionName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\ArchiveCustomDimensionRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the CustomDimension to archive. - * Example format: properties/1234/customDimensions/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the CustomDimension to archive. - * Example format: properties/1234/customDimensions/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 CustomDimension to archive. - * Example format: properties/1234/customDimensions/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomMetricRequest.php deleted file mode 100644 index 02b73edf8897..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ArchiveCustomMetricRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1beta.ArchiveCustomMetricRequest - */ -class ArchiveCustomMetricRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the CustomMetric to archive. - * Example format: properties/1234/customMetrics/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the CustomMetric to archive. - * Example format: properties/1234/customMetrics/5678 - * Please see {@see AnalyticsAdminServiceClient::customMetricName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\ArchiveCustomMetricRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the CustomMetric to archive. - * Example format: properties/1234/customMetrics/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the CustomMetric to archive. - * Example format: properties/1234/customMetrics/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 CustomMetric to archive. - * Example format: properties/1234/customMetrics/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange.php deleted file mode 100644 index a2abe01c2a82..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange.php +++ /dev/null @@ -1,197 +0,0 @@ -google.analytics.admin.v1beta.ChangeHistoryChange - */ -class ChangeHistoryChange extends \Google\Protobuf\Internal\Message -{ - /** - * Resource name of the resource whose changes are described by this entry. - * - * Generated from protobuf field string resource = 1; - */ - protected $resource = ''; - /** - * The type of action that changed this resource. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ActionType action = 2; - */ - protected $action = 0; - /** - * Resource contents from before the change was made. If this resource was - * created in this change, this field will be missing. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - */ - protected $resource_before_change = null; - /** - * Resource contents from after the change was made. If this resource was - * deleted in this change, this field will be missing. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - */ - protected $resource_after_change = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource - * Resource name of the resource whose changes are described by this entry. - * @type int $action - * The type of action that changed this resource. - * @type \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource $resource_before_change - * Resource contents from before the change was made. If this resource was - * created in this change, this field will be missing. - * @type \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource $resource_after_change - * Resource contents from after the change was made. If this resource was - * deleted in this change, this field will be missing. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Resource name of the resource whose changes are described by this entry. - * - * Generated from protobuf field string resource = 1; - * @return string - */ - public function getResource() - { - return $this->resource; - } - - /** - * Resource name of the resource whose changes are described by this entry. - * - * Generated from protobuf field string resource = 1; - * @param string $var - * @return $this - */ - public function setResource($var) - { - GPBUtil::checkString($var, True); - $this->resource = $var; - - return $this; - } - - /** - * The type of action that changed this resource. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ActionType action = 2; - * @return int - */ - public function getAction() - { - return $this->action; - } - - /** - * The type of action that changed this resource. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ActionType action = 2; - * @param int $var - * @return $this - */ - public function setAction($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\ActionType::class); - $this->action = $var; - - return $this; - } - - /** - * Resource contents from before the change was made. If this resource was - * created in this change, this field will be missing. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * @return \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource|null - */ - public function getResourceBeforeChange() - { - return $this->resource_before_change; - } - - public function hasResourceBeforeChange() - { - return isset($this->resource_before_change); - } - - public function clearResourceBeforeChange() - { - unset($this->resource_before_change); - } - - /** - * Resource contents from before the change was made. If this resource was - * created in this change, this field will be missing. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_before_change = 3; - * @param \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource $var - * @return $this - */ - public function setResourceBeforeChange($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource::class); - $this->resource_before_change = $var; - - return $this; - } - - /** - * Resource contents from after the change was made. If this resource was - * deleted in this change, this field will be missing. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * @return \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource|null - */ - public function getResourceAfterChange() - { - return $this->resource_after_change; - } - - public function hasResourceAfterChange() - { - return isset($this->resource_after_change); - } - - public function clearResourceAfterChange() - { - unset($this->resource_after_change); - } - - /** - * Resource contents from after the change was made. If this resource was - * deleted in this change, this field will be missing. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource resource_after_change = 4; - * @param \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource $var - * @return $this - */ - public function setResourceAfterChange($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\ChangeHistoryChange\ChangeHistoryResource::class); - $this->resource_after_change = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange/ChangeHistoryResource.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange/ChangeHistoryResource.php deleted file mode 100644 index 92c682854c70..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryChange/ChangeHistoryResource.php +++ /dev/null @@ -1,307 +0,0 @@ -google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource - */ -class ChangeHistoryResource extends \Google\Protobuf\Internal\Message -{ - protected $resource; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\Account $account - * A snapshot of an Account resource in change history. - * @type \Google\Analytics\Admin\V1beta\Property $property - * A snapshot of a Property resource in change history. - * @type \Google\Analytics\Admin\V1beta\FirebaseLink $firebase_link - * A snapshot of a FirebaseLink resource in change history. - * @type \Google\Analytics\Admin\V1beta\GoogleAdsLink $google_ads_link - * A snapshot of a GoogleAdsLink resource in change history. - * @type \Google\Analytics\Admin\V1beta\ConversionEvent $conversion_event - * A snapshot of a ConversionEvent resource in change history. - * @type \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurement_protocol_secret - * A snapshot of a MeasurementProtocolSecret resource in change history. - * @type \Google\Analytics\Admin\V1beta\DataRetentionSettings $data_retention_settings - * A snapshot of a data retention settings resource in change history. - * @type \Google\Analytics\Admin\V1beta\DataStream $data_stream - * A snapshot of a DataStream resource in change history. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * A snapshot of an Account resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1; - * @return \Google\Analytics\Admin\V1beta\Account|null - */ - public function getAccount() - { - return $this->readOneof(1); - } - - public function hasAccount() - { - return $this->hasOneof(1); - } - - /** - * A snapshot of an Account resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1; - * @param \Google\Analytics\Admin\V1beta\Account $var - * @return $this - */ - public function setAccount($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\Account::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * A snapshot of a Property resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 2; - * @return \Google\Analytics\Admin\V1beta\Property|null - */ - public function getProperty() - { - return $this->readOneof(2); - } - - public function hasProperty() - { - return $this->hasOneof(2); - } - - /** - * A snapshot of a Property resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 2; - * @param \Google\Analytics\Admin\V1beta\Property $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\Property::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * A snapshot of a FirebaseLink resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; - * @return \Google\Analytics\Admin\V1beta\FirebaseLink|null - */ - public function getFirebaseLink() - { - return $this->readOneof(6); - } - - public function hasFirebaseLink() - { - return $this->hasOneof(6); - } - - /** - * A snapshot of a FirebaseLink resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.FirebaseLink firebase_link = 6; - * @param \Google\Analytics\Admin\V1beta\FirebaseLink $var - * @return $this - */ - public function setFirebaseLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\FirebaseLink::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * A snapshot of a GoogleAdsLink resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; - * @return \Google\Analytics\Admin\V1beta\GoogleAdsLink|null - */ - public function getGoogleAdsLink() - { - return $this->readOneof(7); - } - - public function hasGoogleAdsLink() - { - return $this->hasOneof(7); - } - - /** - * A snapshot of a GoogleAdsLink resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 7; - * @param \Google\Analytics\Admin\V1beta\GoogleAdsLink $var - * @return $this - */ - public function setGoogleAdsLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\GoogleAdsLink::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * A snapshot of a ConversionEvent resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; - * @return \Google\Analytics\Admin\V1beta\ConversionEvent|null - */ - public function getConversionEvent() - { - return $this->readOneof(11); - } - - public function hasConversionEvent() - { - return $this->hasOneof(11); - } - - /** - * A snapshot of a ConversionEvent resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 11; - * @param \Google\Analytics\Admin\V1beta\ConversionEvent $var - * @return $this - */ - public function setConversionEvent($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\ConversionEvent::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * A snapshot of a MeasurementProtocolSecret resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * @return \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret|null - */ - public function getMeasurementProtocolSecret() - { - return $this->readOneof(12); - } - - public function hasMeasurementProtocolSecret() - { - return $this->hasOneof(12); - } - - /** - * A snapshot of a MeasurementProtocolSecret resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 12; - * @param \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $var - * @return $this - */ - public function setMeasurementProtocolSecret($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * A snapshot of a data retention settings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * @return \Google\Analytics\Admin\V1beta\DataRetentionSettings|null - */ - public function getDataRetentionSettings() - { - return $this->readOneof(15); - } - - public function hasDataRetentionSettings() - { - return $this->hasOneof(15); - } - - /** - * A snapshot of a data retention settings resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 15; - * @param \Google\Analytics\Admin\V1beta\DataRetentionSettings $var - * @return $this - */ - public function setDataRetentionSettings($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataRetentionSettings::class); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * A snapshot of a DataStream resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 18; - * @return \Google\Analytics\Admin\V1beta\DataStream|null - */ - public function getDataStream() - { - return $this->readOneof(18); - } - - public function hasDataStream() - { - return $this->hasOneof(18); - } - - /** - * A snapshot of a DataStream resource in change history. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 18; - * @param \Google\Analytics\Admin\V1beta\DataStream $var - * @return $this - */ - public function setDataStream($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataStream::class); - $this->writeOneof(18, $var); - - return $this; - } - - /** - * @return string - */ - public function getResource() - { - return $this->whichOneof("resource"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryEvent.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryEvent.php deleted file mode 100644 index 5e466b98a29a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryEvent.php +++ /dev/null @@ -1,266 +0,0 @@ -google.analytics.admin.v1beta.ChangeHistoryEvent - */ -class ChangeHistoryEvent extends \Google\Protobuf\Internal\Message -{ - /** - * ID of this change history event. This ID is unique across Google Analytics. - * - * Generated from protobuf field string id = 1; - */ - protected $id = ''; - /** - * Time when change was made. - * - * Generated from protobuf field .google.protobuf.Timestamp change_time = 2; - */ - protected $change_time = null; - /** - * The type of actor that made this change. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ActorType actor_type = 3; - */ - protected $actor_type = 0; - /** - * Email address of the Google account that made the change. This will be a - * valid email address if the actor field is set to USER, and empty otherwise. - * Google accounts that have been deleted will cause an error. - * - * Generated from protobuf field string user_actor_email = 4; - */ - protected $user_actor_email = ''; - /** - * If true, then the list of changes returned was filtered, and does not - * represent all changes that occurred in this event. - * - * Generated from protobuf field bool changes_filtered = 5; - */ - protected $changes_filtered = false; - /** - * A list of changes made in this change history event that fit the filters - * specified in SearchChangeHistoryEventsRequest. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6; - */ - private $changes; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $id - * ID of this change history event. This ID is unique across Google Analytics. - * @type \Google\Protobuf\Timestamp $change_time - * Time when change was made. - * @type int $actor_type - * The type of actor that made this change. - * @type string $user_actor_email - * Email address of the Google account that made the change. This will be a - * valid email address if the actor field is set to USER, and empty otherwise. - * Google accounts that have been deleted will cause an error. - * @type bool $changes_filtered - * If true, then the list of changes returned was filtered, and does not - * represent all changes that occurred in this event. - * @type \Google\Analytics\Admin\V1beta\ChangeHistoryChange[] $changes - * A list of changes made in this change history event that fit the filters - * specified in SearchChangeHistoryEventsRequest. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * ID of this change history event. This ID is unique across Google Analytics. - * - * Generated from protobuf field string id = 1; - * @return string - */ - public function getId() - { - return $this->id; - } - - /** - * ID of this change history event. This ID is unique across Google Analytics. - * - * Generated from protobuf field string id = 1; - * @param string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkString($var, True); - $this->id = $var; - - return $this; - } - - /** - * Time when change was made. - * - * Generated from protobuf field .google.protobuf.Timestamp change_time = 2; - * @return \Google\Protobuf\Timestamp|null - */ - public function getChangeTime() - { - return $this->change_time; - } - - public function hasChangeTime() - { - return isset($this->change_time); - } - - public function clearChangeTime() - { - unset($this->change_time); - } - - /** - * Time when change was made. - * - * Generated from protobuf field .google.protobuf.Timestamp change_time = 2; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setChangeTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->change_time = $var; - - return $this; - } - - /** - * The type of actor that made this change. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ActorType actor_type = 3; - * @return int - */ - public function getActorType() - { - return $this->actor_type; - } - - /** - * The type of actor that made this change. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ActorType actor_type = 3; - * @param int $var - * @return $this - */ - public function setActorType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\ActorType::class); - $this->actor_type = $var; - - return $this; - } - - /** - * Email address of the Google account that made the change. This will be a - * valid email address if the actor field is set to USER, and empty otherwise. - * Google accounts that have been deleted will cause an error. - * - * Generated from protobuf field string user_actor_email = 4; - * @return string - */ - public function getUserActorEmail() - { - return $this->user_actor_email; - } - - /** - * Email address of the Google account that made the change. This will be a - * valid email address if the actor field is set to USER, and empty otherwise. - * Google accounts that have been deleted will cause an error. - * - * Generated from protobuf field string user_actor_email = 4; - * @param string $var - * @return $this - */ - public function setUserActorEmail($var) - { - GPBUtil::checkString($var, True); - $this->user_actor_email = $var; - - return $this; - } - - /** - * If true, then the list of changes returned was filtered, and does not - * represent all changes that occurred in this event. - * - * Generated from protobuf field bool changes_filtered = 5; - * @return bool - */ - public function getChangesFiltered() - { - return $this->changes_filtered; - } - - /** - * If true, then the list of changes returned was filtered, and does not - * represent all changes that occurred in this event. - * - * Generated from protobuf field bool changes_filtered = 5; - * @param bool $var - * @return $this - */ - public function setChangesFiltered($var) - { - GPBUtil::checkBool($var); - $this->changes_filtered = $var; - - return $this; - } - - /** - * A list of changes made in this change history event that fit the filters - * specified in SearchChangeHistoryEventsRequest. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\ChangeHistoryChange> - */ - public function getChanges() - { - return $this->changes; - } - - /** - * A list of changes made in this change history event that fit the filters - * specified in SearchChangeHistoryEventsRequest. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.ChangeHistoryChange changes = 6; - * @param \Google\Analytics\Admin\V1beta\ChangeHistoryChange[] $var - * @return $this - */ - public function setChanges($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\ChangeHistoryChange::class); - $this->changes = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryResourceType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryResourceType.php deleted file mode 100644 index abe7d49587db..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ChangeHistoryResourceType.php +++ /dev/null @@ -1,145 +0,0 @@ -google.analytics.admin.v1beta.ChangeHistoryResourceType - */ -class ChangeHistoryResourceType -{ - /** - * Resource type unknown or not specified. - * - * Generated from protobuf enum CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED = 0; - */ - const CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED = 0; - /** - * Account resource - * - * Generated from protobuf enum ACCOUNT = 1; - */ - const ACCOUNT = 1; - /** - * Property resource - * - * Generated from protobuf enum PROPERTY = 2; - */ - const PROPERTY = 2; - /** - * FirebaseLink resource - * - * Generated from protobuf enum FIREBASE_LINK = 6; - */ - const FIREBASE_LINK = 6; - /** - * GoogleAdsLink resource - * - * Generated from protobuf enum GOOGLE_ADS_LINK = 7; - */ - const GOOGLE_ADS_LINK = 7; - /** - * GoogleSignalsSettings resource - * - * Generated from protobuf enum GOOGLE_SIGNALS_SETTINGS = 8; - */ - const GOOGLE_SIGNALS_SETTINGS = 8; - /** - * ConversionEvent resource - * - * Generated from protobuf enum CONVERSION_EVENT = 9; - */ - const CONVERSION_EVENT = 9; - /** - * MeasurementProtocolSecret resource - * - * Generated from protobuf enum MEASUREMENT_PROTOCOL_SECRET = 10; - */ - const MEASUREMENT_PROTOCOL_SECRET = 10; - /** - * CustomDimension resource - * - * Generated from protobuf enum CUSTOM_DIMENSION = 11; - */ - const CUSTOM_DIMENSION = 11; - /** - * CustomMetric resource - * - * Generated from protobuf enum CUSTOM_METRIC = 12; - */ - const CUSTOM_METRIC = 12; - /** - * DataRetentionSettings resource - * - * Generated from protobuf enum DATA_RETENTION_SETTINGS = 13; - */ - const DATA_RETENTION_SETTINGS = 13; - /** - * DisplayVideo360AdvertiserLink resource - * - * Generated from protobuf enum DISPLAY_VIDEO_360_ADVERTISER_LINK = 14; - */ - const DISPLAY_VIDEO_360_ADVERTISER_LINK = 14; - /** - * DisplayVideo360AdvertiserLinkProposal resource - * - * Generated from protobuf enum DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15; - */ - const DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15; - /** - * DataStream resource - * - * Generated from protobuf enum DATA_STREAM = 18; - */ - const DATA_STREAM = 18; - /** - * AttributionSettings resource - * - * Generated from protobuf enum ATTRIBUTION_SETTINGS = 20; - */ - const ATTRIBUTION_SETTINGS = 20; - - private static $valueToName = [ - self::CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED => 'CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED', - self::ACCOUNT => 'ACCOUNT', - self::PROPERTY => 'PROPERTY', - self::FIREBASE_LINK => 'FIREBASE_LINK', - self::GOOGLE_ADS_LINK => 'GOOGLE_ADS_LINK', - self::GOOGLE_SIGNALS_SETTINGS => 'GOOGLE_SIGNALS_SETTINGS', - self::CONVERSION_EVENT => 'CONVERSION_EVENT', - self::MEASUREMENT_PROTOCOL_SECRET => 'MEASUREMENT_PROTOCOL_SECRET', - self::CUSTOM_DIMENSION => 'CUSTOM_DIMENSION', - self::CUSTOM_METRIC => 'CUSTOM_METRIC', - self::DATA_RETENTION_SETTINGS => 'DATA_RETENTION_SETTINGS', - self::DISPLAY_VIDEO_360_ADVERTISER_LINK => 'DISPLAY_VIDEO_360_ADVERTISER_LINK', - self::DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL => 'DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL', - self::DATA_STREAM => 'DATA_STREAM', - self::ATTRIBUTION_SETTINGS => 'ATTRIBUTION_SETTINGS', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent.php deleted file mode 100644 index e0bcd415b759..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent.php +++ /dev/null @@ -1,331 +0,0 @@ -google.analytics.admin.v1beta.ConversionEvent - */ -class ConversionEvent extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of this conversion event. - * Format: properties/{property}/conversionEvents/{conversion_event} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Immutable. The event name for this conversion event. - * Examples: 'click', 'purchase' - * - * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $event_name = ''; - /** - * Output only. Time when this conversion event was created in the property. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. If set, this event can currently be deleted with - * DeleteConversionEvent. - * - * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $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 - * custom conversion events that may be created per property. - * - * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $custom = false; - /** - * Optional. The method by which conversions will be counted across multiple - * events within a session. If this value is not provided, it will be set to - * `ONCE_PER_EVENT`. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $counting_method = 0; - /** - * Optional. Defines a default value/currency for a conversion event. - * - * Generated from protobuf field optional .google.analytics.admin.v1beta.ConversionEvent.DefaultConversionValue default_conversion_value = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $default_conversion_value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of this conversion event. - * Format: properties/{property}/conversionEvents/{conversion_event} - * @type string $event_name - * Immutable. The event name for this conversion event. - * Examples: 'click', 'purchase' - * @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 with - * 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 - * custom conversion events that may be created per property. - * @type int $counting_method - * Optional. The method by which conversions will be counted across multiple - * events within a session. If this value is not provided, it will be set to - * `ONCE_PER_EVENT`. - * @type \Google\Analytics\Admin\V1beta\ConversionEvent\DefaultConversionValue $default_conversion_value - * Optional. Defines a default value/currency for a conversion event. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of this conversion event. - * Format: properties/{property}/conversionEvents/{conversion_event} - * - * 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 conversion event. - * Format: properties/{property}/conversionEvents/{conversion_event} - * - * 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 event name for this conversion event. - * Examples: 'click', 'purchase' - * - * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getEventName() - { - return $this->event_name; - } - - /** - * Immutable. The event name for this conversion event. - * Examples: 'click', 'purchase' - * - * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setEventName($var) - { - GPBUtil::checkString($var, True); - $this->event_name = $var; - - return $this; - } - - /** - * Output only. Time when this conversion event was created in the property. - * - * 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 this conversion event was created in the property. - * - * 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; - } - - /** - * Output only. If set, this event can currently be deleted with - * DeleteConversionEvent. - * - * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getDeletable() - { - return $this->deletable; - } - - /** - * Output only. If set, this event can currently be deleted with - * DeleteConversionEvent. - * - * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setDeletable($var) - { - GPBUtil::checkBool($var); - $this->deletable = $var; - - return $this; - } - - /** - * 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]; - * @return bool - */ - public function getCustom() - { - return $this->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 - * custom conversion events that may be created per property. - * - * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setCustom($var) - { - GPBUtil::checkBool($var); - $this->custom = $var; - - return $this; - } - - /** - * Optional. The method by which conversions will be counted across multiple - * events within a session. If this value is not provided, it will be set to - * `ONCE_PER_EVENT`. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getCountingMethod() - { - return $this->counting_method; - } - - /** - * Optional. The method by which conversions will be counted across multiple - * events within a session. If this value is not provided, it will be set to - * `ONCE_PER_EVENT`. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setCountingMethod($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\ConversionEvent\ConversionCountingMethod::class); - $this->counting_method = $var; - - return $this; - } - - /** - * Optional. Defines a default value/currency for a conversion event. - * - * Generated from protobuf field optional .google.analytics.admin.v1beta.ConversionEvent.DefaultConversionValue default_conversion_value = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Analytics\Admin\V1beta\ConversionEvent\DefaultConversionValue|null - */ - public function getDefaultConversionValue() - { - return $this->default_conversion_value; - } - - public function hasDefaultConversionValue() - { - return isset($this->default_conversion_value); - } - - public function clearDefaultConversionValue() - { - unset($this->default_conversion_value); - } - - /** - * Optional. Defines a default value/currency for a conversion event. - * - * Generated from protobuf field optional .google.analytics.admin.v1beta.ConversionEvent.DefaultConversionValue default_conversion_value = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Analytics\Admin\V1beta\ConversionEvent\DefaultConversionValue $var - * @return $this - */ - public function setDefaultConversionValue($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\ConversionEvent\DefaultConversionValue::class); - $this->default_conversion_value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/ConversionCountingMethod.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/ConversionCountingMethod.php deleted file mode 100644 index 7daadd7ab332..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/ConversionCountingMethod.php +++ /dev/null @@ -1,63 +0,0 @@ -google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod - */ -class ConversionCountingMethod -{ - /** - * Counting method not specified. - * - * Generated from protobuf enum CONVERSION_COUNTING_METHOD_UNSPECIFIED = 0; - */ - const CONVERSION_COUNTING_METHOD_UNSPECIFIED = 0; - /** - * Each Event instance is considered a Conversion. - * - * Generated from protobuf enum ONCE_PER_EVENT = 1; - */ - const ONCE_PER_EVENT = 1; - /** - * An Event instance is considered a Conversion at most once per session per - * user. - * - * Generated from protobuf enum ONCE_PER_SESSION = 2; - */ - const ONCE_PER_SESSION = 2; - - private static $valueToName = [ - self::CONVERSION_COUNTING_METHOD_UNSPECIFIED => 'CONVERSION_COUNTING_METHOD_UNSPECIFIED', - self::ONCE_PER_EVENT => 'ONCE_PER_EVENT', - self::ONCE_PER_SESSION => 'ONCE_PER_SESSION', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/DefaultConversionValue.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/DefaultConversionValue.php deleted file mode 100644 index c95c2958a6fe..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ConversionEvent/DefaultConversionValue.php +++ /dev/null @@ -1,138 +0,0 @@ -google.analytics.admin.v1beta.ConversionEvent.DefaultConversionValue - */ -class DefaultConversionValue extends \Google\Protobuf\Internal\Message -{ - /** - * This value will be used to populate the value for all conversions - * of the specified event_name where the event "value" parameter is unset. - * - * Generated from protobuf field optional double value = 1; - */ - protected $value = null; - /** - * When a conversion event for this event_name has no set currency, - * this currency will be applied as the default. Must be in ISO 4217 - * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for - * more information. - * - * Generated from protobuf field optional string currency_code = 2; - */ - protected $currency_code = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $value - * This value will be used to populate the value for all conversions - * of the specified event_name where the event "value" parameter is unset. - * @type string $currency_code - * When a conversion event for this event_name has no set currency, - * this currency will be applied as the default. Must be in ISO 4217 - * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for - * more information. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * This value will be used to populate the value for all conversions - * of the specified event_name where the event "value" parameter is unset. - * - * Generated from protobuf field optional double value = 1; - * @return float - */ - public function getValue() - { - return isset($this->value) ? $this->value : 0.0; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * This value will be used to populate the value for all conversions - * of the specified event_name where the event "value" parameter is unset. - * - * Generated from protobuf field optional double value = 1; - * @param float $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkDouble($var); - $this->value = $var; - - return $this; - } - - /** - * When a conversion event for this event_name has no set currency, - * this currency will be applied as the default. Must be in ISO 4217 - * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for - * more information. - * - * Generated from protobuf field optional string currency_code = 2; - * @return string - */ - public function getCurrencyCode() - { - return isset($this->currency_code) ? $this->currency_code : ''; - } - - public function hasCurrencyCode() - { - return isset($this->currency_code); - } - - public function clearCurrencyCode() - { - unset($this->currency_code); - } - - /** - * When a conversion event for this event_name has no set currency, - * this currency will be applied as the default. Must be in ISO 4217 - * currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for - * more information. - * - * Generated from protobuf field optional string currency_code = 2; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateConversionEventRequest.php deleted file mode 100644 index 49cb348cd0bb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateConversionEventRequest.php +++ /dev/null @@ -1,132 +0,0 @@ -google.analytics.admin.v1beta.CreateConversionEventRequest - */ -class CreateConversionEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The conversion event to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $conversion_event = null; - /** - * 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) = { - */ - protected $parent = ''; - - /** - * @param string $parent Required. 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. - * @param \Google\Analytics\Admin\V1beta\ConversionEvent $conversionEvent Required. The conversion event to create. - * - * @return \Google\Analytics\Admin\V1beta\CreateConversionEventRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1beta\ConversionEvent $conversionEvent): self - { - return (new self()) - ->setParent($parent) - ->setConversionEvent($conversionEvent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\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 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The conversion event to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\ConversionEvent|null - */ - public function getConversionEvent() - { - return $this->conversion_event; - } - - public function hasConversionEvent() - { - return isset($this->conversion_event); - } - - public function clearConversionEvent() - { - unset($this->conversion_event); - } - - /** - * Required. The conversion event to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\ConversionEvent $var - * @return $this - */ - public function setConversionEvent($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\ConversionEvent::class); - $this->conversion_event = $var; - - return $this; - } - - /** - * 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 - */ - public function getParent() - { - return $this->parent; - } - - /** - * 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 - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomDimensionRequest.php deleted file mode 100644 index d312337c4418..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomDimensionRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1beta.CreateCustomDimensionRequest - */ -class CreateCustomDimensionRequest 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) = { - */ - protected $parent = ''; - /** - * Required. The CustomDimension to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $custom_dimension = null; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1beta\CustomDimension $customDimension Required. The CustomDimension to create. - * - * @return \Google\Analytics\Admin\V1beta\CreateCustomDimensionRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1beta\CustomDimension $customDimension): self - { - return (new self()) - ->setParent($parent) - ->setCustomDimension($customDimension); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type \Google\Analytics\Admin\V1beta\CustomDimension $custom_dimension - * Required. The CustomDimension to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\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 CustomDimension to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\CustomDimension|null - */ - public function getCustomDimension() - { - return $this->custom_dimension; - } - - public function hasCustomDimension() - { - return isset($this->custom_dimension); - } - - public function clearCustomDimension() - { - unset($this->custom_dimension); - } - - /** - * Required. The CustomDimension to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension custom_dimension = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\CustomDimension $var - * @return $this - */ - public function setCustomDimension($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\CustomDimension::class); - $this->custom_dimension = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomMetricRequest.php deleted file mode 100644 index 2a4a5c4b8bc6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateCustomMetricRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1beta.CreateCustomMetricRequest - */ -class CreateCustomMetricRequest 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) = { - */ - protected $parent = ''; - /** - * Required. The CustomMetric to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $custom_metric = null; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1beta\CustomMetric $customMetric Required. The CustomMetric to create. - * - * @return \Google\Analytics\Admin\V1beta\CreateCustomMetricRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1beta\CustomMetric $customMetric): self - { - return (new self()) - ->setParent($parent) - ->setCustomMetric($customMetric); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type \Google\Analytics\Admin\V1beta\CustomMetric $custom_metric - * Required. The CustomMetric to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\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 CustomMetric to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\CustomMetric|null - */ - public function getCustomMetric() - { - return $this->custom_metric; - } - - public function hasCustomMetric() - { - return isset($this->custom_metric); - } - - public function clearCustomMetric() - { - unset($this->custom_metric); - } - - /** - * Required. The CustomMetric to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\CustomMetric $var - * @return $this - */ - public function setCustomMetric($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\CustomMetric::class); - $this->custom_metric = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateDataStreamRequest.php deleted file mode 100644 index 0f388f08311b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateDataStreamRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1beta.CreateDataStreamRequest - */ -class CreateDataStreamRequest 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) = { - */ - protected $parent = ''; - /** - * Required. The DataStream to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $data_stream = null; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1beta\DataStream $dataStream Required. The DataStream to create. - * - * @return \Google\Analytics\Admin\V1beta\CreateDataStreamRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1beta\DataStream $dataStream): self - { - return (new self()) - ->setParent($parent) - ->setDataStream($dataStream); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type \Google\Analytics\Admin\V1beta\DataStream $data_stream - * Required. The DataStream to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\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 DataStream to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\DataStream|null - */ - public function getDataStream() - { - return $this->data_stream; - } - - public function hasDataStream() - { - return isset($this->data_stream); - } - - public function clearDataStream() - { - unset($this->data_stream); - } - - /** - * Required. The DataStream to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\DataStream $var - * @return $this - */ - public function setDataStream($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataStream::class); - $this->data_stream = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateFirebaseLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateFirebaseLinkRequest.php deleted file mode 100644 index 96506399d3ce..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateFirebaseLinkRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.analytics.admin.v1beta.CreateFirebaseLinkRequest - */ -class CreateFirebaseLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Format: properties/{property_id} - * Example: `properties/1234` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Firebase link to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $firebase_link = null; - - /** - * @param string $parent Required. Format: properties/{property_id} - * - * Example: `properties/1234` - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1beta\FirebaseLink $firebaseLink Required. The Firebase link to create. - * - * @return \Google\Analytics\Admin\V1beta\CreateFirebaseLinkRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1beta\FirebaseLink $firebaseLink): self - { - return (new self()) - ->setParent($parent) - ->setFirebaseLink($firebaseLink); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Format: properties/{property_id} - * Example: `properties/1234` - * @type \Google\Analytics\Admin\V1beta\FirebaseLink $firebase_link - * Required. The Firebase link to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. 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. 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; - } - - /** - * Required. The Firebase link to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\FirebaseLink|null - */ - public function getFirebaseLink() - { - return $this->firebase_link; - } - - public function hasFirebaseLink() - { - return isset($this->firebase_link); - } - - public function clearFirebaseLink() - { - unset($this->firebase_link); - } - - /** - * Required. The Firebase link to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.FirebaseLink firebase_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\FirebaseLink $var - * @return $this - */ - public function setFirebaseLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\FirebaseLink::class); - $this->firebase_link = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateGoogleAdsLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateGoogleAdsLinkRequest.php deleted file mode 100644 index e6faa3d5a836..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateGoogleAdsLinkRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.analytics.admin.v1beta.CreateGoogleAdsLinkRequest - */ -class CreateGoogleAdsLinkRequest 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) = { - */ - protected $parent = ''; - /** - * Required. The GoogleAdsLink to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $google_ads_link = null; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1beta\GoogleAdsLink $googleAdsLink Required. The GoogleAdsLink to create. - * - * @return \Google\Analytics\Admin\V1beta\CreateGoogleAdsLinkRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1beta\GoogleAdsLink $googleAdsLink): self - { - return (new self()) - ->setParent($parent) - ->setGoogleAdsLink($googleAdsLink); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. Example format: properties/1234 - * @type \Google\Analytics\Admin\V1beta\GoogleAdsLink $google_ads_link - * Required. The GoogleAdsLink to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\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 GoogleAdsLink to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\GoogleAdsLink|null - */ - public function getGoogleAdsLink() - { - return $this->google_ads_link; - } - - public function hasGoogleAdsLink() - { - return isset($this->google_ads_link); - } - - public function clearGoogleAdsLink() - { - unset($this->google_ads_link); - } - - /** - * Required. The GoogleAdsLink to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\GoogleAdsLink $var - * @return $this - */ - public function setGoogleAdsLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\GoogleAdsLink::class); - $this->google_ads_link = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateKeyEventRequest.php deleted file mode 100644 index f53661ad017a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateKeyEventRequest.php +++ /dev/null @@ -1,132 +0,0 @@ -google.analytics.admin.v1beta.CreateKeyEventRequest - */ -class CreateKeyEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The Key Event to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $key_event = null; - /** - * Required. The resource name of the parent property where this Key Event - * will be created. Format: properties/123 - * - * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - - /** - * @param string $parent Required. The resource name of the parent property where this Key Event - * will be created. Format: properties/123 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1beta\KeyEvent $keyEvent Required. The Key Event to create. - * - * @return \Google\Analytics\Admin\V1beta\CreateKeyEventRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1beta\KeyEvent $keyEvent): self - { - return (new self()) - ->setParent($parent) - ->setKeyEvent($keyEvent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\KeyEvent $key_event - * Required. The Key Event to create. - * @type string $parent - * Required. The resource name of the parent property where this Key Event - * will be created. Format: properties/123 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The Key Event to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\KeyEvent|null - */ - public function getKeyEvent() - { - return $this->key_event; - } - - public function hasKeyEvent() - { - return isset($this->key_event); - } - - public function clearKeyEvent() - { - unset($this->key_event); - } - - /** - * Required. The Key Event to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\KeyEvent $var - * @return $this - */ - public function setKeyEvent($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\KeyEvent::class); - $this->key_event = $var; - - return $this; - } - - /** - * Required. The resource name of the parent property where this Key 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 - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the parent property where this Key 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 - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateMeasurementProtocolSecretRequest.php deleted file mode 100644 index 50fd74097f16..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreateMeasurementProtocolSecretRequest.php +++ /dev/null @@ -1,132 +0,0 @@ -google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest - */ -class CreateMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The parent resource where this secret will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The measurement protocol secret to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $measurement_protocol_secret = null; - - /** - * @param string $parent Required. The parent resource where this secret will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. - * @param \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurementProtocolSecret Required. The measurement protocol secret to create. - * - * @return \Google\Analytics\Admin\V1beta\CreateMeasurementProtocolSecretRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurementProtocolSecret): self - { - return (new self()) - ->setParent($parent) - ->setMeasurementProtocolSecret($measurementProtocolSecret); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The parent resource where this secret will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * @type \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurement_protocol_secret - * Required. The measurement protocol secret to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The parent resource where this secret will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * - * 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 parent resource where this secret will be created. - * Format: properties/{property}/dataStreams/{dataStream} - * - * 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 measurement protocol secret to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret|null - */ - public function getMeasurementProtocolSecret() - { - return $this->measurement_protocol_secret; - } - - public function hasMeasurementProtocolSecret() - { - return isset($this->measurement_protocol_secret); - } - - public function clearMeasurementProtocolSecret() - { - unset($this->measurement_protocol_secret); - } - - /** - * Required. The measurement protocol secret to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $var - * @return $this - */ - public function setMeasurementProtocolSecret($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret::class); - $this->measurement_protocol_secret = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreatePropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreatePropertyRequest.php deleted file mode 100644 index 61165a8df725..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CreatePropertyRequest.php +++ /dev/null @@ -1,95 +0,0 @@ -google.analytics.admin.v1beta.CreatePropertyRequest - */ -class CreatePropertyRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The property to create. - * Note: the supplied property must specify its parent. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $property = null; - - /** - * @param \Google\Analytics\Admin\V1beta\Property $property Required. The property to create. - * Note: the supplied property must specify its parent. - * - * @return \Google\Analytics\Admin\V1beta\CreatePropertyRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1beta\Property $property): self - { - return (new self()) - ->setProperty($property); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\Property $property - * Required. The property to create. - * Note: the supplied property must specify its parent. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The property to create. - * Note: the supplied property must specify its parent. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\Property|null - */ - public function getProperty() - { - return $this->property; - } - - public function hasProperty() - { - return isset($this->property); - } - - public function clearProperty() - { - unset($this->property); - } - - /** - * Required. The property to create. - * Note: the supplied property must specify its parent. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\Property $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\Property::class); - $this->property = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension.php deleted file mode 100644 index 38ee3a7173c5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension.php +++ /dev/null @@ -1,301 +0,0 @@ -google.analytics.admin.v1beta.CustomDimension - */ -class CustomDimension extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name for this CustomDimension resource. - * Format: properties/{property}/customDimensions/{customDimension} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. Immutable. Tagging parameter name for this custom dimension. - * If this is a user-scoped dimension, then this is the user property name. - * If this is an event-scoped dimension, then this is the event parameter - * name. - * If this is an item-scoped dimension, then this is the parameter - * name found in the eCommerce items array. - * 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. - * - * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $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 - * starting with a letter. Legacy system-generated display names may contain - * square brackets, but updates to this field will never permit square - * brackets. - * - * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Optional. Description for this custom dimension. Max length of 150 - * characters. - * - * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $description = ''; - /** - * Required. Immutable. The scope of this dimension. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $scope = 0; - /** - * 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]; - */ - protected $disallow_ads_personalization = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name for this CustomDimension resource. - * Format: properties/{property}/customDimensions/{customDimension} - * @type string $parameter_name - * Required. Immutable. Tagging parameter name for this custom dimension. - * If this is a user-scoped dimension, then this is the user property name. - * If this is an event-scoped dimension, then this is the event parameter - * name. - * If this is an item-scoped dimension, then this is the parameter - * name found in the eCommerce items array. - * 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. - * @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 - * 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. - * @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. - * This is currently only supported by user-scoped custom dimensions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name for this CustomDimension resource. - * Format: properties/{property}/customDimensions/{customDimension} - * - * 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 for this CustomDimension resource. - * Format: properties/{property}/customDimensions/{customDimension} - * - * 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. Immutable. Tagging parameter name for this custom dimension. - * If this is a user-scoped dimension, then this is the user property name. - * If this is an event-scoped dimension, then this is the event parameter - * name. - * If this is an item-scoped dimension, then this is the parameter - * name found in the eCommerce items array. - * 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. - * - * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getParameterName() - { - return $this->parameter_name; - } - - /** - * Required. Immutable. Tagging parameter name for this custom dimension. - * If this is a user-scoped dimension, then this is the user property name. - * If this is an event-scoped dimension, then this is the event parameter - * name. - * If this is an item-scoped dimension, then this is the parameter - * name found in the eCommerce items array. - * 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. - * - * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setParameterName($var) - { - GPBUtil::checkString($var, True); - $this->parameter_name = $var; - - return $this; - } - - /** - * 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. - * - * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->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 - * starting with a letter. Legacy system-generated display names may contain - * square brackets, but updates to this field will never permit square - * brackets. - * - * Generated from protobuf field string display_name = 3 [(.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. Description for this custom dimension. Max length of 150 - * characters. - * - * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * 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 - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Required. Immutable. The scope of this dimension. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getScope() - { - return $this->scope; - } - - /** - * Required. Immutable. The scope of this dimension. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension.DimensionScope scope = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setScope($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\CustomDimension\DimensionScope::class); - $this->scope = $var; - - return $this; - } - - /** - * 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]; - * @return bool - */ - public function getDisallowAdsPersonalization() - { - return $this->disallow_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]; - * @param bool $var - * @return $this - */ - public function setDisallowAdsPersonalization($var) - { - GPBUtil::checkBool($var); - $this->disallow_ads_personalization = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension/DimensionScope.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension/DimensionScope.php deleted file mode 100644 index 8deef8669728..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomDimension/DimensionScope.php +++ /dev/null @@ -1,68 +0,0 @@ -google.analytics.admin.v1beta.CustomDimension.DimensionScope - */ -class DimensionScope -{ - /** - * Scope unknown or not specified. - * - * Generated from protobuf enum DIMENSION_SCOPE_UNSPECIFIED = 0; - */ - const DIMENSION_SCOPE_UNSPECIFIED = 0; - /** - * Dimension scoped to an event. - * - * Generated from protobuf enum EVENT = 1; - */ - const EVENT = 1; - /** - * Dimension scoped to a user. - * - * Generated from protobuf enum USER = 2; - */ - const USER = 2; - /** - * Dimension scoped to eCommerce items - * - * Generated from protobuf enum ITEM = 3; - */ - const ITEM = 3; - - private static $valueToName = [ - self::DIMENSION_SCOPE_UNSPECIFIED => 'DIMENSION_SCOPE_UNSPECIFIED', - self::EVENT => 'EVENT', - self::USER => 'USER', - self::ITEM => 'ITEM', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric.php deleted file mode 100644 index ccf493cbe8cb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric.php +++ /dev/null @@ -1,319 +0,0 @@ -google.analytics.admin.v1beta.CustomMetric - */ -class CustomMetric extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name for this CustomMetric resource. - * Format: properties/{property}/customMetrics/{customMetric} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. Immutable. Tagging name for this custom metric. - * If this is an event-scoped metric, then this is the event parameter - * name. - * May only contain alphanumeric and underscore charactes, starting with a - * letter. Max length of 40 characters for event-scoped metrics. - * - * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $parameter_name = ''; - /** - * Required. Display name for this custom metric 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. - * - * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Optional. Description for this custom dimension. - * Max length of 150 characters. - * - * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $description = ''; - /** - * Required. The type for the custom metric's value. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $measurement_unit = 0; - /** - * Required. Immutable. The scope of this custom metric. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $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. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $restricted_metric_type; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name for this CustomMetric resource. - * Format: properties/{property}/customMetrics/{customMetric} - * @type string $parameter_name - * Required. Immutable. Tagging name for this custom metric. - * If this is an event-scoped metric, then this is the event parameter - * name. - * May only contain alphanumeric and underscore charactes, starting with a - * letter. Max length of 40 characters for event-scoped metrics. - * @type string $display_name - * Required. Display name for this custom metric 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. - * @type int $measurement_unit - * Required. The type for the custom metric's value. - * @type int $scope - * Required. Immutable. The scope of this custom metric. - * @type int[] $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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name for this CustomMetric resource. - * Format: properties/{property}/customMetrics/{customMetric} - * - * 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 for this CustomMetric resource. - * Format: properties/{property}/customMetrics/{customMetric} - * - * 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. Immutable. Tagging name for this custom metric. - * If this is an event-scoped metric, then this is the event parameter - * name. - * May only contain alphanumeric and underscore charactes, starting with a - * letter. Max length of 40 characters for event-scoped metrics. - * - * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getParameterName() - { - return $this->parameter_name; - } - - /** - * Required. Immutable. Tagging name for this custom metric. - * If this is an event-scoped metric, then this is the event parameter - * name. - * May only contain alphanumeric and underscore charactes, starting with a - * letter. Max length of 40 characters for event-scoped metrics. - * - * Generated from protobuf field string parameter_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setParameterName($var) - { - GPBUtil::checkString($var, True); - $this->parameter_name = $var; - - return $this; - } - - /** - * Required. Display name for this custom metric 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. - * - * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. Display name for this custom metric 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. - * - * Generated from protobuf field string display_name = 3 [(.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. Description for this custom dimension. - * Max length of 150 characters. - * - * Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * 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 - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Required. The type for the custom metric's value. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getMeasurementUnit() - { - return $this->measurement_unit; - } - - /** - * Required. The type for the custom metric's value. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric.MeasurementUnit measurement_unit = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setMeasurementUnit($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\CustomMetric\MeasurementUnit::class); - $this->measurement_unit = $var; - - return $this; - } - - /** - * Required. Immutable. The scope of this custom metric. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getScope() - { - return $this->scope; - } - - /** - * Required. Immutable. The scope of this custom metric. - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric.MetricScope scope = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setScope($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\CustomMetric\MetricScope::class); - $this->scope = $var; - - return $this; - } - - /** - * 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.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @return RepeatedField - */ - public function getRestrictedMetricType() - { - return $this->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. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @param int[] $var - * @return $this - */ - public function setRestrictedMetricType($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Analytics\Admin\V1beta\CustomMetric\RestrictedMetricType::class); - $this->restricted_metric_type = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MeasurementUnit.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MeasurementUnit.php deleted file mode 100644 index 9f8de467a1a1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MeasurementUnit.php +++ /dev/null @@ -1,119 +0,0 @@ -google.analytics.admin.v1beta.CustomMetric.MeasurementUnit - */ -class MeasurementUnit -{ - /** - * MeasurementUnit unspecified or missing. - * - * Generated from protobuf enum MEASUREMENT_UNIT_UNSPECIFIED = 0; - */ - const MEASUREMENT_UNIT_UNSPECIFIED = 0; - /** - * This metric uses default units. - * - * Generated from protobuf enum STANDARD = 1; - */ - const STANDARD = 1; - /** - * This metric measures a currency. - * - * Generated from protobuf enum CURRENCY = 2; - */ - const CURRENCY = 2; - /** - * This metric measures feet. - * - * Generated from protobuf enum FEET = 3; - */ - const FEET = 3; - /** - * This metric measures meters. - * - * Generated from protobuf enum METERS = 4; - */ - const METERS = 4; - /** - * This metric measures kilometers. - * - * Generated from protobuf enum KILOMETERS = 5; - */ - const KILOMETERS = 5; - /** - * This metric measures miles. - * - * Generated from protobuf enum MILES = 6; - */ - const MILES = 6; - /** - * This metric measures milliseconds. - * - * Generated from protobuf enum MILLISECONDS = 7; - */ - const MILLISECONDS = 7; - /** - * This metric measures seconds. - * - * Generated from protobuf enum SECONDS = 8; - */ - const SECONDS = 8; - /** - * This metric measures minutes. - * - * Generated from protobuf enum MINUTES = 9; - */ - const MINUTES = 9; - /** - * This metric measures hours. - * - * Generated from protobuf enum HOURS = 10; - */ - const HOURS = 10; - - private static $valueToName = [ - self::MEASUREMENT_UNIT_UNSPECIFIED => 'MEASUREMENT_UNIT_UNSPECIFIED', - self::STANDARD => 'STANDARD', - self::CURRENCY => 'CURRENCY', - self::FEET => 'FEET', - self::METERS => 'METERS', - self::KILOMETERS => 'KILOMETERS', - self::MILES => 'MILES', - self::MILLISECONDS => 'MILLISECONDS', - self::SECONDS => 'SECONDS', - self::MINUTES => 'MINUTES', - self::HOURS => 'HOURS', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MetricScope.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MetricScope.php deleted file mode 100644 index 854fe45ad6a0..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/MetricScope.php +++ /dev/null @@ -1,54 +0,0 @@ -google.analytics.admin.v1beta.CustomMetric.MetricScope - */ -class MetricScope -{ - /** - * Scope unknown or not specified. - * - * Generated from protobuf enum METRIC_SCOPE_UNSPECIFIED = 0; - */ - const METRIC_SCOPE_UNSPECIFIED = 0; - /** - * Metric scoped to an event. - * - * Generated from protobuf enum EVENT = 1; - */ - const EVENT = 1; - - private static $valueToName = [ - self::METRIC_SCOPE_UNSPECIFIED => 'METRIC_SCOPE_UNSPECIFIED', - self::EVENT => 'EVENT', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/RestrictedMetricType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/RestrictedMetricType.php deleted file mode 100644 index 44931033c2c6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/CustomMetric/RestrictedMetricType.php +++ /dev/null @@ -1,62 +0,0 @@ -google.analytics.admin.v1beta.CustomMetric.RestrictedMetricType - */ -class RestrictedMetricType -{ - /** - * Type unknown or unspecified. - * - * Generated from protobuf enum RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; - */ - const RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; - /** - * Metric reports cost data. - * - * Generated from protobuf enum COST_DATA = 1; - */ - const COST_DATA = 1; - /** - * Metric reports revenue data. - * - * Generated from protobuf enum REVENUE_DATA = 2; - */ - const REVENUE_DATA = 2; - - private static $valueToName = [ - self::RESTRICTED_METRIC_TYPE_UNSPECIFIED => 'RESTRICTED_METRIC_TYPE_UNSPECIFIED', - self::COST_DATA => 'COST_DATA', - self::REVENUE_DATA => 'REVENUE_DATA', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings.php deleted file mode 100644 index 56a81d97c462..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings.php +++ /dev/null @@ -1,177 +0,0 @@ -google.analytics.admin.v1beta.DataRetentionSettings - */ -class DataRetentionSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name for this DataRetentionSetting resource. - * Format: properties/{property}/dataRetentionSettings - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. The length of time that event-level data is retained. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $event_data_retention = 0; - /** - * Required. The length of time that user-level data is retained. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration user_data_retention = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $user_data_retention = 0; - /** - * If true, reset the retention period for the user identifier with every - * event from that user. - * - * Generated from protobuf field bool reset_user_data_on_new_activity = 3; - */ - protected $reset_user_data_on_new_activity = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name for this DataRetentionSetting resource. - * Format: properties/{property}/dataRetentionSettings - * @type int $event_data_retention - * Required. The length of time that event-level data is retained. - * @type int $user_data_retention - * Required. The length of time that user-level data is retained. - * @type bool $reset_user_data_on_new_activity - * If true, reset the retention period for the user identifier with every - * event from that user. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name for this DataRetentionSetting resource. - * Format: properties/{property}/dataRetentionSettings - * - * 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 for this DataRetentionSetting resource. - * Format: properties/{property}/dataRetentionSettings - * - * 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 length of time that event-level data is retained. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getEventDataRetention() - { - return $this->event_data_retention; - } - - /** - * Required. The length of time that event-level data is retained. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration event_data_retention = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setEventDataRetention($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\DataRetentionSettings\RetentionDuration::class); - $this->event_data_retention = $var; - - return $this; - } - - /** - * Required. The length of time that user-level data is retained. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration user_data_retention = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getUserDataRetention() - { - return $this->user_data_retention; - } - - /** - * Required. The length of time that user-level data is retained. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration user_data_retention = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setUserDataRetention($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\DataRetentionSettings\RetentionDuration::class); - $this->user_data_retention = $var; - - return $this; - } - - /** - * If true, reset the retention period for the user identifier with every - * event from that user. - * - * Generated from protobuf field bool reset_user_data_on_new_activity = 3; - * @return bool - */ - public function getResetUserDataOnNewActivity() - { - return $this->reset_user_data_on_new_activity; - } - - /** - * If true, reset the retention period for the user identifier with every - * event from that user. - * - * Generated from protobuf field bool reset_user_data_on_new_activity = 3; - * @param bool $var - * @return $this - */ - public function setResetUserDataOnNewActivity($var) - { - GPBUtil::checkBool($var); - $this->reset_user_data_on_new_activity = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings/RetentionDuration.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings/RetentionDuration.php deleted file mode 100644 index 4da8fe442a65..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataRetentionSettings/RetentionDuration.php +++ /dev/null @@ -1,85 +0,0 @@ -google.analytics.admin.v1beta.DataRetentionSettings.RetentionDuration - */ -class RetentionDuration -{ - /** - * Data retention time duration is not specified. - * - * Generated from protobuf enum RETENTION_DURATION_UNSPECIFIED = 0; - */ - const RETENTION_DURATION_UNSPECIFIED = 0; - /** - * The data retention time duration is 2 months. - * - * Generated from protobuf enum TWO_MONTHS = 1; - */ - const TWO_MONTHS = 1; - /** - * The data retention time duration is 14 months. - * - * Generated from protobuf enum FOURTEEN_MONTHS = 3; - */ - const FOURTEEN_MONTHS = 3; - /** - * The data retention time duration is 26 months. - * Available to 360 properties only. Available for event data only. - * - * Generated from protobuf enum TWENTY_SIX_MONTHS = 4; - */ - const TWENTY_SIX_MONTHS = 4; - /** - * The data retention time duration is 38 months. - * Available to 360 properties only. Available for event data only. - * - * Generated from protobuf enum THIRTY_EIGHT_MONTHS = 5; - */ - const THIRTY_EIGHT_MONTHS = 5; - /** - * The data retention time duration is 50 months. - * Available to 360 properties only. Available for event data only. - * - * Generated from protobuf enum FIFTY_MONTHS = 6; - */ - const FIFTY_MONTHS = 6; - - private static $valueToName = [ - self::RETENTION_DURATION_UNSPECIFIED => 'RETENTION_DURATION_UNSPECIFIED', - self::TWO_MONTHS => 'TWO_MONTHS', - self::FOURTEEN_MONTHS => 'FOURTEEN_MONTHS', - self::TWENTY_SIX_MONTHS => 'TWENTY_SIX_MONTHS', - self::THIRTY_EIGHT_MONTHS => 'THIRTY_EIGHT_MONTHS', - self::FIFTY_MONTHS => 'FIFTY_MONTHS', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataSharingSettings.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataSharingSettings.php deleted file mode 100644 index 19ac45e960b8..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataSharingSettings.php +++ /dev/null @@ -1,262 +0,0 @@ -google.analytics.admin.v1beta.DataSharingSettings - */ -class DataSharingSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name. - * Format: accounts/{account}/dataSharingSettings - * Example: "accounts/1000/dataSharingSettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Allows Google support to access the data in order to help troubleshoot - * issues. - * - * Generated from protobuf field bool sharing_with_google_support_enabled = 2; - */ - protected $sharing_with_google_support_enabled = false; - /** - * Allows Google sales teams that are assigned to the customer to access the - * data in order to suggest configuration changes to improve results. - * Sales team restrictions still apply when enabled. - * - * Generated from protobuf field bool sharing_with_google_assigned_sales_enabled = 3; - */ - protected $sharing_with_google_assigned_sales_enabled = false; - /** - * Allows any of Google sales to access the data in order to suggest - * configuration changes to improve results. - * - * Generated from protobuf field bool sharing_with_google_any_sales_enabled = 4; - */ - protected $sharing_with_google_any_sales_enabled = false; - /** - * Allows Google to use the data to improve other Google products or services. - * - * Generated from protobuf field bool sharing_with_google_products_enabled = 5; - */ - protected $sharing_with_google_products_enabled = false; - /** - * Allows Google to share the data anonymously in aggregate form with others. - * - * Generated from protobuf field bool sharing_with_others_enabled = 6; - */ - protected $sharing_with_others_enabled = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name. - * Format: accounts/{account}/dataSharingSettings - * Example: "accounts/1000/dataSharingSettings" - * @type bool $sharing_with_google_support_enabled - * Allows Google support to access the data in order to help troubleshoot - * issues. - * @type bool $sharing_with_google_assigned_sales_enabled - * Allows Google sales teams that are assigned to the customer to access the - * data in order to suggest configuration changes to improve results. - * Sales team restrictions still apply when enabled. - * @type bool $sharing_with_google_any_sales_enabled - * Allows any of Google sales to access the data in order to suggest - * configuration changes to improve results. - * @type bool $sharing_with_google_products_enabled - * Allows Google to use the data to improve other Google products or services. - * @type bool $sharing_with_others_enabled - * Allows Google to share the data anonymously in aggregate form with others. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name. - * Format: accounts/{account}/dataSharingSettings - * Example: "accounts/1000/dataSharingSettings" - * - * 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. - * Format: accounts/{account}/dataSharingSettings - * Example: "accounts/1000/dataSharingSettings" - * - * 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; - } - - /** - * Allows Google support to access the data in order to help troubleshoot - * issues. - * - * Generated from protobuf field bool sharing_with_google_support_enabled = 2; - * @return bool - */ - public function getSharingWithGoogleSupportEnabled() - { - return $this->sharing_with_google_support_enabled; - } - - /** - * Allows Google support to access the data in order to help troubleshoot - * issues. - * - * Generated from protobuf field bool sharing_with_google_support_enabled = 2; - * @param bool $var - * @return $this - */ - public function setSharingWithGoogleSupportEnabled($var) - { - GPBUtil::checkBool($var); - $this->sharing_with_google_support_enabled = $var; - - return $this; - } - - /** - * Allows Google sales teams that are assigned to the customer to access the - * data in order to suggest configuration changes to improve results. - * Sales team restrictions still apply when enabled. - * - * Generated from protobuf field bool sharing_with_google_assigned_sales_enabled = 3; - * @return bool - */ - public function getSharingWithGoogleAssignedSalesEnabled() - { - return $this->sharing_with_google_assigned_sales_enabled; - } - - /** - * Allows Google sales teams that are assigned to the customer to access the - * data in order to suggest configuration changes to improve results. - * Sales team restrictions still apply when enabled. - * - * Generated from protobuf field bool sharing_with_google_assigned_sales_enabled = 3; - * @param bool $var - * @return $this - */ - public function setSharingWithGoogleAssignedSalesEnabled($var) - { - GPBUtil::checkBool($var); - $this->sharing_with_google_assigned_sales_enabled = $var; - - return $this; - } - - /** - * Allows any of Google sales to access the data in order to suggest - * configuration changes to improve results. - * - * Generated from protobuf field bool sharing_with_google_any_sales_enabled = 4; - * @return bool - */ - public function getSharingWithGoogleAnySalesEnabled() - { - return $this->sharing_with_google_any_sales_enabled; - } - - /** - * Allows any of Google sales to access the data in order to suggest - * configuration changes to improve results. - * - * Generated from protobuf field bool sharing_with_google_any_sales_enabled = 4; - * @param bool $var - * @return $this - */ - public function setSharingWithGoogleAnySalesEnabled($var) - { - GPBUtil::checkBool($var); - $this->sharing_with_google_any_sales_enabled = $var; - - return $this; - } - - /** - * Allows Google to use the data to improve other Google products or services. - * - * Generated from protobuf field bool sharing_with_google_products_enabled = 5; - * @return bool - */ - public function getSharingWithGoogleProductsEnabled() - { - return $this->sharing_with_google_products_enabled; - } - - /** - * Allows Google to use the data to improve other Google products or services. - * - * Generated from protobuf field bool sharing_with_google_products_enabled = 5; - * @param bool $var - * @return $this - */ - public function setSharingWithGoogleProductsEnabled($var) - { - GPBUtil::checkBool($var); - $this->sharing_with_google_products_enabled = $var; - - return $this; - } - - /** - * Allows Google to share the data anonymously in aggregate form with others. - * - * Generated from protobuf field bool sharing_with_others_enabled = 6; - * @return bool - */ - public function getSharingWithOthersEnabled() - { - return $this->sharing_with_others_enabled; - } - - /** - * Allows Google to share the data anonymously in aggregate form with others. - * - * Generated from protobuf field bool sharing_with_others_enabled = 6; - * @param bool $var - * @return $this - */ - public function setSharingWithOthersEnabled($var) - { - GPBUtil::checkBool($var); - $this->sharing_with_others_enabled = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream.php deleted file mode 100644 index 3dbae7016a05..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream.php +++ /dev/null @@ -1,356 +0,0 @@ -google.analytics.admin.v1beta.DataStream - */ -class DataStream extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of this Data Stream. - * Format: properties/{property_id}/dataStreams/{stream_id} - * Example: "properties/1000/dataStreams/2000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. Immutable. The type of this DataStream resource. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - */ - protected $type = 0; - /** - * Human-readable display name for the Data Stream. - * Required for web data streams. - * The max allowed display name length is 255 UTF-16 code units. - * - * Generated from protobuf field string display_name = 3; - */ - protected $display_name = ''; - /** - * Output only. Time when this stream was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Time when stream payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - protected $stream_data; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\DataStream\WebStreamData $web_stream_data - * Data specific to web streams. Must be populated if type is - * WEB_DATA_STREAM. - * @type \Google\Analytics\Admin\V1beta\DataStream\AndroidAppStreamData $android_app_stream_data - * Data specific to Android app streams. Must be populated if type is - * ANDROID_APP_DATA_STREAM. - * @type \Google\Analytics\Admin\V1beta\DataStream\IosAppStreamData $ios_app_stream_data - * Data specific to iOS app streams. Must be populated if type is - * IOS_APP_DATA_STREAM. - * @type string $name - * Output only. Resource name of this Data Stream. - * Format: properties/{property_id}/dataStreams/{stream_id} - * Example: "properties/1000/dataStreams/2000" - * @type int $type - * Required. Immutable. The type of this DataStream resource. - * @type string $display_name - * Human-readable display name for the Data Stream. - * Required for web data streams. - * The max allowed display name length is 255 UTF-16 code units. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when this stream was originally created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Time when stream payload fields were last updated. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Data specific to web streams. Must be populated if type is - * WEB_DATA_STREAM. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; - * @return \Google\Analytics\Admin\V1beta\DataStream\WebStreamData|null - */ - public function getWebStreamData() - { - return $this->readOneof(6); - } - - public function hasWebStreamData() - { - return $this->hasOneof(6); - } - - /** - * Data specific to web streams. Must be populated if type is - * WEB_DATA_STREAM. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6; - * @param \Google\Analytics\Admin\V1beta\DataStream\WebStreamData $var - * @return $this - */ - public function setWebStreamData($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataStream\WebStreamData::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Data specific to Android app streams. Must be populated if type is - * ANDROID_APP_DATA_STREAM. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * @return \Google\Analytics\Admin\V1beta\DataStream\AndroidAppStreamData|null - */ - public function getAndroidAppStreamData() - { - return $this->readOneof(7); - } - - public function hasAndroidAppStreamData() - { - return $this->hasOneof(7); - } - - /** - * Data specific to Android app streams. Must be populated if type is - * ANDROID_APP_DATA_STREAM. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7; - * @param \Google\Analytics\Admin\V1beta\DataStream\AndroidAppStreamData $var - * @return $this - */ - public function setAndroidAppStreamData($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataStream\AndroidAppStreamData::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Data specific to iOS app streams. Must be populated if type is - * IOS_APP_DATA_STREAM. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * @return \Google\Analytics\Admin\V1beta\DataStream\IosAppStreamData|null - */ - public function getIosAppStreamData() - { - return $this->readOneof(8); - } - - public function hasIosAppStreamData() - { - return $this->hasOneof(8); - } - - /** - * Data specific to iOS app streams. Must be populated if type is - * IOS_APP_DATA_STREAM. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8; - * @param \Google\Analytics\Admin\V1beta\DataStream\IosAppStreamData $var - * @return $this - */ - public function setIosAppStreamData($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataStream\IosAppStreamData::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Output only. Resource name of this Data Stream. - * Format: properties/{property_id}/dataStreams/{stream_id} - * Example: "properties/1000/dataStreams/2000" - * - * 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 Data Stream. - * Format: properties/{property_id}/dataStreams/{stream_id} - * Example: "properties/1000/dataStreams/2000" - * - * 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. Immutable. The type of this DataStream resource. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Required. Immutable. The type of this DataStream resource. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\DataStream\DataStreamType::class); - $this->type = $var; - - return $this; - } - - /** - * Human-readable display name for the Data Stream. - * Required for web data streams. - * The max allowed display name length is 255 UTF-16 code units. - * - * Generated from protobuf field string display_name = 3; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Human-readable display name for the Data Stream. - * Required for web data streams. - * The max allowed display name length is 255 UTF-16 code units. - * - * Generated from protobuf field string display_name = 3; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Output only. Time when this stream was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.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 this stream was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.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; - } - - /** - * Output only. Time when stream payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Time when stream payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * @return string - */ - public function getStreamData() - { - return $this->whichOneof("stream_data"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/AndroidAppStreamData.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/AndroidAppStreamData.php deleted file mode 100644 index 63d1e1babc4d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/AndroidAppStreamData.php +++ /dev/null @@ -1,109 +0,0 @@ -google.analytics.admin.v1beta.DataStream.AndroidAppStreamData - */ -class AndroidAppStreamData extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. ID of the corresponding Android app in Firebase, if any. - * This ID can change if the Android app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $firebase_app_id = ''; - /** - * Immutable. The package name for the app being measured. - * Example: "com.example.myandroidapp" - * - * Generated from protobuf field string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $package_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $firebase_app_id - * Output only. ID of the corresponding Android app in Firebase, if any. - * This ID can change if the Android app is deleted and recreated. - * @type string $package_name - * Immutable. The package name for the app being measured. - * Example: "com.example.myandroidapp" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. ID of the corresponding Android app in Firebase, if any. - * This ID can change if the Android app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFirebaseAppId() - { - return $this->firebase_app_id; - } - - /** - * Output only. ID of the corresponding Android app in Firebase, if any. - * This ID can change if the Android app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFirebaseAppId($var) - { - GPBUtil::checkString($var, True); - $this->firebase_app_id = $var; - - return $this; - } - - /** - * Immutable. The package name for the app being measured. - * Example: "com.example.myandroidapp" - * - * Generated from protobuf field string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getPackageName() - { - return $this->package_name; - } - - /** - * Immutable. The package name for the app being measured. - * Example: "com.example.myandroidapp" - * - * Generated from protobuf field string package_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setPackageName($var) - { - GPBUtil::checkString($var, True); - $this->package_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/DataStreamType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/DataStreamType.php deleted file mode 100644 index 3bbdd15583d4..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/DataStreamType.php +++ /dev/null @@ -1,68 +0,0 @@ -google.analytics.admin.v1beta.DataStream.DataStreamType - */ -class DataStreamType -{ - /** - * Type unknown or not specified. - * - * Generated from protobuf enum DATA_STREAM_TYPE_UNSPECIFIED = 0; - */ - const DATA_STREAM_TYPE_UNSPECIFIED = 0; - /** - * Web data stream. - * - * Generated from protobuf enum WEB_DATA_STREAM = 1; - */ - const WEB_DATA_STREAM = 1; - /** - * Android app data stream. - * - * Generated from protobuf enum ANDROID_APP_DATA_STREAM = 2; - */ - const ANDROID_APP_DATA_STREAM = 2; - /** - * iOS app data stream. - * - * Generated from protobuf enum IOS_APP_DATA_STREAM = 3; - */ - const IOS_APP_DATA_STREAM = 3; - - private static $valueToName = [ - self::DATA_STREAM_TYPE_UNSPECIFIED => 'DATA_STREAM_TYPE_UNSPECIFIED', - self::WEB_DATA_STREAM => 'WEB_DATA_STREAM', - self::ANDROID_APP_DATA_STREAM => 'ANDROID_APP_DATA_STREAM', - self::IOS_APP_DATA_STREAM => 'IOS_APP_DATA_STREAM', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/IosAppStreamData.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/IosAppStreamData.php deleted file mode 100644 index 46ba1ddc8d47..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/IosAppStreamData.php +++ /dev/null @@ -1,109 +0,0 @@ -google.analytics.admin.v1beta.DataStream.IosAppStreamData - */ -class IosAppStreamData extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. ID of the corresponding iOS app in Firebase, if any. - * This ID can change if the iOS app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $firebase_app_id = ''; - /** - * Required. Immutable. The Apple App Store Bundle ID for the app - * Example: "com.example.myiosapp" - * - * Generated from protobuf field string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - */ - protected $bundle_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $firebase_app_id - * Output only. ID of the corresponding iOS app in Firebase, if any. - * This ID can change if the iOS app is deleted and recreated. - * @type string $bundle_id - * Required. Immutable. The Apple App Store Bundle ID for the app - * Example: "com.example.myiosapp" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. ID of the corresponding iOS app in Firebase, if any. - * This ID can change if the iOS app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFirebaseAppId() - { - return $this->firebase_app_id; - } - - /** - * Output only. ID of the corresponding iOS app in Firebase, if any. - * This ID can change if the iOS app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFirebaseAppId($var) - { - GPBUtil::checkString($var, True); - $this->firebase_app_id = $var; - - return $this; - } - - /** - * Required. Immutable. The Apple App Store Bundle ID for the app - * Example: "com.example.myiosapp" - * - * Generated from protobuf field string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getBundleId() - { - return $this->bundle_id; - } - - /** - * Required. Immutable. The Apple App Store Bundle ID for the app - * Example: "com.example.myiosapp" - * - * Generated from protobuf field string bundle_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setBundleId($var) - { - GPBUtil::checkString($var, True); - $this->bundle_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/WebStreamData.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/WebStreamData.php deleted file mode 100644 index 4355d56e2ac5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DataStream/WebStreamData.php +++ /dev/null @@ -1,147 +0,0 @@ -google.analytics.admin.v1beta.DataStream.WebStreamData - */ -class WebStreamData extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Analytics Measurement ID. - * Example: "G-1A2BCD345E" - * - * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $measurement_id = ''; - /** - * Output only. ID of the corresponding web app in Firebase, if any. - * This ID can change if the web app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $firebase_app_id = ''; - /** - * Domain name of the web app being measured, or empty. - * Example: "http://www.google.com", "https://www.google.com" - * - * Generated from protobuf field string default_uri = 3; - */ - protected $default_uri = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $measurement_id - * Output only. Analytics Measurement ID. - * Example: "G-1A2BCD345E" - * @type string $firebase_app_id - * Output only. ID of the corresponding web app in Firebase, if any. - * This ID can change if the web app is deleted and recreated. - * @type string $default_uri - * Domain name of the web app being measured, or empty. - * Example: "http://www.google.com", "https://www.google.com" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Analytics Measurement ID. - * Example: "G-1A2BCD345E" - * - * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getMeasurementId() - { - return $this->measurement_id; - } - - /** - * Output only. Analytics Measurement ID. - * Example: "G-1A2BCD345E" - * - * Generated from protobuf field string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setMeasurementId($var) - { - GPBUtil::checkString($var, True); - $this->measurement_id = $var; - - return $this; - } - - /** - * Output only. ID of the corresponding web app in Firebase, if any. - * This ID can change if the web app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFirebaseAppId() - { - return $this->firebase_app_id; - } - - /** - * Output only. ID of the corresponding web app in Firebase, if any. - * This ID can change if the web app is deleted and recreated. - * - * Generated from protobuf field string firebase_app_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFirebaseAppId($var) - { - GPBUtil::checkString($var, True); - $this->firebase_app_id = $var; - - return $this; - } - - /** - * Domain name of the web app being measured, or empty. - * Example: "http://www.google.com", "https://www.google.com" - * - * Generated from protobuf field string default_uri = 3; - * @return string - */ - public function getDefaultUri() - { - return $this->default_uri; - } - - /** - * Domain name of the web app being measured, or empty. - * Example: "http://www.google.com", "https://www.google.com" - * - * Generated from protobuf field string default_uri = 3; - * @param string $var - * @return $this - */ - public function setDefaultUri($var) - { - GPBUtil::checkString($var, True); - $this->default_uri = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteAccountRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteAccountRequest.php deleted file mode 100644 index bd5b039cf57f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteAccountRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1beta.DeleteAccountRequest - */ -class DeleteAccountRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Account to soft-delete. - * Format: accounts/{account} - * Example: "accounts/100" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Account to soft-delete. - * Format: accounts/{account} - * Example: "accounts/100" - * Please see {@see AnalyticsAdminServiceClient::accountName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\DeleteAccountRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Account to soft-delete. - * Format: accounts/{account} - * Example: "accounts/100" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Account to soft-delete. - * Format: accounts/{account} - * Example: "accounts/100" - * - * 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 Account to soft-delete. - * Format: accounts/{account} - * Example: "accounts/100" - * - * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteConversionEventRequest.php deleted file mode 100644 index 1ce3d911de9b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteConversionEventRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1beta.DeleteConversionEventRequest - */ -class DeleteConversionEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the conversion event to delete. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/456" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the conversion event to delete. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/456" - * Please see {@see AnalyticsAdminServiceClient::conversionEventName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\DeleteConversionEventRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the conversion event to delete. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/456" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the conversion event to delete. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/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 resource name of the conversion event to delete. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteDataStreamRequest.php deleted file mode 100644 index 5753397fa62a..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteDataStreamRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1beta.DeleteDataStreamRequest - */ -class DeleteDataStreamRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DataStream to delete. - * Example format: properties/1234/dataStreams/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the DataStream to delete. - * Example format: properties/1234/dataStreams/5678 - * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\DeleteDataStreamRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DataStream to delete. - * Example format: properties/1234/dataStreams/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DataStream to delete. - * Example format: properties/1234/dataStreams/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 DataStream to delete. - * Example format: properties/1234/dataStreams/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteFirebaseLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteFirebaseLinkRequest.php deleted file mode 100644 index d76f4e8c4d48..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteFirebaseLinkRequest.php +++ /dev/null @@ -1,87 +0,0 @@ -google.analytics.admin.v1beta.DeleteFirebaseLinkRequest - */ -class DeleteFirebaseLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} - * Example: `properties/1234/firebaseLinks/5678` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} - * - * Example: `properties/1234/firebaseLinks/5678` - * Please see {@see AnalyticsAdminServiceClient::firebaseLinkName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\DeleteFirebaseLinkRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} - * Example: `properties/1234/firebaseLinks/5678` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} - * Example: `properties/1234/firebaseLinks/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. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} - * Example: `properties/1234/firebaseLinks/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteGoogleAdsLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteGoogleAdsLinkRequest.php deleted file mode 100644 index 214289db44d3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteGoogleAdsLinkRequest.php +++ /dev/null @@ -1,81 +0,0 @@ -google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest - */ -class DeleteGoogleAdsLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Example format: properties/1234/googleAdsLinks/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. Example format: properties/1234/googleAdsLinks/5678 - * Please see {@see AnalyticsAdminServiceClient::googleAdsLinkName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\DeleteGoogleAdsLinkRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Example format: properties/1234/googleAdsLinks/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. Example format: properties/1234/googleAdsLinks/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. Example format: properties/1234/googleAdsLinks/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteKeyEventRequest.php deleted file mode 100644 index 28ba2906339b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteKeyEventRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1beta.DeleteKeyEventRequest - */ -class DeleteKeyEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Key Event to delete. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/456" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the Key Event to delete. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/456" - * Please see {@see AnalyticsAdminServiceClient::keyEventName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\DeleteKeyEventRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the Key Event to delete. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/456" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Key Event to delete. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/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 resource name of the Key Event to delete. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteMeasurementProtocolSecretRequest.php deleted file mode 100644 index b1f2cd50ac47..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeleteMeasurementProtocolSecretRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest - */ -class DeleteMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the MeasurementProtocolSecret to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the MeasurementProtocolSecret to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * Please see {@see AnalyticsAdminServiceClient::measurementProtocolSecretName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\DeleteMeasurementProtocolSecretRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the MeasurementProtocolSecret to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the MeasurementProtocolSecret to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * - * 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 MeasurementProtocolSecret to delete. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * - * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeletePropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeletePropertyRequest.php deleted file mode 100644 index f2b3d2d0bde6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/DeletePropertyRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1beta.DeletePropertyRequest - */ -class DeletePropertyRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Property to soft-delete. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Property to soft-delete. - * Format: properties/{property_id} - * Example: "properties/1000" - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\DeletePropertyRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Property to soft-delete. - * Format: properties/{property_id} - * Example: "properties/1000" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Property to soft-delete. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * 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 Property to soft-delete. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/FirebaseLink.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/FirebaseLink.php deleted file mode 100644 index 11c904a07a67..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/FirebaseLink.php +++ /dev/null @@ -1,165 +0,0 @@ -google.analytics.admin.v1beta.FirebaseLink - */ -class FirebaseLink extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Example format: properties/1234/firebaseLinks/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $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 - * have a project_name that contains a project number. - * Format: 'projects/{project number}' - * Example: 'projects/1234' - * - * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $project = ''; - /** - * Output only. Time when this FirebaseLink was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @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 - * have a project_name that contains a project number. - * Format: 'projects/{project number}' - * Example: 'projects/1234' - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when this FirebaseLink was originally created. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Example format: properties/1234/firebaseLinks/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Example format: properties/1234/firebaseLinks/5678 - * - * 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. 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' - * - * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getProject() - { - return $this->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 - * have a project_name 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 this FirebaseLink was originally 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 this FirebaseLink was originally 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; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetAccountRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetAccountRequest.php deleted file mode 100644 index 01d75a2f9fe1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetAccountRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1beta.GetAccountRequest - */ -class GetAccountRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the account to lookup. - * Format: accounts/{account} - * Example: "accounts/100" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the account to lookup. - * Format: accounts/{account} - * Example: "accounts/100" - * Please see {@see AnalyticsAdminServiceClient::accountName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\GetAccountRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the account to lookup. - * Format: accounts/{account} - * Example: "accounts/100" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the account to lookup. - * Format: accounts/{account} - * Example: "accounts/100" - * - * 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 account to lookup. - * Format: accounts/{account} - * Example: "accounts/100" - * - * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetConversionEventRequest.php deleted file mode 100644 index 2a78b196abe0..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetConversionEventRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1beta.GetConversionEventRequest - */ -class GetConversionEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the conversion event to retrieve. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/456" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the conversion event to retrieve. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/456" - * Please see {@see AnalyticsAdminServiceClient::conversionEventName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\GetConversionEventRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the conversion event to retrieve. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/456" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the conversion event to retrieve. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/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 resource name of the conversion event to retrieve. - * Format: properties/{property}/conversionEvents/{conversion_event} - * Example: "properties/123/conversionEvents/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomDimensionRequest.php deleted file mode 100644 index 88ebf65526e7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomDimensionRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1beta.GetCustomDimensionRequest - */ -class GetCustomDimensionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the CustomDimension to get. - * Example format: properties/1234/customDimensions/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the CustomDimension to get. - * Example format: properties/1234/customDimensions/5678 - * Please see {@see AnalyticsAdminServiceClient::customDimensionName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\GetCustomDimensionRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the CustomDimension to get. - * Example format: properties/1234/customDimensions/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the CustomDimension to get. - * Example format: properties/1234/customDimensions/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 CustomDimension to get. - * Example format: properties/1234/customDimensions/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomMetricRequest.php deleted file mode 100644 index 1d885ce0cce2..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetCustomMetricRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1beta.GetCustomMetricRequest - */ -class GetCustomMetricRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the CustomMetric to get. - * Example format: properties/1234/customMetrics/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the CustomMetric to get. - * Example format: properties/1234/customMetrics/5678 - * Please see {@see AnalyticsAdminServiceClient::customMetricName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\GetCustomMetricRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the CustomMetric to get. - * Example format: properties/1234/customMetrics/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the CustomMetric to get. - * Example format: properties/1234/customMetrics/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 CustomMetric to get. - * Example format: properties/1234/customMetrics/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataRetentionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataRetentionSettingsRequest.php deleted file mode 100644 index 3d9a8ace2933..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataRetentionSettingsRequest.php +++ /dev/null @@ -1,96 +0,0 @@ -google.analytics.admin.v1beta.GetDataRetentionSettingsRequest - */ -class GetDataRetentionSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataRetentionSettings - * Example: "properties/1000/dataRetentionSettings" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataRetentionSettings - * Example: "properties/1000/dataRetentionSettings" - * Please see {@see AnalyticsAdminServiceClient::dataRetentionSettingsName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\GetDataRetentionSettingsRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataRetentionSettings - * Example: "properties/1000/dataRetentionSettings" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the settings to lookup. - * Format: - * properties/{property}/dataRetentionSettings - * Example: "properties/1000/dataRetentionSettings" - * - * 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 settings to lookup. - * Format: - * properties/{property}/dataRetentionSettings - * Example: "properties/1000/dataRetentionSettings" - * - * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataSharingSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataSharingSettingsRequest.php deleted file mode 100644 index e4def21051b3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataSharingSettingsRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.analytics.admin.v1beta.GetDataSharingSettingsRequest - */ -class GetDataSharingSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the settings to lookup. - * Format: accounts/{account}/dataSharingSettings - * Example: `accounts/1000/dataSharingSettings` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the settings to lookup. - * Format: accounts/{account}/dataSharingSettings - * - * Example: `accounts/1000/dataSharingSettings` - * Please see {@see AnalyticsAdminServiceClient::dataSharingSettingsName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\GetDataSharingSettingsRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the settings to lookup. - * Format: accounts/{account}/dataSharingSettings - * Example: `accounts/1000/dataSharingSettings` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the settings to lookup. - * Format: accounts/{account}/dataSharingSettings - * Example: `accounts/1000/dataSharingSettings` - * - * 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 settings to lookup. - * Format: accounts/{account}/dataSharingSettings - * Example: `accounts/1000/dataSharingSettings` - * - * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataStreamRequest.php deleted file mode 100644 index 5e3954dea3e9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetDataStreamRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.analytics.admin.v1beta.GetDataStreamRequest - */ -class GetDataStreamRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DataStream to get. - * Example format: properties/1234/dataStreams/5678 - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the DataStream to get. - * Example format: properties/1234/dataStreams/5678 - * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\GetDataStreamRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DataStream to get. - * Example format: properties/1234/dataStreams/5678 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DataStream to get. - * Example format: properties/1234/dataStreams/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 DataStream to get. - * Example format: properties/1234/dataStreams/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetKeyEventRequest.php deleted file mode 100644 index 5d3aed027f25..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetKeyEventRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1beta.GetKeyEventRequest - */ -class GetKeyEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Key Event to retrieve. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/456" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the Key Event to retrieve. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/456" - * Please see {@see AnalyticsAdminServiceClient::keyEventName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\GetKeyEventRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the Key Event to retrieve. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/456" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Key Event to retrieve. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/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 resource name of the Key Event to retrieve. - * Format: properties/{property}/keyEvents/{key_event} - * Example: "properties/123/keyEvents/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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetMeasurementProtocolSecretRequest.php deleted file mode 100644 index debf83122c5d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetMeasurementProtocolSecretRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1beta.GetMeasurementProtocolSecretRequest - */ -class GetMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the measurement protocol secret to lookup. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the measurement protocol secret to lookup. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * Please see {@see AnalyticsAdminServiceClient::measurementProtocolSecretName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\GetMeasurementProtocolSecretRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the measurement protocol secret to lookup. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the measurement protocol secret to lookup. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * - * 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 measurement protocol secret to lookup. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * - * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetPropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetPropertyRequest.php deleted file mode 100644 index 23c4f6813721..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GetPropertyRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.analytics.admin.v1beta.GetPropertyRequest - */ -class GetPropertyRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the property to lookup. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the property to lookup. - * Format: properties/{property_id} - * Example: "properties/1000" - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\GetPropertyRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the property to lookup. - * Format: properties/{property_id} - * Example: "properties/1000" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the property to lookup. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * 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 property to lookup. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GoogleAdsLink.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GoogleAdsLink.php deleted file mode 100644 index a426cef2704c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/GoogleAdsLink.php +++ /dev/null @@ -1,358 +0,0 @@ -google.analytics.admin.v1beta.GoogleAdsLink - */ -class GoogleAdsLink extends \Google\Protobuf\Internal\Message -{ - /** - * 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]; - */ - protected $name = ''; - /** - * Immutable. Google Ads customer ID. - * - * Generated from protobuf field string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $customer_id = ''; - /** - * Output only. If true, this link is for a Google Ads manager account. - * - * Generated from protobuf field bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $can_manage_clients = false; - /** - * Enable personalized advertising features with this integration. - * Automatically publish my Google Analytics audience lists and Google - * Analytics remarketing events/parameters to the linked Google Ads account. - * If this field is not set on create/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; - */ - protected $ads_personalization_enabled = null; - /** - * Output only. Time when this link was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Time when this link was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Output only. Email address of the user that created the link. - * An empty string will be returned if the email address can't be retrieved. - * - * Generated from protobuf field string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $creator_email_address = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * 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. - * @type bool $can_manage_clients - * Output only. If true, this link is for a Google Ads manager account. - * @type \Google\Protobuf\BoolValue $ads_personalization_enabled - * Enable personalized advertising features with this integration. - * Automatically publish my Google Analytics audience lists and Google - * Analytics remarketing events/parameters to the linked Google Ads account. - * If this field is not set on create/update, it will be defaulted to true. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when this link was originally created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Time when this link was last updated. - * @type string $creator_email_address - * Output only. Email address of the user that created the link. - * An empty string will be returned if the email address can't be retrieved. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * 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]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * 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]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Immutable. Google Ads customer ID. - * - * Generated from protobuf field string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Immutable. Google Ads customer ID. - * - * Generated from protobuf field string customer_id = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Output only. If true, this link is for a Google Ads manager account. - * - * Generated from protobuf field bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getCanManageClients() - { - return $this->can_manage_clients; - } - - /** - * Output only. If true, this link is for a Google Ads manager account. - * - * Generated from protobuf field bool can_manage_clients = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setCanManageClients($var) - { - GPBUtil::checkBool($var); - $this->can_manage_clients = $var; - - return $this; - } - - /** - * Enable personalized advertising features with this integration. - * Automatically publish my Google Analytics audience lists and Google - * Analytics remarketing events/parameters to the linked Google Ads account. - * If this field is not set on create/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; - * @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() - - * Enable personalized advertising features with this integration. - * Automatically publish my Google Analytics audience lists and Google - * Analytics remarketing events/parameters to the linked Google Ads account. - * If this field is not set on create/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; - * @return bool|null - */ - public function getAdsPersonalizationEnabledUnwrapped() - { - return $this->readWrapperValue("ads_personalization_enabled"); - } - - /** - * Enable personalized advertising features with this integration. - * Automatically publish my Google Analytics audience lists and Google - * Analytics remarketing events/parameters to the linked Google Ads account. - * If this field is not set on create/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; - * @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. - - * Enable personalized advertising features with this integration. - * Automatically publish my Google Analytics audience lists and Google - * Analytics remarketing events/parameters to the linked Google Ads account. - * If this field is not set on create/update, it will be defaulted to true. - * - * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 5; - * @param bool|null $var - * @return $this - */ - public function setAdsPersonalizationEnabledUnwrapped($var) - { - $this->writeWrapperValue("ads_personalization_enabled", $var); - return $this;} - - /** - * Output only. Time when this link was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.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 this link was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.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; - } - - /** - * Output only. Time when this link was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Time when this link was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Output only. Email address of the user that created the link. - * An empty string will be returned if the email address can't be retrieved. - * - * Generated from protobuf field string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCreatorEmailAddress() - { - return $this->creator_email_address; - } - - /** - * Output only. Email address of the user that created the link. - * An empty string will be returned if the email address can't be retrieved. - * - * Generated from protobuf field string creator_email_address = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCreatorEmailAddress($var) - { - GPBUtil::checkString($var, True); - $this->creator_email_address = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/IndustryCategory.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/IndustryCategory.php deleted file mode 100644 index 887b34452f65..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/IndustryCategory.php +++ /dev/null @@ -1,229 +0,0 @@ -google.analytics.admin.v1beta.IndustryCategory - */ -class IndustryCategory -{ - /** - * Industry category unspecified - * - * Generated from protobuf enum INDUSTRY_CATEGORY_UNSPECIFIED = 0; - */ - const INDUSTRY_CATEGORY_UNSPECIFIED = 0; - /** - * Automotive - * - * Generated from protobuf enum AUTOMOTIVE = 1; - */ - const AUTOMOTIVE = 1; - /** - * Business and industrial markets - * - * Generated from protobuf enum BUSINESS_AND_INDUSTRIAL_MARKETS = 2; - */ - const BUSINESS_AND_INDUSTRIAL_MARKETS = 2; - /** - * Finance - * - * Generated from protobuf enum FINANCE = 3; - */ - const FINANCE = 3; - /** - * Healthcare - * - * Generated from protobuf enum HEALTHCARE = 4; - */ - const HEALTHCARE = 4; - /** - * Technology - * - * Generated from protobuf enum TECHNOLOGY = 5; - */ - const TECHNOLOGY = 5; - /** - * Travel - * - * Generated from protobuf enum TRAVEL = 6; - */ - const TRAVEL = 6; - /** - * Other - * - * Generated from protobuf enum OTHER = 7; - */ - const OTHER = 7; - /** - * Arts and entertainment - * - * Generated from protobuf enum ARTS_AND_ENTERTAINMENT = 8; - */ - const ARTS_AND_ENTERTAINMENT = 8; - /** - * Beauty and fitness - * - * Generated from protobuf enum BEAUTY_AND_FITNESS = 9; - */ - const BEAUTY_AND_FITNESS = 9; - /** - * Books and literature - * - * Generated from protobuf enum BOOKS_AND_LITERATURE = 10; - */ - const BOOKS_AND_LITERATURE = 10; - /** - * Food and drink - * - * Generated from protobuf enum FOOD_AND_DRINK = 11; - */ - const FOOD_AND_DRINK = 11; - /** - * Games - * - * Generated from protobuf enum GAMES = 12; - */ - const GAMES = 12; - /** - * Hobbies and leisure - * - * Generated from protobuf enum HOBBIES_AND_LEISURE = 13; - */ - const HOBBIES_AND_LEISURE = 13; - /** - * Home and garden - * - * Generated from protobuf enum HOME_AND_GARDEN = 14; - */ - const HOME_AND_GARDEN = 14; - /** - * Internet and telecom - * - * Generated from protobuf enum INTERNET_AND_TELECOM = 15; - */ - const INTERNET_AND_TELECOM = 15; - /** - * Law and government - * - * Generated from protobuf enum LAW_AND_GOVERNMENT = 16; - */ - const LAW_AND_GOVERNMENT = 16; - /** - * News - * - * Generated from protobuf enum NEWS = 17; - */ - const NEWS = 17; - /** - * Online communities - * - * Generated from protobuf enum ONLINE_COMMUNITIES = 18; - */ - const ONLINE_COMMUNITIES = 18; - /** - * People and society - * - * Generated from protobuf enum PEOPLE_AND_SOCIETY = 19; - */ - const PEOPLE_AND_SOCIETY = 19; - /** - * Pets and animals - * - * Generated from protobuf enum PETS_AND_ANIMALS = 20; - */ - const PETS_AND_ANIMALS = 20; - /** - * Real estate - * - * Generated from protobuf enum REAL_ESTATE = 21; - */ - const REAL_ESTATE = 21; - /** - * Reference - * - * Generated from protobuf enum REFERENCE = 22; - */ - const REFERENCE = 22; - /** - * Science - * - * Generated from protobuf enum SCIENCE = 23; - */ - const SCIENCE = 23; - /** - * Sports - * - * Generated from protobuf enum SPORTS = 24; - */ - const SPORTS = 24; - /** - * Jobs and education - * - * Generated from protobuf enum JOBS_AND_EDUCATION = 25; - */ - const JOBS_AND_EDUCATION = 25; - /** - * Shopping - * - * Generated from protobuf enum SHOPPING = 26; - */ - const SHOPPING = 26; - - private static $valueToName = [ - self::INDUSTRY_CATEGORY_UNSPECIFIED => 'INDUSTRY_CATEGORY_UNSPECIFIED', - self::AUTOMOTIVE => 'AUTOMOTIVE', - self::BUSINESS_AND_INDUSTRIAL_MARKETS => 'BUSINESS_AND_INDUSTRIAL_MARKETS', - self::FINANCE => 'FINANCE', - self::HEALTHCARE => 'HEALTHCARE', - self::TECHNOLOGY => 'TECHNOLOGY', - self::TRAVEL => 'TRAVEL', - self::OTHER => 'OTHER', - self::ARTS_AND_ENTERTAINMENT => 'ARTS_AND_ENTERTAINMENT', - self::BEAUTY_AND_FITNESS => 'BEAUTY_AND_FITNESS', - self::BOOKS_AND_LITERATURE => 'BOOKS_AND_LITERATURE', - self::FOOD_AND_DRINK => 'FOOD_AND_DRINK', - self::GAMES => 'GAMES', - self::HOBBIES_AND_LEISURE => 'HOBBIES_AND_LEISURE', - self::HOME_AND_GARDEN => 'HOME_AND_GARDEN', - self::INTERNET_AND_TELECOM => 'INTERNET_AND_TELECOM', - self::LAW_AND_GOVERNMENT => 'LAW_AND_GOVERNMENT', - self::NEWS => 'NEWS', - self::ONLINE_COMMUNITIES => 'ONLINE_COMMUNITIES', - self::PEOPLE_AND_SOCIETY => 'PEOPLE_AND_SOCIETY', - self::PETS_AND_ANIMALS => 'PETS_AND_ANIMALS', - self::REAL_ESTATE => 'REAL_ESTATE', - self::REFERENCE => 'REFERENCE', - self::SCIENCE => 'SCIENCE', - self::SPORTS => 'SPORTS', - self::JOBS_AND_EDUCATION => 'JOBS_AND_EDUCATION', - self::SHOPPING => 'SHOPPING', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent.php deleted file mode 100644 index e1e60f5ab8bc..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent.php +++ /dev/null @@ -1,323 +0,0 @@ -google.analytics.admin.v1beta.KeyEvent - */ -class KeyEvent extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of this key event. - * Format: properties/{property}/keyEvents/{key_event} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Immutable. The event name for this key event. - * Examples: 'click', 'purchase' - * - * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $event_name = ''; - /** - * Output only. Time when this key event was created in the property. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. If set to true, this event can be deleted. - * - * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $deletable = false; - /** - * Output only. If set to true, this key event refers to a custom event. If - * set to false, this key 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 key events that may be created per property. - * - * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $custom = false; - /** - * Required. The method by which Key Events will be counted across multiple - * events within a session. - * - * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent.CountingMethod counting_method = 6 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $counting_method = 0; - /** - * Optional. Defines a default value/currency for a key event. - * - * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent.DefaultValue default_value = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $default_value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of this key event. - * Format: properties/{property}/keyEvents/{key_event} - * @type string $event_name - * Immutable. The event name for this key event. - * Examples: 'click', 'purchase' - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when this key event was created in the property. - * @type bool $deletable - * Output only. If set to true, this event can be deleted. - * @type bool $custom - * Output only. If set to true, this key event refers to a custom event. If - * set to false, this key 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 key events that may be created per property. - * @type int $counting_method - * Required. The method by which Key Events will be counted across multiple - * events within a session. - * @type \Google\Analytics\Admin\V1beta\KeyEvent\DefaultValue $default_value - * Optional. Defines a default value/currency for a key event. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of this key event. - * Format: properties/{property}/keyEvents/{key_event} - * - * 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 key event. - * Format: properties/{property}/keyEvents/{key_event} - * - * 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 event name for this key event. - * Examples: 'click', 'purchase' - * - * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getEventName() - { - return $this->event_name; - } - - /** - * Immutable. The event name for this key event. - * Examples: 'click', 'purchase' - * - * Generated from protobuf field string event_name = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setEventName($var) - { - GPBUtil::checkString($var, True); - $this->event_name = $var; - - return $this; - } - - /** - * Output only. Time when this key event was created in the property. - * - * 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 this key event was created in the property. - * - * 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; - } - - /** - * Output only. If set to true, this event can be deleted. - * - * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getDeletable() - { - return $this->deletable; - } - - /** - * Output only. If set to true, this event can be deleted. - * - * Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setDeletable($var) - { - GPBUtil::checkBool($var); - $this->deletable = $var; - - return $this; - } - - /** - * Output only. If set to true, this key event refers to a custom event. If - * set to false, this key 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 key events that may be created per property. - * - * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getCustom() - { - return $this->custom; - } - - /** - * Output only. If set to true, this key event refers to a custom event. If - * set to false, this key 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 key events that may be created per property. - * - * Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setCustom($var) - { - GPBUtil::checkBool($var); - $this->custom = $var; - - return $this; - } - - /** - * Required. The method by which Key Events will be counted across multiple - * events within a session. - * - * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent.CountingMethod counting_method = 6 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getCountingMethod() - { - return $this->counting_method; - } - - /** - * Required. The method by which Key Events will be counted across multiple - * events within a session. - * - * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent.CountingMethod counting_method = 6 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setCountingMethod($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\KeyEvent\CountingMethod::class); - $this->counting_method = $var; - - return $this; - } - - /** - * Optional. Defines a default value/currency for a key event. - * - * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent.DefaultValue default_value = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Analytics\Admin\V1beta\KeyEvent\DefaultValue|null - */ - public function getDefaultValue() - { - return $this->default_value; - } - - public function hasDefaultValue() - { - return isset($this->default_value); - } - - public function clearDefaultValue() - { - unset($this->default_value); - } - - /** - * Optional. Defines a default value/currency for a key event. - * - * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent.DefaultValue default_value = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Analytics\Admin\V1beta\KeyEvent\DefaultValue $var - * @return $this - */ - public function setDefaultValue($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\KeyEvent\DefaultValue::class); - $this->default_value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/CountingMethod.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/CountingMethod.php deleted file mode 100644 index 38c4718483ee..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/CountingMethod.php +++ /dev/null @@ -1,63 +0,0 @@ -google.analytics.admin.v1beta.KeyEvent.CountingMethod - */ -class CountingMethod -{ - /** - * Counting method not specified. - * - * Generated from protobuf enum COUNTING_METHOD_UNSPECIFIED = 0; - */ - const COUNTING_METHOD_UNSPECIFIED = 0; - /** - * Each Event instance is considered a Key Event. - * - * Generated from protobuf enum ONCE_PER_EVENT = 1; - */ - const ONCE_PER_EVENT = 1; - /** - * An Event instance is considered a Key Event at most once per session per - * user. - * - * Generated from protobuf enum ONCE_PER_SESSION = 2; - */ - const ONCE_PER_SESSION = 2; - - private static $valueToName = [ - self::COUNTING_METHOD_UNSPECIFIED => 'COUNTING_METHOD_UNSPECIFIED', - self::ONCE_PER_EVENT => 'ONCE_PER_EVENT', - self::ONCE_PER_SESSION => 'ONCE_PER_SESSION', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/DefaultValue.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/DefaultValue.php deleted file mode 100644 index 7250573d92ea..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/KeyEvent/DefaultValue.php +++ /dev/null @@ -1,121 +0,0 @@ -google.analytics.admin.v1beta.KeyEvent.DefaultValue - */ -class DefaultValue extends \Google\Protobuf\Internal\Message -{ - /** - * Required. This will be used to populate the "value" parameter for all - * occurrences of this Key Event (specified by event_name) where that - * parameter is unset. - * - * Generated from protobuf field double numeric_value = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $numeric_value = 0.0; - /** - * Required. When an occurrence of this Key Event (specified by event_name) - * has no set currency this currency will be applied as the default. Must be - * in ISO 4217 currency code format. - * See https://en.wikipedia.org/wiki/ISO_4217 for more information. - * - * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $currency_code = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $numeric_value - * Required. This will be used to populate the "value" parameter for all - * occurrences of this Key Event (specified by event_name) where that - * parameter is unset. - * @type string $currency_code - * Required. When an occurrence of this Key Event (specified by event_name) - * has no set currency this currency will be applied as the default. Must be - * in ISO 4217 currency code format. - * See https://en.wikipedia.org/wiki/ISO_4217 for more information. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Required. This will be used to populate the "value" parameter for all - * occurrences of this Key Event (specified by event_name) where that - * parameter is unset. - * - * Generated from protobuf field double numeric_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return float - */ - public function getNumericValue() - { - return $this->numeric_value; - } - - /** - * Required. This will be used to populate the "value" parameter for all - * occurrences of this Key Event (specified by event_name) where that - * parameter is unset. - * - * Generated from protobuf field double numeric_value = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param float $var - * @return $this - */ - public function setNumericValue($var) - { - GPBUtil::checkDouble($var); - $this->numeric_value = $var; - - return $this; - } - - /** - * Required. When an occurrence of this Key Event (specified by event_name) - * has no set currency this currency will be applied as the default. Must be - * in ISO 4217 currency code format. - * See https://en.wikipedia.org/wiki/ISO_4217 for more information. - * - * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCurrencyCode() - { - return $this->currency_code; - } - - /** - * Required. When an occurrence of this Key Event (specified by event_name) - * has no set currency this currency will be applied as the default. Must be - * in ISO 4217 currency code format. - * See https://en.wikipedia.org/wiki/ISO_4217 for more information. - * - * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesRequest.php deleted file mode 100644 index f78ba51ea22e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesRequest.php +++ /dev/null @@ -1,125 +0,0 @@ -google.analytics.admin.v1beta.ListAccountSummariesRequest - */ -class ListAccountSummariesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The maximum number of AccountSummary 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 = 1; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListAccountSummaries` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccountSummaries` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 2; - */ - protected $page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $page_size - * The maximum number of AccountSummary 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 `ListAccountSummaries` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccountSummaries` - * must match the call that provided the page token. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The maximum number of AccountSummary 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 = 1; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * The maximum number of AccountSummary 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 = 1; - * @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 `ListAccountSummaries` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccountSummaries` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 2; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * A page token, received from a previous `ListAccountSummaries` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccountSummaries` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 2; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesResponse.php deleted file mode 100644 index 49ed505382d3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountSummariesResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1beta.ListAccountSummariesResponse - */ -class ListAccountSummariesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Account summaries of all accounts the caller has access to. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; - */ - private $account_summaries; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\AccountSummary[] $account_summaries - * Account summaries of all accounts the caller has access to. - * @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\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Account summaries of all accounts the caller has access to. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccountSummary> - */ - public function getAccountSummaries() - { - return $this->account_summaries; - } - - /** - * Account summaries of all accounts the caller has access to. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccountSummary account_summaries = 1; - * @param \Google\Analytics\Admin\V1beta\AccountSummary[] $var - * @return $this - */ - public function setAccountSummaries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccountSummary::class); - $this->account_summaries = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsRequest.php deleted file mode 100644 index f8308c02cb0e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsRequest.php +++ /dev/null @@ -1,167 +0,0 @@ -google.analytics.admin.v1beta.ListAccountsRequest - */ -class ListAccountsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * 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 = 1; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListAccounts` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccounts` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 2; - */ - protected $page_token = ''; - /** - * Whether to include soft-deleted (ie: "trashed") Accounts in the - * results. Accounts can be inspected to determine whether they are deleted or - * not. - * - * Generated from protobuf field bool show_deleted = 3; - */ - protected $show_deleted = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @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 `ListAccounts` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccounts` must - * match the call that provided the page token. - * @type bool $show_deleted - * Whether to include soft-deleted (ie: "trashed") Accounts in the - * results. Accounts can be inspected to determine whether they are deleted or - * not. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * 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 = 1; - * @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 = 1; - * @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 `ListAccounts` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccounts` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 2; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * A page token, received from a previous `ListAccounts` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListAccounts` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 2; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - - /** - * Whether to include soft-deleted (ie: "trashed") Accounts in the - * results. Accounts can be inspected to determine whether they are deleted or - * not. - * - * Generated from protobuf field bool show_deleted = 3; - * @return bool - */ - public function getShowDeleted() - { - return $this->show_deleted; - } - - /** - * Whether to include soft-deleted (ie: "trashed") Accounts in the - * results. Accounts can be inspected to determine whether they are deleted or - * not. - * - * Generated from protobuf field bool show_deleted = 3; - * @param bool $var - * @return $this - */ - public function setShowDeleted($var) - { - GPBUtil::checkBool($var); - $this->show_deleted = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsResponse.php deleted file mode 100644 index b655ca29de06..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListAccountsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1beta.ListAccountsResponse - */ -class ListAccountsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Results that were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.Account accounts = 1; - */ - private $accounts; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\Account[] $accounts - * Results that were accessible to the caller. - * @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\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Results that were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.Account accounts = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\Account> - */ - public function getAccounts() - { - return $this->accounts; - } - - /** - * Results that were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.Account accounts = 1; - * @param \Google\Analytics\Admin\V1beta\Account[] $var - * @return $this - */ - public function setAccounts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\Account::class); - $this->accounts = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsRequest.php deleted file mode 100644 index 29417418306c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsRequest.php +++ /dev/null @@ -1,174 +0,0 @@ -google.analytics.admin.v1beta.ListConversionEventsRequest - */ -class ListConversionEventsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the parent property. - * Example: 'properties/123' - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListConversionEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListConversionEvents` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. The resource name of the parent property. - * Example: 'properties/123' - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\ListConversionEventsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the parent property. - * Example: 'properties/123' - * @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 `ListConversionEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListConversionEvents` - * must match the call that provided the page token. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the parent property. - * Example: 'properties/123' - * - * 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 resource name of the parent property. - * Example: 'properties/123' - * - * 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 `ListConversionEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListConversionEvents` - * 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 `ListConversionEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListConversionEvents` - * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsResponse.php deleted file mode 100644 index c03a4da35289..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListConversionEventsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1beta.ListConversionEventsResponse - */ -class ListConversionEventsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The requested conversion events - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; - */ - private $conversion_events; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\ConversionEvent[] $conversion_events - * The requested conversion events - * @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\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The requested conversion events - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\ConversionEvent> - */ - public function getConversionEvents() - { - return $this->conversion_events; - } - - /** - * The requested conversion events - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.ConversionEvent conversion_events = 1; - * @param \Google\Analytics\Admin\V1beta\ConversionEvent[] $var - * @return $this - */ - public function setConversionEvents($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\ConversionEvent::class); - $this->conversion_events = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsRequest.php deleted file mode 100644 index 2529e5266c4c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.analytics.admin.v1beta.ListCustomDimensionsRequest - */ -class ListCustomDimensionsRequest 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) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListCustomDimensions` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomDimensions` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\ListCustomDimensionsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * 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 `ListCustomDimensions` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomDimensions` - * must match the call that provided the page token. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\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 `ListCustomDimensions` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomDimensions` - * 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 `ListCustomDimensions` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomDimensions` - * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsResponse.php deleted file mode 100644 index f4dc43919f52..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomDimensionsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1beta.ListCustomDimensionsResponse - */ -class ListCustomDimensionsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of CustomDimensions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; - */ - private $custom_dimensions; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\CustomDimension[] $custom_dimensions - * List of CustomDimensions. - * @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\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * List of CustomDimensions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\CustomDimension> - */ - public function getCustomDimensions() - { - return $this->custom_dimensions; - } - - /** - * List of CustomDimensions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomDimension custom_dimensions = 1; - * @param \Google\Analytics\Admin\V1beta\CustomDimension[] $var - * @return $this - */ - public function setCustomDimensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\CustomDimension::class); - $this->custom_dimensions = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsRequest.php deleted file mode 100644 index 9627abf53049..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.analytics.admin.v1beta.ListCustomMetricsRequest - */ -class ListCustomMetricsRequest 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) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListCustomMetrics` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomMetrics` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\ListCustomMetricsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * 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 `ListCustomMetrics` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomMetrics` must - * match the call that provided the page token. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\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 `ListCustomMetrics` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomMetrics` 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 `ListCustomMetrics` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListCustomMetrics` 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsResponse.php deleted file mode 100644 index 5f1b14fba8f9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListCustomMetricsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1beta.ListCustomMetricsResponse - */ -class ListCustomMetricsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of CustomMetrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; - */ - private $custom_metrics; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\CustomMetric[] $custom_metrics - * List of CustomMetrics. - * @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\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * List of CustomMetrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\CustomMetric> - */ - public function getCustomMetrics() - { - return $this->custom_metrics; - } - - /** - * List of CustomMetrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.CustomMetric custom_metrics = 1; - * @param \Google\Analytics\Admin\V1beta\CustomMetric[] $var - * @return $this - */ - public function setCustomMetrics($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\CustomMetric::class); - $this->custom_metrics = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsRequest.php deleted file mode 100644 index c8dc07aa8599..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.analytics.admin.v1beta.ListDataStreamsRequest - */ -class ListDataStreamsRequest 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) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListDataStreams` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListDataStreams` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\ListDataStreamsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * 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 `ListDataStreams` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListDataStreams` must - * match the call that provided the page token. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\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 `ListDataStreams` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListDataStreams` 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 `ListDataStreams` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListDataStreams` 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsResponse.php deleted file mode 100644 index 770708978697..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListDataStreamsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1beta.ListDataStreamsResponse - */ -class ListDataStreamsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of DataStreams. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; - */ - private $data_streams; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\DataStream[] $data_streams - * List of DataStreams. - * @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\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * List of DataStreams. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\DataStream> - */ - public function getDataStreams() - { - return $this->data_streams; - } - - /** - * List of DataStreams. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.DataStream data_streams = 1; - * @param \Google\Analytics\Admin\V1beta\DataStream[] $var - * @return $this - */ - public function setDataStreams($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\DataStream::class); - $this->data_streams = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksRequest.php deleted file mode 100644 index 5b9d60a22e97..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksRequest.php +++ /dev/null @@ -1,179 +0,0 @@ -google.analytics.admin.v1beta.ListFirebaseLinksRequest - */ -class ListFirebaseLinksRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Format: properties/{property_id} - * Example: `properties/1234` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListFirebaseLinks` call. - * Provide this to retrieve the subsequent page. - * 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; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Format: properties/{property_id} - * - * Example: `properties/1234` - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\ListFirebaseLinksRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. 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 `ListFirebaseLinks` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListFirebaseLinks` must - * match the call that provided the page token. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. 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. 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 `ListFirebaseLinks` call. - * Provide this to retrieve the subsequent page. - * 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; - * @return string - */ - public function getPageToken() - { - return $this->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 `ListFirebaseLinks` 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksResponse.php deleted file mode 100644 index 2d35f6a51bdd..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListFirebaseLinksResponse.php +++ /dev/null @@ -1,113 +0,0 @@ -google.analytics.admin.v1beta.ListFirebaseLinksResponse - */ -class ListFirebaseLinksResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of FirebaseLinks. This will have at most one value. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; - */ - private $firebase_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. - * Currently, Google Analytics supports only one FirebaseLink per property, - * so this will never be populated. - * - * Generated from protobuf field string next_page_token = 2; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\FirebaseLink[] $firebase_links - * List of FirebaseLinks. This will have at most one value. - * @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. - * Currently, Google Analytics supports only one FirebaseLink per property, - * so this will never be populated. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * List of FirebaseLinks. This will have at most one value. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\FirebaseLink> - */ - public function getFirebaseLinks() - { - return $this->firebase_links; - } - - /** - * List of FirebaseLinks. This will have at most one value. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.FirebaseLink firebase_links = 1; - * @param \Google\Analytics\Admin\V1beta\FirebaseLink[] $var - * @return $this - */ - public function setFirebaseLinks($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\FirebaseLink::class); - $this->firebase_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. - * Currently, Google Analytics supports only one FirebaseLink per property, - * so this will never be populated. - * - * 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. - * Currently, Google Analytics supports only one FirebaseLink per property, - * so this will never be populated. - * - * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksRequest.php deleted file mode 100644 index 70ef3e373463..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.analytics.admin.v1beta.ListGoogleAdsLinksRequest - */ -class ListGoogleAdsLinksRequest 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) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListGoogleAdsLinks` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListGoogleAdsLinks` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. Example format: properties/1234 - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\ListGoogleAdsLinksRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * 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 `ListGoogleAdsLinks` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListGoogleAdsLinks` must - * match the call that provided the page token. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\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 `ListGoogleAdsLinks` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListGoogleAdsLinks` 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 `ListGoogleAdsLinks` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListGoogleAdsLinks` 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksResponse.php deleted file mode 100644 index 72c7870ecffc..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListGoogleAdsLinksResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1beta.ListGoogleAdsLinksResponse - */ -class ListGoogleAdsLinksResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of GoogleAdsLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; - */ - private $google_ads_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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\GoogleAdsLink[] $google_ads_links - * List of GoogleAdsLinks. - * @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\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * List of GoogleAdsLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\GoogleAdsLink> - */ - public function getGoogleAdsLinks() - { - return $this->google_ads_links; - } - - /** - * List of GoogleAdsLinks. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1; - * @param \Google\Analytics\Admin\V1beta\GoogleAdsLink[] $var - * @return $this - */ - public function setGoogleAdsLinks($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\GoogleAdsLink::class); - $this->google_ads_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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsRequest.php deleted file mode 100644 index 20b41f15b680..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsRequest.php +++ /dev/null @@ -1,174 +0,0 @@ -google.analytics.admin.v1beta.ListKeyEventsRequest - */ -class ListKeyEventsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the parent property. - * Example: 'properties/123' - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListKeyEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListKeyEvents` - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. The resource name of the parent property. - * Example: 'properties/123' - * Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\ListKeyEventsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the parent property. - * Example: 'properties/123' - * @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 `ListKeyEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListKeyEvents` - * must match the call that provided the page token. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the parent property. - * Example: 'properties/123' - * - * 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 resource name of the parent property. - * Example: 'properties/123' - * - * 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 `ListKeyEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListKeyEvents` - * 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 `ListKeyEvents` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListKeyEvents` - * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsResponse.php deleted file mode 100644 index 2d64ffd6c9d3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListKeyEventsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1beta.ListKeyEventsResponse - */ -class ListKeyEventsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The requested Key Events - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.KeyEvent key_events = 1; - */ - private $key_events; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\KeyEvent[] $key_events - * The requested Key Events - * @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\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The requested Key Events - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.KeyEvent key_events = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\KeyEvent> - */ - public function getKeyEvents() - { - return $this->key_events; - } - - /** - * The requested Key Events - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.KeyEvent key_events = 1; - * @param \Google\Analytics\Admin\V1beta\KeyEvent[] $var - * @return $this - */ - public function setKeyEvents($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\KeyEvent::class); - $this->key_events = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsRequest.php deleted file mode 100644 index d216c88ed1d8..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsRequest.php +++ /dev/null @@ -1,179 +0,0 @@ -google.analytics.admin.v1beta.ListMeasurementProtocolSecretsRequest - */ -class ListMeasurementProtocolSecretsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the parent stream. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * The maximum number of resources to return. - * If unspecified, at most 10 resources will be returned. - * The maximum value is 10. Higher values will be coerced to the maximum. - * - * Generated from protobuf field int32 page_size = 2; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListMeasurementProtocolSecrets` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListMeasurementProtocolSecrets` must match - * the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - - /** - * @param string $parent Required. The resource name of the parent stream. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets - * Please see {@see AnalyticsAdminServiceClient::dataStreamName()} for help formatting this field. - * - * @return \Google\Analytics\Admin\V1beta\ListMeasurementProtocolSecretsRequest - * - * @experimental - */ - public static function build(string $parent): self - { - return (new self()) - ->setParent($parent); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the parent stream. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets - * @type int $page_size - * The maximum number of resources to return. - * If unspecified, at most 10 resources will be returned. - * The maximum value is 10. Higher values will be coerced to the maximum. - * @type string $page_token - * A page token, received from a previous `ListMeasurementProtocolSecrets` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListMeasurementProtocolSecrets` must match - * the call that provided the page token. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the parent stream. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets - * - * 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 resource name of the parent stream. - * Format: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets - * - * 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 10 resources will be returned. - * The maximum value is 10. 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 10 resources will be returned. - * The maximum value is 10. 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 `ListMeasurementProtocolSecrets` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListMeasurementProtocolSecrets` 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 `ListMeasurementProtocolSecrets` - * call. Provide this to retrieve the subsequent page. When paginating, all - * other parameters provided to `ListMeasurementProtocolSecrets` 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsResponse.php deleted file mode 100644 index f25d3f640310..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListMeasurementProtocolSecretsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1beta.ListMeasurementProtocolSecretsResponse - */ -class ListMeasurementProtocolSecretsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * A list of secrets for the parent stream specified in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - */ - private $measurement_protocol_secrets; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret[] $measurement_protocol_secrets - * A list of secrets for the parent stream specified in the request. - * @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\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * A list of secrets for the parent stream specified in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\MeasurementProtocolSecret> - */ - public function getMeasurementProtocolSecrets() - { - return $this->measurement_protocol_secrets; - } - - /** - * A list of secrets for the parent stream specified in the request. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secrets = 1; - * @param \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret[] $var - * @return $this - */ - public function setMeasurementProtocolSecrets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret::class); - $this->measurement_protocol_secrets = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesRequest.php deleted file mode 100644 index e0082636c6b0..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesRequest.php +++ /dev/null @@ -1,257 +0,0 @@ -google.analytics.admin.v1beta.ListPropertiesRequest - */ -class ListPropertiesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. An expression for filtering the results of the request. - * Fields eligible for filtering are: - * `parent:`(The resource name of the parent account/property) or - * `ancestor:`(The resource name of the parent account) or - * `firebase_project:`(The id or number of the linked firebase project). - * Some examples of filters: - * ``` - * | Filter | Description | - * |-----------------------------|-------------------------------------------| - * | parent:accounts/123 | The account with account id: 123. | - * | parent:properties/123 | The property with property id: 123. | - * | ancestor:accounts/123 | The account with account id: 123. | - * | firebase_project:project-id | The firebase project with id: project-id. | - * | firebase_project:123 | The firebase project with number: 123. | - * ``` - * - * Generated from protobuf field string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $filter = ''; - /** - * 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; - */ - protected $page_size = 0; - /** - * A page token, received from a previous `ListProperties` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListProperties` must - * match the call that provided the page token. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - /** - * Whether to include soft-deleted (ie: "trashed") Properties in the - * results. Properties can be inspected to determine whether they are deleted - * or not. - * - * Generated from protobuf field bool show_deleted = 4; - */ - protected $show_deleted = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $filter - * Required. An expression for filtering the results of the request. - * Fields eligible for filtering are: - * `parent:`(The resource name of the parent account/property) or - * `ancestor:`(The resource name of the parent account) or - * `firebase_project:`(The id or number of the linked firebase project). - * Some examples of filters: - * ``` - * | Filter | Description | - * |-----------------------------|-------------------------------------------| - * | parent:accounts/123 | The account with account id: 123. | - * | parent:properties/123 | The property with property id: 123. | - * | ancestor:accounts/123 | The account with account id: 123. | - * | firebase_project:project-id | The firebase project with id: project-id. | - * | firebase_project:123 | The firebase project with number: 123. | - * ``` - * @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 `ListProperties` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListProperties` must - * match the call that provided the page token. - * @type bool $show_deleted - * Whether to include soft-deleted (ie: "trashed") Properties in the - * results. Properties can be inspected to determine whether they are deleted - * or not. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. An expression for filtering the results of the request. - * Fields eligible for filtering are: - * `parent:`(The resource name of the parent account/property) or - * `ancestor:`(The resource name of the parent account) or - * `firebase_project:`(The id or number of the linked firebase project). - * Some examples of filters: - * ``` - * | Filter | Description | - * |-----------------------------|-------------------------------------------| - * | parent:accounts/123 | The account with account id: 123. | - * | parent:properties/123 | The property with property id: 123. | - * | ancestor:accounts/123 | The account with account id: 123. | - * | firebase_project:project-id | The firebase project with id: project-id. | - * | firebase_project:123 | The firebase project with number: 123. | - * ``` - * - * Generated from protobuf field string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFilter() - { - return $this->filter; - } - - /** - * Required. An expression for filtering the results of the request. - * Fields eligible for filtering are: - * `parent:`(The resource name of the parent account/property) or - * `ancestor:`(The resource name of the parent account) or - * `firebase_project:`(The id or number of the linked firebase project). - * Some examples of filters: - * ``` - * | Filter | Description | - * |-----------------------------|-------------------------------------------| - * | parent:accounts/123 | The account with account id: 123. | - * | parent:properties/123 | The property with property id: 123. | - * | ancestor:accounts/123 | The account with account id: 123. | - * | firebase_project:project-id | The firebase project with id: project-id. | - * | firebase_project:123 | The firebase project with number: 123. | - * ``` - * - * Generated from protobuf field string filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setFilter($var) - { - GPBUtil::checkString($var, True); - $this->filter = $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 `ListProperties` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListProperties` 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 `ListProperties` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListProperties` 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; - } - - /** - * Whether to include soft-deleted (ie: "trashed") Properties in the - * results. Properties can be inspected to determine whether they are deleted - * or not. - * - * Generated from protobuf field bool show_deleted = 4; - * @return bool - */ - public function getShowDeleted() - { - return $this->show_deleted; - } - - /** - * Whether to include soft-deleted (ie: "trashed") Properties in the - * results. Properties can be inspected to determine whether they are deleted - * or not. - * - * Generated from protobuf field bool show_deleted = 4; - * @param bool $var - * @return $this - */ - public function setShowDeleted($var) - { - GPBUtil::checkBool($var); - $this->show_deleted = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesResponse.php deleted file mode 100644 index 2776057f43e4..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ListPropertiesResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1beta.ListPropertiesResponse - */ -class ListPropertiesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Results that matched the filter criteria and were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.Property properties = 1; - */ - private $properties; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\Property[] $properties - * Results that matched the filter criteria and were accessible to the caller. - * @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\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Results that matched the filter criteria and were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.Property properties = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\Property> - */ - public function getProperties() - { - return $this->properties; - } - - /** - * Results that matched the filter criteria and were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.Property properties = 1; - * @param \Google\Analytics\Admin\V1beta\Property[] $var - * @return $this - */ - public function setProperties($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\Property::class); - $this->properties = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/MeasurementProtocolSecret.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/MeasurementProtocolSecret.php deleted file mode 100644 index af43b136c587..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/MeasurementProtocolSecret.php +++ /dev/null @@ -1,151 +0,0 @@ -google.analytics.admin.v1beta.MeasurementProtocolSecret - */ -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: - * properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. Human-readable display name for this secret. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $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 - * secret's parent property. - * - * Generated from protobuf field string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $secret_value = ''; - - /** - * Constructor. - * - * @param array $data { - * 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: - * 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 - * secret's parent property. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * 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]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * 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]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. Human-readable display name for this secret. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. Human-readable display name for this secret. - * - * 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; - } - - /** - * 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]; - * @return string - */ - public function getSecretValue() - { - return $this->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 - * secret's parent property. - * - * Generated from protobuf field string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSecretValue($var) - { - GPBUtil::checkString($var, True); - $this->secret_value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/NumericValue.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/NumericValue.php deleted file mode 100644 index 0b13ac931fbb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/NumericValue.php +++ /dev/null @@ -1,108 +0,0 @@ -google.analytics.admin.v1beta.NumericValue - */ -class NumericValue extends \Google\Protobuf\Internal\Message -{ - protected $one_value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $int64_value - * Integer value - * @type float $double_value - * Double value - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AccessReport::initOnce(); - parent::__construct($data); - } - - /** - * Integer value - * - * Generated from protobuf field int64 int64_value = 1; - * @return int|string - */ - public function getInt64Value() - { - return $this->readOneof(1); - } - - public function hasInt64Value() - { - return $this->hasOneof(1); - } - - /** - * Integer value - * - * Generated from protobuf field int64 int64_value = 1; - * @param int|string $var - * @return $this - */ - public function setInt64Value($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Double value - * - * Generated from protobuf field double double_value = 2; - * @return float - */ - public function getDoubleValue() - { - return $this->readOneof(2); - } - - public function hasDoubleValue() - { - return $this->hasOneof(2); - } - - /** - * Double value - * - * Generated from protobuf field double double_value = 2; - * @param float $var - * @return $this - */ - public function setDoubleValue($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOneValue() - { - return $this->whichOneof("one_value"); - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Property.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Property.php deleted file mode 100644 index e8d5557cc9a3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/Property.php +++ /dev/null @@ -1,607 +0,0 @@ -google.analytics.admin.v1beta.Property - */ -class Property extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of this property. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $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. - * - * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $property_type = 0; - /** - * Output only. Time when the entity was originally created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Time when entity payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Immutable. Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/101" - * - * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $parent = ''; - /** - * Required. Human-readable display name for this property. - * The max allowed display name length is 100 UTF-16 code units. - * - * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Industry associated with this property - * Example: AUTOMOTIVE, FOOD_AND_DRINK - * - * Generated from protobuf field .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; - */ - protected $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. - * NOTE: Changing the time zone only affects data going forward, and is not - * applied retroactively. - * Format: https://www.iana.org/time-zones - * Example: "America/Los_Angeles" - * - * Generated from protobuf field string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $time_zone = ''; - /** - * The currency type used in reports involving monetary values. - * Format: https://en.wikipedia.org/wiki/ISO_4217 - * Examples: "USD", "EUR", "JPY" - * - * Generated from protobuf field string currency_code = 8; - */ - protected $currency_code = ''; - /** - * Output only. The Google Analytics service level that applies to this - * property. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $expire_time = null; - /** - * Immutable. The resource name of the parent account - * Format: accounts/{account_id} - * Example: "accounts/123" - * - * Generated from protobuf field string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $account = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of this property. - * 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. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when the entity was originally created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Time when entity payload fields were last updated. - * @type string $parent - * Immutable. Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/101" - * @type string $display_name - * Required. Human-readable display name for this property. - * The max allowed display name length is 100 UTF-16 code units. - * @type int $industry_category - * 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. - * NOTE: Changing the time zone only affects data going forward, and is not - * applied retroactively. - * Format: https://www.iana.org/time-zones - * Example: "America/Los_Angeles" - * @type string $currency_code - * The currency type used in reports involving monetary values. - * 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. - * @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. - * @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. - * @type string $account - * Immutable. The resource name of the parent account - * Format: accounts/{account_id} - * Example: "accounts/123" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of this property. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * 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 property. - * Format: properties/{property_id} - * Example: "properties/1000" - * - * 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 property type for this Property resource. When creating a - * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then - * "ORDINARY_PROPERTY" will be implied. - * - * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getPropertyType() - { - return $this->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. - * - * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setPropertyType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\PropertyType::class); - $this->property_type = $var; - - return $this; - } - - /** - * Output only. Time when the entity was originally 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 entity was originally 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; - } - - /** - * Output only. Time when entity payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Time when entity payload fields were last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Immutable. Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/101" - * - * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Immutable. Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/101" - * - * Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. Human-readable display name for this property. - * The max allowed display name length is 100 UTF-16 code units. - * - * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. Human-readable display name for this property. - * The max allowed display name length is 100 UTF-16 code units. - * - * Generated from protobuf field string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Industry associated with this property - * Example: AUTOMOTIVE, FOOD_AND_DRINK - * - * Generated from protobuf field .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; - * @return int - */ - public function getIndustryCategory() - { - return $this->industry_category; - } - - /** - * Industry associated with this property - * Example: AUTOMOTIVE, FOOD_AND_DRINK - * - * Generated from protobuf field .google.analytics.admin.v1beta.IndustryCategory industry_category = 6; - * @param int $var - * @return $this - */ - public function setIndustryCategory($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\IndustryCategory::class); - $this->industry_category = $var; - - return $this; - } - - /** - * 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 - * Example: "America/Los_Angeles" - * - * Generated from protobuf field string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getTimeZone() - { - return $this->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. - * NOTE: Changing the time zone only affects data going forward, and is not - * applied retroactively. - * Format: https://www.iana.org/time-zones - * Example: "America/Los_Angeles" - * - * Generated from protobuf field string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setTimeZone($var) - { - GPBUtil::checkString($var, True); - $this->time_zone = $var; - - return $this; - } - - /** - * The currency type used in reports involving monetary values. - * Format: https://en.wikipedia.org/wiki/ISO_4217 - * Examples: "USD", "EUR", "JPY" - * - * Generated from protobuf field string currency_code = 8; - * @return string - */ - public function getCurrencyCode() - { - return $this->currency_code; - } - - /** - * The currency type used in reports involving monetary values. - * Format: https://en.wikipedia.org/wiki/ISO_4217 - * Examples: "USD", "EUR", "JPY" - * - * Generated from protobuf field string currency_code = 8; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - - /** - * Output only. The Google Analytics service level that applies to this - * property. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getServiceLevel() - { - return $this->service_level; - } - - /** - * Output only. The Google Analytics service level that applies to this - * property. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setServiceLevel($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\ServiceLevel::class); - $this->service_level = $var; - - return $this; - } - - /** - * 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 - */ - public function getDeleteTime() - { - return $this->delete_time; - } - - public function hasDeleteTime() - { - return isset($this->delete_time); - } - - public function clearDeleteTime() - { - unset($this->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. - * - * Generated from protobuf field .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setDeleteTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->delete_time = $var; - - return $this; - } - - /** - * 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 - */ - public function getExpireTime() - { - return $this->expire_time; - } - - public function hasExpireTime() - { - return isset($this->expire_time); - } - - public function clearExpireTime() - { - unset($this->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. - * - * Generated from protobuf field .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setExpireTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->expire_time = $var; - - return $this; - } - - /** - * Immutable. The resource name of the parent account - * Format: accounts/{account_id} - * Example: "accounts/123" - * - * Generated from protobuf field string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAccount() - { - return $this->account; - } - - /** - * Immutable. The resource name of the parent account - * Format: accounts/{account_id} - * Example: "accounts/123" - * - * Generated from protobuf field string account = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAccount($var) - { - GPBUtil::checkString($var, True); - $this->account = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertySummary.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertySummary.php deleted file mode 100644 index 04a7217b548b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertySummary.php +++ /dev/null @@ -1,189 +0,0 @@ -google.analytics.admin.v1beta.PropertySummary - */ -class PropertySummary extends \Google\Protobuf\Internal\Message -{ - /** - * Resource name of property referred to by this property summary - * Format: properties/{property_id} - * Example: "properties/1000" - * - * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { - */ - protected $property = ''; - /** - * Display name for the property referred to in this property summary. - * - * Generated from protobuf field string display_name = 2; - */ - protected $display_name = ''; - /** - * The property's property type. - * - * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 3; - */ - protected $property_type = 0; - /** - * Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/200" - * - * Generated from protobuf field string parent = 4; - */ - protected $parent = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $property - * Resource name of property referred to by this property summary - * Format: properties/{property_id} - * Example: "properties/1000" - * @type string $display_name - * Display name for the property referred to in this property summary. - * @type int $property_type - * The property's property type. - * @type string $parent - * Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/200" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Resource name of property referred to by this property summary - * Format: properties/{property_id} - * Example: "properties/1000" - * - * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getProperty() - { - return $this->property; - } - - /** - * Resource name of property referred to by this property summary - * Format: properties/{property_id} - * Example: "properties/1000" - * - * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkString($var, True); - $this->property = $var; - - return $this; - } - - /** - * Display name for the property referred to in this property summary. - * - * Generated from protobuf field string display_name = 2; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Display name for the property referred to in this property summary. - * - * Generated from protobuf field string display_name = 2; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * The property's property type. - * - * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 3; - * @return int - */ - public function getPropertyType() - { - return $this->property_type; - } - - /** - * The property's property type. - * - * Generated from protobuf field .google.analytics.admin.v1beta.PropertyType property_type = 3; - * @param int $var - * @return $this - */ - public function setPropertyType($var) - { - GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1beta\PropertyType::class); - $this->property_type = $var; - - return $this; - } - - /** - * Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/200" - * - * Generated from protobuf field string parent = 4; - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Resource name of this property's logical parent. - * Note: The Property-Moving UI can be used to change the parent. - * Format: accounts/{account}, properties/{property} - * Example: "accounts/100", "properties/200" - * - * Generated from protobuf field string parent = 4; - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertyType.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertyType.php deleted file mode 100644 index a4b3b25ad091..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/PropertyType.php +++ /dev/null @@ -1,68 +0,0 @@ -google.analytics.admin.v1beta.PropertyType - */ -class PropertyType -{ - /** - * Unknown or unspecified property type - * - * Generated from protobuf enum PROPERTY_TYPE_UNSPECIFIED = 0; - */ - const PROPERTY_TYPE_UNSPECIFIED = 0; - /** - * Ordinary Google Analytics property - * - * Generated from protobuf enum PROPERTY_TYPE_ORDINARY = 1; - */ - const PROPERTY_TYPE_ORDINARY = 1; - /** - * Google Analytics subproperty - * - * Generated from protobuf enum PROPERTY_TYPE_SUBPROPERTY = 2; - */ - const PROPERTY_TYPE_SUBPROPERTY = 2; - /** - * Google Analytics rollup property - * - * Generated from protobuf enum PROPERTY_TYPE_ROLLUP = 3; - */ - const PROPERTY_TYPE_ROLLUP = 3; - - private static $valueToName = [ - self::PROPERTY_TYPE_UNSPECIFIED => 'PROPERTY_TYPE_UNSPECIFIED', - self::PROPERTY_TYPE_ORDINARY => 'PROPERTY_TYPE_ORDINARY', - self::PROPERTY_TYPE_SUBPROPERTY => 'PROPERTY_TYPE_SUBPROPERTY', - self::PROPERTY_TYPE_ROLLUP => 'PROPERTY_TYPE_ROLLUP', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketRequest.php deleted file mode 100644 index 8b28b94926d4..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketRequest.php +++ /dev/null @@ -1,115 +0,0 @@ -google.analytics.admin.v1beta.ProvisionAccountTicketRequest - */ -class ProvisionAccountTicketRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The account to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1; - */ - protected $account = null; - /** - * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Cloud Console as a Redirect URI. - * - * Generated from protobuf field string redirect_uri = 2; - */ - protected $redirect_uri = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\Account $account - * The account to create. - * @type string $redirect_uri - * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Cloud Console as a Redirect URI. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The account to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1; - * @return \Google\Analytics\Admin\V1beta\Account|null - */ - public function getAccount() - { - return $this->account; - } - - public function hasAccount() - { - return isset($this->account); - } - - public function clearAccount() - { - unset($this->account); - } - - /** - * The account to create. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1; - * @param \Google\Analytics\Admin\V1beta\Account $var - * @return $this - */ - public function setAccount($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\Account::class); - $this->account = $var; - - return $this; - } - - /** - * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Cloud Console as a Redirect URI. - * - * Generated from protobuf field string redirect_uri = 2; - * @return string - */ - public function getRedirectUri() - { - return $this->redirect_uri; - } - - /** - * Redirect URI where the user will be sent after accepting Terms of Service. - * Must be configured in Cloud Console as a Redirect URI. - * - * Generated from protobuf field string redirect_uri = 2; - * @param string $var - * @return $this - */ - public function setRedirectUri($var) - { - GPBUtil::checkString($var, True); - $this->redirect_uri = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketResponse.php deleted file mode 100644 index 653503bc4fcb..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ProvisionAccountTicketResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.analytics.admin.v1beta.ProvisionAccountTicketResponse - */ -class ProvisionAccountTicketResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The param to be passed in the ToS link. - * - * Generated from protobuf field string account_ticket_id = 1; - */ - protected $account_ticket_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $account_ticket_id - * The param to be passed in the ToS link. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The param to be passed in the ToS link. - * - * Generated from protobuf field string account_ticket_id = 1; - * @return string - */ - public function getAccountTicketId() - { - return $this->account_ticket_id; - } - - /** - * The param to be passed in the ToS link. - * - * Generated from protobuf field string account_ticket_id = 1; - * @param string $var - * @return $this - */ - public function setAccountTicketId($var) - { - GPBUtil::checkString($var, True); - $this->account_ticket_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportRequest.php deleted file mode 100644 index 0e513425e848..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportRequest.php +++ /dev/null @@ -1,679 +0,0 @@ -google.analytics.admin.v1beta.RunAccessReportRequest - */ -class RunAccessReportRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The Data Access Report supports requesting at the property level or account - * level. If requested at the account level, Data Access Reports include all - * access for all properties under that account. - * To request at the property level, entity should be for example - * 'properties/123' if "123" is your Google Analytics property ID. To request - * at the account level, entity should be for example 'accounts/1234' if - * "1234" is your Google Analytics Account ID. - * - * Generated from protobuf field string entity = 1; - */ - protected $entity = ''; - /** - * The dimensions requested and displayed in the response. Requests are - * allowed up to 9 dimensions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimension dimensions = 2; - */ - private $dimensions; - /** - * The metrics requested and displayed in the response. Requests are allowed - * up to 10 metrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3; - */ - private $metrics; - /** - * Date ranges of access records to read. If multiple date ranges are - * requested, each response row will contain a zero based date range index. If - * two date ranges overlap, the access records for the overlapping days is - * included in the response rows for both date ranges. Requests are allowed up - * to 2 date ranges. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDateRange date_ranges = 4; - */ - private $date_ranges; - /** - * Dimension filters let you restrict report response to specific - * dimension values which match the filter. For example, filtering on access - * records of a single user. To learn more, see [Fundamentals of Dimension - * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) - * for examples. Metrics cannot be used in this filter. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5; - */ - protected $dimension_filter = null; - /** - * Metric filters allow you to restrict report response to specific metric - * values which match the filter. Metric filters are applied after aggregating - * the report's rows, similar to SQL having-clause. Dimensions cannot be used - * in this filter. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6; - */ - protected $metric_filter = null; - /** - * The row count of the start row. The first row is counted as row 0. If - * offset is unspecified, it is treated as 0. If offset is zero, then this - * method will return the first page of results with `limit` entries. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int64 offset = 7; - */ - protected $offset = 0; - /** - * The number of rows to return. If unspecified, 10,000 rows are returned. The - * API returns a maximum of 100,000 rows per request, no matter how many you - * ask for. `limit` must be positive. - * The API may return fewer rows than the requested `limit`, if there aren't - * as many remaining rows as the `limit`. For instance, there are fewer than - * 300 possible values for the dimension `country`, so when reporting on only - * `country`, you can't get more than 300 rows, even if you set `limit` to a - * higher value. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int64 limit = 8; - */ - protected $limit = 0; - /** - * This request's time zone if specified. If unspecified, the property's time - * zone is used. The request's time zone is used to interpret the start & end - * dates of the report. - * Formatted as strings from the IANA Time Zone database - * (https://www.iana.org/time-zones); for example "America/New_York" or - * "Asia/Tokyo". - * - * Generated from protobuf field string time_zone = 9; - */ - protected $time_zone = ''; - /** - * Specifies how rows are ordered in the response. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessOrderBy order_bys = 10; - */ - private $order_bys; - /** - * Toggles whether to return the current state of this Analytics Property's - * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level - * requests, this field must be false. - * - * Generated from protobuf field bool return_entity_quota = 11; - */ - protected $return_entity_quota = false; - /** - * Optional. Determines whether to include users who have never made an API - * call in the response. If true, all users with access to the specified - * property or account are included in the response, regardless of whether - * they have made an API call or not. If false, only the users who have made - * an API call will be included. - * - * Generated from protobuf field bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $include_all_users = false; - /** - * Optional. Decides whether to return the users within user groups. This - * field works only when include_all_users is set to true. If true, it will - * return all users with access to the specified property or account. - * If false, only the users with direct access will be returned. - * - * Generated from protobuf field bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $expand_groups = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $entity - * The Data Access Report supports requesting at the property level or account - * level. If requested at the account level, Data Access Reports include all - * access for all properties under that account. - * To request at the property level, entity should be for example - * 'properties/123' if "123" is your Google Analytics property ID. To request - * at the account level, entity should be for example 'accounts/1234' if - * "1234" is your Google Analytics Account ID. - * @type \Google\Analytics\Admin\V1beta\AccessDimension[] $dimensions - * The dimensions requested and displayed in the response. Requests are - * allowed up to 9 dimensions. - * @type \Google\Analytics\Admin\V1beta\AccessMetric[] $metrics - * The metrics requested and displayed in the response. Requests are allowed - * up to 10 metrics. - * @type \Google\Analytics\Admin\V1beta\AccessDateRange[] $date_ranges - * Date ranges of access records to read. If multiple date ranges are - * requested, each response row will contain a zero based date range index. If - * two date ranges overlap, the access records for the overlapping days is - * included in the response rows for both date ranges. Requests are allowed up - * to 2 date ranges. - * @type \Google\Analytics\Admin\V1beta\AccessFilterExpression $dimension_filter - * Dimension filters let you restrict report response to specific - * dimension values which match the filter. For example, filtering on access - * records of a single user. To learn more, see [Fundamentals of Dimension - * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) - * for examples. Metrics cannot be used in this filter. - * @type \Google\Analytics\Admin\V1beta\AccessFilterExpression $metric_filter - * Metric filters allow you to restrict report response to specific metric - * values which match the filter. Metric filters are applied after aggregating - * the report's rows, similar to SQL having-clause. Dimensions cannot be used - * in this filter. - * @type int|string $offset - * The row count of the start row. The first row is counted as row 0. If - * offset is unspecified, it is treated as 0. If offset is zero, then this - * method will return the first page of results with `limit` entries. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * @type int|string $limit - * The number of rows to return. If unspecified, 10,000 rows are returned. The - * API returns a maximum of 100,000 rows per request, no matter how many you - * ask for. `limit` must be positive. - * The API may return fewer rows than the requested `limit`, if there aren't - * as many remaining rows as the `limit`. For instance, there are fewer than - * 300 possible values for the dimension `country`, so when reporting on only - * `country`, you can't get more than 300 rows, even if you set `limit` to a - * higher value. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * @type string $time_zone - * This request's time zone if specified. If unspecified, the property's time - * zone is used. The request's time zone is used to interpret the start & end - * dates of the report. - * Formatted as strings from the IANA Time Zone database - * (https://www.iana.org/time-zones); for example "America/New_York" or - * "Asia/Tokyo". - * @type \Google\Analytics\Admin\V1beta\AccessOrderBy[] $order_bys - * Specifies how rows are ordered in the response. - * @type bool $return_entity_quota - * Toggles whether to return the current state of this Analytics Property's - * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level - * requests, this field must be false. - * @type bool $include_all_users - * Optional. Determines whether to include users who have never made an API - * call in the response. If true, all users with access to the specified - * property or account are included in the response, regardless of whether - * they have made an API call or not. If false, only the users who have made - * an API call will be included. - * @type bool $expand_groups - * Optional. Decides whether to return the users within user groups. This - * field works only when include_all_users is set to true. If true, it will - * return all users with access to the specified property or account. - * If false, only the users with direct access will be returned. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The Data Access Report supports requesting at the property level or account - * level. If requested at the account level, Data Access Reports include all - * access for all properties under that account. - * To request at the property level, entity should be for example - * 'properties/123' if "123" is your Google Analytics property ID. To request - * at the account level, entity should be for example 'accounts/1234' if - * "1234" is your Google Analytics Account ID. - * - * Generated from protobuf field string entity = 1; - * @return string - */ - public function getEntity() - { - return $this->entity; - } - - /** - * The Data Access Report supports requesting at the property level or account - * level. If requested at the account level, Data Access Reports include all - * access for all properties under that account. - * To request at the property level, entity should be for example - * 'properties/123' if "123" is your Google Analytics property ID. To request - * at the account level, entity should be for example 'accounts/1234' if - * "1234" is your Google Analytics Account ID. - * - * Generated from protobuf field string entity = 1; - * @param string $var - * @return $this - */ - public function setEntity($var) - { - GPBUtil::checkString($var, True); - $this->entity = $var; - - return $this; - } - - /** - * The dimensions requested and displayed in the response. Requests are - * allowed up to 9 dimensions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimension dimensions = 2; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessDimension> - */ - public function getDimensions() - { - return $this->dimensions; - } - - /** - * The dimensions requested and displayed in the response. Requests are - * allowed up to 9 dimensions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimension dimensions = 2; - * @param \Google\Analytics\Admin\V1beta\AccessDimension[] $var - * @return $this - */ - public function setDimensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessDimension::class); - $this->dimensions = $arr; - - return $this; - } - - /** - * The metrics requested and displayed in the response. Requests are allowed - * up to 10 metrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessMetric> - */ - public function getMetrics() - { - return $this->metrics; - } - - /** - * The metrics requested and displayed in the response. Requests are allowed - * up to 10 metrics. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3; - * @param \Google\Analytics\Admin\V1beta\AccessMetric[] $var - * @return $this - */ - public function setMetrics($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessMetric::class); - $this->metrics = $arr; - - return $this; - } - - /** - * Date ranges of access records to read. If multiple date ranges are - * requested, each response row will contain a zero based date range index. If - * two date ranges overlap, the access records for the overlapping days is - * included in the response rows for both date ranges. Requests are allowed up - * to 2 date ranges. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDateRange date_ranges = 4; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessDateRange> - */ - public function getDateRanges() - { - return $this->date_ranges; - } - - /** - * Date ranges of access records to read. If multiple date ranges are - * requested, each response row will contain a zero based date range index. If - * two date ranges overlap, the access records for the overlapping days is - * included in the response rows for both date ranges. Requests are allowed up - * to 2 date ranges. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDateRange date_ranges = 4; - * @param \Google\Analytics\Admin\V1beta\AccessDateRange[] $var - * @return $this - */ - public function setDateRanges($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessDateRange::class); - $this->date_ranges = $arr; - - return $this; - } - - /** - * Dimension filters let you restrict report response to specific - * dimension values which match the filter. For example, filtering on access - * records of a single user. To learn more, see [Fundamentals of Dimension - * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) - * for examples. Metrics cannot be used in this filter. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5; - * @return \Google\Analytics\Admin\V1beta\AccessFilterExpression|null - */ - public function getDimensionFilter() - { - return $this->dimension_filter; - } - - public function hasDimensionFilter() - { - return isset($this->dimension_filter); - } - - public function clearDimensionFilter() - { - unset($this->dimension_filter); - } - - /** - * Dimension filters let you restrict report response to specific - * dimension values which match the filter. For example, filtering on access - * records of a single user. To learn more, see [Fundamentals of Dimension - * Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) - * for examples. Metrics cannot be used in this filter. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5; - * @param \Google\Analytics\Admin\V1beta\AccessFilterExpression $var - * @return $this - */ - public function setDimensionFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessFilterExpression::class); - $this->dimension_filter = $var; - - return $this; - } - - /** - * Metric filters allow you to restrict report response to specific metric - * values which match the filter. Metric filters are applied after aggregating - * the report's rows, similar to SQL having-clause. Dimensions cannot be used - * in this filter. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6; - * @return \Google\Analytics\Admin\V1beta\AccessFilterExpression|null - */ - public function getMetricFilter() - { - return $this->metric_filter; - } - - public function hasMetricFilter() - { - return isset($this->metric_filter); - } - - public function clearMetricFilter() - { - unset($this->metric_filter); - } - - /** - * Metric filters allow you to restrict report response to specific metric - * values which match the filter. Metric filters are applied after aggregating - * the report's rows, similar to SQL having-clause. Dimensions cannot be used - * in this filter. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6; - * @param \Google\Analytics\Admin\V1beta\AccessFilterExpression $var - * @return $this - */ - public function setMetricFilter($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessFilterExpression::class); - $this->metric_filter = $var; - - return $this; - } - - /** - * The row count of the start row. The first row is counted as row 0. If - * offset is unspecified, it is treated as 0. If offset is zero, then this - * method will return the first page of results with `limit` entries. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int64 offset = 7; - * @return int|string - */ - public function getOffset() - { - return $this->offset; - } - - /** - * The row count of the start row. The first row is counted as row 0. If - * offset is unspecified, it is treated as 0. If offset is zero, then this - * method will return the first page of results with `limit` entries. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int64 offset = 7; - * @param int|string $var - * @return $this - */ - public function setOffset($var) - { - GPBUtil::checkInt64($var); - $this->offset = $var; - - return $this; - } - - /** - * The number of rows to return. If unspecified, 10,000 rows are returned. The - * API returns a maximum of 100,000 rows per request, no matter how many you - * ask for. `limit` must be positive. - * The API may return fewer rows than the requested `limit`, if there aren't - * as many remaining rows as the `limit`. For instance, there are fewer than - * 300 possible values for the dimension `country`, so when reporting on only - * `country`, you can't get more than 300 rows, even if you set `limit` to a - * higher value. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int64 limit = 8; - * @return int|string - */ - public function getLimit() - { - return $this->limit; - } - - /** - * The number of rows to return. If unspecified, 10,000 rows are returned. The - * API returns a maximum of 100,000 rows per request, no matter how many you - * ask for. `limit` must be positive. - * The API may return fewer rows than the requested `limit`, if there aren't - * as many remaining rows as the `limit`. For instance, there are fewer than - * 300 possible values for the dimension `country`, so when reporting on only - * `country`, you can't get more than 300 rows, even if you set `limit` to a - * higher value. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int64 limit = 8; - * @param int|string $var - * @return $this - */ - public function setLimit($var) - { - GPBUtil::checkInt64($var); - $this->limit = $var; - - return $this; - } - - /** - * This request's time zone if specified. If unspecified, the property's time - * zone is used. The request's time zone is used to interpret the start & end - * dates of the report. - * Formatted as strings from the IANA Time Zone database - * (https://www.iana.org/time-zones); for example "America/New_York" or - * "Asia/Tokyo". - * - * Generated from protobuf field string time_zone = 9; - * @return string - */ - public function getTimeZone() - { - return $this->time_zone; - } - - /** - * This request's time zone if specified. If unspecified, the property's time - * zone is used. The request's time zone is used to interpret the start & end - * dates of the report. - * Formatted as strings from the IANA Time Zone database - * (https://www.iana.org/time-zones); for example "America/New_York" or - * "Asia/Tokyo". - * - * Generated from protobuf field string time_zone = 9; - * @param string $var - * @return $this - */ - public function setTimeZone($var) - { - GPBUtil::checkString($var, True); - $this->time_zone = $var; - - return $this; - } - - /** - * Specifies how rows are ordered in the response. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessOrderBy order_bys = 10; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessOrderBy> - */ - public function getOrderBys() - { - return $this->order_bys; - } - - /** - * Specifies how rows are ordered in the response. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessOrderBy order_bys = 10; - * @param \Google\Analytics\Admin\V1beta\AccessOrderBy[] $var - * @return $this - */ - public function setOrderBys($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessOrderBy::class); - $this->order_bys = $arr; - - return $this; - } - - /** - * Toggles whether to return the current state of this Analytics Property's - * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level - * requests, this field must be false. - * - * Generated from protobuf field bool return_entity_quota = 11; - * @return bool - */ - public function getReturnEntityQuota() - { - return $this->return_entity_quota; - } - - /** - * Toggles whether to return the current state of this Analytics Property's - * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level - * requests, this field must be false. - * - * Generated from protobuf field bool return_entity_quota = 11; - * @param bool $var - * @return $this - */ - public function setReturnEntityQuota($var) - { - GPBUtil::checkBool($var); - $this->return_entity_quota = $var; - - return $this; - } - - /** - * Optional. Determines whether to include users who have never made an API - * call in the response. If true, all users with access to the specified - * property or account are included in the response, regardless of whether - * they have made an API call or not. If false, only the users who have made - * an API call will be included. - * - * Generated from protobuf field bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getIncludeAllUsers() - { - return $this->include_all_users; - } - - /** - * Optional. Determines whether to include users who have never made an API - * call in the response. If true, all users with access to the specified - * property or account are included in the response, regardless of whether - * they have made an API call or not. If false, only the users who have made - * an API call will be included. - * - * Generated from protobuf field bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setIncludeAllUsers($var) - { - GPBUtil::checkBool($var); - $this->include_all_users = $var; - - return $this; - } - - /** - * Optional. Decides whether to return the users within user groups. This - * field works only when include_all_users is set to true. If true, it will - * return all users with access to the specified property or account. - * If false, only the users with direct access will be returned. - * - * Generated from protobuf field bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getExpandGroups() - { - return $this->expand_groups; - } - - /** - * Optional. Decides whether to return the users within user groups. This - * field works only when include_all_users is set to true. If true, it will - * return all users with access to the specified property or account. - * If false, only the users with direct access will be returned. - * - * Generated from protobuf field bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setExpandGroups($var) - { - GPBUtil::checkBool($var); - $this->expand_groups = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportResponse.php deleted file mode 100644 index 0024324f94be..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/RunAccessReportResponse.php +++ /dev/null @@ -1,257 +0,0 @@ -google.analytics.admin.v1beta.RunAccessReportResponse - */ -class RunAccessReportResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The header for a column in the report that corresponds to a specific - * dimension. The number of DimensionHeaders and ordering of DimensionHeaders - * matches the dimensions present in rows. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; - */ - private $dimension_headers; - /** - * The header for a column in the report that corresponds to a specific - * metric. The number of MetricHeaders and ordering of MetricHeaders matches - * the metrics present in rows. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetricHeader metric_headers = 2; - */ - private $metric_headers; - /** - * Rows of dimension value combinations and metric values in the report. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessRow rows = 3; - */ - private $rows; - /** - * The total number of rows in the query result. `rowCount` is independent of - * the number of rows returned in the response, the `limit` request - * parameter, and the `offset` request parameter. For example if a query - * returns 175 rows and includes `limit` of 50 in the API request, the - * response will contain `rowCount` of 175 but only 50 rows. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int32 row_count = 4; - */ - protected $row_count = 0; - /** - * The quota state for this Analytics property including this request. This - * field doesn't work with account-level requests. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuota quota = 5; - */ - protected $quota = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\AccessDimensionHeader[] $dimension_headers - * The header for a column in the report that corresponds to a specific - * dimension. The number of DimensionHeaders and ordering of DimensionHeaders - * matches the dimensions present in rows. - * @type \Google\Analytics\Admin\V1beta\AccessMetricHeader[] $metric_headers - * The header for a column in the report that corresponds to a specific - * metric. The number of MetricHeaders and ordering of MetricHeaders matches - * the metrics present in rows. - * @type \Google\Analytics\Admin\V1beta\AccessRow[] $rows - * Rows of dimension value combinations and metric values in the report. - * @type int $row_count - * The total number of rows in the query result. `rowCount` is independent of - * the number of rows returned in the response, the `limit` request - * parameter, and the `offset` request parameter. For example if a query - * returns 175 rows and includes `limit` of 50 in the API request, the - * response will contain `rowCount` of 175 but only 50 rows. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * @type \Google\Analytics\Admin\V1beta\AccessQuota $quota - * The quota state for this Analytics property including this request. This - * field doesn't work with account-level requests. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The header for a column in the report that corresponds to a specific - * dimension. The number of DimensionHeaders and ordering of DimensionHeaders - * matches the dimensions present in rows. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessDimensionHeader> - */ - public function getDimensionHeaders() - { - return $this->dimension_headers; - } - - /** - * The header for a column in the report that corresponds to a specific - * dimension. The number of DimensionHeaders and ordering of DimensionHeaders - * matches the dimensions present in rows. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; - * @param \Google\Analytics\Admin\V1beta\AccessDimensionHeader[] $var - * @return $this - */ - public function setDimensionHeaders($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessDimensionHeader::class); - $this->dimension_headers = $arr; - - return $this; - } - - /** - * The header for a column in the report that corresponds to a specific - * metric. The number of MetricHeaders and ordering of MetricHeaders matches - * the metrics present in rows. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetricHeader metric_headers = 2; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessMetricHeader> - */ - public function getMetricHeaders() - { - return $this->metric_headers; - } - - /** - * The header for a column in the report that corresponds to a specific - * metric. The number of MetricHeaders and ordering of MetricHeaders matches - * the metrics present in rows. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessMetricHeader metric_headers = 2; - * @param \Google\Analytics\Admin\V1beta\AccessMetricHeader[] $var - * @return $this - */ - public function setMetricHeaders($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessMetricHeader::class); - $this->metric_headers = $arr; - - return $this; - } - - /** - * Rows of dimension value combinations and metric values in the report. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessRow rows = 3; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\AccessRow> - */ - public function getRows() - { - return $this->rows; - } - - /** - * Rows of dimension value combinations and metric values in the report. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.AccessRow rows = 3; - * @param \Google\Analytics\Admin\V1beta\AccessRow[] $var - * @return $this - */ - public function setRows($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\AccessRow::class); - $this->rows = $arr; - - return $this; - } - - /** - * The total number of rows in the query result. `rowCount` is independent of - * the number of rows returned in the response, the `limit` request - * parameter, and the `offset` request parameter. For example if a query - * returns 175 rows and includes `limit` of 50 in the API request, the - * response will contain `rowCount` of 175 but only 50 rows. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int32 row_count = 4; - * @return int - */ - public function getRowCount() - { - return $this->row_count; - } - - /** - * The total number of rows in the query result. `rowCount` is independent of - * the number of rows returned in the response, the `limit` request - * parameter, and the `offset` request parameter. For example if a query - * returns 175 rows and includes `limit` of 50 in the API request, the - * response will contain `rowCount` of 175 but only 50 rows. - * To learn more about this pagination parameter, see - * [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - * - * Generated from protobuf field int32 row_count = 4; - * @param int $var - * @return $this - */ - public function setRowCount($var) - { - GPBUtil::checkInt32($var); - $this->row_count = $var; - - return $this; - } - - /** - * The quota state for this Analytics property including this request. This - * field doesn't work with account-level requests. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuota quota = 5; - * @return \Google\Analytics\Admin\V1beta\AccessQuota|null - */ - public function getQuota() - { - return $this->quota; - } - - public function hasQuota() - { - return isset($this->quota); - } - - public function clearQuota() - { - unset($this->quota); - } - - /** - * The quota state for this Analytics property including this request. This - * field doesn't work with account-level requests. - * - * Generated from protobuf field .google.analytics.admin.v1beta.AccessQuota quota = 5; - * @param \Google\Analytics\Admin\V1beta\AccessQuota $var - * @return $this - */ - public function setQuota($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\AccessQuota::class); - $this->quota = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsRequest.php deleted file mode 100644 index b1c6a3c05bdf..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsRequest.php +++ /dev/null @@ -1,435 +0,0 @@ -google.analytics.admin.v1beta.SearchChangeHistoryEventsRequest - */ -class SearchChangeHistoryEventsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The account resource for which to return change history - * resources. Format: accounts/{account} - * Example: `accounts/100` - * - * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $account = ''; - /** - * Optional. Resource name for a child property. If set, only return changes - * made to this property or its child resources. - * Format: properties/{propertyId} - * Example: `properties/100` - * - * Generated from protobuf field string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - */ - protected $property = ''; - /** - * 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.v1beta.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. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.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. - * - * Generated from protobuf field repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $actor_email; - /** - * Optional. If set, only return changes made after this time (inclusive). - * - * Generated from protobuf field .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $earliest_change_time = null; - /** - * Optional. If set, only return changes made before this time (inclusive). - * - * Generated from protobuf field .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $latest_change_time = null; - /** - * Optional. The maximum number of ChangeHistoryEvent items to return. - * If unspecified, at most 50 items will be returned. The maximum value is 200 - * (higher values will be coerced to the maximum). - * Note that the service may return a page with fewer items than this value - * specifies (potentially even zero), and that there still may be additional - * pages. If you want a particular number of items, you'll need to continue - * requesting additional pages using `page_token` until you get the needed - * number. - * - * Generated from protobuf field int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $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. - * - * Generated from protobuf field string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $account - * Required. The account resource for which to return change history - * resources. Format: accounts/{account} - * Example: `accounts/100` - * @type string $property - * Optional. Resource name for a child property. If set, only return changes - * made to this property or its child resources. - * Format: properties/{propertyId} - * Example: `properties/100` - * @type int[] $resource_type - * Optional. If set, only return changes if they are for a resource that - * matches at least one of these types. - * @type int[] $action - * Optional. If set, only return changes that match one or more of these types - * of actions. - * @type string[] $actor_email - * 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 - * Optional. If set, only return changes made before this time (inclusive). - * @type int $page_size - * Optional. The maximum number of ChangeHistoryEvent items to return. - * If unspecified, at most 50 items will be returned. The maximum value is 200 - * (higher values will be coerced to the maximum). - * Note that the service may return a page with fewer items than this value - * specifies (potentially even zero), and that there still may be additional - * pages. If you want a particular number of items, you'll need to continue - * requesting additional pages using `page_token` until you get the needed - * number. - * @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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The account resource for which to return change history - * resources. Format: accounts/{account} - * Example: `accounts/100` - * - * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getAccount() - { - return $this->account; - } - - /** - * Required. The account resource for which to return change history - * resources. Format: accounts/{account} - * Example: `accounts/100` - * - * Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAccount($var) - { - GPBUtil::checkString($var, True); - $this->account = $var; - - return $this; - } - - /** - * Optional. Resource name for a child property. If set, only return changes - * made to this property or its child resources. - * Format: properties/{propertyId} - * Example: `properties/100` - * - * Generated from protobuf field string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @return string - */ - public function getProperty() - { - return $this->property; - } - - /** - * Optional. Resource name for a child property. If set, only return changes - * made to this property or its child resources. - * Format: properties/{propertyId} - * Example: `properties/100` - * - * Generated from protobuf field string property = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkString($var, True); - $this->property = $var; - - return $this; - } - - /** - * 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.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return RepeatedField - */ - public function getResourceType() - { - return $this->resource_type; - } - - /** - * 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.v1beta.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param int[] $var - * @return $this - */ - public function setResourceType($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Analytics\Admin\V1beta\ChangeHistoryResourceType::class); - $this->resource_type = $arr; - - return $this; - } - - /** - * Optional. If set, only return changes that match one or more of these types - * of actions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return RepeatedField - */ - public function getAction() - { - return $this->action; - } - - /** - * Optional. If set, only return changes that match one or more of these types - * of actions. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param int[] $var - * @return $this - */ - public function setAction($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Analytics\Admin\V1beta\ActionType::class); - $this->action = $arr; - - return $this; - } - - /** - * 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 RepeatedField - */ - public function getActorEmail() - { - return $this->actor_email; - } - - /** - * 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 string[] $var - * @return $this - */ - public function setActorEmail($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->actor_email = $arr; - - return $this; - } - - /** - * Optional. If set, only return changes made after this time (inclusive). - * - * Generated from protobuf field .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getEarliestChangeTime() - { - return $this->earliest_change_time; - } - - public function hasEarliestChangeTime() - { - return isset($this->earliest_change_time); - } - - public function clearEarliestChangeTime() - { - unset($this->earliest_change_time); - } - - /** - * Optional. If set, only return changes made after this time (inclusive). - * - * Generated from protobuf field .google.protobuf.Timestamp earliest_change_time = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setEarliestChangeTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->earliest_change_time = $var; - - return $this; - } - - /** - * Optional. If set, only return changes made before this time (inclusive). - * - * Generated from protobuf field .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getLatestChangeTime() - { - return $this->latest_change_time; - } - - public function hasLatestChangeTime() - { - return isset($this->latest_change_time); - } - - public function clearLatestChangeTime() - { - unset($this->latest_change_time); - } - - /** - * Optional. If set, only return changes made before this time (inclusive). - * - * Generated from protobuf field .google.protobuf.Timestamp latest_change_time = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setLatestChangeTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->latest_change_time = $var; - - return $this; - } - - /** - * Optional. The maximum number of ChangeHistoryEvent items to return. - * If unspecified, at most 50 items will be returned. The maximum value is 200 - * (higher values will be coerced to the maximum). - * Note that the service may return a page with fewer items than this value - * specifies (potentially even zero), and that there still may be additional - * pages. If you want a particular number of items, you'll need to continue - * requesting additional pages using `page_token` until you get the needed - * number. - * - * Generated from protobuf field int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Optional. The maximum number of ChangeHistoryEvent items to return. - * If unspecified, at most 50 items will be returned. The maximum value is 200 - * (higher values will be coerced to the maximum). - * Note that the service may return a page with fewer items than this value - * specifies (potentially even zero), and that there still may be additional - * pages. If you want a particular number of items, you'll need to continue - * requesting additional pages using `page_token` until you get the needed - * number. - * - * Generated from protobuf field int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * 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 - */ - public function getPageToken() - { - return $this->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 - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsResponse.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsResponse.php deleted file mode 100644 index bd403fc7dd78..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/SearchChangeHistoryEventsResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.analytics.admin.v1beta.SearchChangeHistoryEventsResponse - */ -class SearchChangeHistoryEventsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Results that were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - */ - private $change_history_events; - /** - * 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; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\ChangeHistoryEvent[] $change_history_events - * Results that were accessible to the caller. - * @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\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Results that were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * @return RepeatedField<\Google\Analytics\Admin\V1beta\ChangeHistoryEvent> - */ - public function getChangeHistoryEvents() - { - return $this->change_history_events; - } - - /** - * Results that were accessible to the caller. - * - * Generated from protobuf field repeated .google.analytics.admin.v1beta.ChangeHistoryEvent change_history_events = 1; - * @param \Google\Analytics\Admin\V1beta\ChangeHistoryEvent[] $var - * @return $this - */ - public function setChangeHistoryEvents($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1beta\ChangeHistoryEvent::class); - $this->change_history_events = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ServiceLevel.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ServiceLevel.php deleted file mode 100644 index 4ff6e7266ab6..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/ServiceLevel.php +++ /dev/null @@ -1,61 +0,0 @@ -google.analytics.admin.v1beta.ServiceLevel - */ -class ServiceLevel -{ - /** - * Service level not specified or invalid. - * - * Generated from protobuf enum SERVICE_LEVEL_UNSPECIFIED = 0; - */ - const SERVICE_LEVEL_UNSPECIFIED = 0; - /** - * The standard version of Google Analytics. - * - * Generated from protobuf enum GOOGLE_ANALYTICS_STANDARD = 1; - */ - const GOOGLE_ANALYTICS_STANDARD = 1; - /** - * The paid, premium version of Google Analytics. - * - * Generated from protobuf enum GOOGLE_ANALYTICS_360 = 2; - */ - const GOOGLE_ANALYTICS_360 = 2; - - private static $valueToName = [ - self::SERVICE_LEVEL_UNSPECIFIED => 'SERVICE_LEVEL_UNSPECIFIED', - self::GOOGLE_ANALYTICS_STANDARD => 'GOOGLE_ANALYTICS_STANDARD', - self::GOOGLE_ANALYTICS_360 => 'GOOGLE_ANALYTICS_360', - ]; - - 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); - } -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateAccountRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateAccountRequest.php deleted file mode 100644 index a55a4347b879..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateAccountRequest.php +++ /dev/null @@ -1,156 +0,0 @@ -google.analytics.admin.v1beta.UpdateAccountRequest - */ -class UpdateAccountRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The account to update. - * The account's `name` field is used to identify the account. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $account = null; - /** - * Required. The list of fields to be updated. Field names must be in snake - * case (for example, "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]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1beta\Account $account Required. The account to update. - * The account's `name` field is used to identify the account. - * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake - * case (for example, "field_to_update"). Omitted fields will not be updated. - * To replace the entire entity, use one path with the string "*" to match all - * fields. - * - * @return \Google\Analytics\Admin\V1beta\UpdateAccountRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1beta\Account $account, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setAccount($account) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\Account $account - * 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 (for example, "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) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The account to update. - * The account's `name` field is used to identify the account. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\Account|null - */ - public function getAccount() - { - return $this->account; - } - - public function hasAccount() - { - return isset($this->account); - } - - public function clearAccount() - { - unset($this->account); - } - - /** - * Required. The account to update. - * The account's `name` field is used to identify the account. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\Account $var - * @return $this - */ - public function setAccount($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\Account::class); - $this->account = $var; - - return $this; - } - - /** - * Required. The list of fields to be updated. Field names must be in snake - * case (for example, "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 - */ - 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. Field names must be in snake - * case (for example, "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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateConversionEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateConversionEventRequest.php deleted file mode 100644 index bae88fba9e1c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateConversionEventRequest.php +++ /dev/null @@ -1,156 +0,0 @@ -google.analytics.admin.v1beta.UpdateConversionEventRequest - */ -class UpdateConversionEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The conversion event to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $conversion_event = 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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1beta\ConversionEvent $conversionEvent Required. The conversion event to update. - * The `name` field is used to identify the settings to be updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1beta\UpdateConversionEventRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1beta\ConversionEvent $conversionEvent, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setConversionEvent($conversionEvent) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\ConversionEvent $conversion_event - * Required. The conversion event 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The conversion event to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\ConversionEvent|null - */ - public function getConversionEvent() - { - return $this->conversion_event; - } - - public function hasConversionEvent() - { - return isset($this->conversion_event); - } - - public function clearConversionEvent() - { - unset($this->conversion_event); - } - - /** - * Required. The conversion event to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1beta.ConversionEvent conversion_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\ConversionEvent $var - * @return $this - */ - public function setConversionEvent($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\ConversionEvent::class); - $this->conversion_event = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomDimensionRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomDimensionRequest.php deleted file mode 100644 index a526d5e8a7d9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomDimensionRequest.php +++ /dev/null @@ -1,146 +0,0 @@ -google.analytics.admin.v1beta.UpdateCustomDimensionRequest - */ -class UpdateCustomDimensionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The CustomDimension to update - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1beta\CustomDimension $customDimension The CustomDimension to update - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1beta\UpdateCustomDimensionRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1beta\CustomDimension $customDimension, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setCustomDimension($customDimension) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The CustomDimension to update - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; - * @return \Google\Analytics\Admin\V1beta\CustomDimension|null - */ - public function getCustomDimension() - { - return $this->custom_dimension; - } - - public function hasCustomDimension() - { - return isset($this->custom_dimension); - } - - public function clearCustomDimension() - { - unset($this->custom_dimension); - } - - /** - * The CustomDimension to update - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomDimension custom_dimension = 1; - * @param \Google\Analytics\Admin\V1beta\CustomDimension $var - * @return $this - */ - public function setCustomDimension($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\CustomDimension::class); - $this->custom_dimension = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomMetricRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomMetricRequest.php deleted file mode 100644 index a57c23cc0ea3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateCustomMetricRequest.php +++ /dev/null @@ -1,146 +0,0 @@ -google.analytics.admin.v1beta.UpdateCustomMetricRequest - */ -class UpdateCustomMetricRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The CustomMetric to update - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1beta\CustomMetric $customMetric The CustomMetric to update - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1beta\UpdateCustomMetricRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1beta\CustomMetric $customMetric, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setCustomMetric($customMetric) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The CustomMetric to update - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; - * @return \Google\Analytics\Admin\V1beta\CustomMetric|null - */ - public function getCustomMetric() - { - return $this->custom_metric; - } - - public function hasCustomMetric() - { - return isset($this->custom_metric); - } - - public function clearCustomMetric() - { - unset($this->custom_metric); - } - - /** - * The CustomMetric to update - * - * Generated from protobuf field .google.analytics.admin.v1beta.CustomMetric custom_metric = 1; - * @param \Google\Analytics\Admin\V1beta\CustomMetric $var - * @return $this - */ - public function setCustomMetric($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\CustomMetric::class); - $this->custom_metric = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataRetentionSettingsRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataRetentionSettingsRequest.php deleted file mode 100644 index ceaa102d37e2..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataRetentionSettingsRequest.php +++ /dev/null @@ -1,156 +0,0 @@ -google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest - */ -class UpdateDataRetentionSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1beta\DataRetentionSettings $dataRetentionSettings Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1beta\UpdateDataRetentionSettingsRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1beta\DataRetentionSettings $dataRetentionSettings, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setDataRetentionSettings($dataRetentionSettings) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\DataRetentionSettings $data_retention_settings - * 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\DataRetentionSettings|null - */ - public function getDataRetentionSettings() - { - return $this->data_retention_settings; - } - - public function hasDataRetentionSettings() - { - return isset($this->data_retention_settings); - } - - public function clearDataRetentionSettings() - { - unset($this->data_retention_settings); - } - - /** - * Required. The settings to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataRetentionSettings data_retention_settings = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\DataRetentionSettings $var - * @return $this - */ - public function setDataRetentionSettings($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataRetentionSettings::class); - $this->data_retention_settings = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataStreamRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataStreamRequest.php deleted file mode 100644 index b0aef48264e0..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateDataStreamRequest.php +++ /dev/null @@ -1,146 +0,0 @@ -google.analytics.admin.v1beta.UpdateDataStreamRequest - */ -class UpdateDataStreamRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The DataStream to update - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 1; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1beta\DataStream $dataStream The DataStream to update - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1beta\UpdateDataStreamRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1beta\DataStream $dataStream, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setDataStream($dataStream) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The DataStream to update - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 1; - * @return \Google\Analytics\Admin\V1beta\DataStream|null - */ - public function getDataStream() - { - return $this->data_stream; - } - - public function hasDataStream() - { - return isset($this->data_stream); - } - - public function clearDataStream() - { - unset($this->data_stream); - } - - /** - * The DataStream to update - * - * Generated from protobuf field .google.analytics.admin.v1beta.DataStream data_stream = 1; - * @param \Google\Analytics\Admin\V1beta\DataStream $var - * @return $this - */ - public function setDataStream($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\DataStream::class); - $this->data_stream = $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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateGoogleAdsLinkRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateGoogleAdsLinkRequest.php deleted file mode 100644 index f878782987b9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateGoogleAdsLinkRequest.php +++ /dev/null @@ -1,151 +0,0 @@ -google.analytics.admin.v1beta.UpdateGoogleAdsLinkRequest - */ -class UpdateGoogleAdsLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The GoogleAdsLink to update - * - * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1beta\GoogleAdsLink $googleAdsLink The GoogleAdsLink to update - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1beta\UpdateGoogleAdsLinkRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1beta\GoogleAdsLink $googleAdsLink, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setGoogleAdsLink($googleAdsLink) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The GoogleAdsLink to update - * - * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; - * @return \Google\Analytics\Admin\V1beta\GoogleAdsLink|null - */ - public function getGoogleAdsLink() - { - return $this->google_ads_link; - } - - public function hasGoogleAdsLink() - { - return isset($this->google_ads_link); - } - - public function clearGoogleAdsLink() - { - unset($this->google_ads_link); - } - - /** - * The GoogleAdsLink to update - * - * Generated from protobuf field .google.analytics.admin.v1beta.GoogleAdsLink google_ads_link = 1; - * @param \Google\Analytics\Admin\V1beta\GoogleAdsLink $var - * @return $this - */ - public function setGoogleAdsLink($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\GoogleAdsLink::class); - $this->google_ads_link = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateKeyEventRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateKeyEventRequest.php deleted file mode 100644 index b3e57dc7d23e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateKeyEventRequest.php +++ /dev/null @@ -1,156 +0,0 @@ -google.analytics.admin.v1beta.UpdateKeyEventRequest - */ -class UpdateKeyEventRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The Key Event to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $key_event = 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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1beta\KeyEvent $keyEvent Required. The Key Event to update. - * The `name` field is used to identify the settings to be updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1beta\UpdateKeyEventRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1beta\KeyEvent $keyEvent, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setKeyEvent($keyEvent) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\KeyEvent $key_event - * Required. The Key Event 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The Key Event to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\KeyEvent|null - */ - public function getKeyEvent() - { - return $this->key_event; - } - - public function hasKeyEvent() - { - return isset($this->key_event); - } - - public function clearKeyEvent() - { - unset($this->key_event); - } - - /** - * Required. The Key Event to update. - * The `name` field is used to identify the settings to be updated. - * - * Generated from protobuf field .google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\KeyEvent $var - * @return $this - */ - public function setKeyEvent($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\KeyEvent::class); - $this->key_event = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateMeasurementProtocolSecretRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateMeasurementProtocolSecretRequest.php deleted file mode 100644 index 55ca40fde0d5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdateMeasurementProtocolSecretRequest.php +++ /dev/null @@ -1,141 +0,0 @@ -google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest - */ -class UpdateMeasurementProtocolSecretRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The measurement protocol secret to update. - * - * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $measurement_protocol_secret = null; - /** - * Required. The list of fields to be updated. Omitted fields will not be - * updated. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurementProtocolSecret Required. The measurement protocol secret to update. - * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be - * updated. - * - * @return \Google\Analytics\Admin\V1beta\UpdateMeasurementProtocolSecretRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurementProtocolSecret, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setMeasurementProtocolSecret($measurementProtocolSecret) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $measurement_protocol_secret - * Required. The measurement protocol secret to update. - * @type \Google\Protobuf\FieldMask $update_mask - * Required. The list of fields to be updated. Omitted fields will not be - * updated. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The measurement protocol secret to update. - * - * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret|null - */ - public function getMeasurementProtocolSecret() - { - return $this->measurement_protocol_secret; - } - - public function hasMeasurementProtocolSecret() - { - return isset($this->measurement_protocol_secret); - } - - public function clearMeasurementProtocolSecret() - { - unset($this->measurement_protocol_secret); - } - - /** - * Required. The measurement protocol secret to update. - * - * Generated from protobuf field .google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret $var - * @return $this - */ - public function setMeasurementProtocolSecret($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\MeasurementProtocolSecret::class); - $this->measurement_protocol_secret = $var; - - return $this; - } - - /** - * Required. The list of fields to be updated. Omitted fields will not be - * updated. - * - * 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. - * - * 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/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdatePropertyRequest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdatePropertyRequest.php deleted file mode 100644 index 152316aa63cf..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/proto/src/Google/Analytics/Admin/V1beta/UpdatePropertyRequest.php +++ /dev/null @@ -1,161 +0,0 @@ -google.analytics.admin.v1beta.UpdatePropertyRequest - */ -class UpdatePropertyRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The property to update. - * The property's `name` field is used to identify the property to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $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. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $update_mask = null; - - /** - * @param \Google\Analytics\Admin\V1beta\Property $property Required. The property to update. - * The property's `name` field is used to identify the property to be - * updated. - * @param \Google\Protobuf\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. - * - * @return \Google\Analytics\Admin\V1beta\UpdatePropertyRequest - * - * @experimental - */ - public static function build(\Google\Analytics\Admin\V1beta\Property $property, \Google\Protobuf\FieldMask $updateMask): self - { - return (new self()) - ->setProperty($property) - ->setUpdateMask($updateMask); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Analytics\Admin\V1beta\Property $property - * Required. The property to update. - * 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. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Beta\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The property to update. - * The property's `name` field is used to identify the property to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1beta\Property|null - */ - public function getProperty() - { - return $this->property; - } - - public function hasProperty() - { - return isset($this->property); - } - - public function clearProperty() - { - unset($this->property); - } - - /** - * Required. The property to update. - * The property's `name` field is used to identify the property to be - * updated. - * - * Generated from protobuf field .google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1beta\Property $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\Property::class); - $this->property = $var; - - return $this; - } - - /** - * 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 - */ - 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. 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 - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php deleted file mode 100644 index 071cc4bb4df2..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php +++ /dev/null @@ -1,87 +0,0 @@ -setProperty($formattedProperty) - ->setAcknowledgement($acknowledgement); - - // Call the API and handle any network failures. - try { - /** @var AcknowledgeUserDataCollectionResponse $response */ - $response = $analyticsAdminServiceClient->acknowledgeUserDataCollection($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedProperty = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $acknowledgement = '[ACKNOWLEDGEMENT]'; - - acknowledge_user_data_collection_sample($formattedProperty, $acknowledgement); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_AcknowledgeUserDataCollection_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_dimension.php deleted file mode 100644 index c88bebeda00e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_dimension.php +++ /dev/null @@ -1,73 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->archiveCustomDimension($request); - 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::customDimensionName( - '[PROPERTY]', - '[CUSTOM_DIMENSION]' - ); - - archive_custom_dimension_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ArchiveCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_metric.php deleted file mode 100644 index 52baf1c31368..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/archive_custom_metric.php +++ /dev/null @@ -1,70 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->archiveCustomMetric($request); - 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::customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); - - archive_custom_metric_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ArchiveCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_conversion_event.php deleted file mode 100644 index 94300c99a832..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_conversion_event.php +++ /dev/null @@ -1,75 +0,0 @@ -setConversionEvent($conversionEvent) - ->setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var ConversionEvent $response */ - $response = $analyticsAdminServiceClient->createConversionEvent($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - create_conversion_event_sample($formattedParent); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_dimension.php deleted file mode 100644 index ee27ab9fc011..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_dimension.php +++ /dev/null @@ -1,107 +0,0 @@ -setParameterName($customDimensionParameterName) - ->setDisplayName($customDimensionDisplayName) - ->setScope($customDimensionScope); - $request = (new CreateCustomDimensionRequest()) - ->setParent($formattedParent) - ->setCustomDimension($customDimension); - - // Call the API and handle any network failures. - try { - /** @var CustomDimension $response */ - $response = $analyticsAdminServiceClient->createCustomDimension($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $customDimensionParameterName = '[PARAMETER_NAME]'; - $customDimensionDisplayName = '[DISPLAY_NAME]'; - $customDimensionScope = DimensionScope::DIMENSION_SCOPE_UNSPECIFIED; - - create_custom_dimension_sample( - $formattedParent, - $customDimensionParameterName, - $customDimensionDisplayName, - $customDimensionScope - ); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_metric.php deleted file mode 100644 index 0fb1ceff019f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_custom_metric.php +++ /dev/null @@ -1,108 +0,0 @@ -setParameterName($customMetricParameterName) - ->setDisplayName($customMetricDisplayName) - ->setMeasurementUnit($customMetricMeasurementUnit) - ->setScope($customMetricScope); - $request = (new CreateCustomMetricRequest()) - ->setParent($formattedParent) - ->setCustomMetric($customMetric); - - // Call the API and handle any network failures. - try { - /** @var CustomMetric $response */ - $response = $analyticsAdminServiceClient->createCustomMetric($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $customMetricParameterName = '[PARAMETER_NAME]'; - $customMetricDisplayName = '[DISPLAY_NAME]'; - $customMetricMeasurementUnit = MeasurementUnit::MEASUREMENT_UNIT_UNSPECIFIED; - $customMetricScope = MetricScope::METRIC_SCOPE_UNSPECIFIED; - - create_custom_metric_sample( - $formattedParent, - $customMetricParameterName, - $customMetricDisplayName, - $customMetricMeasurementUnit, - $customMetricScope - ); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_data_stream.php deleted file mode 100644 index bf43c43d5403..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_data_stream.php +++ /dev/null @@ -1,77 +0,0 @@ -setType($dataStreamType); - $request = (new CreateDataStreamRequest()) - ->setParent($formattedParent) - ->setDataStream($dataStream); - - // Call the API and handle any network failures. - try { - /** @var DataStream $response */ - $response = $analyticsAdminServiceClient->createDataStream($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $dataStreamType = DataStreamType::DATA_STREAM_TYPE_UNSPECIFIED; - - create_data_stream_sample($formattedParent, $dataStreamType); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_firebase_link.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_firebase_link.php deleted file mode 100644 index 4caded1d99a7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_firebase_link.php +++ /dev/null @@ -1,77 +0,0 @@ -setParent($formattedParent) - ->setFirebaseLink($firebaseLink); - - // Call the API and handle any network failures. - try { - /** @var FirebaseLink $response */ - $response = $analyticsAdminServiceClient->createFirebaseLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - create_firebase_link_sample($formattedParent); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateFirebaseLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_google_ads_link.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_google_ads_link.php deleted file mode 100644 index e3b555246355..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_google_ads_link.php +++ /dev/null @@ -1,73 +0,0 @@ -setParent($formattedParent) - ->setGoogleAdsLink($googleAdsLink); - - // Call the API and handle any network failures. - try { - /** @var GoogleAdsLink $response */ - $response = $analyticsAdminServiceClient->createGoogleAdsLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - create_google_ads_link_sample($formattedParent); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateGoogleAdsLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_key_event.php deleted file mode 100644 index 23b35f424c32..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_key_event.php +++ /dev/null @@ -1,79 +0,0 @@ -setCountingMethod($keyEventCountingMethod); - $request = (new CreateKeyEventRequest()) - ->setKeyEvent($keyEvent) - ->setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var KeyEvent $response */ - $response = $analyticsAdminServiceClient->createKeyEvent($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - create_key_event_sample($keyEventCountingMethod, $formattedParent); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php deleted file mode 100644 index a0084640c677..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php +++ /dev/null @@ -1,79 +0,0 @@ -setDisplayName($measurementProtocolSecretDisplayName); - $request = (new CreateMeasurementProtocolSecretRequest()) - ->setParent($formattedParent) - ->setMeasurementProtocolSecret($measurementProtocolSecret); - - // Call the API and handle any network failures. - try { - /** @var MeasurementProtocolSecret $response */ - $response = $analyticsAdminServiceClient->createMeasurementProtocolSecret($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $measurementProtocolSecretDisplayName = '[DISPLAY_NAME]'; - - create_measurement_protocol_secret_sample($formattedParent, $measurementProtocolSecretDisplayName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_property.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_property.php deleted file mode 100644 index fe8c2b6b645d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/create_property.php +++ /dev/null @@ -1,86 +0,0 @@ -setDisplayName($propertyDisplayName) - ->setTimeZone($propertyTimeZone); - $request = (new CreatePropertyRequest()) - ->setProperty($property); - - // Call the API and handle any network failures. - try { - /** @var Property $response */ - $response = $analyticsAdminServiceClient->createProperty($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $propertyDisplayName = '[DISPLAY_NAME]'; - $propertyTimeZone = '[TIME_ZONE]'; - - create_property_sample($propertyDisplayName, $propertyTimeZone); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_CreateProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_account.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_account.php deleted file mode 100644 index 7d591fe7c3e3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_account.php +++ /dev/null @@ -1,81 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteAccount($request); - 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::accountName('[ACCOUNT]'); - - delete_account_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteAccount_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_conversion_event.php deleted file mode 100644 index 3fa91a2bc25c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_conversion_event.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteConversionEvent($request); - 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::conversionEventName( - '[PROPERTY]', - '[CONVERSION_EVENT]' - ); - - delete_conversion_event_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_data_stream.php deleted file mode 100644 index 411c1b460487..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_data_stream.php +++ /dev/null @@ -1,70 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteDataStream($request); - 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::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - - delete_data_stream_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_firebase_link.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_firebase_link.php deleted file mode 100644 index 1e10b48488e1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_firebase_link.php +++ /dev/null @@ -1,71 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteFirebaseLink($request); - 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::firebaseLinkName('[PROPERTY]', '[FIREBASE_LINK]'); - - delete_firebase_link_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteFirebaseLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_google_ads_link.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_google_ads_link.php deleted file mode 100644 index 55dd09b8bb4c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_google_ads_link.php +++ /dev/null @@ -1,69 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteGoogleAdsLink($request); - 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::googleAdsLinkName('[PROPERTY]', '[GOOGLE_ADS_LINK]'); - - delete_google_ads_link_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteGoogleAdsLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_key_event.php deleted file mode 100644 index dad28a959cc7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_key_event.php +++ /dev/null @@ -1,71 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteKeyEvent($request); - 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::keyEventName('[PROPERTY]', '[KEY_EVENT]'); - - delete_key_event_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php deleted file mode 100644 index c8c4c83fa6b9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->deleteMeasurementProtocolSecret($request); - 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::measurementProtocolSecretName( - '[PROPERTY]', - '[DATA_STREAM]', - '[MEASUREMENT_PROTOCOL_SECRET]' - ); - - delete_measurement_protocol_secret_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_property.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_property.php deleted file mode 100644 index 1de154a1595b..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/delete_property.php +++ /dev/null @@ -1,83 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var Property $response */ - $response = $analyticsAdminServiceClient->deleteProperty($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - delete_property_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_DeleteProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_account.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_account.php deleted file mode 100644 index 46128821e6fe..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_account.php +++ /dev/null @@ -1,73 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var Account $response */ - $response = $analyticsAdminServiceClient->getAccount($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - - get_account_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetAccount_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_conversion_event.php deleted file mode 100644 index 8c773580edb9..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_conversion_event.php +++ /dev/null @@ -1,77 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var ConversionEvent $response */ - $response = $analyticsAdminServiceClient->getConversionEvent($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::conversionEventName( - '[PROPERTY]', - '[CONVERSION_EVENT]' - ); - - get_conversion_event_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_dimension.php deleted file mode 100644 index 7c5cfb8113d3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_dimension.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var CustomDimension $response */ - $response = $analyticsAdminServiceClient->getCustomDimension($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::customDimensionName( - '[PROPERTY]', - '[CUSTOM_DIMENSION]' - ); - - get_custom_dimension_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_metric.php deleted file mode 100644 index b6c48c541db1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_custom_metric.php +++ /dev/null @@ -1,72 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var CustomMetric $response */ - $response = $analyticsAdminServiceClient->getCustomMetric($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); - - get_custom_metric_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_retention_settings.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_retention_settings.php deleted file mode 100644 index e988edf8ac78..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_retention_settings.php +++ /dev/null @@ -1,74 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var DataRetentionSettings $response */ - $response = $analyticsAdminServiceClient->getDataRetentionSettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::dataRetentionSettingsName('[PROPERTY]'); - - get_data_retention_settings_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetDataRetentionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_sharing_settings.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_sharing_settings.php deleted file mode 100644 index b5ca17d76184..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_sharing_settings.php +++ /dev/null @@ -1,75 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var DataSharingSettings $response */ - $response = $analyticsAdminServiceClient->getDataSharingSettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::dataSharingSettingsName('[ACCOUNT]'); - - get_data_sharing_settings_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetDataSharingSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_stream.php deleted file mode 100644 index cb4ad7031330..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_data_stream.php +++ /dev/null @@ -1,72 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var DataStream $response */ - $response = $analyticsAdminServiceClient->getDataStream($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - - get_data_stream_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_key_event.php deleted file mode 100644 index da96d445d1b7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_key_event.php +++ /dev/null @@ -1,73 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var KeyEvent $response */ - $response = $analyticsAdminServiceClient->getKeyEvent($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::keyEventName('[PROPERTY]', '[KEY_EVENT]'); - - get_key_event_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php deleted file mode 100644 index 72f18a505f0c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php +++ /dev/null @@ -1,77 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var MeasurementProtocolSecret $response */ - $response = $analyticsAdminServiceClient->getMeasurementProtocolSecret($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::measurementProtocolSecretName( - '[PROPERTY]', - '[DATA_STREAM]', - '[MEASUREMENT_PROTOCOL_SECRET]' - ); - - get_measurement_protocol_secret_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_property.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_property.php deleted file mode 100644 index 03c9abd32cd7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/get_property.php +++ /dev/null @@ -1,73 +0,0 @@ -setName($formattedName); - - // Call the API and handle any network failures. - try { - /** @var Property $response */ - $response = $analyticsAdminServiceClient->getProperty($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - get_property_sample($formattedName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_GetProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_account_summaries.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_account_summaries.php deleted file mode 100644 index 2a38bf5deab5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_account_summaries.php +++ /dev/null @@ -1,62 +0,0 @@ -listAccountSummaries($request); - - /** @var AccountSummary $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()); - } -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListAccountSummaries_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_accounts.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_accounts.php deleted file mode 100644 index 9bc74a27c7da..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_accounts.php +++ /dev/null @@ -1,66 +0,0 @@ -listAccounts($request); - - /** @var Account $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()); - } -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListAccounts_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_conversion_events.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_conversion_events.php deleted file mode 100644 index ffde01eddfbc..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_conversion_events.php +++ /dev/null @@ -1,80 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listConversionEvents($request); - - /** @var ConversionEvent $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_conversion_events_sample($formattedParent); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListConversionEvents_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_dimensions.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_dimensions.php deleted file mode 100644 index f0f342e6df3e..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_dimensions.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listCustomDimensions($request); - - /** @var CustomDimension $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_custom_dimensions_sample($formattedParent); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListCustomDimensions_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_metrics.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_metrics.php deleted file mode 100644 index efdbbac9365d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_custom_metrics.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listCustomMetrics($request); - - /** @var CustomMetric $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_custom_metrics_sample($formattedParent); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListCustomMetrics_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_data_streams.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_data_streams.php deleted file mode 100644 index 5f22f0d98ac7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_data_streams.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listDataStreams($request); - - /** @var DataStream $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_data_streams_sample($formattedParent); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListDataStreams_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_firebase_links.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_firebase_links.php deleted file mode 100644 index 3c5be95ba135..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_firebase_links.php +++ /dev/null @@ -1,79 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listFirebaseLinks($request); - - /** @var FirebaseLink $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_firebase_links_sample($formattedParent); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListFirebaseLinks_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_google_ads_links.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_google_ads_links.php deleted file mode 100644 index bd5980e490f4..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_google_ads_links.php +++ /dev/null @@ -1,76 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listGoogleAdsLinks($request); - - /** @var GoogleAdsLink $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_google_ads_links_sample($formattedParent); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListGoogleAdsLinks_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_key_events.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_key_events.php deleted file mode 100644 index 27e00ac19a21..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_key_events.php +++ /dev/null @@ -1,78 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listKeyEvents($request); - - /** @var KeyEvent $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_key_events_sample($formattedParent); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListKeyEvents_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php deleted file mode 100644 index 0ef7897eb44c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php +++ /dev/null @@ -1,79 +0,0 @@ -setParent($formattedParent); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listMeasurementProtocolSecrets($request); - - /** @var MeasurementProtocolSecret $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::dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - - list_measurement_protocol_secrets_sample($formattedParent); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListMeasurementProtocolSecrets_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_properties.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_properties.php deleted file mode 100644 index c99fedd43659..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/list_properties.php +++ /dev/null @@ -1,94 +0,0 @@ -setFilter($filter); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->listProperties($request); - - /** @var Property $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 -{ - $filter = '[FILTER]'; - - list_properties_sample($filter); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ListProperties_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/provision_account_ticket.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/provision_account_ticket.php deleted file mode 100644 index 5f2d615a7c23..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/provision_account_ticket.php +++ /dev/null @@ -1,57 +0,0 @@ -provisionAccountTicket($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_ProvisionAccountTicket_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/run_access_report.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/run_access_report.php deleted file mode 100644 index b28ec40eeb05..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/run_access_report.php +++ /dev/null @@ -1,76 +0,0 @@ -runAccessReport($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_RunAccessReport_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/search_change_history_events.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/search_change_history_events.php deleted file mode 100644 index 5bb855515320..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/search_change_history_events.php +++ /dev/null @@ -1,83 +0,0 @@ -setAccount($formattedAccount); - - // Call the API and handle any network failures. - try { - /** @var PagedListResponse $response */ - $response = $analyticsAdminServiceClient->searchChangeHistoryEvents($request); - - /** @var ChangeHistoryEvent $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 -{ - $formattedAccount = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - - search_change_history_events_sample($formattedAccount); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_SearchChangeHistoryEvents_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_account.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_account.php deleted file mode 100644 index 7d89dacb9ca1..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_account.php +++ /dev/null @@ -1,75 +0,0 @@ -setDisplayName($accountDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateAccountRequest()) - ->setAccount($account) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var Account $response */ - $response = $analyticsAdminServiceClient->updateAccount($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $accountDisplayName = '[DISPLAY_NAME]'; - - update_account_sample($accountDisplayName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateAccount_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_conversion_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_conversion_event.php deleted file mode 100644 index 398df7f7280d..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_conversion_event.php +++ /dev/null @@ -1,63 +0,0 @@ -setConversionEvent($conversionEvent) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var ConversionEvent $response */ - $response = $analyticsAdminServiceClient->updateConversionEvent($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateConversionEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_dimension.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_dimension.php deleted file mode 100644 index a0e890b066c3..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_dimension.php +++ /dev/null @@ -1,60 +0,0 @@ -setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var CustomDimension $response */ - $response = $analyticsAdminServiceClient->updateCustomDimension($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateCustomDimension_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_metric.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_metric.php deleted file mode 100644 index 937744a702af..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_custom_metric.php +++ /dev/null @@ -1,60 +0,0 @@ -setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var CustomMetric $response */ - $response = $analyticsAdminServiceClient->updateCustomMetric($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateCustomMetric_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_retention_settings.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_retention_settings.php deleted file mode 100644 index 17ac37b1d8d5..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_retention_settings.php +++ /dev/null @@ -1,84 +0,0 @@ -setEventDataRetention($dataRetentionSettingsEventDataRetention) - ->setUserDataRetention($dataRetentionSettingsUserDataRetention); - $updateMask = new FieldMask(); - $request = (new UpdateDataRetentionSettingsRequest()) - ->setDataRetentionSettings($dataRetentionSettings) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var DataRetentionSettings $response */ - $response = $analyticsAdminServiceClient->updateDataRetentionSettings($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $dataRetentionSettingsEventDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; - $dataRetentionSettingsUserDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; - - update_data_retention_settings_sample( - $dataRetentionSettingsEventDataRetention, - $dataRetentionSettingsUserDataRetention - ); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateDataRetentionSettings_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_stream.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_stream.php deleted file mode 100644 index 465e5b550b1c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_data_stream.php +++ /dev/null @@ -1,60 +0,0 @@ -setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var DataStream $response */ - $response = $analyticsAdminServiceClient->updateDataStream($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateDataStream_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_google_ads_link.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_google_ads_link.php deleted file mode 100644 index 3dd52b3af348..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_google_ads_link.php +++ /dev/null @@ -1,60 +0,0 @@ -setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var GoogleAdsLink $response */ - $response = $analyticsAdminServiceClient->updateGoogleAdsLink($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateGoogleAdsLink_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_key_event.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_key_event.php deleted file mode 100644 index 65bad432ec89..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_key_event.php +++ /dev/null @@ -1,77 +0,0 @@ -setCountingMethod($keyEventCountingMethod); - $updateMask = new FieldMask(); - $request = (new UpdateKeyEventRequest()) - ->setKeyEvent($keyEvent) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var KeyEvent $response */ - $response = $analyticsAdminServiceClient->updateKeyEvent($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; - - update_key_event_sample($keyEventCountingMethod); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateKeyEvent_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php deleted file mode 100644 index b1865af1f51f..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php +++ /dev/null @@ -1,76 +0,0 @@ -setDisplayName($measurementProtocolSecretDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateMeasurementProtocolSecretRequest()) - ->setMeasurementProtocolSecret($measurementProtocolSecret) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var MeasurementProtocolSecret $response */ - $response = $analyticsAdminServiceClient->updateMeasurementProtocolSecret($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $measurementProtocolSecretDisplayName = '[DISPLAY_NAME]'; - - update_measurement_protocol_secret_sample($measurementProtocolSecretDisplayName); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateMeasurementProtocolSecret_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_property.php b/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_property.php deleted file mode 100644 index 5a83dd1566ec..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/samples/V1beta/AnalyticsAdminServiceClient/update_property.php +++ /dev/null @@ -1,88 +0,0 @@ -setDisplayName($propertyDisplayName) - ->setTimeZone($propertyTimeZone); - $updateMask = new FieldMask(); - $request = (new UpdatePropertyRequest()) - ->setProperty($property) - ->setUpdateMask($updateMask); - - // Call the API and handle any network failures. - try { - /** @var Property $response */ - $response = $analyticsAdminServiceClient->updateProperty($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $propertyDisplayName = '[DISPLAY_NAME]'; - $propertyTimeZone = '[TIME_ZONE]'; - - update_property_sample($propertyDisplayName, $propertyTimeZone); -} -// [END analyticsadmin_v1beta_generated_AnalyticsAdminService_UpdateProperty_sync] diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/Client/AnalyticsAdminServiceClient.php b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/Client/AnalyticsAdminServiceClient.php deleted file mode 100644 index fa7bb64b17d4..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/Client/AnalyticsAdminServiceClient.php +++ /dev/null @@ -1,2203 +0,0 @@ - acknowledgeUserDataCollectionAsync(AcknowledgeUserDataCollectionRequest $request, array $optionalArgs = []) - * @method PromiseInterface archiveCustomDimensionAsync(ArchiveCustomDimensionRequest $request, array $optionalArgs = []) - * @method PromiseInterface archiveCustomMetricAsync(ArchiveCustomMetricRequest $request, array $optionalArgs = []) - * @method PromiseInterface createConversionEventAsync(CreateConversionEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface createCustomDimensionAsync(CreateCustomDimensionRequest $request, array $optionalArgs = []) - * @method PromiseInterface createCustomMetricAsync(CreateCustomMetricRequest $request, array $optionalArgs = []) - * @method PromiseInterface createDataStreamAsync(CreateDataStreamRequest $request, array $optionalArgs = []) - * @method PromiseInterface createFirebaseLinkAsync(CreateFirebaseLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface createGoogleAdsLinkAsync(CreateGoogleAdsLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface createKeyEventAsync(CreateKeyEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface createMeasurementProtocolSecretAsync(CreateMeasurementProtocolSecretRequest $request, array $optionalArgs = []) - * @method PromiseInterface createPropertyAsync(CreatePropertyRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteAccountAsync(DeleteAccountRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteConversionEventAsync(DeleteConversionEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteDataStreamAsync(DeleteDataStreamRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteFirebaseLinkAsync(DeleteFirebaseLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteGoogleAdsLinkAsync(DeleteGoogleAdsLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteKeyEventAsync(DeleteKeyEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteMeasurementProtocolSecretAsync(DeleteMeasurementProtocolSecretRequest $request, array $optionalArgs = []) - * @method PromiseInterface deletePropertyAsync(DeletePropertyRequest $request, array $optionalArgs = []) - * @method PromiseInterface getAccountAsync(GetAccountRequest $request, array $optionalArgs = []) - * @method PromiseInterface getConversionEventAsync(GetConversionEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface getCustomDimensionAsync(GetCustomDimensionRequest $request, array $optionalArgs = []) - * @method PromiseInterface getCustomMetricAsync(GetCustomMetricRequest $request, array $optionalArgs = []) - * @method PromiseInterface getDataRetentionSettingsAsync(GetDataRetentionSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface getDataSharingSettingsAsync(GetDataSharingSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface getDataStreamAsync(GetDataStreamRequest $request, array $optionalArgs = []) - * @method PromiseInterface getKeyEventAsync(GetKeyEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface getMeasurementProtocolSecretAsync(GetMeasurementProtocolSecretRequest $request, array $optionalArgs = []) - * @method PromiseInterface getPropertyAsync(GetPropertyRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAccountSummariesAsync(ListAccountSummariesRequest $request, array $optionalArgs = []) - * @method PromiseInterface listAccountsAsync(ListAccountsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listConversionEventsAsync(ListConversionEventsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listCustomDimensionsAsync(ListCustomDimensionsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listCustomMetricsAsync(ListCustomMetricsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listDataStreamsAsync(ListDataStreamsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listFirebaseLinksAsync(ListFirebaseLinksRequest $request, array $optionalArgs = []) - * @method PromiseInterface listGoogleAdsLinksAsync(ListGoogleAdsLinksRequest $request, array $optionalArgs = []) - * @method PromiseInterface listKeyEventsAsync(ListKeyEventsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listMeasurementProtocolSecretsAsync(ListMeasurementProtocolSecretsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listPropertiesAsync(ListPropertiesRequest $request, array $optionalArgs = []) - * @method PromiseInterface provisionAccountTicketAsync(ProvisionAccountTicketRequest $request, array $optionalArgs = []) - * @method PromiseInterface runAccessReportAsync(RunAccessReportRequest $request, array $optionalArgs = []) - * @method PromiseInterface searchChangeHistoryEventsAsync(SearchChangeHistoryEventsRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateAccountAsync(UpdateAccountRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateConversionEventAsync(UpdateConversionEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateCustomDimensionAsync(UpdateCustomDimensionRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateCustomMetricAsync(UpdateCustomMetricRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateDataRetentionSettingsAsync(UpdateDataRetentionSettingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateDataStreamAsync(UpdateDataStreamRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateGoogleAdsLinkAsync(UpdateGoogleAdsLinkRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateKeyEventAsync(UpdateKeyEventRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateMeasurementProtocolSecretAsync(UpdateMeasurementProtocolSecretRequest $request, array $optionalArgs = []) - * @method PromiseInterface updatePropertyAsync(UpdatePropertyRequest $request, array $optionalArgs = []) - */ -final class AnalyticsAdminServiceClient -{ - use GapicClientTrait; - use ResourceHelperTrait; - - /** The name of the service. */ - private const SERVICE_NAME = 'google.analytics.admin.v1beta.AnalyticsAdminService'; - - /** - * The default address of the service. - * - * @deprecated SERVICE_ADDRESS_TEMPLATE should be used instead. - */ - private const SERVICE_ADDRESS = 'analyticsadmin.googleapis.com'; - - /** The address template of the service. */ - private const SERVICE_ADDRESS_TEMPLATE = 'analyticsadmin.UNIVERSE_DOMAIN'; - - /** The default port of the service. */ - private const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - private const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/analytics.edit', - 'https://www.googleapis.com/auth/analytics.readonly', - ]; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/analytics_admin_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/analytics_admin_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/analytics_admin_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/analytics_admin_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a account - * resource. - * - * @param string $account - * - * @return string The formatted account resource. - * - * @experimental - */ - public static function accountName(string $account): string - { - return self::getPathTemplate('account')->render([ - 'account' => $account, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_event resource. - * - * @param string $property - * @param string $conversionEvent - * - * @return string The formatted conversion_event resource. - * - * @experimental - */ - public static function conversionEventName(string $property, string $conversionEvent): string - { - return self::getPathTemplate('conversionEvent')->render([ - 'property' => $property, - 'conversion_event' => $conversionEvent, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_dimension resource. - * - * @param string $property - * @param string $customDimension - * - * @return string The formatted custom_dimension resource. - * - * @experimental - */ - public static function customDimensionName(string $property, string $customDimension): string - { - return self::getPathTemplate('customDimension')->render([ - 'property' => $property, - 'custom_dimension' => $customDimension, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_metric resource. - * - * @param string $property - * @param string $customMetric - * - * @return string The formatted custom_metric resource. - * - * @experimental - */ - public static function customMetricName(string $property, string $customMetric): string - { - return self::getPathTemplate('customMetric')->render([ - 'property' => $property, - 'custom_metric' => $customMetric, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * data_retention_settings resource. - * - * @param string $property - * - * @return string The formatted data_retention_settings resource. - * - * @experimental - */ - public static function dataRetentionSettingsName(string $property): string - { - return self::getPathTemplate('dataRetentionSettings')->render([ - 'property' => $property, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * data_sharing_settings resource. - * - * @param string $account - * - * @return string The formatted data_sharing_settings resource. - * - * @experimental - */ - public static function dataSharingSettingsName(string $account): string - { - return self::getPathTemplate('dataSharingSettings')->render([ - 'account' => $account, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a data_stream - * resource. - * - * @param string $property - * @param string $dataStream - * - * @return string The formatted data_stream resource. - * - * @experimental - */ - public static function dataStreamName(string $property, string $dataStream): string - { - return self::getPathTemplate('dataStream')->render([ - 'property' => $property, - 'data_stream' => $dataStream, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * firebase_link resource. - * - * @param string $property - * @param string $firebaseLink - * - * @return string The formatted firebase_link resource. - * - * @experimental - */ - public static function firebaseLinkName(string $property, string $firebaseLink): string - { - return self::getPathTemplate('firebaseLink')->render([ - 'property' => $property, - 'firebase_link' => $firebaseLink, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * google_ads_link resource. - * - * @param string $property - * @param string $googleAdsLink - * - * @return string The formatted google_ads_link resource. - * - * @experimental - */ - public static function googleAdsLinkName(string $property, string $googleAdsLink): string - { - return self::getPathTemplate('googleAdsLink')->render([ - 'property' => $property, - 'google_ads_link' => $googleAdsLink, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a key_event - * resource. - * - * @param string $property - * @param string $keyEvent - * - * @return string The formatted key_event resource. - * - * @experimental - */ - public static function keyEventName(string $property, string $keyEvent): string - { - return self::getPathTemplate('keyEvent')->render([ - 'property' => $property, - 'key_event' => $keyEvent, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * measurement_protocol_secret resource. - * - * @param string $property - * @param string $dataStream - * @param string $measurementProtocolSecret - * - * @return string The formatted measurement_protocol_secret resource. - * - * @experimental - */ - public static function measurementProtocolSecretName(string $property, string $dataStream, string $measurementProtocolSecret): string - { - return self::getPathTemplate('measurementProtocolSecret')->render([ - 'property' => $property, - 'data_stream' => $dataStream, - 'measurement_protocol_secret' => $measurementProtocolSecret, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a organization - * resource. - * - * @param string $organization - * - * @return string The formatted organization resource. - * - * @experimental - */ - public static function organizationName(string $organization): string - { - return self::getPathTemplate('organization')->render([ - 'organization' => $organization, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a property - * resource. - * - * @param string $property - * - * @return string The formatted property resource. - * - * @experimental - */ - public static function propertyName(string $property): string - { - return self::getPathTemplate('property')->render([ - 'property' => $property, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - account: accounts/{account} - * - conversionEvent: properties/{property}/conversionEvents/{conversion_event} - * - customDimension: properties/{property}/customDimensions/{custom_dimension} - * - customMetric: properties/{property}/customMetrics/{custom_metric} - * - dataRetentionSettings: properties/{property}/dataRetentionSettings - * - dataSharingSettings: accounts/{account}/dataSharingSettings - * - dataStream: properties/{property}/dataStreams/{data_stream} - * - firebaseLink: properties/{property}/firebaseLinks/{firebase_link} - * - googleAdsLink: properties/{property}/googleAdsLinks/{google_ads_link} - * - keyEvent: properties/{property}/keyEvents/{key_event} - * - measurementProtocolSecret: properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret} - * - organization: organizations/{organization} - * - property: properties/{property} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param ?string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - * - * @experimental - */ - public static function parseName(string $formattedName, ?string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array|ClientOptions $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'analyticsadmin.googleapis.com:443'. - * @type FetchAuthTokenInterface|CredentialsWrapper $credentials - * This option should only be used with a pre-constructed - * {@see FetchAuthTokenInterface} or {@see CredentialsWrapper} object. Note that - * when one of these objects are provided, any settings in $credentialsConfig will - * be ignored. - * **Important**: If you are providing a path to a credentials file, or a decoded - * credentials file as a PHP array, this usage is now DEPRECATED. Providing an - * unvalidated credential configuration to Google APIs can compromise the security - * of your systems and data. It is recommended to create the credentials explicitly - * ``` - * use Google\Auth\Credentials\ServiceAccountCredentials; - * use Google\Analytics\Admin\V1beta\AnalyticsAdminServiceClient; - * $creds = new ServiceAccountCredentials($scopes, $json); - * $options = new AnalyticsAdminServiceClient(['credentials' => $creds]); - * ``` - * {@see - * https://cloud.google.com/docs/authentication/external/externally-sourced-credentials} - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * @type false|LoggerInterface $logger - * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the - * 'GOOGLE_SDK_PHP_LOGGING' environment flag - * @type string $universeDomain - * The service domain for the client. Defaults to 'googleapis.com'. - * } - * - * @throws ValidationException - * - * @experimental - */ - public function __construct(array|ClientOptions $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Acknowledges the terms of user data collection for the specified property. - * - * This acknowledgement must be completed (either in the Google Analytics UI - * or through this API) before MeasurementProtocolSecret resources may be - * created. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::acknowledgeUserDataCollectionAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php - * - * @param AcknowledgeUserDataCollectionRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 AcknowledgeUserDataCollectionResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function acknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest $request, array $callOptions = []): AcknowledgeUserDataCollectionResponse - { - return $this->startApiCall('AcknowledgeUserDataCollection', $request, $callOptions)->wait(); - } - - /** - * Archives a CustomDimension on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::archiveCustomDimensionAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/archive_custom_dimension.php - * - * @param ArchiveCustomDimensionRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function archiveCustomDimension(ArchiveCustomDimensionRequest $request, array $callOptions = []): void - { - $this->startApiCall('ArchiveCustomDimension', $request, $callOptions)->wait(); - } - - /** - * Archives a CustomMetric on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::archiveCustomMetricAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/archive_custom_metric.php - * - * @param ArchiveCustomMetricRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function archiveCustomMetric(ArchiveCustomMetricRequest $request, array $callOptions = []): void - { - $this->startApiCall('ArchiveCustomMetric', $request, $callOptions)->wait(); - } - - /** - * Deprecated: Use `CreateKeyEvent` instead. - * Creates a conversion event with the specified attributes. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createConversionEventAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/create_conversion_event.php - * - * @param CreateConversionEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ConversionEvent - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - * - * @deprecated This method will be removed in the next major version update. - */ - public function createConversionEvent(CreateConversionEventRequest $request, array $callOptions = []): ConversionEvent - { - return $this->startApiCall('CreateConversionEvent', $request, $callOptions)->wait(); - } - - /** - * Creates a CustomDimension. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createCustomDimensionAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/create_custom_dimension.php - * - * @param CreateCustomDimensionRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CustomDimension - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createCustomDimension(CreateCustomDimensionRequest $request, array $callOptions = []): CustomDimension - { - return $this->startApiCall('CreateCustomDimension', $request, $callOptions)->wait(); - } - - /** - * Creates a CustomMetric. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createCustomMetricAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/create_custom_metric.php - * - * @param CreateCustomMetricRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CustomMetric - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createCustomMetric(CreateCustomMetricRequest $request, array $callOptions = []): CustomMetric - { - return $this->startApiCall('CreateCustomMetric', $request, $callOptions)->wait(); - } - - /** - * Creates a DataStream. - * - * The async variant is {@see AnalyticsAdminServiceClient::createDataStreamAsync()} - * . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/create_data_stream.php - * - * @param CreateDataStreamRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DataStream - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createDataStream(CreateDataStreamRequest $request, array $callOptions = []): DataStream - { - return $this->startApiCall('CreateDataStream', $request, $callOptions)->wait(); - } - - /** - * Creates a FirebaseLink. - * - * Properties can have at most one FirebaseLink. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createFirebaseLinkAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/create_firebase_link.php - * - * @param CreateFirebaseLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 FirebaseLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createFirebaseLink(CreateFirebaseLinkRequest $request, array $callOptions = []): FirebaseLink - { - return $this->startApiCall('CreateFirebaseLink', $request, $callOptions)->wait(); - } - - /** - * Creates a GoogleAdsLink. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createGoogleAdsLinkAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/create_google_ads_link.php - * - * @param CreateGoogleAdsLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 GoogleAdsLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createGoogleAdsLink(CreateGoogleAdsLinkRequest $request, array $callOptions = []): GoogleAdsLink - { - return $this->startApiCall('CreateGoogleAdsLink', $request, $callOptions)->wait(); - } - - /** - * Creates a Key Event. - * - * The async variant is {@see AnalyticsAdminServiceClient::createKeyEventAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/create_key_event.php - * - * @param CreateKeyEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 KeyEvent - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createKeyEvent(CreateKeyEventRequest $request, array $callOptions = []): KeyEvent - { - return $this->startApiCall('CreateKeyEvent', $request, $callOptions)->wait(); - } - - /** - * Creates a measurement protocol secret. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::createMeasurementProtocolSecretAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/create_measurement_protocol_secret.php - * - * @param CreateMeasurementProtocolSecretRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 MeasurementProtocolSecret - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest $request, array $callOptions = []): MeasurementProtocolSecret - { - return $this->startApiCall('CreateMeasurementProtocolSecret', $request, $callOptions)->wait(); - } - - /** - * Creates a Google Analytics property with the specified location and - * attributes. - * - * The async variant is {@see AnalyticsAdminServiceClient::createPropertyAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/create_property.php - * - * @param CreatePropertyRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Property - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function createProperty(CreatePropertyRequest $request, array $callOptions = []): Property - { - return $this->startApiCall('CreateProperty', $request, $callOptions)->wait(); - } - - /** - * Marks target Account as soft-deleted (ie: "trashed") and returns it. - * - * This API does not have a method to restore soft-deleted accounts. - * However, they can be restored using the Trash Can UI. - * - * If the accounts are not restored before the expiration time, the account - * and all child resources (eg: Properties, GoogleAdsLinks, Streams, - * AccessBindings) will be permanently purged. - * https://support.google.com/analytics/answer/6154772 - * - * Returns an error if the target is not found. - * - * The async variant is {@see AnalyticsAdminServiceClient::deleteAccountAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/delete_account.php - * - * @param DeleteAccountRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteAccount(DeleteAccountRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteAccount', $request, $callOptions)->wait(); - } - - /** - * Deprecated: Use `DeleteKeyEvent` instead. - * Deletes a conversion event in a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteConversionEventAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/delete_conversion_event.php - * - * @param DeleteConversionEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - * - * @deprecated This method will be removed in the next major version update. - */ - public function deleteConversionEvent(DeleteConversionEventRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteConversionEvent', $request, $callOptions)->wait(); - } - - /** - * Deletes a DataStream on a property. - * - * The async variant is {@see AnalyticsAdminServiceClient::deleteDataStreamAsync()} - * . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/delete_data_stream.php - * - * @param DeleteDataStreamRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteDataStream(DeleteDataStreamRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteDataStream', $request, $callOptions)->wait(); - } - - /** - * Deletes a FirebaseLink on a property - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteFirebaseLinkAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/delete_firebase_link.php - * - * @param DeleteFirebaseLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteFirebaseLink(DeleteFirebaseLinkRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteFirebaseLink', $request, $callOptions)->wait(); - } - - /** - * Deletes a GoogleAdsLink on a property - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteGoogleAdsLinkAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/delete_google_ads_link.php - * - * @param DeleteGoogleAdsLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteGoogleAdsLink(DeleteGoogleAdsLinkRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteGoogleAdsLink', $request, $callOptions)->wait(); - } - - /** - * Deletes a Key Event. - * - * The async variant is {@see AnalyticsAdminServiceClient::deleteKeyEventAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/delete_key_event.php - * - * @param DeleteKeyEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteKeyEvent(DeleteKeyEventRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteKeyEvent', $request, $callOptions)->wait(); - } - - /** - * Deletes target MeasurementProtocolSecret. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::deleteMeasurementProtocolSecretAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/delete_measurement_protocol_secret.php - * - * @param DeleteMeasurementProtocolSecretRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Thrown if the API call fails. - * - * @experimental - */ - public function deleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest $request, array $callOptions = []): void - { - $this->startApiCall('DeleteMeasurementProtocolSecret', $request, $callOptions)->wait(); - } - - /** - * Marks target Property as soft-deleted (ie: "trashed") and returns it. - * - * This API does not have a method to restore soft-deleted properties. - * However, they can be restored using the Trash Can UI. - * - * If the properties are not restored before the expiration time, the Property - * and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) - * will be permanently purged. - * https://support.google.com/analytics/answer/6154772 - * - * Returns an error if the target is not found. - * - * The async variant is {@see AnalyticsAdminServiceClient::deletePropertyAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/delete_property.php - * - * @param DeletePropertyRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Property - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function deleteProperty(DeletePropertyRequest $request, array $callOptions = []): Property - { - return $this->startApiCall('DeleteProperty', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single Account. - * - * The async variant is {@see AnalyticsAdminServiceClient::getAccountAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/get_account.php - * - * @param GetAccountRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Account - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getAccount(GetAccountRequest $request, array $callOptions = []): Account - { - return $this->startApiCall('GetAccount', $request, $callOptions)->wait(); - } - - /** - * Deprecated: Use `GetKeyEvent` instead. - * Retrieve a single conversion event. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getConversionEventAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/get_conversion_event.php - * - * @param GetConversionEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ConversionEvent - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - * - * @deprecated This method will be removed in the next major version update. - */ - public function getConversionEvent(GetConversionEventRequest $request, array $callOptions = []): ConversionEvent - { - return $this->startApiCall('GetConversionEvent', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single CustomDimension. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getCustomDimensionAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/get_custom_dimension.php - * - * @param GetCustomDimensionRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CustomDimension - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getCustomDimension(GetCustomDimensionRequest $request, array $callOptions = []): CustomDimension - { - return $this->startApiCall('GetCustomDimension', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single CustomMetric. - * - * The async variant is {@see AnalyticsAdminServiceClient::getCustomMetricAsync()} - * . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/get_custom_metric.php - * - * @param GetCustomMetricRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CustomMetric - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getCustomMetric(GetCustomMetricRequest $request, array $callOptions = []): CustomMetric - { - return $this->startApiCall('GetCustomMetric', $request, $callOptions)->wait(); - } - - /** - * Returns the singleton data retention settings for this property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getDataRetentionSettingsAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/get_data_retention_settings.php - * - * @param GetDataRetentionSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DataRetentionSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getDataRetentionSettings(GetDataRetentionSettingsRequest $request, array $callOptions = []): DataRetentionSettings - { - return $this->startApiCall('GetDataRetentionSettings', $request, $callOptions)->wait(); - } - - /** - * Get data sharing settings on an account. - * Data sharing settings are singletons. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getDataSharingSettingsAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/get_data_sharing_settings.php - * - * @param GetDataSharingSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DataSharingSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getDataSharingSettings(GetDataSharingSettingsRequest $request, array $callOptions = []): DataSharingSettings - { - return $this->startApiCall('GetDataSharingSettings', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single DataStream. - * - * The async variant is {@see AnalyticsAdminServiceClient::getDataStreamAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/get_data_stream.php - * - * @param GetDataStreamRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DataStream - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getDataStream(GetDataStreamRequest $request, array $callOptions = []): DataStream - { - return $this->startApiCall('GetDataStream', $request, $callOptions)->wait(); - } - - /** - * Retrieve a single Key Event. - * - * The async variant is {@see AnalyticsAdminServiceClient::getKeyEventAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/get_key_event.php - * - * @param GetKeyEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 KeyEvent - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getKeyEvent(GetKeyEventRequest $request, array $callOptions = []): KeyEvent - { - return $this->startApiCall('GetKeyEvent', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single MeasurementProtocolSecret. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::getMeasurementProtocolSecretAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php - * - * @param GetMeasurementProtocolSecretRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 MeasurementProtocolSecret - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest $request, array $callOptions = []): MeasurementProtocolSecret - { - return $this->startApiCall('GetMeasurementProtocolSecret', $request, $callOptions)->wait(); - } - - /** - * Lookup for a single GA Property. - * - * The async variant is {@see AnalyticsAdminServiceClient::getPropertyAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/get_property.php - * - * @param GetPropertyRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Property - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function getProperty(GetPropertyRequest $request, array $callOptions = []): Property - { - return $this->startApiCall('GetProperty', $request, $callOptions)->wait(); - } - - /** - * Returns summaries of all accounts accessible by the caller. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listAccountSummariesAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/list_account_summaries.php - * - * @param ListAccountSummariesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listAccountSummaries(ListAccountSummariesRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListAccountSummaries', $request, $callOptions); - } - - /** - * Returns all accounts accessible by the caller. - * - * Note that these accounts might not currently have GA properties. - * Soft-deleted (ie: "trashed") accounts are excluded by default. - * Returns an empty list if no relevant accounts are found. - * - * The async variant is {@see AnalyticsAdminServiceClient::listAccountsAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/list_accounts.php - * - * @param ListAccountsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listAccounts(ListAccountsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListAccounts', $request, $callOptions); - } - - /** - * Deprecated: Use `ListKeyEvents` instead. - * Returns a list of conversion events in the specified parent property. - * - * Returns an empty list if no conversion events are found. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listConversionEventsAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/list_conversion_events.php - * - * @param ListConversionEventsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - * - * @deprecated This method will be removed in the next major version update. - */ - public function listConversionEvents(ListConversionEventsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListConversionEvents', $request, $callOptions); - } - - /** - * Lists CustomDimensions on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listCustomDimensionsAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/list_custom_dimensions.php - * - * @param ListCustomDimensionsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listCustomDimensions(ListCustomDimensionsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListCustomDimensions', $request, $callOptions); - } - - /** - * Lists CustomMetrics on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listCustomMetricsAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/list_custom_metrics.php - * - * @param ListCustomMetricsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listCustomMetrics(ListCustomMetricsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListCustomMetrics', $request, $callOptions); - } - - /** - * Lists DataStreams on a property. - * - * The async variant is {@see AnalyticsAdminServiceClient::listDataStreamsAsync()} - * . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/list_data_streams.php - * - * @param ListDataStreamsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listDataStreams(ListDataStreamsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListDataStreams', $request, $callOptions); - } - - /** - * Lists FirebaseLinks on a property. - * Properties can have at most one FirebaseLink. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listFirebaseLinksAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/list_firebase_links.php - * - * @param ListFirebaseLinksRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listFirebaseLinks(ListFirebaseLinksRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListFirebaseLinks', $request, $callOptions); - } - - /** - * Lists GoogleAdsLinks on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listGoogleAdsLinksAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/list_google_ads_links.php - * - * @param ListGoogleAdsLinksRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listGoogleAdsLinks(ListGoogleAdsLinksRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListGoogleAdsLinks', $request, $callOptions); - } - - /** - * Returns a list of Key Events in the specified parent property. - * Returns an empty list if no Key Events are found. - * - * The async variant is {@see AnalyticsAdminServiceClient::listKeyEventsAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/list_key_events.php - * - * @param ListKeyEventsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listKeyEvents(ListKeyEventsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListKeyEvents', $request, $callOptions); - } - - /** - * Returns child MeasurementProtocolSecrets under the specified parent - * Property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::listMeasurementProtocolSecretsAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/list_measurement_protocol_secrets.php - * - * @param ListMeasurementProtocolSecretsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListMeasurementProtocolSecrets', $request, $callOptions); - } - - /** - * Returns child Properties under the specified parent Account. - * - * Properties will be excluded if the caller does not have access. - * Soft-deleted (ie: "trashed") properties are excluded by default. - * Returns an empty list if no relevant properties are found. - * - * The async variant is {@see AnalyticsAdminServiceClient::listPropertiesAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/list_properties.php - * - * @param ListPropertiesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function listProperties(ListPropertiesRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListProperties', $request, $callOptions); - } - - /** - * Requests a ticket for creating an account. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::provisionAccountTicketAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/provision_account_ticket.php - * - * @param ProvisionAccountTicketRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ProvisionAccountTicketResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function provisionAccountTicket(ProvisionAccountTicketRequest $request, array $callOptions = []): ProvisionAccountTicketResponse - { - return $this->startApiCall('ProvisionAccountTicket', $request, $callOptions)->wait(); - } - - /** - * Returns a customized report of data access records. The report provides - * records of each time a user reads Google Analytics reporting data. Access - * records are retained for up to 2 years. - * - * Data Access Reports can be requested for a property. Reports may be - * requested for any property, but dimensions that aren't related to quota can - * only be requested on Google Analytics 360 properties. This method is only - * available to Administrators. - * - * These data access records include GA UI Reporting, GA UI Explorations, - * GA Data API, and other products like Firebase & Admob that can retrieve - * data from Google Analytics through a linkage. These records don't include - * property configuration changes like adding a stream or changing a - * property's time zone. For configuration change history, see - * [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). - * - * To give your feedback on this API, complete the [Google Analytics Access - * Reports - * feedback](https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform) - * form. - * - * The async variant is {@see AnalyticsAdminServiceClient::runAccessReportAsync()} - * . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/run_access_report.php - * - * @param RunAccessReportRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 RunAccessReportResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function runAccessReport(RunAccessReportRequest $request, array $callOptions = []): RunAccessReportResponse - { - return $this->startApiCall('RunAccessReport', $request, $callOptions)->wait(); - } - - /** - * Searches through all changes to an account or its children given the - * specified set of filters. - * - * Only returns the subset of changes supported by the API. The UI may return - * additional changes. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::searchChangeHistoryEventsAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/search_change_history_events.php - * - * @param SearchChangeHistoryEventsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function searchChangeHistoryEvents(SearchChangeHistoryEventsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('SearchChangeHistoryEvents', $request, $callOptions); - } - - /** - * Updates an account. - * - * The async variant is {@see AnalyticsAdminServiceClient::updateAccountAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/update_account.php - * - * @param UpdateAccountRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Account - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateAccount(UpdateAccountRequest $request, array $callOptions = []): Account - { - return $this->startApiCall('UpdateAccount', $request, $callOptions)->wait(); - } - - /** - * Deprecated: Use `UpdateKeyEvent` instead. - * Updates a conversion event with the specified attributes. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateConversionEventAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/update_conversion_event.php - * - * @param UpdateConversionEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 ConversionEvent - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - * - * @deprecated This method will be removed in the next major version update. - */ - public function updateConversionEvent(UpdateConversionEventRequest $request, array $callOptions = []): ConversionEvent - { - return $this->startApiCall('UpdateConversionEvent', $request, $callOptions)->wait(); - } - - /** - * Updates a CustomDimension on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateCustomDimensionAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/update_custom_dimension.php - * - * @param UpdateCustomDimensionRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CustomDimension - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateCustomDimension(UpdateCustomDimensionRequest $request, array $callOptions = []): CustomDimension - { - return $this->startApiCall('UpdateCustomDimension', $request, $callOptions)->wait(); - } - - /** - * Updates a CustomMetric on a property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateCustomMetricAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/update_custom_metric.php - * - * @param UpdateCustomMetricRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 CustomMetric - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateCustomMetric(UpdateCustomMetricRequest $request, array $callOptions = []): CustomMetric - { - return $this->startApiCall('UpdateCustomMetric', $request, $callOptions)->wait(); - } - - /** - * Updates the singleton data retention settings for this property. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateDataRetentionSettingsAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/update_data_retention_settings.php - * - * @param UpdateDataRetentionSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DataRetentionSettings - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateDataRetentionSettings(UpdateDataRetentionSettingsRequest $request, array $callOptions = []): DataRetentionSettings - { - return $this->startApiCall('UpdateDataRetentionSettings', $request, $callOptions)->wait(); - } - - /** - * Updates a DataStream on a property. - * - * The async variant is {@see AnalyticsAdminServiceClient::updateDataStreamAsync()} - * . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/update_data_stream.php - * - * @param UpdateDataStreamRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 DataStream - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateDataStream(UpdateDataStreamRequest $request, array $callOptions = []): DataStream - { - return $this->startApiCall('UpdateDataStream', $request, $callOptions)->wait(); - } - - /** - * Updates a GoogleAdsLink on a property - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateGoogleAdsLinkAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/update_google_ads_link.php - * - * @param UpdateGoogleAdsLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 GoogleAdsLink - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateGoogleAdsLink(UpdateGoogleAdsLinkRequest $request, array $callOptions = []): GoogleAdsLink - { - return $this->startApiCall('UpdateGoogleAdsLink', $request, $callOptions)->wait(); - } - - /** - * Updates a Key Event. - * - * The async variant is {@see AnalyticsAdminServiceClient::updateKeyEventAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/update_key_event.php - * - * @param UpdateKeyEventRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 KeyEvent - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateKeyEvent(UpdateKeyEventRequest $request, array $callOptions = []): KeyEvent - { - return $this->startApiCall('UpdateKeyEvent', $request, $callOptions)->wait(); - } - - /** - * Updates a measurement protocol secret. - * - * The async variant is - * {@see AnalyticsAdminServiceClient::updateMeasurementProtocolSecretAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/update_measurement_protocol_secret.php - * - * @param UpdateMeasurementProtocolSecretRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 MeasurementProtocolSecret - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest $request, array $callOptions = []): MeasurementProtocolSecret - { - return $this->startApiCall('UpdateMeasurementProtocolSecret', $request, $callOptions)->wait(); - } - - /** - * Updates a property. - * - * The async variant is {@see AnalyticsAdminServiceClient::updatePropertyAsync()} . - * - * @example samples/V1beta/AnalyticsAdminServiceClient/update_property.php - * - * @param UpdatePropertyRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * 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 Property - * - * @throws ApiException Thrown if the API call fails. - * - * @experimental - */ - public function updateProperty(UpdatePropertyRequest $request, array $callOptions = []): Property - { - return $this->startApiCall('UpdateProperty', $request, $callOptions)->wait(); - } -} diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/gapic_metadata.json b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/gapic_metadata.json deleted file mode 100644 index 598ade2f6653..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/gapic_metadata.json +++ /dev/null @@ -1,288 +0,0 @@ -{ - "schema": "1.0", - "comment": "This file maps proto services\/RPCs to the corresponding library clients\/methods", - "language": "php", - "protoPackage": "google.analytics.admin.v1beta", - "libraryPackage": "Google\\Analytics\\Admin\\V1beta", - "services": { - "AnalyticsAdminService": { - "clients": { - "grpc": { - "libraryClient": "AnalyticsAdminServiceGapicClient", - "rpcs": { - "AcknowledgeUserDataCollection": { - "methods": [ - "acknowledgeUserDataCollection" - ] - }, - "ArchiveCustomDimension": { - "methods": [ - "archiveCustomDimension" - ] - }, - "ArchiveCustomMetric": { - "methods": [ - "archiveCustomMetric" - ] - }, - "CreateConversionEvent": { - "methods": [ - "createConversionEvent" - ] - }, - "CreateCustomDimension": { - "methods": [ - "createCustomDimension" - ] - }, - "CreateCustomMetric": { - "methods": [ - "createCustomMetric" - ] - }, - "CreateDataStream": { - "methods": [ - "createDataStream" - ] - }, - "CreateFirebaseLink": { - "methods": [ - "createFirebaseLink" - ] - }, - "CreateGoogleAdsLink": { - "methods": [ - "createGoogleAdsLink" - ] - }, - "CreateKeyEvent": { - "methods": [ - "createKeyEvent" - ] - }, - "CreateMeasurementProtocolSecret": { - "methods": [ - "createMeasurementProtocolSecret" - ] - }, - "CreateProperty": { - "methods": [ - "createProperty" - ] - }, - "DeleteAccount": { - "methods": [ - "deleteAccount" - ] - }, - "DeleteConversionEvent": { - "methods": [ - "deleteConversionEvent" - ] - }, - "DeleteDataStream": { - "methods": [ - "deleteDataStream" - ] - }, - "DeleteFirebaseLink": { - "methods": [ - "deleteFirebaseLink" - ] - }, - "DeleteGoogleAdsLink": { - "methods": [ - "deleteGoogleAdsLink" - ] - }, - "DeleteKeyEvent": { - "methods": [ - "deleteKeyEvent" - ] - }, - "DeleteMeasurementProtocolSecret": { - "methods": [ - "deleteMeasurementProtocolSecret" - ] - }, - "DeleteProperty": { - "methods": [ - "deleteProperty" - ] - }, - "GetAccount": { - "methods": [ - "getAccount" - ] - }, - "GetConversionEvent": { - "methods": [ - "getConversionEvent" - ] - }, - "GetCustomDimension": { - "methods": [ - "getCustomDimension" - ] - }, - "GetCustomMetric": { - "methods": [ - "getCustomMetric" - ] - }, - "GetDataRetentionSettings": { - "methods": [ - "getDataRetentionSettings" - ] - }, - "GetDataSharingSettings": { - "methods": [ - "getDataSharingSettings" - ] - }, - "GetDataStream": { - "methods": [ - "getDataStream" - ] - }, - "GetKeyEvent": { - "methods": [ - "getKeyEvent" - ] - }, - "GetMeasurementProtocolSecret": { - "methods": [ - "getMeasurementProtocolSecret" - ] - }, - "GetProperty": { - "methods": [ - "getProperty" - ] - }, - "ListAccountSummaries": { - "methods": [ - "listAccountSummaries" - ] - }, - "ListAccounts": { - "methods": [ - "listAccounts" - ] - }, - "ListConversionEvents": { - "methods": [ - "listConversionEvents" - ] - }, - "ListCustomDimensions": { - "methods": [ - "listCustomDimensions" - ] - }, - "ListCustomMetrics": { - "methods": [ - "listCustomMetrics" - ] - }, - "ListDataStreams": { - "methods": [ - "listDataStreams" - ] - }, - "ListFirebaseLinks": { - "methods": [ - "listFirebaseLinks" - ] - }, - "ListGoogleAdsLinks": { - "methods": [ - "listGoogleAdsLinks" - ] - }, - "ListKeyEvents": { - "methods": [ - "listKeyEvents" - ] - }, - "ListMeasurementProtocolSecrets": { - "methods": [ - "listMeasurementProtocolSecrets" - ] - }, - "ListProperties": { - "methods": [ - "listProperties" - ] - }, - "ProvisionAccountTicket": { - "methods": [ - "provisionAccountTicket" - ] - }, - "RunAccessReport": { - "methods": [ - "runAccessReport" - ] - }, - "SearchChangeHistoryEvents": { - "methods": [ - "searchChangeHistoryEvents" - ] - }, - "UpdateAccount": { - "methods": [ - "updateAccount" - ] - }, - "UpdateConversionEvent": { - "methods": [ - "updateConversionEvent" - ] - }, - "UpdateCustomDimension": { - "methods": [ - "updateCustomDimension" - ] - }, - "UpdateCustomMetric": { - "methods": [ - "updateCustomMetric" - ] - }, - "UpdateDataRetentionSettings": { - "methods": [ - "updateDataRetentionSettings" - ] - }, - "UpdateDataStream": { - "methods": [ - "updateDataStream" - ] - }, - "UpdateGoogleAdsLink": { - "methods": [ - "updateGoogleAdsLink" - ] - }, - "UpdateKeyEvent": { - "methods": [ - "updateKeyEvent" - ] - }, - "UpdateMeasurementProtocolSecret": { - "methods": [ - "updateMeasurementProtocolSecret" - ] - }, - "UpdateProperty": { - "methods": [ - "updateProperty" - ] - } - } - } - } - } - } -} \ No newline at end of file diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_client_config.json b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_client_config.json deleted file mode 100644 index e546f6c5e3fa..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_client_config.json +++ /dev/null @@ -1,305 +0,0 @@ -{ - "interfaces": { - "google.analytics.admin.v1beta.AnalyticsAdminService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "UNKNOWN" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 1000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 60000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 60000, - "total_timeout_millis": 60000 - } - }, - "methods": { - "AcknowledgeUserDataCollection": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ArchiveCustomDimension": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ArchiveCustomMetric": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateConversionEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateCustomDimension": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateCustomMetric": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateDataStream": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateFirebaseLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateGoogleAdsLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateKeyEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateMeasurementProtocolSecret": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateProperty": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteAccount": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteConversionEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteDataStream": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteFirebaseLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteGoogleAdsLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteKeyEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteMeasurementProtocolSecret": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DeleteProperty": { - "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" - }, - "GetConversionEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetCustomDimension": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetCustomMetric": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetDataRetentionSettings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetDataSharingSettings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetDataStream": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetKeyEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetMeasurementProtocolSecret": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GetProperty": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListAccountSummaries": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListAccounts": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListConversionEvents": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListCustomDimensions": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListCustomMetrics": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListDataStreams": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListFirebaseLinks": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListGoogleAdsLinks": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListKeyEvents": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListMeasurementProtocolSecrets": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListProperties": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ProvisionAccountTicket": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "RunAccessReport": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "SearchChangeHistoryEvents": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateAccount": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateConversionEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateCustomDimension": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateCustomMetric": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateDataRetentionSettings": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateDataStream": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateGoogleAdsLink": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateKeyEvent": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateMeasurementProtocolSecret": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UpdateProperty": { - "timeout_millis": 60000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_descriptor_config.php b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_descriptor_config.php deleted file mode 100644 index 2cc54403fe6c..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_descriptor_config.php +++ /dev/null @@ -1,757 +0,0 @@ - [ - 'google.analytics.admin.v1beta.AnalyticsAdminService' => [ - 'AcknowledgeUserDataCollection' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\AcknowledgeUserDataCollectionResponse', - 'headerParams' => [ - [ - 'keyName' => 'property', - 'fieldAccessors' => [ - 'getProperty', - ], - ], - ], - ], - 'ArchiveCustomDimension' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'ArchiveCustomMetric' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'CreateConversionEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ConversionEvent', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateCustomDimension' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\CustomDimension', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateCustomMetric' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\CustomMetric', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateDataStream' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\DataStream', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateFirebaseLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\FirebaseLink', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateGoogleAdsLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\GoogleAdsLink', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateKeyEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\KeyEvent', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateMeasurementProtocolSecret' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\MeasurementProtocolSecret', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'CreateProperty' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\Property', - ], - 'DeleteAccount' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteConversionEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteDataStream' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteFirebaseLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteGoogleAdsLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteKeyEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteMeasurementProtocolSecret' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'DeleteProperty' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\Property', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetAccount' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\Account', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetConversionEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ConversionEvent', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetCustomDimension' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\CustomDimension', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetCustomMetric' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\CustomMetric', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetDataRetentionSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\DataRetentionSettings', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetDataSharingSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\DataSharingSettings', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetDataStream' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\DataStream', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetKeyEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\KeyEvent', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetMeasurementProtocolSecret' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\MeasurementProtocolSecret', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'GetProperty' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\Property', - 'headerParams' => [ - [ - 'keyName' => 'name', - 'fieldAccessors' => [ - 'getName', - ], - ], - ], - ], - 'ListAccountSummaries' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getAccountSummaries', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ListAccountSummariesResponse', - ], - 'ListAccounts' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getAccounts', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ListAccountsResponse', - ], - 'ListConversionEvents' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getConversionEvents', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ListConversionEventsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListCustomDimensions' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getCustomDimensions', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ListCustomDimensionsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListCustomMetrics' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getCustomMetrics', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ListCustomMetricsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListDataStreams' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getDataStreams', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ListDataStreamsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListFirebaseLinks' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getFirebaseLinks', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ListFirebaseLinksResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListGoogleAdsLinks' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getGoogleAdsLinks', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ListGoogleAdsLinksResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListKeyEvents' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getKeyEvents', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ListKeyEventsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListMeasurementProtocolSecrets' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getMeasurementProtocolSecrets', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ListMeasurementProtocolSecretsResponse', - 'headerParams' => [ - [ - 'keyName' => 'parent', - 'fieldAccessors' => [ - 'getParent', - ], - ], - ], - ], - 'ListProperties' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getProperties', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ListPropertiesResponse', - ], - 'ProvisionAccountTicket' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ProvisionAccountTicketResponse', - ], - 'RunAccessReport' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\RunAccessReportResponse', - 'headerParams' => [ - [ - 'keyName' => 'entity', - 'fieldAccessors' => [ - 'getEntity', - ], - ], - ], - ], - 'SearchChangeHistoryEvents' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getChangeHistoryEvents', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\SearchChangeHistoryEventsResponse', - 'headerParams' => [ - [ - 'keyName' => 'account', - 'fieldAccessors' => [ - 'getAccount', - ], - ], - ], - ], - 'UpdateAccount' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\Account', - 'headerParams' => [ - [ - 'keyName' => 'account.name', - 'fieldAccessors' => [ - 'getAccount', - 'getName', - ], - ], - ], - ], - 'UpdateConversionEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\ConversionEvent', - 'headerParams' => [ - [ - 'keyName' => 'conversion_event.name', - 'fieldAccessors' => [ - 'getConversionEvent', - 'getName', - ], - ], - ], - ], - 'UpdateCustomDimension' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\CustomDimension', - 'headerParams' => [ - [ - 'keyName' => 'custom_dimension.name', - 'fieldAccessors' => [ - 'getCustomDimension', - 'getName', - ], - ], - ], - ], - 'UpdateCustomMetric' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\CustomMetric', - 'headerParams' => [ - [ - 'keyName' => 'custom_metric.name', - 'fieldAccessors' => [ - 'getCustomMetric', - 'getName', - ], - ], - ], - ], - 'UpdateDataRetentionSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\DataRetentionSettings', - 'headerParams' => [ - [ - 'keyName' => 'data_retention_settings.name', - 'fieldAccessors' => [ - 'getDataRetentionSettings', - 'getName', - ], - ], - ], - ], - 'UpdateDataStream' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\DataStream', - 'headerParams' => [ - [ - 'keyName' => 'data_stream.name', - 'fieldAccessors' => [ - 'getDataStream', - 'getName', - ], - ], - ], - ], - 'UpdateGoogleAdsLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\GoogleAdsLink', - 'headerParams' => [ - [ - 'keyName' => 'google_ads_link.name', - 'fieldAccessors' => [ - 'getGoogleAdsLink', - 'getName', - ], - ], - ], - ], - 'UpdateKeyEvent' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\KeyEvent', - 'headerParams' => [ - [ - 'keyName' => 'key_event.name', - 'fieldAccessors' => [ - 'getKeyEvent', - 'getName', - ], - ], - ], - ], - 'UpdateMeasurementProtocolSecret' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\MeasurementProtocolSecret', - 'headerParams' => [ - [ - 'keyName' => 'measurement_protocol_secret.name', - 'fieldAccessors' => [ - 'getMeasurementProtocolSecret', - 'getName', - ], - ], - ], - ], - 'UpdateProperty' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Analytics\Admin\V1beta\Property', - 'headerParams' => [ - [ - 'keyName' => 'property.name', - 'fieldAccessors' => [ - 'getProperty', - 'getName', - ], - ], - ], - ], - 'templateMap' => [ - 'account' => 'accounts/{account}', - 'conversionEvent' => 'properties/{property}/conversionEvents/{conversion_event}', - 'customDimension' => 'properties/{property}/customDimensions/{custom_dimension}', - 'customMetric' => 'properties/{property}/customMetrics/{custom_metric}', - 'dataRetentionSettings' => 'properties/{property}/dataRetentionSettings', - 'dataSharingSettings' => 'accounts/{account}/dataSharingSettings', - 'dataStream' => 'properties/{property}/dataStreams/{data_stream}', - 'firebaseLink' => 'properties/{property}/firebaseLinks/{firebase_link}', - 'googleAdsLink' => 'properties/{property}/googleAdsLinks/{google_ads_link}', - 'keyEvent' => 'properties/{property}/keyEvents/{key_event}', - 'measurementProtocolSecret' => 'properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}', - 'organization' => 'organizations/{organization}', - 'property' => 'properties/{property}', - ], - ], - ], -]; diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_rest_client_config.php b/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_rest_client_config.php deleted file mode 100644 index 76c0312d56fd..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/src/V1beta/resources/analytics_admin_service_rest_client_config.php +++ /dev/null @@ -1,663 +0,0 @@ - [ - 'google.analytics.admin.v1beta.AnalyticsAdminService' => [ - 'AcknowledgeUserDataCollection' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/{property=properties/*}:acknowledgeUserDataCollection', - 'body' => '*', - 'placeholders' => [ - 'property' => [ - 'getters' => [ - 'getProperty', - ], - ], - ], - ], - 'ArchiveCustomDimension' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/{name=properties/*/customDimensions/*}:archive', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ArchiveCustomMetric' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/{name=properties/*/customMetrics/*}:archive', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'CreateConversionEvent' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/{parent=properties/*}/conversionEvents', - 'body' => 'conversion_event', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateCustomDimension' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/{parent=properties/*}/customDimensions', - 'body' => 'custom_dimension', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateCustomMetric' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/{parent=properties/*}/customMetrics', - 'body' => 'custom_metric', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateDataStream' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/{parent=properties/*}/dataStreams', - 'body' => 'data_stream', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateFirebaseLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/{parent=properties/*}/firebaseLinks', - 'body' => 'firebase_link', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateGoogleAdsLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/{parent=properties/*}/googleAdsLinks', - 'body' => 'google_ads_link', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateKeyEvent' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/{parent=properties/*}/keyEvents', - 'body' => 'key_event', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateMeasurementProtocolSecret' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets', - 'body' => 'measurement_protocol_secret', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'CreateProperty' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/properties', - 'body' => 'property', - ], - 'DeleteAccount' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1beta/{name=accounts/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteConversionEvent' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1beta/{name=properties/*/conversionEvents/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteDataStream' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1beta/{name=properties/*/dataStreams/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteFirebaseLink' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1beta/{name=properties/*/firebaseLinks/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteGoogleAdsLink' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1beta/{name=properties/*/googleAdsLinks/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteKeyEvent' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1beta/{name=properties/*/keyEvents/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteMeasurementProtocolSecret' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1beta/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteProperty' => [ - 'method' => 'delete', - 'uriTemplate' => '/v1beta/{name=properties/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetAccount' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{name=accounts/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetConversionEvent' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{name=properties/*/conversionEvents/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetCustomDimension' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{name=properties/*/customDimensions/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetCustomMetric' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{name=properties/*/customMetrics/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetDataRetentionSettings' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{name=properties/*/dataRetentionSettings}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetDataSharingSettings' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{name=accounts/*/dataSharingSettings}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetDataStream' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{name=properties/*/dataStreams/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetKeyEvent' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{name=properties/*/keyEvents/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetMeasurementProtocolSecret' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetProperty' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{name=properties/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListAccountSummaries' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/accountSummaries', - ], - 'ListAccounts' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/accounts', - ], - 'ListConversionEvents' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{parent=properties/*}/conversionEvents', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListCustomDimensions' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{parent=properties/*}/customDimensions', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListCustomMetrics' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{parent=properties/*}/customMetrics', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListDataStreams' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{parent=properties/*}/dataStreams', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListFirebaseLinks' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{parent=properties/*}/firebaseLinks', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListGoogleAdsLinks' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{parent=properties/*}/googleAdsLinks', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListKeyEvents' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{parent=properties/*}/keyEvents', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListMeasurementProtocolSecrets' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets', - 'placeholders' => [ - 'parent' => [ - 'getters' => [ - 'getParent', - ], - ], - ], - ], - 'ListProperties' => [ - 'method' => 'get', - 'uriTemplate' => '/v1beta/properties', - 'queryParams' => [ - 'filter', - ], - ], - 'ProvisionAccountTicket' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/accounts:provisionAccountTicket', - 'body' => '*', - ], - 'RunAccessReport' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/{entity=properties/*}:runAccessReport', - 'body' => '*', - 'additionalBindings' => [ - [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/{entity=accounts/*}:runAccessReport', - 'body' => '*', - ], - ], - 'placeholders' => [ - 'entity' => [ - 'getters' => [ - 'getEntity', - ], - ], - ], - ], - 'SearchChangeHistoryEvents' => [ - 'method' => 'post', - 'uriTemplate' => '/v1beta/{account=accounts/*}:searchChangeHistoryEvents', - 'body' => '*', - 'placeholders' => [ - 'account' => [ - 'getters' => [ - 'getAccount', - ], - ], - ], - ], - 'UpdateAccount' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1beta/{account.name=accounts/*}', - 'body' => 'account', - 'placeholders' => [ - 'account.name' => [ - 'getters' => [ - 'getAccount', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateConversionEvent' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1beta/{conversion_event.name=properties/*/conversionEvents/*}', - 'body' => 'conversion_event', - 'placeholders' => [ - 'conversion_event.name' => [ - 'getters' => [ - 'getConversionEvent', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateCustomDimension' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1beta/{custom_dimension.name=properties/*/customDimensions/*}', - 'body' => 'custom_dimension', - 'placeholders' => [ - 'custom_dimension.name' => [ - 'getters' => [ - 'getCustomDimension', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateCustomMetric' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1beta/{custom_metric.name=properties/*/customMetrics/*}', - 'body' => 'custom_metric', - 'placeholders' => [ - 'custom_metric.name' => [ - 'getters' => [ - 'getCustomMetric', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateDataRetentionSettings' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1beta/{data_retention_settings.name=properties/*/dataRetentionSettings}', - 'body' => 'data_retention_settings', - 'placeholders' => [ - 'data_retention_settings.name' => [ - 'getters' => [ - 'getDataRetentionSettings', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateDataStream' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1beta/{data_stream.name=properties/*/dataStreams/*}', - 'body' => 'data_stream', - 'placeholders' => [ - 'data_stream.name' => [ - 'getters' => [ - 'getDataStream', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateGoogleAdsLink' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1beta/{google_ads_link.name=properties/*/googleAdsLinks/*}', - 'body' => 'google_ads_link', - 'placeholders' => [ - 'google_ads_link.name' => [ - 'getters' => [ - 'getGoogleAdsLink', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateKeyEvent' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1beta/{key_event.name=properties/*/keyEvents/*}', - 'body' => 'key_event', - 'placeholders' => [ - 'key_event.name' => [ - 'getters' => [ - 'getKeyEvent', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateMeasurementProtocolSecret' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1beta/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}', - 'body' => 'measurement_protocol_secret', - 'placeholders' => [ - 'measurement_protocol_secret.name' => [ - 'getters' => [ - 'getMeasurementProtocolSecret', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - 'UpdateProperty' => [ - 'method' => 'patch', - 'uriTemplate' => '/v1beta/{property.name=properties/*}', - 'body' => 'property', - 'placeholders' => [ - 'property.name' => [ - 'getters' => [ - 'getProperty', - 'getName', - ], - ], - ], - 'queryParams' => [ - 'update_mask', - ], - ], - ], - ], - 'numericEnums' => true, -]; diff --git a/owl-bot-staging/AnalyticsAdmin/v1beta/tests/Unit/V1beta/Client/AnalyticsAdminServiceClientTest.php b/owl-bot-staging/AnalyticsAdmin/v1beta/tests/Unit/V1beta/Client/AnalyticsAdminServiceClientTest.php deleted file mode 100644 index cb295a16a6c7..000000000000 --- a/owl-bot-staging/AnalyticsAdmin/v1beta/tests/Unit/V1beta/Client/AnalyticsAdminServiceClientTest.php +++ /dev/null @@ -1,4019 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AnalyticsAdminServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AnalyticsAdminServiceClient($options); - } - - /** @test */ - public function acknowledgeUserDataCollectionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new AcknowledgeUserDataCollectionResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedProperty = $gapicClient->propertyName('[PROPERTY]'); - $acknowledgement = 'acknowledgement1769490938'; - $request = (new AcknowledgeUserDataCollectionRequest()) - ->setProperty($formattedProperty) - ->setAcknowledgement($acknowledgement); - $response = $gapicClient->acknowledgeUserDataCollection($request); - $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.v1beta.AnalyticsAdminService/AcknowledgeUserDataCollection', $actualFuncCall); - $actualValue = $actualRequestObject->getProperty(); - $this->assertProtobufEquals($formattedProperty, $actualValue); - $actualValue = $actualRequestObject->getAcknowledgement(); - $this->assertProtobufEquals($acknowledgement, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function acknowledgeUserDataCollectionExceptionTest() - { - $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 - $formattedProperty = $gapicClient->propertyName('[PROPERTY]'); - $acknowledgement = 'acknowledgement1769490938'; - $request = (new AcknowledgeUserDataCollectionRequest()) - ->setProperty($formattedProperty) - ->setAcknowledgement($acknowledgement); - try { - $gapicClient->acknowledgeUserDataCollection($request); - // 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 archiveCustomDimensionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); - $request = (new ArchiveCustomDimensionRequest()) - ->setName($formattedName); - $gapicClient->archiveCustomDimension($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ArchiveCustomDimension', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function archiveCustomDimensionExceptionTest() - { - $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->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); - $request = (new ArchiveCustomDimensionRequest()) - ->setName($formattedName); - try { - $gapicClient->archiveCustomDimension($request); - // 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 archiveCustomMetricTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); - $request = (new ArchiveCustomMetricRequest()) - ->setName($formattedName); - $gapicClient->archiveCustomMetric($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ArchiveCustomMetric', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function archiveCustomMetricExceptionTest() - { - $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->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); - $request = (new ArchiveCustomMetricRequest()) - ->setName($formattedName); - try { - $gapicClient->archiveCustomMetric($request); - // 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 createConversionEventTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $eventName = 'eventName984174864'; - $deletable = true; - $custom = false; - $expectedResponse = new ConversionEvent(); - $expectedResponse->setName($name); - $expectedResponse->setEventName($eventName); - $expectedResponse->setDeletable($deletable); - $expectedResponse->setCustom($custom); - $transport->addResponse($expectedResponse); - // Mock request - $conversionEvent = new ConversionEvent(); - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new CreateConversionEventRequest()) - ->setConversionEvent($conversionEvent) - ->setParent($formattedParent); - $response = $gapicClient->createConversionEvent($request); - $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.v1beta.AnalyticsAdminService/CreateConversionEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getConversionEvent(); - $this->assertProtobufEquals($conversionEvent, $actualValue); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createConversionEventExceptionTest() - { - $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 - $conversionEvent = new ConversionEvent(); - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new CreateConversionEventRequest()) - ->setConversionEvent($conversionEvent) - ->setParent($formattedParent); - try { - $gapicClient->createConversionEvent($request); - // 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 createCustomDimensionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $parameterName = 'parameterName1133142369'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $disallowAdsPersonalization = false; - $expectedResponse = new CustomDimension(); - $expectedResponse->setName($name); - $expectedResponse->setParameterName($parameterName); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $expectedResponse->setDisallowAdsPersonalization($disallowAdsPersonalization); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $customDimension = new CustomDimension(); - $customDimensionParameterName = 'customDimensionParameterName-405505313'; - $customDimension->setParameterName($customDimensionParameterName); - $customDimensionDisplayName = 'customDimensionDisplayName2102948408'; - $customDimension->setDisplayName($customDimensionDisplayName); - $customDimensionScope = DimensionScope::DIMENSION_SCOPE_UNSPECIFIED; - $customDimension->setScope($customDimensionScope); - $request = (new CreateCustomDimensionRequest()) - ->setParent($formattedParent) - ->setCustomDimension($customDimension); - $response = $gapicClient->createCustomDimension($request); - $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.v1beta.AnalyticsAdminService/CreateCustomDimension', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getCustomDimension(); - $this->assertProtobufEquals($customDimension, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createCustomDimensionExceptionTest() - { - $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]'); - $customDimension = new CustomDimension(); - $customDimensionParameterName = 'customDimensionParameterName-405505313'; - $customDimension->setParameterName($customDimensionParameterName); - $customDimensionDisplayName = 'customDimensionDisplayName2102948408'; - $customDimension->setDisplayName($customDimensionDisplayName); - $customDimensionScope = DimensionScope::DIMENSION_SCOPE_UNSPECIFIED; - $customDimension->setScope($customDimensionScope); - $request = (new CreateCustomDimensionRequest()) - ->setParent($formattedParent) - ->setCustomDimension($customDimension); - try { - $gapicClient->createCustomDimension($request); - // 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 createCustomMetricTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $parameterName = 'parameterName1133142369'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $expectedResponse = new CustomMetric(); - $expectedResponse->setName($name); - $expectedResponse->setParameterName($parameterName); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $customMetric = new CustomMetric(); - $customMetricParameterName = 'customMetricParameterName1627167443'; - $customMetric->setParameterName($customMetricParameterName); - $customMetricDisplayName = 'customMetricDisplayName-835715284'; - $customMetric->setDisplayName($customMetricDisplayName); - $customMetricMeasurementUnit = MeasurementUnit::MEASUREMENT_UNIT_UNSPECIFIED; - $customMetric->setMeasurementUnit($customMetricMeasurementUnit); - $customMetricScope = MetricScope::METRIC_SCOPE_UNSPECIFIED; - $customMetric->setScope($customMetricScope); - $request = (new CreateCustomMetricRequest()) - ->setParent($formattedParent) - ->setCustomMetric($customMetric); - $response = $gapicClient->createCustomMetric($request); - $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.v1beta.AnalyticsAdminService/CreateCustomMetric', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getCustomMetric(); - $this->assertProtobufEquals($customMetric, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createCustomMetricExceptionTest() - { - $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]'); - $customMetric = new CustomMetric(); - $customMetricParameterName = 'customMetricParameterName1627167443'; - $customMetric->setParameterName($customMetricParameterName); - $customMetricDisplayName = 'customMetricDisplayName-835715284'; - $customMetric->setDisplayName($customMetricDisplayName); - $customMetricMeasurementUnit = MeasurementUnit::MEASUREMENT_UNIT_UNSPECIFIED; - $customMetric->setMeasurementUnit($customMetricMeasurementUnit); - $customMetricScope = MetricScope::METRIC_SCOPE_UNSPECIFIED; - $customMetric->setScope($customMetricScope); - $request = (new CreateCustomMetricRequest()) - ->setParent($formattedParent) - ->setCustomMetric($customMetric); - try { - $gapicClient->createCustomMetric($request); - // 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 createDataStreamTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $expectedResponse = new DataStream(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $dataStream = new DataStream(); - $dataStreamType = DataStreamType::DATA_STREAM_TYPE_UNSPECIFIED; - $dataStream->setType($dataStreamType); - $request = (new CreateDataStreamRequest()) - ->setParent($formattedParent) - ->setDataStream($dataStream); - $response = $gapicClient->createDataStream($request); - $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.v1beta.AnalyticsAdminService/CreateDataStream', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getDataStream(); - $this->assertProtobufEquals($dataStream, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createDataStreamExceptionTest() - { - $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]'); - $dataStream = new DataStream(); - $dataStreamType = DataStreamType::DATA_STREAM_TYPE_UNSPECIFIED; - $dataStream->setType($dataStreamType); - $request = (new CreateDataStreamRequest()) - ->setParent($formattedParent) - ->setDataStream($dataStream); - try { - $gapicClient->createDataStream($request); - // 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 createFirebaseLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $project = 'project-309310695'; - $expectedResponse = new FirebaseLink(); - $expectedResponse->setName($name); - $expectedResponse->setProject($project); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $firebaseLink = new FirebaseLink(); - $request = (new CreateFirebaseLinkRequest()) - ->setParent($formattedParent) - ->setFirebaseLink($firebaseLink); - $response = $gapicClient->createFirebaseLink($request); - $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.v1beta.AnalyticsAdminService/CreateFirebaseLink', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getFirebaseLink(); - $this->assertProtobufEquals($firebaseLink, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createFirebaseLinkExceptionTest() - { - $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]'); - $firebaseLink = new FirebaseLink(); - $request = (new CreateFirebaseLinkRequest()) - ->setParent($formattedParent) - ->setFirebaseLink($firebaseLink); - try { - $gapicClient->createFirebaseLink($request); - // 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 createGoogleAdsLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $customerId = 'customerId-1772061412'; - $canManageClients = false; - $creatorEmailAddress = 'creatorEmailAddress-1491810434'; - $expectedResponse = new GoogleAdsLink(); - $expectedResponse->setName($name); - $expectedResponse->setCustomerId($customerId); - $expectedResponse->setCanManageClients($canManageClients); - $expectedResponse->setCreatorEmailAddress($creatorEmailAddress); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $googleAdsLink = new GoogleAdsLink(); - $request = (new CreateGoogleAdsLinkRequest()) - ->setParent($formattedParent) - ->setGoogleAdsLink($googleAdsLink); - $response = $gapicClient->createGoogleAdsLink($request); - $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.v1beta.AnalyticsAdminService/CreateGoogleAdsLink', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getGoogleAdsLink(); - $this->assertProtobufEquals($googleAdsLink, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createGoogleAdsLinkExceptionTest() - { - $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]'); - $googleAdsLink = new GoogleAdsLink(); - $request = (new CreateGoogleAdsLinkRequest()) - ->setParent($formattedParent) - ->setGoogleAdsLink($googleAdsLink); - try { - $gapicClient->createGoogleAdsLink($request); - // 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 createKeyEventTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $eventName = 'eventName984174864'; - $deletable = true; - $custom = false; - $expectedResponse = new KeyEvent(); - $expectedResponse->setName($name); - $expectedResponse->setEventName($eventName); - $expectedResponse->setDeletable($deletable); - $expectedResponse->setCustom($custom); - $transport->addResponse($expectedResponse); - // Mock request - $keyEvent = new KeyEvent(); - $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; - $keyEvent->setCountingMethod($keyEventCountingMethod); - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new CreateKeyEventRequest()) - ->setKeyEvent($keyEvent) - ->setParent($formattedParent); - $response = $gapicClient->createKeyEvent($request); - $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.v1beta.AnalyticsAdminService/CreateKeyEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getKeyEvent(); - $this->assertProtobufEquals($keyEvent, $actualValue); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createKeyEventExceptionTest() - { - $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 - $keyEvent = new KeyEvent(); - $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; - $keyEvent->setCountingMethod($keyEventCountingMethod); - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new CreateKeyEventRequest()) - ->setKeyEvent($keyEvent) - ->setParent($formattedParent); - try { - $gapicClient->createKeyEvent($request); - // 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 createMeasurementProtocolSecretTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $secretValue = 'secretValue1322942242'; - $expectedResponse = new MeasurementProtocolSecret(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setSecretValue($secretValue); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $measurementProtocolSecret = new MeasurementProtocolSecret(); - $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; - $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); - $request = (new CreateMeasurementProtocolSecretRequest()) - ->setParent($formattedParent) - ->setMeasurementProtocolSecret($measurementProtocolSecret); - $response = $gapicClient->createMeasurementProtocolSecret($request); - $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.v1beta.AnalyticsAdminService/CreateMeasurementProtocolSecret', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $actualValue = $actualRequestObject->getMeasurementProtocolSecret(); - $this->assertProtobufEquals($measurementProtocolSecret, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createMeasurementProtocolSecretExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $measurementProtocolSecret = new MeasurementProtocolSecret(); - $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; - $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); - $request = (new CreateMeasurementProtocolSecretRequest()) - ->setParent($formattedParent) - ->setMeasurementProtocolSecret($measurementProtocolSecret); - try { - $gapicClient->createMeasurementProtocolSecret($request); - // 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 createPropertyTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $parent = 'parent-995424086'; - $displayName = 'displayName1615086568'; - $timeZone = 'timeZone36848094'; - $currencyCode = 'currencyCode1108728155'; - $account = 'account-1177318867'; - $expectedResponse = new Property(); - $expectedResponse->setName($name); - $expectedResponse->setParent($parent); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setTimeZone($timeZone); - $expectedResponse->setCurrencyCode($currencyCode); - $expectedResponse->setAccount($account); - $transport->addResponse($expectedResponse); - // Mock request - $property = new Property(); - $propertyDisplayName = 'propertyDisplayName-1254483624'; - $property->setDisplayName($propertyDisplayName); - $propertyTimeZone = 'propertyTimeZone-1600366322'; - $property->setTimeZone($propertyTimeZone); - $request = (new CreatePropertyRequest()) - ->setProperty($property); - $response = $gapicClient->createProperty($request); - $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.v1beta.AnalyticsAdminService/CreateProperty', $actualFuncCall); - $actualValue = $actualRequestObject->getProperty(); - $this->assertProtobufEquals($property, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createPropertyExceptionTest() - { - $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 = new Property(); - $propertyDisplayName = 'propertyDisplayName-1254483624'; - $property->setDisplayName($propertyDisplayName); - $propertyTimeZone = 'propertyTimeZone-1600366322'; - $property->setTimeZone($propertyTimeZone); - $request = (new CreatePropertyRequest()) - ->setProperty($property); - try { - $gapicClient->createProperty($request); - // 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 deleteAccountTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->accountName('[ACCOUNT]'); - $request = (new DeleteAccountRequest()) - ->setName($formattedName); - $gapicClient->deleteAccount($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/DeleteAccount', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteAccountExceptionTest() - { - $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->accountName('[ACCOUNT]'); - $request = (new DeleteAccountRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteAccount($request); - // 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 deleteConversionEventTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); - $request = (new DeleteConversionEventRequest()) - ->setName($formattedName); - $gapicClient->deleteConversionEvent($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/DeleteConversionEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteConversionEventExceptionTest() - { - $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->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); - $request = (new DeleteConversionEventRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteConversionEvent($request); - // 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 deleteDataStreamTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new DeleteDataStreamRequest()) - ->setName($formattedName); - $gapicClient->deleteDataStream($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/DeleteDataStream', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteDataStreamExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new DeleteDataStreamRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteDataStream($request); - // 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 deleteFirebaseLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->firebaseLinkName('[PROPERTY]', '[FIREBASE_LINK]'); - $request = (new DeleteFirebaseLinkRequest()) - ->setName($formattedName); - $gapicClient->deleteFirebaseLink($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/DeleteFirebaseLink', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteFirebaseLinkExceptionTest() - { - $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->firebaseLinkName('[PROPERTY]', '[FIREBASE_LINK]'); - $request = (new DeleteFirebaseLinkRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteFirebaseLink($request); - // 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 deleteGoogleAdsLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->googleAdsLinkName('[PROPERTY]', '[GOOGLE_ADS_LINK]'); - $request = (new DeleteGoogleAdsLinkRequest()) - ->setName($formattedName); - $gapicClient->deleteGoogleAdsLink($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/DeleteGoogleAdsLink', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteGoogleAdsLinkExceptionTest() - { - $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->googleAdsLinkName('[PROPERTY]', '[GOOGLE_ADS_LINK]'); - $request = (new DeleteGoogleAdsLinkRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteGoogleAdsLink($request); - // 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 deleteKeyEventTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->keyEventName('[PROPERTY]', '[KEY_EVENT]'); - $request = (new DeleteKeyEventRequest()) - ->setName($formattedName); - $gapicClient->deleteKeyEvent($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/DeleteKeyEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteKeyEventExceptionTest() - { - $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->keyEventName('[PROPERTY]', '[KEY_EVENT]'); - $request = (new DeleteKeyEventRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteKeyEvent($request); - // 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 deleteMeasurementProtocolSecretTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); - $request = (new DeleteMeasurementProtocolSecretRequest()) - ->setName($formattedName); - $gapicClient->deleteMeasurementProtocolSecret($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/DeleteMeasurementProtocolSecret', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deleteMeasurementProtocolSecretExceptionTest() - { - $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->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); - $request = (new DeleteMeasurementProtocolSecretRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteMeasurementProtocolSecret($request); - // 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 deletePropertyTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $parent = 'parent-995424086'; - $displayName = 'displayName1615086568'; - $timeZone = 'timeZone36848094'; - $currencyCode = 'currencyCode1108728155'; - $account = 'account-1177318867'; - $expectedResponse = new Property(); - $expectedResponse->setName($name2); - $expectedResponse->setParent($parent); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setTimeZone($timeZone); - $expectedResponse->setCurrencyCode($currencyCode); - $expectedResponse->setAccount($account); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->propertyName('[PROPERTY]'); - $request = (new DeletePropertyRequest()) - ->setName($formattedName); - $response = $gapicClient->deleteProperty($request); - $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.v1beta.AnalyticsAdminService/DeleteProperty', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function deletePropertyExceptionTest() - { - $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->propertyName('[PROPERTY]'); - $request = (new DeletePropertyRequest()) - ->setName($formattedName); - try { - $gapicClient->deleteProperty($request); - // 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() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $displayName = 'displayName1615086568'; - $regionCode = 'regionCode-1566082984'; - $deleted = false; - $gmpOrganization = 'gmpOrganization-1643573496'; - $expectedResponse = new Account(); - $expectedResponse->setName($name2); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setRegionCode($regionCode); - $expectedResponse->setDeleted($deleted); - $expectedResponse->setGmpOrganization($gmpOrganization); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->accountName('[ACCOUNT]'); - $request = (new GetAccountRequest()) - ->setName($formattedName); - $response = $gapicClient->getAccount($request); - $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.v1beta.AnalyticsAdminService/GetAccount', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getAccountExceptionTest() - { - $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->accountName('[ACCOUNT]'); - $request = (new GetAccountRequest()) - ->setName($formattedName); - try { - $gapicClient->getAccount($request); - // 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() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $eventName = 'eventName984174864'; - $deletable = true; - $custom = false; - $expectedResponse = new ConversionEvent(); - $expectedResponse->setName($name2); - $expectedResponse->setEventName($eventName); - $expectedResponse->setDeletable($deletable); - $expectedResponse->setCustom($custom); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); - $request = (new GetConversionEventRequest()) - ->setName($formattedName); - $response = $gapicClient->getConversionEvent($request); - $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.v1beta.AnalyticsAdminService/GetConversionEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getConversionEventExceptionTest() - { - $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->conversionEventName('[PROPERTY]', '[CONVERSION_EVENT]'); - $request = (new GetConversionEventRequest()) - ->setName($formattedName); - try { - $gapicClient->getConversionEvent($request); - // 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 getCustomDimensionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $parameterName = 'parameterName1133142369'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $disallowAdsPersonalization = false; - $expectedResponse = new CustomDimension(); - $expectedResponse->setName($name2); - $expectedResponse->setParameterName($parameterName); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $expectedResponse->setDisallowAdsPersonalization($disallowAdsPersonalization); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); - $request = (new GetCustomDimensionRequest()) - ->setName($formattedName); - $response = $gapicClient->getCustomDimension($request); - $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.v1beta.AnalyticsAdminService/GetCustomDimension', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getCustomDimensionExceptionTest() - { - $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->customDimensionName('[PROPERTY]', '[CUSTOM_DIMENSION]'); - $request = (new GetCustomDimensionRequest()) - ->setName($formattedName); - try { - $gapicClient->getCustomDimension($request); - // 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 getCustomMetricTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $parameterName = 'parameterName1133142369'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $expectedResponse = new CustomMetric(); - $expectedResponse->setName($name2); - $expectedResponse->setParameterName($parameterName); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); - $request = (new GetCustomMetricRequest()) - ->setName($formattedName); - $response = $gapicClient->getCustomMetric($request); - $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.v1beta.AnalyticsAdminService/GetCustomMetric', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getCustomMetricExceptionTest() - { - $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->customMetricName('[PROPERTY]', '[CUSTOM_METRIC]'); - $request = (new GetCustomMetricRequest()) - ->setName($formattedName); - try { - $gapicClient->getCustomMetric($request); - // 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 getDataRetentionSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $resetUserDataOnNewActivity = false; - $expectedResponse = new DataRetentionSettings(); - $expectedResponse->setName($name2); - $expectedResponse->setResetUserDataOnNewActivity($resetUserDataOnNewActivity); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->dataRetentionSettingsName('[PROPERTY]'); - $request = (new GetDataRetentionSettingsRequest()) - ->setName($formattedName); - $response = $gapicClient->getDataRetentionSettings($request); - $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.v1beta.AnalyticsAdminService/GetDataRetentionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getDataRetentionSettingsExceptionTest() - { - $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->dataRetentionSettingsName('[PROPERTY]'); - $request = (new GetDataRetentionSettingsRequest()) - ->setName($formattedName); - try { - $gapicClient->getDataRetentionSettings($request); - // 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 getDataSharingSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $sharingWithGoogleSupportEnabled = false; - $sharingWithGoogleAssignedSalesEnabled = false; - $sharingWithGoogleAnySalesEnabled = false; - $sharingWithGoogleProductsEnabled = true; - $sharingWithOthersEnabled = false; - $expectedResponse = new DataSharingSettings(); - $expectedResponse->setName($name2); - $expectedResponse->setSharingWithGoogleSupportEnabled($sharingWithGoogleSupportEnabled); - $expectedResponse->setSharingWithGoogleAssignedSalesEnabled($sharingWithGoogleAssignedSalesEnabled); - $expectedResponse->setSharingWithGoogleAnySalesEnabled($sharingWithGoogleAnySalesEnabled); - $expectedResponse->setSharingWithGoogleProductsEnabled($sharingWithGoogleProductsEnabled); - $expectedResponse->setSharingWithOthersEnabled($sharingWithOthersEnabled); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->dataSharingSettingsName('[ACCOUNT]'); - $request = (new GetDataSharingSettingsRequest()) - ->setName($formattedName); - $response = $gapicClient->getDataSharingSettings($request); - $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.v1beta.AnalyticsAdminService/GetDataSharingSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getDataSharingSettingsExceptionTest() - { - $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->dataSharingSettingsName('[ACCOUNT]'); - $request = (new GetDataSharingSettingsRequest()) - ->setName($formattedName); - try { - $gapicClient->getDataSharingSettings($request); - // 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 getDataStreamTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $displayName = 'displayName1615086568'; - $expectedResponse = new DataStream(); - $expectedResponse->setName($name2); - $expectedResponse->setDisplayName($displayName); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new GetDataStreamRequest()) - ->setName($formattedName); - $response = $gapicClient->getDataStream($request); - $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.v1beta.AnalyticsAdminService/GetDataStream', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getDataStreamExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new GetDataStreamRequest()) - ->setName($formattedName); - try { - $gapicClient->getDataStream($request); - // 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 getKeyEventTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $eventName = 'eventName984174864'; - $deletable = true; - $custom = false; - $expectedResponse = new KeyEvent(); - $expectedResponse->setName($name2); - $expectedResponse->setEventName($eventName); - $expectedResponse->setDeletable($deletable); - $expectedResponse->setCustom($custom); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->keyEventName('[PROPERTY]', '[KEY_EVENT]'); - $request = (new GetKeyEventRequest()) - ->setName($formattedName); - $response = $gapicClient->getKeyEvent($request); - $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.v1beta.AnalyticsAdminService/GetKeyEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getKeyEventExceptionTest() - { - $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->keyEventName('[PROPERTY]', '[KEY_EVENT]'); - $request = (new GetKeyEventRequest()) - ->setName($formattedName); - try { - $gapicClient->getKeyEvent($request); - // 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 getMeasurementProtocolSecretTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $displayName = 'displayName1615086568'; - $secretValue = 'secretValue1322942242'; - $expectedResponse = new MeasurementProtocolSecret(); - $expectedResponse->setName($name2); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setSecretValue($secretValue); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); - $request = (new GetMeasurementProtocolSecretRequest()) - ->setName($formattedName); - $response = $gapicClient->getMeasurementProtocolSecret($request); - $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.v1beta.AnalyticsAdminService/GetMeasurementProtocolSecret', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getMeasurementProtocolSecretExceptionTest() - { - $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->measurementProtocolSecretName('[PROPERTY]', '[DATA_STREAM]', '[MEASUREMENT_PROTOCOL_SECRET]'); - $request = (new GetMeasurementProtocolSecretRequest()) - ->setName($formattedName); - try { - $gapicClient->getMeasurementProtocolSecret($request); - // 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 getPropertyTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name2 = 'name2-1052831874'; - $parent = 'parent-995424086'; - $displayName = 'displayName1615086568'; - $timeZone = 'timeZone36848094'; - $currencyCode = 'currencyCode1108728155'; - $account = 'account-1177318867'; - $expectedResponse = new Property(); - $expectedResponse->setName($name2); - $expectedResponse->setParent($parent); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setTimeZone($timeZone); - $expectedResponse->setCurrencyCode($currencyCode); - $expectedResponse->setAccount($account); - $transport->addResponse($expectedResponse); - // Mock request - $formattedName = $gapicClient->propertyName('[PROPERTY]'); - $request = (new GetPropertyRequest()) - ->setName($formattedName); - $response = $gapicClient->getProperty($request); - $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.v1beta.AnalyticsAdminService/GetProperty', $actualFuncCall); - $actualValue = $actualRequestObject->getName(); - $this->assertProtobufEquals($formattedName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getPropertyExceptionTest() - { - $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->propertyName('[PROPERTY]'); - $request = (new GetPropertyRequest()) - ->setName($formattedName); - try { - $gapicClient->getProperty($request); - // 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 listAccountSummariesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $accountSummariesElement = new AccountSummary(); - $accountSummaries = [ - $accountSummariesElement, - ]; - $expectedResponse = new ListAccountSummariesResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setAccountSummaries($accountSummaries); - $transport->addResponse($expectedResponse); - $request = new ListAccountSummariesRequest(); - $response = $gapicClient->listAccountSummaries($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getAccountSummaries()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListAccountSummaries', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAccountSummariesExceptionTest() - { - $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); - $request = new ListAccountSummariesRequest(); - try { - $gapicClient->listAccountSummaries($request); - // 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 listAccountsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $accountsElement = new Account(); - $accounts = [ - $accountsElement, - ]; - $expectedResponse = new ListAccountsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setAccounts($accounts); - $transport->addResponse($expectedResponse); - $request = new ListAccountsRequest(); - $response = $gapicClient->listAccounts($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getAccounts()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListAccounts', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAccountsExceptionTest() - { - $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); - $request = new ListAccountsRequest(); - try { - $gapicClient->listAccounts($request); - // 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() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $conversionEventsElement = new ConversionEvent(); - $conversionEvents = [ - $conversionEventsElement, - ]; - $expectedResponse = new ListConversionEventsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setConversionEvents($conversionEvents); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListConversionEventsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listConversionEvents($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getConversionEvents()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListConversionEvents', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listConversionEventsExceptionTest() - { - $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]'); - $request = (new ListConversionEventsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listConversionEvents($request); - // 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 listCustomDimensionsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $customDimensionsElement = new CustomDimension(); - $customDimensions = [ - $customDimensionsElement, - ]; - $expectedResponse = new ListCustomDimensionsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setCustomDimensions($customDimensions); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListCustomDimensionsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listCustomDimensions($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getCustomDimensions()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListCustomDimensions', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listCustomDimensionsExceptionTest() - { - $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]'); - $request = (new ListCustomDimensionsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listCustomDimensions($request); - // 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 listCustomMetricsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $customMetricsElement = new CustomMetric(); - $customMetrics = [ - $customMetricsElement, - ]; - $expectedResponse = new ListCustomMetricsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setCustomMetrics($customMetrics); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListCustomMetricsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listCustomMetrics($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getCustomMetrics()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListCustomMetrics', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listCustomMetricsExceptionTest() - { - $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]'); - $request = (new ListCustomMetricsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listCustomMetrics($request); - // 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 listDataStreamsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $dataStreamsElement = new DataStream(); - $dataStreams = [ - $dataStreamsElement, - ]; - $expectedResponse = new ListDataStreamsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setDataStreams($dataStreams); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListDataStreamsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listDataStreams($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getDataStreams()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListDataStreams', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listDataStreamsExceptionTest() - { - $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]'); - $request = (new ListDataStreamsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listDataStreams($request); - // 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 listFirebaseLinksTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $firebaseLinksElement = new FirebaseLink(); - $firebaseLinks = [ - $firebaseLinksElement, - ]; - $expectedResponse = new ListFirebaseLinksResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setFirebaseLinks($firebaseLinks); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListFirebaseLinksRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listFirebaseLinks($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getFirebaseLinks()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListFirebaseLinks', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listFirebaseLinksExceptionTest() - { - $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]'); - $request = (new ListFirebaseLinksRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listFirebaseLinks($request); - // 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 listGoogleAdsLinksTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $googleAdsLinksElement = new GoogleAdsLink(); - $googleAdsLinks = [ - $googleAdsLinksElement, - ]; - $expectedResponse = new ListGoogleAdsLinksResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setGoogleAdsLinks($googleAdsLinks); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListGoogleAdsLinksRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listGoogleAdsLinks($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getGoogleAdsLinks()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListGoogleAdsLinks', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listGoogleAdsLinksExceptionTest() - { - $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]'); - $request = (new ListGoogleAdsLinksRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listGoogleAdsLinks($request); - // 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 listKeyEventsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $keyEventsElement = new KeyEvent(); - $keyEvents = [ - $keyEventsElement, - ]; - $expectedResponse = new ListKeyEventsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setKeyEvents($keyEvents); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->propertyName('[PROPERTY]'); - $request = (new ListKeyEventsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listKeyEvents($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getKeyEvents()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListKeyEvents', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listKeyEventsExceptionTest() - { - $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]'); - $request = (new ListKeyEventsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listKeyEvents($request); - // 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 listMeasurementProtocolSecretsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $measurementProtocolSecretsElement = new MeasurementProtocolSecret(); - $measurementProtocolSecrets = [ - $measurementProtocolSecretsElement, - ]; - $expectedResponse = new ListMeasurementProtocolSecretsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setMeasurementProtocolSecrets($measurementProtocolSecrets); - $transport->addResponse($expectedResponse); - // Mock request - $formattedParent = $gapicClient->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new ListMeasurementProtocolSecretsRequest()) - ->setParent($formattedParent); - $response = $gapicClient->listMeasurementProtocolSecrets($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getMeasurementProtocolSecrets()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListMeasurementProtocolSecrets', $actualFuncCall); - $actualValue = $actualRequestObject->getParent(); - $this->assertProtobufEquals($formattedParent, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listMeasurementProtocolSecretsExceptionTest() - { - $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->dataStreamName('[PROPERTY]', '[DATA_STREAM]'); - $request = (new ListMeasurementProtocolSecretsRequest()) - ->setParent($formattedParent); - try { - $gapicClient->listMeasurementProtocolSecrets($request); - // 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 listPropertiesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $propertiesElement = new Property(); - $properties = [ - $propertiesElement, - ]; - $expectedResponse = new ListPropertiesResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setProperties($properties); - $transport->addResponse($expectedResponse); - // Mock request - $filter = 'filter-1274492040'; - $request = (new ListPropertiesRequest()) - ->setFilter($filter); - $response = $gapicClient->listProperties($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getProperties()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/ListProperties', $actualFuncCall); - $actualValue = $actualRequestObject->getFilter(); - $this->assertProtobufEquals($filter, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listPropertiesExceptionTest() - { - $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 - $filter = 'filter-1274492040'; - $request = (new ListPropertiesRequest()) - ->setFilter($filter); - try { - $gapicClient->listProperties($request); - // 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 provisionAccountTicketTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $accountTicketId = 'accountTicketId-442102884'; - $expectedResponse = new ProvisionAccountTicketResponse(); - $expectedResponse->setAccountTicketId($accountTicketId); - $transport->addResponse($expectedResponse); - $request = new ProvisionAccountTicketRequest(); - $response = $gapicClient->provisionAccountTicket($request); - $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.v1beta.AnalyticsAdminService/ProvisionAccountTicket', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function provisionAccountTicketExceptionTest() - { - $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); - $request = new ProvisionAccountTicketRequest(); - try { - $gapicClient->provisionAccountTicket($request); - // 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 runAccessReportTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $rowCount = 1340416618; - $expectedResponse = new RunAccessReportResponse(); - $expectedResponse->setRowCount($rowCount); - $transport->addResponse($expectedResponse); - $request = new RunAccessReportRequest(); - $response = $gapicClient->runAccessReport($request); - $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.v1beta.AnalyticsAdminService/RunAccessReport', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function runAccessReportExceptionTest() - { - $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); - $request = new RunAccessReportRequest(); - try { - $gapicClient->runAccessReport($request); - // 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 searchChangeHistoryEventsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $changeHistoryEventsElement = new ChangeHistoryEvent(); - $changeHistoryEvents = [ - $changeHistoryEventsElement, - ]; - $expectedResponse = new SearchChangeHistoryEventsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setChangeHistoryEvents($changeHistoryEvents); - $transport->addResponse($expectedResponse); - // Mock request - $formattedAccount = $gapicClient->accountName('[ACCOUNT]'); - $request = (new SearchChangeHistoryEventsRequest()) - ->setAccount($formattedAccount); - $response = $gapicClient->searchChangeHistoryEvents($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getChangeHistoryEvents()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.analytics.admin.v1beta.AnalyticsAdminService/SearchChangeHistoryEvents', $actualFuncCall); - $actualValue = $actualRequestObject->getAccount(); - $this->assertProtobufEquals($formattedAccount, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function searchChangeHistoryEventsExceptionTest() - { - $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 - $formattedAccount = $gapicClient->accountName('[ACCOUNT]'); - $request = (new SearchChangeHistoryEventsRequest()) - ->setAccount($formattedAccount); - try { - $gapicClient->searchChangeHistoryEvents($request); - // 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() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $regionCode = 'regionCode-1566082984'; - $deleted = false; - $gmpOrganization = 'gmpOrganization-1643573496'; - $expectedResponse = new Account(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setRegionCode($regionCode); - $expectedResponse->setDeleted($deleted); - $expectedResponse->setGmpOrganization($gmpOrganization); - $transport->addResponse($expectedResponse); - // Mock request - $account = new Account(); - $accountDisplayName = 'accountDisplayName-616446464'; - $account->setDisplayName($accountDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateAccountRequest()) - ->setAccount($account) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateAccount($request); - $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.v1beta.AnalyticsAdminService/UpdateAccount', $actualFuncCall); - $actualValue = $actualRequestObject->getAccount(); - $this->assertProtobufEquals($account, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateAccountExceptionTest() - { - $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 - $account = new Account(); - $accountDisplayName = 'accountDisplayName-616446464'; - $account->setDisplayName($accountDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateAccountRequest()) - ->setAccount($account) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateAccount($request); - // 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 updateConversionEventTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $eventName = 'eventName984174864'; - $deletable = true; - $custom = false; - $expectedResponse = new ConversionEvent(); - $expectedResponse->setName($name); - $expectedResponse->setEventName($eventName); - $expectedResponse->setDeletable($deletable); - $expectedResponse->setCustom($custom); - $transport->addResponse($expectedResponse); - // Mock request - $conversionEvent = new ConversionEvent(); - $updateMask = new FieldMask(); - $request = (new UpdateConversionEventRequest()) - ->setConversionEvent($conversionEvent) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateConversionEvent($request); - $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.v1beta.AnalyticsAdminService/UpdateConversionEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getConversionEvent(); - $this->assertProtobufEquals($conversionEvent, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateConversionEventExceptionTest() - { - $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 - $conversionEvent = new ConversionEvent(); - $updateMask = new FieldMask(); - $request = (new UpdateConversionEventRequest()) - ->setConversionEvent($conversionEvent) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateConversionEvent($request); - // 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 updateCustomDimensionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $parameterName = 'parameterName1133142369'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $disallowAdsPersonalization = false; - $expectedResponse = new CustomDimension(); - $expectedResponse->setName($name); - $expectedResponse->setParameterName($parameterName); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $expectedResponse->setDisallowAdsPersonalization($disallowAdsPersonalization); - $transport->addResponse($expectedResponse); - // Mock request - $updateMask = new FieldMask(); - $request = (new UpdateCustomDimensionRequest()) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateCustomDimension($request); - $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.v1beta.AnalyticsAdminService/UpdateCustomDimension', $actualFuncCall); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateCustomDimensionExceptionTest() - { - $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(); - $request = (new UpdateCustomDimensionRequest()) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateCustomDimension($request); - // 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 updateCustomMetricTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $parameterName = 'parameterName1133142369'; - $displayName = 'displayName1615086568'; - $description = 'description-1724546052'; - $expectedResponse = new CustomMetric(); - $expectedResponse->setName($name); - $expectedResponse->setParameterName($parameterName); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setDescription($description); - $transport->addResponse($expectedResponse); - // Mock request - $updateMask = new FieldMask(); - $request = (new UpdateCustomMetricRequest()) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateCustomMetric($request); - $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.v1beta.AnalyticsAdminService/UpdateCustomMetric', $actualFuncCall); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateCustomMetricExceptionTest() - { - $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(); - $request = (new UpdateCustomMetricRequest()) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateCustomMetric($request); - // 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 updateDataRetentionSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $resetUserDataOnNewActivity = false; - $expectedResponse = new DataRetentionSettings(); - $expectedResponse->setName($name); - $expectedResponse->setResetUserDataOnNewActivity($resetUserDataOnNewActivity); - $transport->addResponse($expectedResponse); - // Mock request - $dataRetentionSettings = new DataRetentionSettings(); - $dataRetentionSettingsEventDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; - $dataRetentionSettings->setEventDataRetention($dataRetentionSettingsEventDataRetention); - $dataRetentionSettingsUserDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; - $dataRetentionSettings->setUserDataRetention($dataRetentionSettingsUserDataRetention); - $updateMask = new FieldMask(); - $request = (new UpdateDataRetentionSettingsRequest()) - ->setDataRetentionSettings($dataRetentionSettings) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateDataRetentionSettings($request); - $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.v1beta.AnalyticsAdminService/UpdateDataRetentionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getDataRetentionSettings(); - $this->assertProtobufEquals($dataRetentionSettings, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateDataRetentionSettingsExceptionTest() - { - $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 - $dataRetentionSettings = new DataRetentionSettings(); - $dataRetentionSettingsEventDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; - $dataRetentionSettings->setEventDataRetention($dataRetentionSettingsEventDataRetention); - $dataRetentionSettingsUserDataRetention = RetentionDuration::RETENTION_DURATION_UNSPECIFIED; - $dataRetentionSettings->setUserDataRetention($dataRetentionSettingsUserDataRetention); - $updateMask = new FieldMask(); - $request = (new UpdateDataRetentionSettingsRequest()) - ->setDataRetentionSettings($dataRetentionSettings) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateDataRetentionSettings($request); - // 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 updateDataStreamTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $expectedResponse = new DataStream(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $transport->addResponse($expectedResponse); - // Mock request - $updateMask = new FieldMask(); - $request = (new UpdateDataStreamRequest()) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateDataStream($request); - $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.v1beta.AnalyticsAdminService/UpdateDataStream', $actualFuncCall); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateDataStreamExceptionTest() - { - $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(); - $request = (new UpdateDataStreamRequest()) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateDataStream($request); - // 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 updateGoogleAdsLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $customerId = 'customerId-1772061412'; - $canManageClients = false; - $creatorEmailAddress = 'creatorEmailAddress-1491810434'; - $expectedResponse = new GoogleAdsLink(); - $expectedResponse->setName($name); - $expectedResponse->setCustomerId($customerId); - $expectedResponse->setCanManageClients($canManageClients); - $expectedResponse->setCreatorEmailAddress($creatorEmailAddress); - $transport->addResponse($expectedResponse); - // Mock request - $updateMask = new FieldMask(); - $request = (new UpdateGoogleAdsLinkRequest()) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateGoogleAdsLink($request); - $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.v1beta.AnalyticsAdminService/UpdateGoogleAdsLink', $actualFuncCall); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateGoogleAdsLinkExceptionTest() - { - $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(); - $request = (new UpdateGoogleAdsLinkRequest()) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateGoogleAdsLink($request); - // 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 updateKeyEventTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $eventName = 'eventName984174864'; - $deletable = true; - $custom = false; - $expectedResponse = new KeyEvent(); - $expectedResponse->setName($name); - $expectedResponse->setEventName($eventName); - $expectedResponse->setDeletable($deletable); - $expectedResponse->setCustom($custom); - $transport->addResponse($expectedResponse); - // Mock request - $keyEvent = new KeyEvent(); - $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; - $keyEvent->setCountingMethod($keyEventCountingMethod); - $updateMask = new FieldMask(); - $request = (new UpdateKeyEventRequest()) - ->setKeyEvent($keyEvent) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateKeyEvent($request); - $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.v1beta.AnalyticsAdminService/UpdateKeyEvent', $actualFuncCall); - $actualValue = $actualRequestObject->getKeyEvent(); - $this->assertProtobufEquals($keyEvent, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateKeyEventExceptionTest() - { - $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 - $keyEvent = new KeyEvent(); - $keyEventCountingMethod = CountingMethod::COUNTING_METHOD_UNSPECIFIED; - $keyEvent->setCountingMethod($keyEventCountingMethod); - $updateMask = new FieldMask(); - $request = (new UpdateKeyEventRequest()) - ->setKeyEvent($keyEvent) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateKeyEvent($request); - // 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 updateMeasurementProtocolSecretTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $displayName = 'displayName1615086568'; - $secretValue = 'secretValue1322942242'; - $expectedResponse = new MeasurementProtocolSecret(); - $expectedResponse->setName($name); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setSecretValue($secretValue); - $transport->addResponse($expectedResponse); - // Mock request - $measurementProtocolSecret = new MeasurementProtocolSecret(); - $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; - $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateMeasurementProtocolSecretRequest()) - ->setMeasurementProtocolSecret($measurementProtocolSecret) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateMeasurementProtocolSecret($request); - $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.v1beta.AnalyticsAdminService/UpdateMeasurementProtocolSecret', $actualFuncCall); - $actualValue = $actualRequestObject->getMeasurementProtocolSecret(); - $this->assertProtobufEquals($measurementProtocolSecret, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateMeasurementProtocolSecretExceptionTest() - { - $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 - $measurementProtocolSecret = new MeasurementProtocolSecret(); - $measurementProtocolSecretDisplayName = 'measurementProtocolSecretDisplayName1279116681'; - $measurementProtocolSecret->setDisplayName($measurementProtocolSecretDisplayName); - $updateMask = new FieldMask(); - $request = (new UpdateMeasurementProtocolSecretRequest()) - ->setMeasurementProtocolSecret($measurementProtocolSecret) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateMeasurementProtocolSecret($request); - // 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 updatePropertyTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $name = 'name3373707'; - $parent = 'parent-995424086'; - $displayName = 'displayName1615086568'; - $timeZone = 'timeZone36848094'; - $currencyCode = 'currencyCode1108728155'; - $account = 'account-1177318867'; - $expectedResponse = new Property(); - $expectedResponse->setName($name); - $expectedResponse->setParent($parent); - $expectedResponse->setDisplayName($displayName); - $expectedResponse->setTimeZone($timeZone); - $expectedResponse->setCurrencyCode($currencyCode); - $expectedResponse->setAccount($account); - $transport->addResponse($expectedResponse); - // Mock request - $property = new Property(); - $propertyDisplayName = 'propertyDisplayName-1254483624'; - $property->setDisplayName($propertyDisplayName); - $propertyTimeZone = 'propertyTimeZone-1600366322'; - $property->setTimeZone($propertyTimeZone); - $updateMask = new FieldMask(); - $request = (new UpdatePropertyRequest()) - ->setProperty($property) - ->setUpdateMask($updateMask); - $response = $gapicClient->updateProperty($request); - $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.v1beta.AnalyticsAdminService/UpdateProperty', $actualFuncCall); - $actualValue = $actualRequestObject->getProperty(); - $this->assertProtobufEquals($property, $actualValue); - $actualValue = $actualRequestObject->getUpdateMask(); - $this->assertProtobufEquals($updateMask, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updatePropertyExceptionTest() - { - $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 = new Property(); - $propertyDisplayName = 'propertyDisplayName-1254483624'; - $property->setDisplayName($propertyDisplayName); - $propertyTimeZone = 'propertyTimeZone-1600366322'; - $property->setTimeZone($propertyTimeZone); - $updateMask = new FieldMask(); - $request = (new UpdatePropertyRequest()) - ->setProperty($property) - ->setUpdateMask($updateMask); - try { - $gapicClient->updateProperty($request); - // 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 acknowledgeUserDataCollectionAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new AcknowledgeUserDataCollectionResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedProperty = $gapicClient->propertyName('[PROPERTY]'); - $acknowledgement = 'acknowledgement1769490938'; - $request = (new AcknowledgeUserDataCollectionRequest()) - ->setProperty($formattedProperty) - ->setAcknowledgement($acknowledgement); - $response = $gapicClient->acknowledgeUserDataCollectionAsync($request)->wait(); - $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.v1beta.AnalyticsAdminService/AcknowledgeUserDataCollection', $actualFuncCall); - $actualValue = $actualRequestObject->getProperty(); - $this->assertProtobufEquals($formattedProperty, $actualValue); - $actualValue = $actualRequestObject->getAcknowledgement(); - $this->assertProtobufEquals($acknowledgement, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -}