googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
cloud
/
AnalyticsAdmin
/
src
/
V1alpha
/
EnhancedMeasurementSettings.php
googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
cloud
/
AnalyticsAdmin
/
src
/
V1alpha
Last commit date
ChangeHistoryChange
3 years ago
CustomDimension
3 years ago
CustomMetric
3 years ago
DataRetentionSettings
3 years ago
DataStream
3 years ago
Gapic
3 years ago
resources
3 years ago
Account.php
3 years ago
AccountSummary.php
3 years ago
AcknowledgeUserDataCollectionRequest.php
3 years ago
AcknowledgeUserDataCollectionResponse.php
3 years ago
ActionType.php
3 years ago
ActorType.php
3 years ago
AnalyticsAdminServiceClient.php
3 years ago
AnalyticsAdminServiceGrpcClient.php
3 years ago
AndroidAppDataStream.php
3 years ago
ApproveDisplayVideo360AdvertiserLinkProposalRequest.php
3 years ago
ApproveDisplayVideo360AdvertiserLinkProposalResponse.php
3 years ago
ArchiveCustomDimensionRequest.php
3 years ago
ArchiveCustomMetricRequest.php
3 years ago
AuditUserLink.php
3 years ago
AuditUserLinksRequest.php
3 years ago
AuditUserLinksResponse.php
3 years ago
BatchCreateUserLinksRequest.php
3 years ago
BatchCreateUserLinksResponse.php
3 years ago
BatchDeleteUserLinksRequest.php
3 years ago
BatchGetUserLinksRequest.php
3 years ago
BatchGetUserLinksResponse.php
3 years ago
BatchUpdateUserLinksRequest.php
3 years ago
BatchUpdateUserLinksResponse.php
3 years ago
CancelDisplayVideo360AdvertiserLinkProposalRequest.php
3 years ago
ChangeHistoryChange.php
3 years ago
ChangeHistoryChange_ChangeHistoryResource.php
3 years ago
ChangeHistoryEvent.php
3 years ago
ChangeHistoryResourceType.php
3 years ago
ConversionEvent.php
3 years ago
CreateAndroidAppDataStreamRequest.php
3 years ago
CreateConversionEventRequest.php
3 years ago
CreateCustomDimensionRequest.php
3 years ago
CreateCustomMetricRequest.php
3 years ago
CreateDataStreamRequest.php
3 years ago
CreateDisplayVideo360AdvertiserLinkProposalRequest.php
3 years ago
CreateDisplayVideo360AdvertiserLinkRequest.php
3 years ago
CreateFirebaseLinkRequest.php
3 years ago
CreateGoogleAdsLinkRequest.php
3 years ago
CreateIosAppDataStreamRequest.php
3 years ago
CreateMeasurementProtocolSecretRequest.php
3 years ago
CreatePropertyRequest.php
3 years ago
CreateUserLinkRequest.php
3 years ago
CreateWebDataStreamRequest.php
3 years ago
CustomDimension.php
3 years ago
CustomDimension_DimensionScope.php
3 years ago
CustomMetric.php
3 years ago
CustomMetric_MeasurementUnit.php
3 years ago
CustomMetric_MetricScope.php
3 years ago
CustomMetric_RestrictedMetricType.php
3 years ago
DataRetentionSettings.php
3 years ago
DataRetentionSettings_RetentionDuration.php
3 years ago
DataSharingSettings.php
3 years ago
DataStream.php
3 years ago
DataStream_AndroidAppStreamData.php
3 years ago
DataStream_DataStreamType.php
3 years ago
DataStream_IosAppStreamData.php
3 years ago
DataStream_WebStreamData.php
3 years ago
DeleteAccountRequest.php
3 years ago
DeleteAndroidAppDataStreamRequest.php
3 years ago
DeleteConversionEventRequest.php
3 years ago
DeleteDataStreamRequest.php
3 years ago
DeleteDisplayVideo360AdvertiserLinkProposalRequest.php
3 years ago
DeleteDisplayVideo360AdvertiserLinkRequest.php
3 years ago
DeleteFirebaseLinkRequest.php
3 years ago
DeleteGoogleAdsLinkRequest.php
3 years ago
DeleteIosAppDataStreamRequest.php
3 years ago
DeleteMeasurementProtocolSecretRequest.php
3 years ago
DeletePropertyRequest.php
3 years ago
DeleteUserLinkRequest.php
3 years ago
DeleteWebDataStreamRequest.php
3 years ago
DisplayVideo360AdvertiserLink.php
3 years ago
DisplayVideo360AdvertiserLinkProposal.php
3 years ago
EnhancedMeasurementSettings.php
3 years ago
FirebaseLink.php
3 years ago
GetAccountRequest.php
3 years ago
GetAndroidAppDataStreamRequest.php
3 years ago
GetConversionEventRequest.php
3 years ago
GetCustomDimensionRequest.php
3 years ago
GetCustomMetricRequest.php
3 years ago
GetDataRetentionSettingsRequest.php
3 years ago
GetDataSharingSettingsRequest.php
3 years ago
GetDataStreamRequest.php
3 years ago
GetDisplayVideo360AdvertiserLinkProposalRequest.php
3 years ago
GetDisplayVideo360AdvertiserLinkRequest.php
3 years ago
GetEnhancedMeasurementSettingsRequest.php
3 years ago
GetGlobalSiteTagRequest.php
3 years ago
GetGoogleSignalsSettingsRequest.php
3 years ago
GetIosAppDataStreamRequest.php
3 years ago
GetMeasurementProtocolSecretRequest.php
3 years ago
GetPropertyRequest.php
3 years ago
GetUserLinkRequest.php
3 years ago
GetWebDataStreamRequest.php
3 years ago
GlobalSiteTag.php
3 years ago
GoogleAdsLink.php
3 years ago
GoogleSignalsConsent.php
3 years ago
GoogleSignalsSettings.php
3 years ago
GoogleSignalsState.php
3 years ago
IndustryCategory.php
3 years ago
IosAppDataStream.php
3 years ago
LinkProposalInitiatingProduct.php
3 years ago
LinkProposalState.php
3 years ago
LinkProposalStatusDetails.php
3 years ago
ListAccountSummariesRequest.php
3 years ago
ListAccountSummariesResponse.php
3 years ago
ListAccountsRequest.php
3 years ago
ListAccountsResponse.php
3 years ago
ListAndroidAppDataStreamsRequest.php
3 years ago
ListAndroidAppDataStreamsResponse.php
3 years ago
ListConversionEventsRequest.php
3 years ago
ListConversionEventsResponse.php
3 years ago
ListCustomDimensionsRequest.php
3 years ago
ListCustomDimensionsResponse.php
3 years ago
ListCustomMetricsRequest.php
3 years ago
ListCustomMetricsResponse.php
3 years ago
ListDataStreamsRequest.php
3 years ago
ListDataStreamsResponse.php
3 years ago
ListDisplayVideo360AdvertiserLinkProposalsRequest.php
3 years ago
ListDisplayVideo360AdvertiserLinkProposalsResponse.php
3 years ago
ListDisplayVideo360AdvertiserLinksRequest.php
3 years ago
ListDisplayVideo360AdvertiserLinksResponse.php
3 years ago
ListFirebaseLinksRequest.php
3 years ago
ListFirebaseLinksResponse.php
3 years ago
ListGoogleAdsLinksRequest.php
3 years ago
ListGoogleAdsLinksResponse.php
3 years ago
ListIosAppDataStreamsRequest.php
3 years ago
ListIosAppDataStreamsResponse.php
3 years ago
ListMeasurementProtocolSecretsRequest.php
3 years ago
ListMeasurementProtocolSecretsResponse.php
3 years ago
ListPropertiesRequest.php
3 years ago
ListPropertiesResponse.php
3 years ago
ListUserLinksRequest.php
3 years ago
ListUserLinksResponse.php
3 years ago
ListWebDataStreamsRequest.php
3 years ago
ListWebDataStreamsResponse.php
3 years ago
MaximumUserAccess.php
3 years ago
MeasurementProtocolSecret.php
3 years ago
Property.php
3 years ago
PropertySummary.php
3 years ago
ProvisionAccountTicketRequest.php
3 years ago
ProvisionAccountTicketResponse.php
3 years ago
SearchChangeHistoryEventsRequest.php
3 years ago
SearchChangeHistoryEventsResponse.php
3 years ago
ServiceLevel.php
3 years ago
UpdateAccountRequest.php
3 years ago
UpdateAndroidAppDataStreamRequest.php
3 years ago
UpdateCustomDimensionRequest.php
3 years ago
UpdateCustomMetricRequest.php
3 years ago
UpdateDataRetentionSettingsRequest.php
3 years ago
UpdateDataStreamRequest.php
3 years ago
UpdateDisplayVideo360AdvertiserLinkRequest.php
3 years ago
UpdateEnhancedMeasurementSettingsRequest.php
3 years ago
UpdateFirebaseLinkRequest.php
3 years ago
UpdateGoogleAdsLinkRequest.php
3 years ago
UpdateGoogleSignalsSettingsRequest.php
3 years ago
UpdateIosAppDataStreamRequest.php
3 years ago
UpdateMeasurementProtocolSecretRequest.php
3 years ago
UpdatePropertyRequest.php
3 years ago
UpdateUserLinkRequest.php
3 years ago
UpdateWebDataStreamRequest.php
3 years ago
UserLink.php
3 years ago
WebDataStream.php
3 years ago
gapic_metadata.json
3 years ago
EnhancedMeasurementSettings.php
503 lines
| 1 | <?php |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | # source: google/analytics/admin/v1alpha/resources.proto |
| 4 | |
| 5 | namespace Google\Analytics\Admin\V1alpha; |
| 6 | |
| 7 | use Google\Protobuf\Internal\GPBType; |
| 8 | use Google\Protobuf\Internal\RepeatedField; |
| 9 | use Google\Protobuf\Internal\GPBUtil; |
| 10 | |
| 11 | /** |
| 12 | * Singleton resource under a WebDataStream, configuring measurement of |
| 13 | * additional site interactions and content. |
| 14 | * |
| 15 | * Generated from protobuf message <code>google.analytics.admin.v1alpha.EnhancedMeasurementSettings</code> |
| 16 | */ |
| 17 | class EnhancedMeasurementSettings extends \Google\Protobuf\Internal\Message |
| 18 | { |
| 19 | /** |
| 20 | * Output only. Resource name of this Data Stream. |
| 21 | * Format: |
| 22 | * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings |
| 23 | * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" |
| 24 | * |
| 25 | * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> |
| 26 | */ |
| 27 | private $name = ''; |
| 28 | /** |
| 29 | * Indicates whether Enhanced Measurement Settings will be used to |
| 30 | * automatically measure interactions and content on this web stream. |
| 31 | * Changing this value does not affect the settings themselves, but determines |
| 32 | * whether they are respected. |
| 33 | * |
| 34 | * Generated from protobuf field <code>bool stream_enabled = 2;</code> |
| 35 | */ |
| 36 | private $stream_enabled = false; |
| 37 | /** |
| 38 | * Output only. If enabled, capture a page view event each time a page loads or the |
| 39 | * website changes the browser history state. |
| 40 | * |
| 41 | * Generated from protobuf field <code>bool page_views_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> |
| 42 | */ |
| 43 | private $page_views_enabled = false; |
| 44 | /** |
| 45 | * If enabled, capture scroll events each time a visitor gets to the bottom of |
| 46 | * a page. |
| 47 | * |
| 48 | * Generated from protobuf field <code>bool scrolls_enabled = 4;</code> |
| 49 | */ |
| 50 | private $scrolls_enabled = false; |
| 51 | /** |
| 52 | * If enabled, capture an outbound click event each time a visitor clicks a |
| 53 | * link that leads them away from your domain. |
| 54 | * |
| 55 | * Generated from protobuf field <code>bool outbound_clicks_enabled = 5;</code> |
| 56 | */ |
| 57 | private $outbound_clicks_enabled = false; |
| 58 | /** |
| 59 | * If enabled, capture a view search results event each time a visitor |
| 60 | * performs a search on your site (based on a query parameter). |
| 61 | * |
| 62 | * Generated from protobuf field <code>bool site_search_enabled = 7;</code> |
| 63 | */ |
| 64 | private $site_search_enabled = false; |
| 65 | /** |
| 66 | * If enabled, capture video play, progress, and complete events as visitors |
| 67 | * view embedded videos on your site. |
| 68 | * |
| 69 | * Generated from protobuf field <code>bool video_engagement_enabled = 9;</code> |
| 70 | */ |
| 71 | private $video_engagement_enabled = false; |
| 72 | /** |
| 73 | * If enabled, capture a file download event each time a link is clicked with |
| 74 | * a common document, compressed file, application, video, or audio extension. |
| 75 | * |
| 76 | * Generated from protobuf field <code>bool file_downloads_enabled = 10;</code> |
| 77 | */ |
| 78 | private $file_downloads_enabled = false; |
| 79 | /** |
| 80 | * Output only. If enabled, capture a page view event each time a page loads. |
| 81 | * |
| 82 | * Generated from protobuf field <code>bool page_loads_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> |
| 83 | */ |
| 84 | private $page_loads_enabled = false; |
| 85 | /** |
| 86 | * If enabled, capture a page view event each time the website changes the |
| 87 | * browser history state. |
| 88 | * |
| 89 | * Generated from protobuf field <code>bool page_changes_enabled = 13;</code> |
| 90 | */ |
| 91 | private $page_changes_enabled = false; |
| 92 | /** |
| 93 | * Required. URL query parameters to interpret as site search parameters. |
| 94 | * Max length is 1024 characters. Must not be empty. |
| 95 | * |
| 96 | * Generated from protobuf field <code>string search_query_parameter = 16 [(.google.api.field_behavior) = REQUIRED];</code> |
| 97 | */ |
| 98 | private $search_query_parameter = ''; |
| 99 | /** |
| 100 | * Additional URL query parameters. |
| 101 | * Max length is 1024 characters. |
| 102 | * |
| 103 | * Generated from protobuf field <code>string uri_query_parameter = 17;</code> |
| 104 | */ |
| 105 | private $uri_query_parameter = ''; |
| 106 | |
| 107 | /** |
| 108 | * Constructor. |
| 109 | * |
| 110 | * @param array $data { |
| 111 | * Optional. Data for populating the Message object. |
| 112 | * |
| 113 | * @type string $name |
| 114 | * Output only. Resource name of this Data Stream. |
| 115 | * Format: |
| 116 | * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings |
| 117 | * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" |
| 118 | * @type bool $stream_enabled |
| 119 | * Indicates whether Enhanced Measurement Settings will be used to |
| 120 | * automatically measure interactions and content on this web stream. |
| 121 | * Changing this value does not affect the settings themselves, but determines |
| 122 | * whether they are respected. |
| 123 | * @type bool $page_views_enabled |
| 124 | * Output only. If enabled, capture a page view event each time a page loads or the |
| 125 | * website changes the browser history state. |
| 126 | * @type bool $scrolls_enabled |
| 127 | * If enabled, capture scroll events each time a visitor gets to the bottom of |
| 128 | * a page. |
| 129 | * @type bool $outbound_clicks_enabled |
| 130 | * If enabled, capture an outbound click event each time a visitor clicks a |
| 131 | * link that leads them away from your domain. |
| 132 | * @type bool $site_search_enabled |
| 133 | * If enabled, capture a view search results event each time a visitor |
| 134 | * performs a search on your site (based on a query parameter). |
| 135 | * @type bool $video_engagement_enabled |
| 136 | * If enabled, capture video play, progress, and complete events as visitors |
| 137 | * view embedded videos on your site. |
| 138 | * @type bool $file_downloads_enabled |
| 139 | * If enabled, capture a file download event each time a link is clicked with |
| 140 | * a common document, compressed file, application, video, or audio extension. |
| 141 | * @type bool $page_loads_enabled |
| 142 | * Output only. If enabled, capture a page view event each time a page loads. |
| 143 | * @type bool $page_changes_enabled |
| 144 | * If enabled, capture a page view event each time the website changes the |
| 145 | * browser history state. |
| 146 | * @type string $search_query_parameter |
| 147 | * Required. URL query parameters to interpret as site search parameters. |
| 148 | * Max length is 1024 characters. Must not be empty. |
| 149 | * @type string $uri_query_parameter |
| 150 | * Additional URL query parameters. |
| 151 | * Max length is 1024 characters. |
| 152 | * } |
| 153 | */ |
| 154 | public function __construct($data = NULL) { |
| 155 | \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); |
| 156 | parent::__construct($data); |
| 157 | } |
| 158 | |
| 159 | /** |
| 160 | * Output only. Resource name of this Data Stream. |
| 161 | * Format: |
| 162 | * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings |
| 163 | * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" |
| 164 | * |
| 165 | * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> |
| 166 | * @return string |
| 167 | */ |
| 168 | public function getName() |
| 169 | { |
| 170 | return $this->name; |
| 171 | } |
| 172 | |
| 173 | /** |
| 174 | * Output only. Resource name of this Data Stream. |
| 175 | * Format: |
| 176 | * properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings |
| 177 | * Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings" |
| 178 | * |
| 179 | * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> |
| 180 | * @param string $var |
| 181 | * @return $this |
| 182 | */ |
| 183 | public function setName($var) |
| 184 | { |
| 185 | GPBUtil::checkString($var, True); |
| 186 | $this->name = $var; |
| 187 | |
| 188 | return $this; |
| 189 | } |
| 190 | |
| 191 | /** |
| 192 | * Indicates whether Enhanced Measurement Settings will be used to |
| 193 | * automatically measure interactions and content on this web stream. |
| 194 | * Changing this value does not affect the settings themselves, but determines |
| 195 | * whether they are respected. |
| 196 | * |
| 197 | * Generated from protobuf field <code>bool stream_enabled = 2;</code> |
| 198 | * @return bool |
| 199 | */ |
| 200 | public function getStreamEnabled() |
| 201 | { |
| 202 | return $this->stream_enabled; |
| 203 | } |
| 204 | |
| 205 | /** |
| 206 | * Indicates whether Enhanced Measurement Settings will be used to |
| 207 | * automatically measure interactions and content on this web stream. |
| 208 | * Changing this value does not affect the settings themselves, but determines |
| 209 | * whether they are respected. |
| 210 | * |
| 211 | * Generated from protobuf field <code>bool stream_enabled = 2;</code> |
| 212 | * @param bool $var |
| 213 | * @return $this |
| 214 | */ |
| 215 | public function setStreamEnabled($var) |
| 216 | { |
| 217 | GPBUtil::checkBool($var); |
| 218 | $this->stream_enabled = $var; |
| 219 | |
| 220 | return $this; |
| 221 | } |
| 222 | |
| 223 | /** |
| 224 | * Output only. If enabled, capture a page view event each time a page loads or the |
| 225 | * website changes the browser history state. |
| 226 | * |
| 227 | * Generated from protobuf field <code>bool page_views_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> |
| 228 | * @return bool |
| 229 | */ |
| 230 | public function getPageViewsEnabled() |
| 231 | { |
| 232 | return $this->page_views_enabled; |
| 233 | } |
| 234 | |
| 235 | /** |
| 236 | * Output only. If enabled, capture a page view event each time a page loads or the |
| 237 | * website changes the browser history state. |
| 238 | * |
| 239 | * Generated from protobuf field <code>bool page_views_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> |
| 240 | * @param bool $var |
| 241 | * @return $this |
| 242 | */ |
| 243 | public function setPageViewsEnabled($var) |
| 244 | { |
| 245 | GPBUtil::checkBool($var); |
| 246 | $this->page_views_enabled = $var; |
| 247 | |
| 248 | return $this; |
| 249 | } |
| 250 | |
| 251 | /** |
| 252 | * If enabled, capture scroll events each time a visitor gets to the bottom of |
| 253 | * a page. |
| 254 | * |
| 255 | * Generated from protobuf field <code>bool scrolls_enabled = 4;</code> |
| 256 | * @return bool |
| 257 | */ |
| 258 | public function getScrollsEnabled() |
| 259 | { |
| 260 | return $this->scrolls_enabled; |
| 261 | } |
| 262 | |
| 263 | /** |
| 264 | * If enabled, capture scroll events each time a visitor gets to the bottom of |
| 265 | * a page. |
| 266 | * |
| 267 | * Generated from protobuf field <code>bool scrolls_enabled = 4;</code> |
| 268 | * @param bool $var |
| 269 | * @return $this |
| 270 | */ |
| 271 | public function setScrollsEnabled($var) |
| 272 | { |
| 273 | GPBUtil::checkBool($var); |
| 274 | $this->scrolls_enabled = $var; |
| 275 | |
| 276 | return $this; |
| 277 | } |
| 278 | |
| 279 | /** |
| 280 | * If enabled, capture an outbound click event each time a visitor clicks a |
| 281 | * link that leads them away from your domain. |
| 282 | * |
| 283 | * Generated from protobuf field <code>bool outbound_clicks_enabled = 5;</code> |
| 284 | * @return bool |
| 285 | */ |
| 286 | public function getOutboundClicksEnabled() |
| 287 | { |
| 288 | return $this->outbound_clicks_enabled; |
| 289 | } |
| 290 | |
| 291 | /** |
| 292 | * If enabled, capture an outbound click event each time a visitor clicks a |
| 293 | * link that leads them away from your domain. |
| 294 | * |
| 295 | * Generated from protobuf field <code>bool outbound_clicks_enabled = 5;</code> |
| 296 | * @param bool $var |
| 297 | * @return $this |
| 298 | */ |
| 299 | public function setOutboundClicksEnabled($var) |
| 300 | { |
| 301 | GPBUtil::checkBool($var); |
| 302 | $this->outbound_clicks_enabled = $var; |
| 303 | |
| 304 | return $this; |
| 305 | } |
| 306 | |
| 307 | /** |
| 308 | * If enabled, capture a view search results event each time a visitor |
| 309 | * performs a search on your site (based on a query parameter). |
| 310 | * |
| 311 | * Generated from protobuf field <code>bool site_search_enabled = 7;</code> |
| 312 | * @return bool |
| 313 | */ |
| 314 | public function getSiteSearchEnabled() |
| 315 | { |
| 316 | return $this->site_search_enabled; |
| 317 | } |
| 318 | |
| 319 | /** |
| 320 | * If enabled, capture a view search results event each time a visitor |
| 321 | * performs a search on your site (based on a query parameter). |
| 322 | * |
| 323 | * Generated from protobuf field <code>bool site_search_enabled = 7;</code> |
| 324 | * @param bool $var |
| 325 | * @return $this |
| 326 | */ |
| 327 | public function setSiteSearchEnabled($var) |
| 328 | { |
| 329 | GPBUtil::checkBool($var); |
| 330 | $this->site_search_enabled = $var; |
| 331 | |
| 332 | return $this; |
| 333 | } |
| 334 | |
| 335 | /** |
| 336 | * If enabled, capture video play, progress, and complete events as visitors |
| 337 | * view embedded videos on your site. |
| 338 | * |
| 339 | * Generated from protobuf field <code>bool video_engagement_enabled = 9;</code> |
| 340 | * @return bool |
| 341 | */ |
| 342 | public function getVideoEngagementEnabled() |
| 343 | { |
| 344 | return $this->video_engagement_enabled; |
| 345 | } |
| 346 | |
| 347 | /** |
| 348 | * If enabled, capture video play, progress, and complete events as visitors |
| 349 | * view embedded videos on your site. |
| 350 | * |
| 351 | * Generated from protobuf field <code>bool video_engagement_enabled = 9;</code> |
| 352 | * @param bool $var |
| 353 | * @return $this |
| 354 | */ |
| 355 | public function setVideoEngagementEnabled($var) |
| 356 | { |
| 357 | GPBUtil::checkBool($var); |
| 358 | $this->video_engagement_enabled = $var; |
| 359 | |
| 360 | return $this; |
| 361 | } |
| 362 | |
| 363 | /** |
| 364 | * If enabled, capture a file download event each time a link is clicked with |
| 365 | * a common document, compressed file, application, video, or audio extension. |
| 366 | * |
| 367 | * Generated from protobuf field <code>bool file_downloads_enabled = 10;</code> |
| 368 | * @return bool |
| 369 | */ |
| 370 | public function getFileDownloadsEnabled() |
| 371 | { |
| 372 | return $this->file_downloads_enabled; |
| 373 | } |
| 374 | |
| 375 | /** |
| 376 | * If enabled, capture a file download event each time a link is clicked with |
| 377 | * a common document, compressed file, application, video, or audio extension. |
| 378 | * |
| 379 | * Generated from protobuf field <code>bool file_downloads_enabled = 10;</code> |
| 380 | * @param bool $var |
| 381 | * @return $this |
| 382 | */ |
| 383 | public function setFileDownloadsEnabled($var) |
| 384 | { |
| 385 | GPBUtil::checkBool($var); |
| 386 | $this->file_downloads_enabled = $var; |
| 387 | |
| 388 | return $this; |
| 389 | } |
| 390 | |
| 391 | /** |
| 392 | * Output only. If enabled, capture a page view event each time a page loads. |
| 393 | * |
| 394 | * Generated from protobuf field <code>bool page_loads_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> |
| 395 | * @return bool |
| 396 | */ |
| 397 | public function getPageLoadsEnabled() |
| 398 | { |
| 399 | return $this->page_loads_enabled; |
| 400 | } |
| 401 | |
| 402 | /** |
| 403 | * Output only. If enabled, capture a page view event each time a page loads. |
| 404 | * |
| 405 | * Generated from protobuf field <code>bool page_loads_enabled = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> |
| 406 | * @param bool $var |
| 407 | * @return $this |
| 408 | */ |
| 409 | public function setPageLoadsEnabled($var) |
| 410 | { |
| 411 | GPBUtil::checkBool($var); |
| 412 | $this->page_loads_enabled = $var; |
| 413 | |
| 414 | return $this; |
| 415 | } |
| 416 | |
| 417 | /** |
| 418 | * If enabled, capture a page view event each time the website changes the |
| 419 | * browser history state. |
| 420 | * |
| 421 | * Generated from protobuf field <code>bool page_changes_enabled = 13;</code> |
| 422 | * @return bool |
| 423 | */ |
| 424 | public function getPageChangesEnabled() |
| 425 | { |
| 426 | return $this->page_changes_enabled; |
| 427 | } |
| 428 | |
| 429 | /** |
| 430 | * If enabled, capture a page view event each time the website changes the |
| 431 | * browser history state. |
| 432 | * |
| 433 | * Generated from protobuf field <code>bool page_changes_enabled = 13;</code> |
| 434 | * @param bool $var |
| 435 | * @return $this |
| 436 | */ |
| 437 | public function setPageChangesEnabled($var) |
| 438 | { |
| 439 | GPBUtil::checkBool($var); |
| 440 | $this->page_changes_enabled = $var; |
| 441 | |
| 442 | return $this; |
| 443 | } |
| 444 | |
| 445 | /** |
| 446 | * Required. URL query parameters to interpret as site search parameters. |
| 447 | * Max length is 1024 characters. Must not be empty. |
| 448 | * |
| 449 | * Generated from protobuf field <code>string search_query_parameter = 16 [(.google.api.field_behavior) = REQUIRED];</code> |
| 450 | * @return string |
| 451 | */ |
| 452 | public function getSearchQueryParameter() |
| 453 | { |
| 454 | return $this->search_query_parameter; |
| 455 | } |
| 456 | |
| 457 | /** |
| 458 | * Required. URL query parameters to interpret as site search parameters. |
| 459 | * Max length is 1024 characters. Must not be empty. |
| 460 | * |
| 461 | * Generated from protobuf field <code>string search_query_parameter = 16 [(.google.api.field_behavior) = REQUIRED];</code> |
| 462 | * @param string $var |
| 463 | * @return $this |
| 464 | */ |
| 465 | public function setSearchQueryParameter($var) |
| 466 | { |
| 467 | GPBUtil::checkString($var, True); |
| 468 | $this->search_query_parameter = $var; |
| 469 | |
| 470 | return $this; |
| 471 | } |
| 472 | |
| 473 | /** |
| 474 | * Additional URL query parameters. |
| 475 | * Max length is 1024 characters. |
| 476 | * |
| 477 | * Generated from protobuf field <code>string uri_query_parameter = 17;</code> |
| 478 | * @return string |
| 479 | */ |
| 480 | public function getUriQueryParameter() |
| 481 | { |
| 482 | return $this->uri_query_parameter; |
| 483 | } |
| 484 | |
| 485 | /** |
| 486 | * Additional URL query parameters. |
| 487 | * Max length is 1024 characters. |
| 488 | * |
| 489 | * Generated from protobuf field <code>string uri_query_parameter = 17;</code> |
| 490 | * @param string $var |
| 491 | * @return $this |
| 492 | */ |
| 493 | public function setUriQueryParameter($var) |
| 494 | { |
| 495 | GPBUtil::checkString($var, True); |
| 496 | $this->uri_query_parameter = $var; |
| 497 | |
| 498 | return $this; |
| 499 | } |
| 500 | |
| 501 | } |
| 502 | |
| 503 |